renovate[bot] and Wolfgang Walther
fae24c04b1
chore(deps): update dependency urllib3 to v2.2.2
2024-06-17 21:03:43 +02:00
Wolfgang Walther and Wolfgang Walther
465170c7d6
refactor: Use jose-jwt instead of hs-jose
...
This removes one more dependency on Template Haskell.
2024-06-17 08:55:32 +02:00
Wolfgang Walther and Wolfgang Walther
0948d38863
test: Rewrite JWT cache tests
...
Timing dependent tests in the IO tests don't work too well when the next
commit increases the JWT parsing performance.
The remaining IO tests are for coverage and basic breakage. Loadtests
are adapted so that performance regressions for JWT caching would be
detected that way.
2024-06-17 08:55:32 +02:00
Wolfgang Walther and Wolfgang Walther
f69ef6c42d
test: Add basic tests for JWT errors
2024-06-17 08:55:32 +02:00
Laurence Isla and Steve Chavez
2e910e5338
docs: improve architecture diagram
...
- SVG format instead of PNG
- The components now have links to their reference in the Docs
- Supports dark mode
2024-06-16 17:31:26 -05:00
Wolfgang Walther and Wolfgang Walther
e5fb1e0ec1
refactor: Replace interpolatedstring-perl6 with neat-interpolation
...
The former depends on th-orphans which does not cross-compile well,
because of template haskell usage.
neat-interpolation is also much better maintained.
This also potentially helps with packaging for Debian/Ubuntu in #2273 .
2024-06-16 14:01:46 +02:00
Wolfgang Walther and Wolfgang Walther
0b25039f0f
refactor: Pass params in SchemaCache without contrazip2
...
Contravariant.Extras uses Template Haskell, which is hard to
cross-compile. Reducing usage of Template Haskell with the ultimate goal
of solving all cross compilation challenges.
2024-06-16 00:59:10 +02:00
Wolfgang Walther
08692f52d6
chore: Sort doctests
2024-06-15 18:12:30 +02:00
Wolfgang Walther
2ed9ac7e57
ci: Run linkcheck once a week instead of every PR
...
Resolves #3544
2024-06-15 17:52:21 +02:00
Wolfgang Walther and Wolfgang Walther
b38ea4dcd0
feat: Raise minimum supported version to 12.1
...
There is no reason to support the 12.0 version, which is outdated for
many years already. We still support all other minors for v12.
2024-06-15 17:23:34 +02:00
Wolfgang Walther and Wolfgang Walther
7d2d363575
docs: Fix punctuation in install.rst
2024-06-15 17:23:34 +02:00
Wolfgang Walther and Wolfgang Walther
bb96c2dc74
feat: Drop support for pg 11
...
PostgreSQL 11 is EOL since November 2023.
2024-06-15 17:23:34 +02:00
Wolfgang Walther and Wolfgang Walther
126178642b
feat: Drop support for pg 10
2024-06-15 17:23:34 +02:00
Wolfgang Walther and Wolfgang Walther
daa77d17aa
feat: Drop support for pg 9.6
2024-06-15 17:23:34 +02:00
Wolfgang Walther
ec110720dc
nix: Make postgrest-release bump docs version
...
Resolves #3583
2024-06-15 17:13:10 +02:00
Michal Kleczek and GitHub
7a87f495df
docs: add pg-notify-stdout to ecosystem
2024-06-14 19:25:43 +02:00
renovate[bot] and Wolfgang Walther
35910eb4b0
chore(deps): update codecov/codecov-action action to v4.5.0
2024-06-13 19:51:07 +02:00
renovate[bot] and Wolfgang Walther
9efedc5306
chore(deps): update ubuntu:noble docker digest to e3f92ab
2024-06-13 08:46:38 +02:00
renovate[bot] and Wolfgang Walther
94d1bec0f9
chore(deps): update actions/checkout action to v4.1.7
2024-06-13 08:45:58 +02:00
Laurence Isla and Steve Chavez
15a97738fb
docs: fix example of listener failure on read replicas
2024-06-12 19:43:58 -05:00
Laurence Isla
b52937ef4a
docs: clarify what is logged when "log-level=debug"
2024-06-12 18:19:16 -05:00
Laurence Isla
3f9027904a
docs: add missing logs to stderr
...
- Schema cache stats are now logged to stderr
- Log when the LISTEN channel gets a notification
2024-06-12 18:19:16 -05:00
Laurence Isla and Steve Chavez
5afa321e89
docs: add "Listener" page
...
Co-authored-by: Steve Chavez <stevechavezast@gmail.com >
2024-06-12 18:19:16 -05:00
steve-chavez
21f15643b4
bump version to 12.3
2024-06-11 09:57:05 -05:00
steve-chavez
ec89f6b90c
bump version to 12.2.0
v12.2.0
2024-06-11 09:57:05 -05:00
steve-chavez
82aa58a08f
docs: deprecate EOL pg versions
2024-06-11 09:43:09 -05:00
Laurence Isla
db85faf3ed
docs: wrap in double quotes the filters with reserved characters in logical operators
2024-06-05 17:59:44 -05:00
Wolfgang Walther
a2d00e305a
nix: Make postgrest-release work on remotes without .git suffix
2024-06-05 21:32:41 +02:00
steve-chavez
4beac10d3d
prevent GSSAPI error between Listener and pool
...
Brings back the the signaling/waiting between the connection pool and
the Listener.
Prevents the GSSAPI error shown on https://github.com/PostgREST/postgrest/issues/3569
2024-06-05 13:58:34 -05:00
Wolfgang Walther
70a8a80491
Revert "fix: Build static postgrest with GSSAPI support"
...
This reverts commit c94aa9ccd9 .
2024-06-05 19:59:07 +02:00
Wolfgang Walther
b4d235f72a
nix: refactor to remove TODO
...
We have meanwhile received the commit in question.
2024-06-05 19:53:29 +02:00
steve-chavez
1a8b6972a8
correct exponential backoff on Listener
...
Clears the limitation mentioned on
https://github.com/PostgREST/postgrest/pull/3536
The Listener no longer uses the https://hackage.haskell.org/package/retry
package and instead uses a much simpler IORef in AppState for the
delays.
Additionally it no longer uses exception throwing/catching, which
is rather messy and brings some
concerns(https://github.com/PostgREST/postgrest/issues/3569#issuecomment-2146013327 ).
2024-06-05 08:52:18 -05:00
Laurence Isla
aaf2d2e430
docs: add example for double embedding when doing OR filtering across embeds
2024-06-04 16:51:28 -05:00
Joel Jakobsson and GitHub
a46bea16e2
nix: fix slocat overlay with nix 2.22
...
This seems to happen on nix 2.22 only, v2.21 in CI and v2.20 locally work fine. The error is:
vendor folder is empty, please set 'vendorHash = null;' in your expression
For full logs, run 'nix-store -l /nix/store/kxnnr344n7gsxzc6kycj19hs19rvddjj-slocat-go-modules.drv'.
error: 1 dependencies of derivation '/nix/store/x9w480k36a11i99m6zp12d5cjijsn3lm-slocat.drv' failed to build
Since the slocat module doesn't actually have any dependencies, this shouldn't matter much.
2024-06-03 10:24:35 +02:00
Laurence Isla
50b2d302d0
docs: use "curl --get" for better readability when necessary
2024-05-31 20:24:06 -05:00
steve-chavez
82a43c2767
nix: postgrest-gen-ctags use haskdogs
2024-05-25 15:21:44 -05:00
steve-chavez
a51a74b3c1
docs: shorten CLI
2024-05-24 18:05:45 -05:00
steve-chavez
1c371d7340
docs: clarify architecture
2024-05-24 18:05:45 -05:00
steve-chavez
30ca64d849
docs: improve observability
2024-05-24 18:05:45 -05:00
Laurence Isla
9c165e3edb
fix: log connection pool events on log-level="debug" instead of "info"
2024-05-24 17:19:31 -05:00
Laurence Isla
c8612f1df1
test: use only the first line in the logs to check the server version
2024-05-24 17:19:31 -05:00
steve-chavez
da9e497ef1
changelog: add architecture doc
2024-05-23 19:34:42 -05:00
steve-chavez
47e9a2d134
refactor: Listener to own module
2024-05-23 19:34:42 -05:00
Laurence Isla
4e0ffa6d0a
changelog: fix link for deprecated feature
2024-05-22 19:16:01 -05:00
Laurence Isla
f5767b8d86
docs: add "config" and "schema_cache" endpoints to the admin server
2024-05-22 19:16:01 -05:00
Taimoor Zaeem and Steve Chavez
8cbcf9867b
feat: add config db-hoisted-tx-settings to allow only hoisted function settings
2024-05-21 19:50:03 -05:00
Taimoor Zaeem and Steve Chavez
a1582a6136
test: clean test_role_settings in io-tests
2024-05-21 19:50:03 -05:00
Laurence Isla and Steve Chavez
1ca5b6f6ba
docs: ignore linkcheck for blog.frankel.ch
2024-05-21 17:23:11 -05:00
Laurence Isla and GitHub
aea563bd82
fix: remove verbosity from some error logs
...
Error logs starting with "An error occured..." are replaced with "Failed to..."
2024-05-21 16:44:28 -05:00
Laurence Isla and GitHub
5d3d09923f
refactor: unDRY PGRST prefix in errors for better search/grep
2024-05-21 14:34:00 -05:00