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:
|
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.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
v2.122.1Compare Source
Supabase CLI v2.122.1 — 2026-11-02
Maintenance release for v2. The CLI is unchanged from v2.122.0. This release adds v2 install channels for projects that need to stay on v2 after v3.0.0:
npm i supabase@v2.stablebrew install supabase/tap/supabase@2scoop install supabase-v2-stablesupabase/setup-cli@v3withversion: v2.stablev2 now receives only security fixes and fixes for fundamentally broken behaviour. The v2 to v3 migration guide covers upgrading.
Full changelog: supabase/cli@v2.122.0...v2.122.1
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.