Features
- Bounded JWT cache using the SIEVE algorithm by @mkleczek in #4084
- Includes JWT Cache Metrics.
- 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