Skip to content

Releases: monacoremo/postgrest

v9.0.0.20210921

21 Sep 07:55
Compare
Choose a tag to compare
v9.0.0.20210921 Pre-release
Pre-release

Added

  • PostgREST#1783, Include partitioned tables into the schema cache. Allows embedding, UPSERT, INSERT with Location response, OPTIONS request and OpenAPI support for partitioned tables - @laurenceisla
  • PostgREST#1878, Add Retry-After hint header when in recovery mode - @gautam1168
  • PostgREST#1735, Allow calling function with single unnamed param through RPC POST. - @steve-chavez
    • Enables calling a function with a single json parameter without using Prefer: params=single-object
    • Enables uploading bytea to a function with Content-Type: application/octet-stream
    • Enables uploading raw text to a function with Content-Type: text/plain
  • PostgREST#1938, Allow escaping inside double quotes with a backslash, e.g. ?col=in.("Double\"Quote"), ?col=in.("Back\\slash") - @steve-chavez

Fixed

Changed

  • PostgREST#1927, Overloaded Functions: If there's a function "my_func" having a single unnamed json param and other overloaded pairs(with any number of params), PostgREST won't be able to resolve a POST request to "my_func". For solving this, you can name the unnamed json param my_func(json) -> my_func(prm json).

v9.0.0

20 Sep 13:56
Compare
Choose a tag to compare

v9.0.0.1

20 Sep 17:26
Compare
Choose a tag to compare
v9.0.0.1 Pre-release
Pre-release

Added

  • PostgREST#1783, Include partitioned tables into the schema cache. Allows embedding, UPSERT, INSERT with Location response, OPTIONS request and OpenAPI support for partitioned tables - @laurenceisla
  • PostgREST#1878, Add Retry-After hint header when in recovery mode - @gautam1168
  • PostgREST#1735, Allow calling function with single unnamed param through RPC POST. - @steve-chavez
    • Enables calling a function with a single json parameter without using Prefer: params=single-object
    • Enables uploading bytea to a function with Content-Type: application/octet-stream
    • Enables uploading raw text to a function with Content-Type: text/plain
  • PostgREST#1938, Allow escaping inside double quotes with a backslash, e.g. ?col=in.("Double\"Quote"), ?col=in.("Back\\slash") - @steve-chavez

Fixed

Changed

  • PostgREST#1927, Overloaded Functions: If there's a function "my_func" having a single unnamed json param and other overloaded pairs(with any number of params), PostgREST won't be able to resolve a POST request to "my_func". For solving this, you can name the unnamed json param my_func(json) -> my_func(prm json).

v10.0.0-b1

06 Aug 10:36
Compare
Choose a tag to compare
v10.0.0-b1 Pre-release
Pre-release

Added

Fixed

v8.0.0

06 Aug 09:30
Compare
Choose a tag to compare

Added

Fixed

Changed

  • PostgREST#1522, PostgREST#1528, PostgREST#1535, Docker images are now built from scratch based on a the static PostgREST executable (PostgREST#1494) and with Nix instead of a Dockerfile. This reduces the compressed image size from over 30mb to about 4mb - @monacoremo
  • PostgREST#1461, Location header for POST request is only included when PK is available on the table - @wolfgangwalther
  • PostgREST#1560, Volatile RPC called with GET now returns 405 Method not Allowed instead of 500 - @wolfgangwalther
  • PostgREST#1584, PostgREST#1849 Functions that declare returns composite_type no longer return a single object array by default, only functions with returns setof composite_type return an array of objects - @wolfgangwalther
  • PostgREST#1604, Change the default logging level to log-level=error. Only requests with a status greater or equal than 500 will be logged. If you wish to go back to the previous behaviour and log all the requests, use log-level=info - @steve-chavez
    • Because currently there's no buffering for logging, defaulting to the error level(minimum logging) increases throughput by around 15% for simple GET queries(no embedding, with filters applied).
  • PostgREST#1617, Dropped support for PostgreSQL 9.4 - @wolfgangwalther
  • PostgREST#1679, Renamed config settings with fallback aliases. e.g. max-rows is now db-max-rows, but max-rows is still accepted - @wolfgangwalther
  • PostgREST#1656, Allow Prefer=headers-only on POST requests and change default to minimal (PostgREST#1813) - @laurenceisla
  • PostgREST#1854, Dropped undocumented support for gzip compression (which was surprisingly slow and easily enabled by mistake). In some use-cases this makes Postgres up to 3x faster - @aljungberg
  • PostgREST#1872, Send startup/worker logs to stderr to differentiate from access logs on stdout - @steve-chavez

v9.0.0-a1

05 Aug 11:23
Compare
Choose a tag to compare
v9.0.0-a1 Pre-release
Pre-release

Added

Fixed