Releases: PostgREST/postgrest
Releases Β· PostgREST/postgrest
v14.5
Fixed
- Don't hide async exceptions in logs by @steve-chavez in #4646
v14.4
v14.3
v14.2
Fixed
- Fix
hasSingleUnnamedParamincorrectly matching functions with named parameters by @joelonsql in #4553- Functions with a single named parameter (e.g.,
foo(data json)) no longer incorrectly match the single-param fallback, returning a cleanPGRST202error instead of a confusing PostgreSQL42883error.
- Functions with a single named parameter (e.g.,
- Fix misleading logs on unsupported PostgreSQL versions by @taimoorzaeem in #4519
- Fix regression where the
PGRST103error response was truncated by @laurenceisla in #4455- Happened when an
offsetwas greater than the rows requested andPrefer: count=exactwas sent.
- Happened when an
- Fix not returning
Content-Lengthon empty HTTP201responses by @laurenceisla in #4518 - Fix inaccurate Server-Timing header durations by @steve-chavez in #4522
- Fix inaccurate "Schema cache queried" logs by @steve-chavez in #4522
v14.1
Fixed
- Fix
db-pre-configfunction failing when function names are pg reserved words by @taimoorzaeem in #4380 - Fix
server-host=!6incorrectly binds to IPv4 address by @taimoorzaeem in #3202
v14.0
Features
Authentication
- Bounded JWT cache using the SIEVE algorithm by @mkleczek in #4084
- Increases throughput of all requests having a JWT. 20% more throughput for GET requests according to our benchmarks.
- Includes JWT Cache Metrics.
CLI
- Ready flag for postgrest healthcheck by @taimoorzaeem in #4239
Fixes
- Fix schema cache loading taking a long time for large schemas by @mkleczek in #4360, #3704
- On a complex database, it goes down from 7 minutes to 2 seconds.
- Fix not logging OpenAPI queries when
log-queryis enabled by @steve-chavez in #4226 - Fix not logging explain query when
log-queryis enabled by @steve-chavez in #4319 - Fix not logging transaction variables and db-pre-request function when
log-queryis enabled by @steve-chavez in #3934 - Fix not logging the JSON message to stderr on a
PGRST002error by @laurenceisla in #4129 - Fix reloading the Schema Cache unnecessarily on a
PGRST002error by @laurenceisla in #4367
Breaking Changes
- Drop support for PostgreSQL EOL version 12 by @wolfgangwalther in #3865
- From now on PostgREST will follow a
MAJOR.PATCHtwo-part versioning. Only even-numbered MAJOR versions will be released, reserving odd-numbered MAJOR versions for development. - Replaced
jwt-cache-max-lifetimeconfig with jwt-cache-max-entries by @mkleczek in #4084 - log-query config now takes a boolean instead of a string value by @steve-chavez in #3934
v13.0.8
Fixed
- Fix loading utf-8 config files with
ASCIIlocale set by @taimoorzaeem in #4386
v13.0.7
Added
- Improve the
PGRST106error when the requested schema is invalid by @laurenceisla in #4089- It now shows the invalid schema in the
messagefield. - The exposed schemas are now listed in the
hintinstead of themessagefield.
- It now shows the invalid schema in the
- Improve error details of
PGRST301error by @taimoorzaeem in #4051
v13.0.6
Fixed
- Fix logging the Haskell type instead of the listener error message directly by @laurenceisla in #3588
- Fix format of
IPv6address logged at PostgREST startup by @taimoorzaeem in #4291 - Fix empty enum in
preferParamsOpenAPI parameter by @laurenceisla in #4292
v13.0.5
Fixed
- Fix OpenAPI broken docs link by @taimoorzaeem in #4048
- Fix OpenAPI specification incorrectly exposing GET methods for volatile functions by @joelonsql in #4174
- Fix empty spread embeddings return unexpected SQL error by @taimoorzaeem in #3887
- Fix
/metricsendpoint not responding withContent-Typeheader by @taimoorzaeem in #4271