Wolfgang Walther
0d640442b1
nix: Change postgrest-nixpkgs-upgrade to unstable
...
Since we're currently on the unstable channel and will likely stay there
for a while, let's encode this in the update script.
Once we switch back to stable, if we do, we can still adjust it again.
2024-12-22 19:07:11 +01:00
Wolfgang Walther
07d6d75abe
chore: remove deprecation warning in IO tests
2024-12-22 18:49:20 +01:00
renovate[bot] and Wolfgang Walther
f5f64ac7da
chore(deps): update codecov/codecov-action action to v5.1.2
2024-12-20 20:00:22 +01:00
renovate[bot] and Wolfgang Walther
b5645b969a
chore(deps): update haskell-actions/setup action to v2.7.7
2024-12-20 19:59:55 +01:00
M. Taimoor Zaeem and Steve Chavez
a9d74eba2a
feat: allow not_null value for the is operator
2024-12-19 10:19:41 -05:00
renovate[bot] and Wolfgang Walther
a1769d17be
chore(deps): update actions/upload-artifact action to v4.5.0
2024-12-18 12:56:17 +01:00
kjcsb1 and GitHub
3e1a904785
docs: Add example of comment on view
2024-12-12 20:54:12 +01:00
M. Taimoor Zaeem and Steve Chavez
af6b79d4d7
feat: support string comparison for jwt-role-claim-key
2024-12-12 08:47:06 -05:00
renovate[bot] and Wolfgang Walther
2df167637d
chore(deps): update codecov/codecov-action action to v5.1.1
2024-12-06 09:48:06 +01:00
renovate[bot] and Wolfgang Walther
82f43a567c
chore(deps): update actions/cache action to v4.2.0
2024-12-06 09:47:55 +01:00
renovate[bot] and Wolfgang Walther
366d6321f0
chore(deps): update ubuntu:noble docker digest to 80dd3c3
2024-12-04 08:45:07 +01:00
Christophe Eymard and GitHub
c5a9455959
docs: Add an example for PGRST_APP_SETTINGS_* ( #3804 )
2024-12-01 14:41:39 -05:00
renovate[bot] and Wolfgang Walther
d78877cc65
chore(deps): update codecov/codecov-action action to v5.0.7
2024-11-21 21:26:09 +01:00
renovate[bot] and Wolfgang Walther
b85e28c007
chore(deps): update codecov/codecov-action action to v5.0.5
2024-11-20 19:36:35 +01:00
Steve Chavez and GitHub
6db245aacd
fix: clarify PGRST116 error message ( #3795 )
...
Currently it's redundant and not easy to read.
```
{"message":"JSON object requested, multiple (or no) rows returned",
"details":"The result contains 2 rows"}
```
Now:
```
{"message":"Cannot coerce the result to a single JSON object",
"details":"The result contains an array of 0 objects"}
``
Also correct docs which had a wrong error code.
2024-11-20 12:15:46 -05:00
renovate[bot] and Wolfgang Walther
e929834f82
chore(deps): update ubuntu:noble docker digest to 278628f
2024-11-16 22:40:48 +01:00
steve-chavez
80a4edbd2d
chore: add comments on the Observation module
2024-11-15 16:11:26 -05:00
steve-chavez
2766b844a9
fix: always show schema cache load time
...
It used to be that this was only enabled with log-level=debug.
But the default log-level is misleading, for example:
```
$ PGRST_DB_SCHEMAS="apflora" postgrest-with-postgresql-16 -f test/io/big_schema.sql postgrest-run
...
13/Nov/2024:22:08:20 -0500: Config reloaded
13/Nov/2024:22:08:20 -0500: Schema cache queried in 36.3 milliseconds
13/Nov/2024:22:08:20 -0500: Schema cache loaded 326 Relations, 305 Relationships, 7 Functions, 0 Domain Representations, 4 Media Type Handlers, 1194 Timezones
```
The "Schema cache loaded" can take a while to appear, yet the 22:08:20
time is the same. If we reveal the load time this is clarified:
```
13/Nov/2024:22:08:37 -0500: Schema cache loaded in 16770.1 milliseconds
```
2024-11-15 16:11:26 -05:00
steve-chavez
dca09c84b9
nix: add exp support for postgrest-gen-jwt
2024-11-15 14:41:02 -05:00
renovate[bot] and Wolfgang Walther
4d3883ea2e
chore(deps): update codecov/codecov-action action to v5.0.2
2024-11-15 18:54:17 +01:00
Laurence Isla
9c863dbddc
test: add tests for bulk upserts with surrogate keys
2024-11-15 12:05:14 -05:00
Laurence Isla
fcf828fd92
docs: clarify usage of upsert with surrogate primary keys
2024-11-15 12:05:14 -05:00
renovate[bot] and Wolfgang Walther
313f52d3fa
chore(deps): update codecov/codecov-action action to v5
2024-11-14 20:57:31 +01:00
renovate[bot] and Wolfgang Walther
f3aa00a838
chore(deps): update dependency ubuntu to v24
2024-11-13 14:41:23 +01:00
Wolfgang Walther and Wolfgang Walther
3c95d24d45
nix: update package list from hackage before building
...
This prevents errors in CI after updating the hackage index-state.
2024-11-12 21:13:31 +01:00
Wolfgang Walther and Wolfgang Walther
09adb44cc8
chore(deps): update readthedocs os to ubuntu-24.04
2024-11-12 21:13:31 +01:00
Wolfgang Walther and Wolfgang Walther
4c61749de9
chore(deps): update stackage snapshot to LTS 22.41
2024-11-12 21:13:31 +01:00
Wolfgang Walther and Wolfgang Walther
6f0c180b6b
chore(deps): update GHC for cabal builds
2024-11-12 21:13:31 +01:00
Wolfgang Walther and Wolfgang Walther
04a14d5941
nix: remove pkgsCross workaround for libpq
...
This will make it much easier to actually cross-compile the static
executable to different systems.
2024-11-12 21:13:31 +01:00
Wolfgang Walther and Wolfgang Walther
48aabeb473
nix: add postgrest-with-postgresql-17
...
PostgreSQL 17 has been released:
https://www.postgresql.org/about/news/postgresql-17-released-2936/
Let's make sure CI runs with it, too.
2024-11-12 21:13:31 +01:00
Wolfgang Walther and Wolfgang Walther
a023bd5742
nix: keep readthedocs dependencies in-sync with nix
...
This is to make sure that we will always have the same development
environment for the docs build as is used live on the website.
2024-11-12 21:13:31 +01:00
Wolfgang Walther and Wolfgang Walther
6c46f7dba5
chore(deps): update nixpkgs to unstable 2024-11-09
2024-11-12 21:13:31 +01:00
renovate[bot] and Wolfgang Walther
b83899340e
chore(deps): update dependency macos to v14
2024-11-06 09:43:41 +01:00
Wolfgang Walther
5be2327797
chore: Lift restriction for macos CI image
...
After updating to nix-quick-install-action v29 this should be possible
to do now.
2024-11-05 22:09:57 +01:00
renovate[bot] and Wolfgang Walther
5f7a2cda15
chore(deps): update nixbuild/nix-quick-install-action action to v29
2024-11-05 22:07:51 +01:00
steve-chavez
2564b323d7
chore: disallow github blank issue and cleanup
2024-11-05 13:04:32 -05:00
steve-chavez
b821857861
changelog: drop Removed heading and use Changed
2024-11-05 13:04:32 -05:00
Joel Jakobsson and GitHub
180a96ce48
remove support for Prefer: params=single-object ( #3757 )
...
BREAKING CHANGE
Using this preference was deprecated in 6c3d7a9 , in favor of Functions with an array of JSON objects.
2024-11-04 20:19:08 -05:00
Wolfgang Walther
da0f48ea92
Revert "docs: fix deprecation of analytics in RTD"
...
This reverts commit 4874428a17 .
We'll stick with RTD-builtin-analytics for now.
2024-10-29 20:31:23 +01:00
Steve Chavez
afa63f891e
chore: update github issue templates
...
Adds a feature request template.
2024-10-29 10:31:38 -05:00
Laurence Isla and Steve Chavez
4874428a17
docs: fix deprecation of analytics in RTD
2024-10-28 22:10:17 -05:00
jinjiadu and Wolfgang Walther
765696dfd0
chore: fix some typos in comments
2024-10-28 11:32:10 +01:00
Wolfgang Walther and Wolfgang Walther
0b0b4f2a79
ci: Update cirrus' freebsd image to 14.1
...
This should fix CI which is failing lately like this:
https://cirrus-ci.com/task/4665005218463744
ld-elf.so.1: /lib/libc.so.7: version FBSD_1.8 required by
/usr/local/bin/stack not found
2024-10-26 14:51:13 +02:00
renovate[bot] and Wolfgang Walther
994b60a187
chore(deps): update actions/cache action to v4.1.2
2024-10-24 05:15:43 +02:00
renovate[bot] and Wolfgang Walther
64f7f1451a
chore(deps): update actions/upload-artifact action to v4.4.3
2024-10-24 05:15:06 +02:00
renovate[bot] and Wolfgang Walther
204ae996a3
chore(deps): update actions/checkout action to v4.2.2
2024-10-24 05:09:39 +02:00
renovate[bot] and Wolfgang Walther
719cadf14b
chore(deps): update codecov/codecov-action action to v4.6.0
2024-10-24 05:06:21 +02:00
renovate[bot] and Wolfgang Walther
addbe5b7e2
chore(deps): update ubuntu:noble docker digest to 99c3519
2024-10-24 05:04:28 +02:00
steve-chavez
bee862c2fa
docs: inline one-to-one relationship SQL
...
More direct than having to jump to the sample film database definition.
2024-10-21 14:45:53 -05:00
Dan Kurin and Steve Chavez
5ca969f4b8
docs: add PGRST123 to error table
2024-10-17 19:21:07 -05:00