Repository navigation
ci: pin the supabase cli to v3 and document its gen types targets - #2118
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
CLI version and auth configuration .github/workflows/*, examples/supabase/config.toml, supabase/config.toml |
CI workflows now select Supabase CLI 3.0. Email and SMS settings use enabled = true instead of enable_signup = true. |
Type-generation commands and guidance MIGRATION.md, README.md, examples/*/README.md, packages/*/README.md, packages/supabase*/skills/*/SKILL.md, packages/supabase_typegen/*, skills_src/generate/*, skills_src/idioms/* |
Guidance raises the minimum CLI version to 3.0 and removes --local for local-stack generation. Hosted-project examples use --remote or --remote=<ref>. |
Migration skill updates packages/supabase/skills/supabase-migrate-v3/SKILL.md, packages/supabase_flutter/skills/supabase-flutter-migrate-v3/SKILL.md, skills_src/migrate-v3/SKILL.md.tmpl |
Migration guidance updates its version checks and type-generation commands for CLI 3.0. |
Estimated code review effort: 2 (Simple) | ~12 minutes
Change: Other
Possibly related issues
- ☂️ v3 tracking issue #1278: The issue tracks v3 changes for Dart client libraries, and this pull request updates related CLI v3 tooling and documentation.
Possibly related PRs
- supabase/supabase-flutter#2115: Updates the same schema-generation skills and regeneration workflow.
- supabase/supabase-flutter#2009: Introduces v3 README and type-generation instructions that this pull request updates.
- supabase/supabase-flutter#2117: Updates configuration and local-stack documentation for Supabase CLI v3.
Suggested labels: supabase, postgrest, auth
Merge Risk: 
Minimal · up to 718e1
-
No merge-blocking risk remains identified in this change.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (4 skipped: 4 unsupported.)
-
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Supabase CLI v3.0.0 is the latest release. This moves CI onto it and updates the docs to the v3 commands, so they match the CLI people install from now on.
CI and config
test.ymlandexample-integration-tests.ymlpin the CLI to3.0.0instead of2.120.0.enable_signupunder[auth.email]and[auth.sms]becomesenabledin both configs. v3 deprecates the old key and removes it in v4.enable_signupunder[auth]is not deprecated and stays.Docs
v3 targets the local stack by default and deprecates the old target flags, which v4 removes:
--local--linked--remote--project-id <ref>--remote=<ref>Every
supabase gen typescommand and its surrounding prose now uses the v3 form: the READMEs,MIGRATION.md, the example READMEs, theskills_srctemplates (withskills/regenerated) and thesupabase_typegenusage message. The minimum CLI version in the docs goes from 2.122.0 to 3.0.0, since--remotedoes not exist in v2.The rest of the v3 migration guide needs no changes here. Both configs set
project_id,orioledb_versionis empty, and nothing uses the removedlinkedin/slackproviders,INBUCKET_URL, per-functionimport_map.jsonorsupabase-go. The examples config sets[auth.sms] enable_confirmations = true, which v3 no longer inverts, but the phone flow there is OTP-based and works on v3.Verification on CLI 3.0.0
supabase startprints no deprecation warnings.supabase gen types --lang dartwithout a target produces the same output as--local.supabase_authandsupabase_typegensuites pass.check-markdownandcheck-skill-snippetspass.Summary by CodeRabbit
Documentation
--remoteor--remote=<ref>.Chores