feat: add limited update
This commit is contained in:
committed by
Steve Chavez
parent
799daa7556
commit
f4becf99ad
+7
-1
@@ -18,6 +18,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
+ #1689, Add the ability to run without `db-anon-role` disabling anonymous access. - @wolfgangwalther
|
||||
- #1543, Allow access to fields of composite types in select=, order= and filters through JSON operators -> and ->>. - @wolfgangwalther
|
||||
- #2075, Allow access to array items in ?select=, ?order= and filters through JSON operators -> and ->>. - @wolfgangwalther
|
||||
- #2156, Allow applying `limit/offset` to UPDATE to only affect a subset of rows - @steve-chavez
|
||||
+ Uses the table primary key, so it needs a select privilege on the primary key columns
|
||||
+ If no primary key is available, it will fallback to using the "ctid" system column(will also require a select privilege on it)
|
||||
+ Will work on views if the PK(or "ctid") is present on its SELECT clause
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -43,6 +47,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
- #2001, Return 204 No Content without Content-Type for RPCs returning VOID - @wolfgangwalther
|
||||
+ Previously, those RPCs would return "null" as a body with Content-Type: application/json.
|
||||
- #2156, `limit/offset` now limits the affected rows on UPDATE - @steve-chavez
|
||||
+ Previously, `limit/offset` only limited the returned rows but not the actual updated rows
|
||||
|
||||
## [9.0.0] - 2021-11-25
|
||||
|
||||
@@ -63,7 +69,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- #2031, Improve error message for ambiguous embedding and add a relevant hint that includes unambiguous embedding suggestions - @laurenceisla
|
||||
- #1917, Add error codes with the `"PGRST"` prefix to the error response body to differentiate PostgREST errors from PostgreSQL errors - @laurenceisla
|
||||
- #1917, Normalize the error response body by always having the `detail` and `hint` error fields with a `null` value if they are empty - @laurenceisla
|
||||
- #2176, Errors raised with `SQLSTATE` now include the message and the code in the response body - @laurenceisla
|
||||
- #2176, Errors raised with `SQLSTATE` now include the message and the code in the response body - @laurenceisla
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user