postgrest v7.0.0 Release Notes
Release Date: 2020-04-03 // almost 4 years ago-
โ Added
- #1417,
Accept: application/vnd.pgrst.object+json
behavior is now enforced for POST/PATCH/DELETE regardless ofPrefer: return=representation/minimal
- @dwagin - ๐ #1415, Add support for user defined socket permission via
server-unix-socket-mode
config option - @Dansvidania - ๐ #1383, Add support for HEAD request - @steve-chavez
- ๐ #1378, Add support for
Prefer: count=planned
andPrefer: count=estimated
on GET /table - @steve-chavez, @LorenzHenk - ๐ #1327, Add support for optional query parameter
on_conflict
to upsert with specified keys for POST - @ykst - #1430, Allow specifying the foreign key constraint name(
/source?select=fk_constraint(*)
) to disambiguate an embedding - @steve-chavez - #1168, Allow access to the
Authorization
header through therequest.header.authorization
GUC - @steve-chavez - #1435, Add
request.method
andrequest.path
GUCs - @steve-chavez - #1088, Allow adding headers to GET/POST/PATCH/PUT/DELETE responses through the
response.headers
GUC - @steve-chavez - #1427, Allow overriding provided headers(Location, Content-Type, etc) through the
response.headers
GUC - @steve-chavez - #1450, Allow multiple schemas to be exposed in one instance. The schema to use can be selected through the headers
Accept-Profile
for GET/HEAD andContent-Profile
for POST/PATCH/PUT/DELETE - @steve-chavez, @mahmoudkassem
๐ Fixed
- #1301, Fix self join resource embedding on PATCH - @herulume, @steve-chavez
- #1389, Fix many to many resource embedding on RPC/PATCH - @steve-chavez
- #1355, Allow PATCH/DELETE without
return=minimal
on tables with no select privileges - @steve-chavez - #1361, Fix embedding a VIEW when its source foreign key is UNIQUE - @bwbroersma
๐ Changed
- #1385, bulk RPC call now should be done by specifying a
Prefer: params=multiple-objects
header - @steve-chavez - #1401, resource embedding now outputs an error when multiple relationships between two tables are found - @steve-chavez
- 0๏ธโฃ #1423, default Unix Socket file mode from 755 to 660 - @dwagin
- ๐ #1430, Remove embedding with duck typed column names
GET /projects?select=client(*)
- @steve-chavez- You can rename the foreign key to
client
to make this request work in the new version:alter table projects rename constraint projects_client_id_fkey to client
- You can rename the foreign key to
- #1413, Change
server-proxy-uri
config option toopenapi-server-proxy-uri
- @steve-chavez
- #1417,