renovate[bot] and Wolfgang Walther
3e61dc024e
chore(deps): update cachix/cachix-action action to v17
2026-03-18 21:24:50 +00:00
renovate[bot] and Wolfgang Walther
1bdf773417
chore(deps): update all dependencies
2026-03-18 20:01:41 +00:00
renovate[bot] and Wolfgang Walther
55868351f3
chore(deps): update actions/cache action to v5.0.4
2026-03-18 19:09:06 +00:00
renovate[bot] and Wolfgang Walther
8c3cb76fbd
chore(deps): update ubuntu:noble docker digest to 0d39fcc
2026-03-17 10:22:17 +00:00
renovate[bot] and Wolfgang Walther
3bdb69bae7
chore(deps): update actions/create-github-app-token action to v3
2026-03-14 18:06:45 +00:00
renovate[bot] and Wolfgang Walther
1ed3c2c197
chore(deps): update all dependencies
2026-03-13 17:23:12 +00:00
renovate[bot] and Wolfgang Walther
dde145b685
chore(deps): update all dependencies
2026-03-13 17:19:11 +00:00
Wolfgang Walther
720705e32b
docs: fix prometheus text format link
...
Reported by linkcheck.
2026-03-11 09:45:21 +01:00
steve-chavez
6813ceaf31
bump version to 14.6
v14.6
2026-03-06 16:30:04 -05:00
Taimoor Zaeem and steve-chavez
73c8ae0bbc
fix(error): leaking table and function names when calculating hint
...
Increase similarity score to 0.75 from 0.33 for table and functions
error hint.
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com >
2026-03-06 16:16:05 -05:00
Laurence Isla
6f356e32b6
chore: update sponsors
...
* The list of sponsors is now ordered by total contribution value (highest first)
* Removed former backers from sponsor pages
2026-03-03 23:11:22 -05:00
Laurence Isla
c4772184e4
chore: update sponsor
2026-03-03 23:11:22 -05:00
dshukertjr and Wolfgang Walther
0602080acb
docs: Update the Supabase logo to a correct one
2026-02-19 10:54:29 +01:00
steve-chavez
dc67e4d3f5
chore: fix changelog entries
2026-02-13 13:40:38 -05:00
steve-chavez
d89826b982
bump version to 14.5
v14.5
2026-02-12 20:12:52 -05:00
steve-chavez
94350fdde6
fix: don't hide async exceptions in logs
...
Fixes #4646 . Using the repro on #4646 , this now produces the log:
```
11/Feb/2026:09:40:08 -0500: Warp server error: stack overflow
```
When:
```
$ curl localhost:3000/
curl: (52) Empty reply from server
```
(cherry picked from commit e95e815483 )
2026-02-12 20:11:44 -05:00
Taimoor Zaeem and Wolfgang Walther
230eb3630c
docs(install): update postgresql minimum supported version
...
PostgREST dropped support for PostgreSQL version 12 however,
it was not reflected in the docs.
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com >
2026-02-12 10:23:29 +01:00
steve-chavez
5485b8ca9a
bump version to 14.4
v14.4
2026-01-29 14:13:49 -05:00
steve-chavez
895e9c536c
chore: remove wrong entry in CHANGELOG
2026-01-29 13:24:20 -05:00
Michal Kleczek and steve-chavez
16c767134c
fix: listener running with exception masked after first failure
2026-01-29 13:22:46 -05:00
Laurence Isla and Steve Chavez
0a8b836435
fix: filtering the returned representation whenn using or/and filters on mutations
...
(cherry picked from commit 1682677297 )
2026-01-29 09:16:08 -05:00
Michal Kleczek and Steve Chavez
5796f86100
fix: ensure Listener connections are released
...
retryingListen function potentially leaks database connections. This patch ensures the connections are released in case of listen/notify errors.
(cherry picked from commit 00c7cb1a22 )
2026-01-28 18:26:15 -05:00
Wolfgang Walther
101eac1cce
docs: fix links
...
datrium.com doesn't exist anymore, while euronodes.com seems to only
fail SSL in CI.
2026-01-28 09:57:23 +01:00
renovate[bot] and Wolfgang Walther
1ae14afdf2
chore(deps): update haskell-actions/setup action to v2.10.2
2026-01-11 17:36:28 +00:00
Wolfgang Walther
69090bd224
ci: pin backport action to version instead of default branch
2026-01-11 18:34:43 +01:00
renovate[bot] and Wolfgang Walther
5d5160fbd7
chore(deps): update haskell-actions/setup action to v2.10.1
2026-01-05 19:01:32 +00:00
steve-chavez
545f45d9de
bump version to 14.3
v14.3
2026-01-03 16:45:56 +08:00
Taimoor Zaeem and steve-chavez
eb55e73645
chore: move changelog entry to unreleased section
...
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com >
2026-01-03 16:44:10 +08:00
Michał Kłeczek and Steve Chavez
e252a4900c
fix: Performance and high memory usage of relation hint calculation
...
* Calculation of hint message when requested relation is not present in schema cache requires creation of a FuzzySet (to use fuzzy search to find candidate tables). For schemas with many tables it is costly.
This patch introduces dbTablesFuzzyIndex in SchemaCache to memoize the FuzzySet creation.
* Additionally, because of FuzzySet large memory requirements, this patch introduces a limit of 500 relations per schema, above which FuzzySet is not created and hint calculation disabled.
(cherry picked from commit e592d568c6 )
2026-01-03 15:18:37 +08:00
Taimoor Zaeem and Steve Chavez
01bdb05c89
nix: add config file for hlint
...
Adds a config file for hlint containing arguments and
custom warnings.
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com >
2025-12-23 11:51:05 -05:00
122ed4d02e
refactor: fix definition of Ord instance for Routine type ( #4577 )
...
The `Ord` instance definition for type `Routine` had a logical
error when comparing two routines. The error did not affect any
end users. However, for correctness and completeness reasons, this
commit fixes the error.
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com >
Co-authored-by: Joel Jacobson <joel@compiler.org >
2025-12-23 11:51:05 -05:00
renovate[bot] and Wolfgang Walther
7ff6755af7
chore(deps): update docker/setup-buildx-action action to v3.12.0
2025-12-20 20:24:23 +00:00
steve-chavez
29d6d35020
bump version to 14.2
v14.2
2025-12-18 21:30:38 -05:00
steve-chavez
4d35eb02e7
fix: inaccurate Server-Timing durations
...
The transaction duration was notably off, doing:
```
curl localhost:3000/rpc/sleep?seconds=5 -i
```
Shows `46.1` for the `transaction;dur`, with this fix we obtain
`5007.3`.
Fixes https://github.com/PostgREST/postgrest/issues/4522
This also fixes inaccurate "schema cache queried" logs,
see https://github.com/PostgREST/postgrest/issues/4551 .
(cherry picked from commit 013f078bc4 )
2025-12-18 18:18:09 -05:00
renovate[bot] and Wolfgang Walther
e126956c1b
chore(deps): update haskell-actions/setup action to v2.9.1
2025-12-17 18:01:25 +00:00
Joel Jakobsson and Steve Chavez
ce7871c047
fix: hasSingleUnnamedParam incorrectly matching named parameters
...
The hasSingleUnnamedParam function was only checking the parameter type
but not whether the parameter actually had no name. This caused functions
with a single NAMED parameter (e.g., `foo(data json)`) to incorrectly
match the single-param fallback mode.
The result was a confusing PostgreSQL error 42883 "function does not exist"
instead of a clean PGRST202 error explaining that no matching function
was found.
Added ppName == mempty check so functions with named parameters don't
incorrectly match the single-param fallback.
(cherry picked from commit fd6a3bdccf )
2025-12-16 17:24:20 -05:00
Taimoor Zaeem and Steve Chavez
a59e6d97c5
refactor: create function to handle response preferences
...
Centralizes handling of preferences that are used to
create `Preference-Applied` header which is returned on
responses.
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com >
(cherry picked from commit 29c2aa015f )
2025-12-16 11:20:33 -05:00
renovate[bot] and Wolfgang Walther
40fec696a6
chore(deps): update korthout/backport-action action to v4.0.1
2025-12-15 20:17:46 +00:00
renovate[bot] and Wolfgang Walther
9eb36f1244
chore(deps): update all dependencies
2025-12-13 11:31:10 +00:00
Laurence Isla and Steve Chavez
720eb8e528
chore(changelog): move incorrectly placed fixes
2025-12-12 14:47:26 -05:00
Laurence Isla and Steve Chavez
aec95f7944
refactor: use only Lazy.ByteString to calculate the response body length
2025-12-12 14:47:26 -05:00
Laurence Isla and Steve Chavez
1c33d2dd38
fix: add missing Content-Length to empty HTTP 201 responses
...
For when a preference other than return=representation is requested.
2025-12-12 14:47:26 -05:00
Laurence Isla and Steve Chavez
7be638f0f2
fix: regression that truncates error message when offset is out of bounds
...
- Happens when offset > the number of rows and when "Prefer: count=exact" header is sent
- Regression introduced in commit 57ef998
2025-12-12 14:47:26 -05:00
Taimoor Zaeem and Steve Chavez
d4b8109522
fix: misleading logs on unsupported postgresql versions
...
Postgrest fails on unsupported pg versions. However before killing
the thread, it continues to print a few more log messages which
were misleading. This commit fixes this by making sure that the
no log message should be printed after the unsupported pg version
observation and kill the thread immediately.
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com >
(cherry picked from commit 0fa2f569a7 )
2025-12-10 20:24:14 -05:00
renovate[bot] and Wolfgang Walther
f2b96b1d41
chore(deps): update codecov/codecov-action action to v5.5.2
2025-12-10 12:24:00 +00:00
renovate[bot] and Wolfgang Walther
cc43d356c1
chore(deps): update actions/create-github-app-token action to v2.2.1
2025-12-06 11:00:16 +00:00
renovate[bot] and Wolfgang Walther
8bcbbd1bfd
chore(deps): update all dependencies
2025-12-03 13:52:35 +00:00
renovate[bot] and Wolfgang Walther
ec4d2e2af3
chore(deps): update actions/checkout action to v6
2025-12-03 13:52:23 +00:00
Taimoor Zaeem and Steve Chavez
e8cb0e33eb
test(io): fix freeport function to prevent failures
...
Sometimes, a healthcheck related test fails as occurred in
https://github.com/PostgREST/postgrest/actions/runs/19771357953/job/56655949002 .
This happens due to freeport function accidently picking up a used port.
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com >
(cherry picked from commit 50eec773bf )
2025-11-30 13:38:55 -05:00
Taimoor Zaeem and Steve Chavez
05074f41c2
test(io): move fixtures to fixtures/ directory
...
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com >
(cherry picked from commit 35de13eebd )
2025-11-28 13:23:20 -05:00