Repository navigation
chore(deps): update dependency supabase to v3 - #786
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #786 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 2 2
=========================================
Hits 2 2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/supabase-3.x
branch
3 times, most recently
from
November 10, 2026 20:53
29d394f to
5faf185
Compare
renovate
Bot
force-pushed
the
renovate/supabase-3.x
branch
from
November 11, 2026 20:32
5faf185 to
425b528
Compare
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.
This PR contains the following updates:
^2.121.0→^3.0.0Release Notes
supabase/cli (supabase)
v3.1.0Compare Source
Supabase CLI v3.1.0 — 2026-11-09
This release adds
inspect dbdiagnostics, aconfig.jsoncoption, and an API retry cap for CI. Most of the rest is fixes forstart,link, anddbconnections, plus a few local-stack behaviors that now match the hosted platform. One gotcha: local CORS on/functions/v1changed (see Improvements).Highlights
db push/pull/dump/diff/reset/lint/advisors/query,migration *, andinspect *now verify the hosted server certificate. Previously onlygen typesdid. (#7518)config.toml—gen types --lang typescriptrespects[api].extra_search_pathand falls back to the Management API when needed. Remote output now matches local output. (#7520)config.jsoncsupport — comments and trailing commas work, and the CLI keeps them when it writes the file. (#7488)inspect dbgets three new commands —xid-age,toast-sizes, andcollation-drift, which reports indexes whose collation version has drifted and prints the fix steps. (#6527, #6528, #7460)New features
SUPABASE_API_MAX_RETRIEScaps Management API retries — set0in CI to send each request once. It applies to every API client, includingloginandservices, andfunctions deployrespects it while still honouring rate limits. (#7394)inspect db xid-age— lists user tables by transaction ID age, oldest first. Useful for spotting wraparound risk. (#6527)inspect db toast-sizes— lists tables by TOAST storage, largest first. (#6528)inspect db collation-drift— read-only check for btree indexes affected by OS collation changes. Run it, then follow the printedamcheck→REINDEX INDEX CONCURRENTLY→REFRESH VERSIONsteps. (#7460)supabase logsis a single entry point for local and hosted logs, with an interactive explorer and structured output for scripts. (#7437)config.jsoncand commented JSON configs — the loader readsconfig.json,config.jsonc, andconfig.tomlfromsupabase/. Edits from the CLI preserve your comments. (#7488)$schematoconfig.json/config.jsonc, or#:schemaat the top ofconfig.toml. No declaration means v1. (#7514)initwrites a schema directive — newconfig.tomlfiles start with#:schema https://supabase.com/schemas/config/v1.json, so Taplo, Tombi, and VS Code get autocomplete and validation. (#7464)[auth.email] require_current_password— set it inconfig.tomlto require the current password for password changes.config push/pull/diffsupport it too. (#7458)content_path— templates are read on every fetch, so edits show up without a restart. (#7527)config_keyis added tocli_command_executedevents. (#7468)Improvements
200instead of204, with a wider method list. A live parity test keeps them aligned. (#7485)/functions/v1is now handled by your function — the gateway no longer addsAccess-Control-Allow-Origin: *, so a function that sends no CORS headers will be blocked by browsers. Add the headers in the function, or check your function's CORS handling if you call it from a browser. (#7472)sso listandsso showfail faster — each attempt is capped at 10s instead of 60s. When an SSO call fails, the CLI also warns if the project isn'tACTIVE_HEALTHY. (#7491)supabase startskips Docker's first health-check wait — when services are already up, startup no longer waits about 10s on that check. (#7430)supabase stopno longer shows an error forfunctions serve— stopping the stack whilefunctions serveruns is treated as a normal stop, not a crash. (#7463)LOCK TABLE— a migration that fails withSQLSTATE 25P01now explains the fix. Wrap the lock inBEGIN/COMMIT. (#7487)Bug fixes
supabase startno longer hangs after the output pipe closes — piping into a reader that exits early, likeprojects list | true, now ends the command. (#7469)db pushworks against a remote Postgres without TLS — an unset orsslmode=preferURL falls back to plaintext, likepsql. (#7509)db start --from-backupworks on Windows — the drive letter is kept in the backup bind path. (#7498)linkno longer carries the old project's service versions — relinking to a new project no longer runs the old Auth, PostgREST, or Storage versions. (#7476)gen typesincludes views fromdb-extra-search-pathschemas — embeds that work at runtime are no longer rejected by the generated types. (#7515)[analytics] enabled = false, Studio no longer shows Logs pages that fail with a 500. (#7530)[edge_runtime.secrets]as written — secret names keep their case, andsupabase/functions/<slug>/.envis read. (#7481, #7499)Uint8Array,ArrayBuffer, andBlobuploads to theupdate-functionbody are accepted again. (#7443)supabase startcaps Erlang port tables for realtime, analytics, and the pooler. (#7512)supabase_privileged_rolegets its own error — the login-role mint failure now says what's missing instead of a generic status error. (#7461)deno.jsonor import map counts as invalid config, not an internal bug. (#7510)Plus 5 internal improvements and dependency updates.
Full changelog: supabase/cli@v3.0.0...v3.1.0
v3.0.0Compare Source
Supabase CLI v3.0.0 — 2026-11-02
v3 is a major release. Commands that can run locally now target your local stack by default, one
--remoteflag replaces--linked,--project-refand--db-url, and every change to a hosted project asks for confirmation (or--yesin CI). Flags andSUPABASE_*environment variables now overrideconfig.toml, and deprecated commands, flags, config keys and the bundledsupabase-gobinary are gone. Read the breaking changes before you upgrade CI.The v2 to v3 migration guide walks through each change.
Local by default, one
--remoteflagdb push,db pull,db dump,migration fetch/list/repair,inspect db *,inspect report,gen typesandstorage ls/cp/mv/rmtarget the local stack when you pass no target. Add--remotefor the linked project,--remote=<ref>for another project,--remote=<branch>for a branch of the linked project, or--remote=<postgres-url>for a database URL.SUPABASE_PROJECT_IDon its own no longer selects a hosted project; it only says which project bare--remotemeans. (#7188)--linked,--project-ref,--db-urlandgen types --project-idare deprecated. They still work, print a warning naming the--remoteform, and are hidden from help.--localdoes nothing and warns. None of them can be combined with--remote=<value>. (#7188)gen typeswith no target generates from the local database instead of opening a project picker.db schema declarative syncwith no declarative files generates them from the local database; runsupabase db schema declarative generate --remotefirst to start from the linked project. (#7188)--remote <word>after a command that takes an operand fails with a "did you mean" error when the word looks like a branch name or project ref. Put the operand first (supabase db pull add_profiles --remote) or use--remote=<branch>. (#7188)db diffrejects--remotetogether with--from/--to(use--from=remoteor--to=remote),db queryrejects SQL passed both as an argument and with--file, and an empty--project-ref=is now an error. Bare--remotein an unlinked checkout opens the project picker in an interactive terminal. (#7188)Every hosted change needs your consent
--yes. Non-interactive, JSON, stream-json, agent and-o json|yaml|toml|envruns fail withHostedMutationConsentRequiredError. This includesdb push,db pullwhen it updates the remote migration history,pull(except--dry-run),functions deploy/delete,secrets set/unset,config push,brancheschanges,backups restore, project and org create/delete, and the project settings commands.migration up/down/squash/repair,db reset,test db,db query,seed bucketsandstorage cp/mv/rmneed it against a hosted target;db query --read-onlydoesn't. The migration guide has the full list. (#7188)db push, deploys, secrets changes and migration history updates. Onlyprojects,branches,orgsanddomains create, andbootstrap, default to Yes. (#7188)ypiped on stdin no longer confirms, andSUPABASE_YESin a.envfile no longer counts. When an env file in the working directory definesSUPABASE_YES, a shell-exported one doesn't count either. Use--yes. (#7188)secrets unsetdefaults to No and needs--allto remove every secret. Running it with no secret names now fails. (#7172)HostedMutationDeclinedError, replacing the per-command cancelled error codes. Decliningdb pullorpullwrites no files. (#7188)db push, hosteddb reset,config pushandfunctions deploy --pruneask one combined question, and--prunenow runs even when every function is up to date. Removing network bans automatically while connecting now needs--yes.migration downandmigration repair --allon the local database no longer prompt. (#7188)Target: …once on stderr. JSON object results and error envelopes gain atargetobject;db reset'stargetchanges from a string to that object, andconfig pushJSON dropsdeclined_addonsand its skipped status. (#7188)Flags and env vars override config
config.json/config.toml> default, and that includes a matched[remotes.<name>]block. Project env files are.env.<SUPABASE_ENV>.local,.env.local,.env.<SUPABASE_ENV>and.env, insupabase/and then the project root.SUPABASE_ENVdefaults todevelopment. (#7074)[remotes.*]blocks, audit theSUPABASE_*variables in CI and in your env files. They now beat the block, andconfig pushpushes them (labelled per value;config diffshows the same). SetSUPABASE_ENVin CI so.env.developmentdoesn't apply. (#7074)project_idinconfig.toml, local containers and volumes are named after the project folder, not the project ref. Runsupabase stopbefore upgrading, or setproject_id. (#7074)SUPABASE_*variable (for exampleSUPABASE_STUDIO_PORT=abc) now fails every command that loads config withCliConfigValueError. Boolean variables accept only1/t/trueand0/f/false(withT,True,TRUE,F,False,FALSE). (#7074)[remotes.*]block asks first unless the block setsdb.seed.enabled = true.SUPABASE_DB_PASSWORDis no longer sent to a project other than the linked one, and--passwordwith a local or URL target exits 1. (#7074)--workdir, the nearest directory withsupabase/config.tomlorsupabase/config.jsonwins.supabase link --passwordis ignored, ports with a leading zero are rejected, andMigrationPasswordFlagsErroris nowDbPasswordFlagsError. (#7074)Removed commands, flags and config
Each removed command or flag exits 1 and prints its replacement. (#6609, #7109, #7116, #7176)
db remote commitdb pulldb remote changesdb diff --remotedb branch create/delete/list/switchbranchesfor hosted preview branchesgen keysprojects api-keysinspect db total-index-sizeinspect db index-statsinspect db total-table-sizes,table-index-sizesinspect db table-statsdb diff --use-pg-schema--use-pg-deltadb pull --use-pg-delta,db pull --experimentaldb pull --declarativefunctions download --legacy-bundlefunctions download --use-api--include-raw-outputondomainscommands-o json--create-ticketsupabase issue bugsupabase-gobinarysupabase[inbucket],INBUCKET_URL,inbucket.url[local_smtp],MAILPIT_URL,mailpit.url[experimental] orioledb_version[db] orioledb_versionSUPABASE_EXPERIMENTAL_ORIOLEDB_VERSIONSUPABASE_DB_ORIOLEDB_VERSIONlinkedinandslackauth providerslinkedin_oidcandslack_oidcimport_map.jsoninside a function directorydeno.json, orfunctions.<slug>.import_mapCOBRA_COMPLETION_DESCRIPTIONSSUPABASE_COMPLETION_DESCRIPTIONSOther behavior changes
[auth.sms] enable_confirmations = false, theinitdefault, now turns phone confirmation off onconfig push. Set it totrueto keep phone codes, and runconfig diffbefore pushing. (#7221)db advisors --remoteno longer connects to the database first, so it no longer resolves database settings, creates a temporary login role or removes network bans. (#7297)expected a booleaninstead ofstrconv.ParseBool: …. Update anything that matches on error text. (#7064)Highlights
db resetstops failing at random — the intermittenterror running container: exit 1at "Initialising schema…", mostly seen in CI, is gone. (#7380)linkworks with least-privilege tokens — a project-scoped token that can't read secret API keys can now link anddb push; the CLI warns and skips the optional version checks instead of failing. (#7388)[auth.email] enabledand[auth.sms] enabled—enable_signupin those sections switched the whole provider off, blocking existing users from signing in, not just new signups. Useenabledfor the provider toggle and[auth] enable_signupto stop new signups; the old keys still work but are deprecated. (#7398)New features
--output-format jsonandstream-jsonerrors carry anentitlementobject withfeatureandupgrade_url, so scripts and agents don't have to parse the message. (#7271)Improvements
config.toml: the published config schemas use draft-07, which Taplo (Even Better TOML) understands, acceptenv()on number, boolean, enum and list fields, and mark secret fields withx-secret. (#7330, #7333, #7366)SUPABASE_USE_SLIM_IMAGES, a GHCR rate limit no longer failssupabase start; the CLI pulls the same image from ECR Public instead. (#7350)supabase initadds a commented[auth.web3.ethereum]example toconfig.toml. (#7334)/graphql/v1(so Studio's GraphiQL works),/rest-admin/v1,/pg/,/analytics/v1/and/pooler/v2/, forwardsX-Forwarded-ForandX-Real-IPto upstreams, and Edge Functions that boot together no longer fail with503 BOOT_ERROR. (#7345, #7347, #7382)Bug fixes
supabase startandsupabase db startrecover from a database container left in Docker'screatedstate, instead of failing withcontainer is not running: created. (#7369)startandstopruns on the same project no longer fail withnetwork supabase_network_<id> not found. (#7372)supabase startworks on nested or sandboxed Docker hosts wheredocker execfails, instead of timing out on health checks. (#7362)secrets sethonors--workdirandSUPABASE_WORKDIRinstead of uploading secrets from the current directory. (#7361)db advisorslints every schema exposed in[api], instead of onlypublicor sometimes nothing. (#7379)db pushanddb resetplace the migration error caret correctly when accented letters or emoji come before the failing token. (#7351)config pushno longer fails when you change the OAuth server path or turn the OAuth server on or off. (#7367)db dump --role-onlyfile aspostgresno longer fails on a parameter grant to a reserved role. (#7320)Plus 106 internal improvements and dependency updates.
Full changelog: supabase/cli@v2.122.0...v3.0.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.