Skip to content

v12.2.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 11 Jun 16:06
· 5 commits to main since this release

Features

Observability

Listener

API

Transactions

Admin

Performance

  • Performance improvement on bulk json inserts, around 10% increase on requests per second by removing json_typeof from write queries by @steve-chavez in #2676.

Documentation

Errors

  • Show extra information in the PGRST121 error (could not parse RAISE 'PGRST') by @laurenceisla in #3404
    • Shows the failed MESSAGE or DETAIL in the details field
    • Shows the correct JSON format in the hints field

Fixes

  • Dump media handlers and timezones with --dump-schema by @wolfgangwalther in #3237
  • Don't hide error on LISTEN channel failure by @steve-chavez in #3323 and #3324
  • Incorrect admin server /ready response on slow schema cache loads by @steve-chavez in #3330
  • Fix in-database configuration values not loading for pgrst.server_trace_header and pgrst.server_cors_allowed_origins by @laurenceisla in #3345
  • Clarify the PGRST121 (could not parse RAISE 'PGRST') error message by @laurenceisla in #3404
  • Fix wrong 503 Service Unavailable on pg error 53400 by @taimoorzaeem in #3267
  • Fix not adding application_name on all connection strings by @steve-chavez in #2985
  • Admin /live and /ready now differentiates a failure as 500 status by @steve-chavez in #3424
    • 503 status is still given when postgREST is in a recovering state
  • Media Types are parsed case insensitively by @develop7 in #3478
  • Fix listener silently failing on read replica by @steve-chavez in #3533 and #3536
    • If the LISTEN connection fails, it's retried with exponential backoff
  • Force listener to connect to read-write instances using target_session_attrs by @steve-chavez in #3414
  • Fix incorrect 413 Request Entity Too Large on pg errors 54* by @taimoorzaeem in #3255
  • Remove verbosity from error logs starting with "An error occurred..." and replacing it with "Failed to..." by @laurenceisla in #3549

Deprecations