Repository navigation
fix(postgrest): port main's changes to v3 - #1796
Merged
Merged
Conversation
This was referenced Oct 20, 2026
fix(supabase): sync client options fix from main and make storage list_v2 folder keys optional
#1793
Merged
grdsdev
reviewed
Oct 20, 2026
grdsdev
reviewed
Oct 20, 2026
grdsdev
reviewed
Oct 20, 2026
grdsdev
reviewed
Oct 20, 2026
grdsdev
reviewed
Oct 20, 2026
grdsdev
reviewed
Oct 20, 2026
grdsdev
reviewed
Oct 20, 2026
grdsdev
reviewed
Oct 20, 2026
grdsdev
reviewed
Oct 20, 2026
spydon
force-pushed
the
v3-sync/06-postgrest
branch
from
October 21, 2026 07:13
faefd80 to
dfaf369
Compare
spydon
force-pushed
the
v3-sync/06-postgrest
branch
from
October 21, 2026 07:46
dfaf369 to
f3ad288
Compare
grdsdev
approved these changes
Oct 21, 2026
spydon
force-pushed
the
v3-sync/06-postgrest
branch
2 times, most recently
from
October 22, 2026 08:01
7123d20 to
0ab7b62
Compare
spydon
force-pushed
the
v3-sync/06-postgrest
branch
from
October 26, 2026 13:45
0ab7b62 to
3c84563
Compare
spydon
force-pushed
the
v3-sync/06-postgrest
branch
3 times, most recently
from
October 27, 2026 17:14
ded8e3c to
c8f6c32
Compare
spydon
force-pushed
the
v3-sync/06-postgrest
branch
from
October 27, 2026 17:16
c8f6c32 to
b377dd3
Compare
Contributor
|
The following capabilities are marked
The following capabilities are marked
These may have been renamed, removed, or never registered. Please update the capability matrix. |
(cherry picked from commit 3433b0d)
Co-authored-by: Cursor <[email protected]> (cherry picked from commit 0490201)
(cherry picked from commit bb7ecc5)
Co-authored-by: chengwudi1 <[email protected]> (cherry picked from commit 8d90cfa)
(cherry picked from commit 62a0902)
Co-authored-by: bagaking <[email protected]> (cherry picked from commit c1dc291)
…#1534) Co-authored-by: Leonardo Santiago <[email protected]> (cherry picked from commit e64ee5c)
…and delete (#1558) Co-authored-by: Leonardo Santiago <[email protected]> (cherry picked from commit 04baf59)
) (cherry picked from commit d0e1f34)
(cherry picked from commit 710042f)
(cherry picked from commit c86ec9f)
GET and HEAD RPC calls now go through send_with_retry, list arguments in the query string are escaped as array literals with None as NULL, and rpc() accepts any JSON parameter values. Error responses that are not PostgREST JSON raise APIError in every builder, strip_nulls() raises for an unsupported Accept value, and filter values are serialized once in filter().
GET and HEAD RPC arguments that are booleans, None or objects are sent as true/false, an empty value or JSON instead of crashing in URLQuery. retry() is available on every builder, including RPC. Each retry attempt is a copy, so executing a builder again starts without a retry count, and the backoff is 1, 2 and 4 seconds, as on main. A HEAD or empty-bodied response yields empty data with its count, and both strip_nulls() errors use the same message.
v3 already renders rpc list arguments through _sanitize_array_param, so only the tests are ported. (cherry picked from commit 1bb870e)
… keep their message (#1732) Co-authored-by: Leonardo Santiago <[email protected]> (cherry picked from commit 18bd628)
(cherry picked from commit 9588283)
retry() moved to BaseRequestClient, strip_nulls() is new on BaseSelectRequestBuilder, RPCFilterRequestBuilder gained maybe_single(), and PostgrestRequest.finalize() overrides the shared request interface.
spydon
force-pushed
the
v3-sync/06-postgrest
branch
from
October 27, 2026 19:45
b2c4196 to
a8810d3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-picks main's postgrest commits onto v3, ported to v3's generic
request_builder.py,client.py,utils.pyandtypes.py. New helpers are private (_sanitize_array_element,_sanitize_array_param,_rpc_query_param).Review fixes
send_with_retry.NoneasNULL, andrpc()accepts any JSON parameter values.APIErrorin every builder, includingmaybe_single().strip_nulls()raises for an unsupportedAcceptvalue.filter().Noneor objects are serialized instead of crashing.retry()is available on every builder, including RPC.Commits
Stack
This replaces #1789: main's changes since 6f522d3 are cherry-picked onto v3 one package at a time, so each part can be reviewed on its own. Merge from the bottom up.