v7.0.0
版本发布时间: 2020-04-04 02:02:16
PostgREST/postgrest最新发布版本:devel(2024-05-05 03:36:38)
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
- #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
1、 postgrest-v7.0.0-centos7.tar.xz 5.52MB
2、 postgrest-v7.0.0-osx.tar.xz 1.8MB
3、 postgrest-v7.0.0-ubuntu.tar.xz 5.52MB
4、 postgrest-v7.0.0-ubuntui386.tar.xz 5.69MB
5、 postgrest-v7.0.0-windows-x64.zip 11.11MB