Skip to content

Releases: PostgREST/postgrest

v13.0.7

14 Sep 20:03
Compare
Choose a tag to compare

Added

  • Improve the PGRST106 error when the requested schema is invalid by @laurenceisla in #4089
    • It now shows the invalid schema in the message field.
    • The exposed schemas are now listed in the hint instead of the message field.
  • Improve error details of PGRST301 error by @taimoorzaeem in #4051

v13.0.6

30 Aug 19:52
Compare
Choose a tag to compare

Fixed

v13.0.5

24 Aug 18:25
Compare
Choose a tag to compare

Fixed

v13.0.4

18 Jun 01:57
Compare
Choose a tag to compare

Fixed

  • Fix regression that makes full-text search not work on domain types based on tsvector by @laurenceisla in #4135
  • Fix jwt-aud config not failing when set to an invalid URI by @taimoorzaeem in #4132

v13.0.3

17 Jun 16:20
Compare
Choose a tag to compare

Fixed

  • Fix max-affected preference not failing with RPC when handling=strict by @taimoorzaeem in #4100
  • Fix a property definition's type in OpenAPI not showing the correct base type of a recursive domain by @laurenceisla in #4136

v13.0.2

02 Jun 21:40
Compare
Choose a tag to compare

Fixed

  • Fix regression that makes ORDER BY with nulls-order not work alongside limits by @laurenceisla in #4109

v13.0.1

01 Jun 14:08
Compare
Choose a tag to compare

Fixed

  • Fix jwt error returning HTTP status 400 for invalid role by @taimoorzaeem in #3601
  • Fix db-extra-search-path cannot be set to nothing by @taimoorzaeem in #4074
    • It can now be disabled by setting it to empty string.
    • Schema Cache load error is now logged including db-schemas and db-extra-search-path config values.

v13.0.0

08 May 20:45
ad66ae4
Compare
Choose a tag to compare

Features

API

Authentication

Observability

Errors

  • Improved JWT errors by @taimoorzaeem in #3600, #3926
    • PGRST301 is now returned when Bearer in the Authorization header is sent empty
    • PGRST303 is now returned when decoding JWT claims fails
    • Better diagnostic error messages instead of exposed internals messages
  • Return PGRST125 instead of an empty json, when an invalid URL path is requested by @taimoorzaeem in #3906
  • Return PGRST126 instead of an empty json, when OpenAPI is requested and it's disabled by @taimoorzaeem in #3906

Admin Server

Fixes

  • Prevent spread embedding to allow aggregates when they are disabled by @laurenceisla in #3693
  • A nested spread embedding now correctly groups by the fields of its top parent relationship by @laurenceisla in #3693
  • Fix spread embedding errors when using the count() aggregate without a field by @laurenceisla in #3693
    • Fixed "column reference <col> is ambiguous" error when selecting ?select=...table(col,count())
    • Fixed "column <json_aggregate>.<alias> does not exist" error when selecting ?select=...table(aias:count())
  • Clarify listener logs by @steve-chavez in #3727
  • Clarify Accept: vnd.pgrst.object error message by @steve-chavez in #3795
  • Handle queries on non-existing table gracefully by @taimoorzaeem in #3697, #3602
  • Fix using order= in mutation requests by @taimoorzaeem in #3013
  • Fix filtering on unselected columns in a table-valued function by @taimoorzaeem in #3965
  • Fix schema cache loading duplicate objects with different object type but same oid by @taimoorzaeem in #4052
  • Querying non-existent table now returns PGRST205 error instead of an empty json by @taimoorzaeem in #3697, #3602
  • Fail to start when server-port and admin-server-port config options are the same by @develop7 in #3508
  • Fail to start when the JWT secret is less than 32 characters long by @laurenceisla in #3607

Breaking Changes

v12.2.12

02 May 02:19
Compare
Choose a tag to compare

Fixed

  • #3956, Fix exposing admin server /config by default - @steve-chavez
    • The above endpoint is now disabled unless the admin-server-config-enabled config is set to true

v12.2.11

21 Apr 23:01
Compare
Choose a tag to compare

Fixed