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 of Prefer: 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 and Prefer: 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 the request.header.authorization GUC - @steve-chavez
    • #1435, Add request.method and request.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 and Content-Profile for POST/PATCH/PUT/DELETE - @steve-chavez, @mahmoudkassem

    ๐Ÿ›  Fixed

    ๐Ÿ”„ 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
    • #1413, Change server-proxy-uri config option to openapi-server-proxy-uri - @steve-chavez