From b2a25042015ed80d564bcd043951aab53f53033e Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Thu, 18 Aug 2022 22:59:22 -0500 Subject: [PATCH] changelog: clarify and stamp date for v10 --- CHANGELOG.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48764f229..6b8cbacdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased +## [10.0.0] - 2022-08-18 + ### Added - #1933, #2109, Add a minimal health check endpoint - @steve-chavez @@ -39,8 +41,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). + Can generate the plan for different media types using the `for` parameter: `Accept: application/vnd.pgrst.plan; for="application/vnd.pgrst.object"` + Different options for the plan can be used with the `options` parameter: `Accept: application/vnd.pgrst.plan; options=analyze|verbose|settings|buffers|wal` + The plan can be obtained in text or json by using different media type suffixes: `Accept: application/vnd.pgrst.plan+text` and `Accept: application/vnd.pgrst.plan+json`. - - #2144, Allow extending/overriding relationships for resource embedding - @steve-chavez - - #1984, Detect one-to-one relationships for resource embedding - @steve-chavez + - #2144, Support computed relationships which allow extending and overriding relationships for resource embedding - @steve-chavez, @wolfgangwalther + - #1984, Detect one-to-one relationships for resource embedding - @steve-chavez + Detected when there's a foreign key with a unique constraint or when a foreign key is also a primary key ### Fixed @@ -81,7 +83,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). + A primary key that contains the foreign key columns is now needed for generating many-to-many relationships. - #2277, Views now are not detected when embedding using the column or FK as target (`/view?select=*,column(*)`) - @steve-chavez + This embedding form was easily made ambiguous whenever a new view was added. - + For migrating, clients must be updated to the embedding form of `/view?select=*,other_view!column(*)`. + + You can use computed relationships to keep this embedding form working - #2312, Using `Prefer: return=representation` no longer returns a `Location` header - @laurenceisla - #1984, For the cases where one to one relationships are detected, json objects will be returned instead of json arrays of length 1 + If you wish to override this behavior, you can use computed relationships to return arrays again