Repository navigation
Conversation
This was referenced Oct 20, 2026
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. |
spydon
added this pull request to stack #1799
October 20, 2026 15:08
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/04-functions
branch
from
October 21, 2026 07:13
ff5d594 to
efecdf7
Compare
Body requests appended a second Content-Type value when the caller already set one, and Response.is_success accepted status 300.
invoke() now uses the shared supabase_utils request types, sends lists as JSON, raises TypeError for unsupported bodies, and documents its parameters. Error messages fall back to the message key and then the raw body, and structured errors are rendered as JSON.
…ient Content-Type Body requests now keep a Content-Type only when the request itself sets one, so a client-wide Content-Type no longer mislabels JSON bodies in auth, postgrest and storage. Functions still applies a client-level Content-Type, as on main. invoke() accepts a region string, as on main, and region overrides an x-region header instead of appending to it.
spydon
force-pushed
the
v3-sync/04-functions
branch
from
October 21, 2026 07:46
efecdf7 to
16a9a94
Compare
grdsdev
approved these changes
Oct 21, 2026
This branch has not been deployed
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 functions commits onto v3, ported to v3's single
client.py. Where v3 already had the behavior, only the tests are ported, and the commit message says so.verifykeyword increate_client): v3's clients have noverifyparameter.Review fixes
Response.is_successno longer accepts 300. Functions now uses the shared request types, so_BodyRequestis gone.invoke()sends lists as JSON, raisesTypeErrorfor unsupported bodies, and documents its parameters.messagekey and then the raw body, and structured errors are rendered as JSON.invoke()accepts a region string, as on main, andregionoverrides anx-regionheader instead of appending to it.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.