.. |br| raw:: html
v8.0.0
======
You can download this release at the `PostgREST v8.0.0 release page `_.
Added
-----
* Allow HTTP status override through the :ref:`response.status ` GUC.
|br| -- `@steve-chavez `_
* Allow :ref:`s_procs_variadic`.
|br| -- `@wolfgangwalther `_
* Allow :ref:`embedding_view_chains` recursively to any depth.
|br| -- `@wolfgangwalther `_
* No downtime when reloading the schema cache. See :ref:`schema_reloading`.
|br| -- `@steve-chavez `_
* Allow schema cache reloading using PostgreSQL :ref:`NOTIFY ` command. This enables :ref:`auto_schema_reloading`.
|br| -- `@steve-chavez `_
* Allow sending the header ``Prefer: headers-only`` to get a response with a ``Location`` header. See :ref:`insert`.
|br| -- `@laurenceisla `_
* Allow :ref:`external_connection_poolers` such as PgBouncer in transaction pooling mode.
|br| -- `@laurenceisla `_
* Allow :ref:`config_reloading` by sending a SIGUSR2 signal.
|br| -- `@steve-chavez `_
* Allow ``Bearer`` with and without capitalization as authentication schema. See :ref:`client_auth`.
|br| -- `@wolfgangwalther `_
* :ref:`in_db_config` that can be :ref:`reloaded with NOTIFY `.
|br| -- `@steve-chavez `_
* Allow OPTIONS to generate HTTP methods based on views triggers. See :ref:`OPTIONS requests `.
|br| -- `@laurenceisla `_
* Show timestamps for server diagnostic information. See :ref:`pgrst_logging`.
|br| -- `@steve-chavez `_
* Config options for showing a full OpenAPI output regardless of the JWT role privileges and for disabling it altogether. See :ref:`openapi-mode`.
|br| -- `@steve-chavez `_
* Config option for logging level. See :ref:`log-level`.
|br| -- `@steve-chavez `_
* Config option for enabling or disabling prepared statements. See :ref:`db-prepared-statements`.
|br| -- `@steve-chavez `_
* Config option for specifying how to terminate the transactions (allowing rollbacks, useful for testing). See :ref:`db-tx-end`.
|br| -- `@wolfgangwalther `_
* Documentation improvements
+ Added the :doc:`../schema_cache` page.
+ Moved the :ref:`schema_reloading` reference from :doc:`../admin` to :doc:`../schema_cache`
Changed
-------
* Docker images are now optimized to be built from the scratch image. This reduces the compressed image size from over 30 MB to about 4 MB.
For more details, see `Docker image built with Nix `_.
|br| -- `@monacoremo `_
* The Docker image no longer has an internal ``/etc/postgrest.conf`` file, you must use :ref:`env_variables_config` to configure it.
|br| -- `@wolfgangwalther `_
* The ``pg_listen`` `utility `_ is no longer needed to automatically reload the schema cache
and it's replaced entirely by database notifications. See :ref:`auto_schema_reloading`.
|br| -- `@steve-chavez `_
* POST requests for insertions no longer include a ``Location`` header in the response by default and behave the same way as having a
``Prefer: return=minimal`` header in the request. This prevents permissions errors when having a write-only table. See :ref:`insert`.
|br| -- `@laurenceisla `_
* Modified the default logging level from ``info`` to ``error``. See :ref:`log-level`.
|br| -- `@steve-chavez `_
* Changed the error message for a not found RPC on a stale schema (see :ref:`stale_function_signature`) and for the unsupported case of
overloaded functions with the same argument names but different types.
|br| -- `@laurenceisla `_
* Changed the error message for the no relationship found error. See :ref:`stale_fk_relationships`.
|br| -- `@laurenceisla `_
Fixed
-----
* Fix showing UNKNOWN on ``postgrest --help`` invocation.
|br| -- `@monacoremo `_
* Removed single column restriction to allow composite foreign keys in join tables.
|br| -- `@goteguru `_
* Fix expired JWTs starting an empty transaction on the db.
|br| -- `@steve-chavez `_
* Fix location header for POST request with ``select=`` without PK.
|br| -- `@wolfgangwalther `_
* Fix error messages on connection failure for localized PostgreSQL on Windows.
|br| -- `@wolfgangwalther `_
* Fix ``application/octet-stream`` appending ``charset=utf-8``.
|br| -- `@steve-chavez `_
* Fix overloading of functions with unnamed arguments.
|br| -- `@wolfgangwalther `_
* Return ``405 Method not Allowed`` for GET of volatile RPC instead of 500.
|br| -- `@wolfgangwalther `_
* Fix RPC return type handling and embedding for domains with composite base type.
|br| -- `@wolfgangwalther `_
* Fix embedding through views that have COALESCE with subselect.
|br| -- `@wolfgangwalther `_
* Fix parsing of boolean config values for Docker environment variables, now it accepts double quoted truth values ``("true", "false")`` and numbers ``("1", "0")``.
|br| -- `@wolfgangwalther `_
* Fix using ``app.settings.xxx`` config options in Docker, now they can be used as ``PGRST_APP_SETTINGS_xxx``.
|br| -- `@wolfgangwalther `_
* Fix panic when attempting to run with unix socket on non-unix host and properly close unix domain socket on exit.
|br| -- `@monacoremo `_
* Disregard internal junction (in non-exposed schema) when embedding.
|br| -- `@steve-chavez `_
* Fix requests for overloaded functions from HTML forms to no longer hang.
|br| -- `@laurenceisla `_
Thanks
------
Big thanks from the `PostgREST team `_ to our sponsors!
.. container:: image-container
.. image:: ../_static/cybertec-new.png
:target: https://www.cybertec-postgresql.com/en/?utm_source=postgrest.org&utm_medium=referral&utm_campaign=postgrest
:width: 13em
.. image:: ../_static/2ndquadrant.png
:target: https://www.2ndquadrant.com/en/?utm_campaign=External%20Websites&utm_source=PostgREST&utm_medium=Logo
:width: 13em
.. image:: ../_static/retool.png
:target: https://retool.com/?utm_source=sponsor&utm_campaign=postgrest
:width: 13em
.. image:: ../_static/gnuhost.png
:target: https://gnuhost.eu/?utm_source=sponsor&utm_campaign=postgrest
:width: 13em
.. image:: ../_static/supabase.png
:target: https://supabase.com/?utm_source=postgrest%20backers&utm_medium=open%20source%20partner&utm_campaign=postgrest%20backers%20github&utm_term=homepage
:width: 13em
.. image:: ../_static/oblivious.jpg
:target: https://oblivious.ai/?utm_source=sponsor&utm_campaign=postgrest
:width: 13em
* Evans Fernandes
* `Jan Sommer `_
* `Franz Gusenbauer `_
* `Daniel Babiak `_
* Tsingson Qin
* Michel Pelletier
* Jay Hannah
* Robert Stolarz
* Nicholas DiBiase
* Christopher Reid
* Nathan Bouscal
* Daniel Rafaj
* David Fenko
* Remo Rechkemmer
* Severin Ibarluzea
* Tom Saleeba
* Pawel Tyll
If you like to join them please consider `supporting PostgREST development `_.