Releases: PostgREST/postgrest
Releases Β· PostgREST/postgrest
v14.9
v14.8
Added
- Log a
HINTwhen the LISTEN channel stops working due to a PostgreSQL bug by @laurenceisla in #4581
Fixed
- Fix invalid OpenAPI 2.0 format for integer types (
smallint,integer,bigint) by @arturbent0 in #4641
v14.7
Fixed
- Fix not logging SIGTERM and SIGINT by @steve-chavez in #4728
v14.6
Fixed
- Fix leaking table and function names when calculating error hint by @taimoorzaeem in #4675
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