Releases: supabase/cli
Releases · supabase/cli
v0.15.6
0.15.6 (2021-12-09)
Non-breaking changes
<timestamp>_init.sql
and globals.sql
are no longer generated by supabase init
They are now ignored, so there should be no breaking change. You can delete globals.sql
, but you should keep init.sql
if you have already set a remote database.
extensions.sql
and seed.sql
are now optional
They are no longer generated by supabase init
, but it will be run if you have them.
Bug Fixes
v0.15.5
v0.15.4
v0.15.3
v0.15.2
v0.15.1
v0.15.0
v0.14.1
v0.14.0
v0.13.0
0.13.0 (2021-11-25)
BREAKING CHANGES
.gitignore
must be updated
If you did supabase init
with an older version of the CLI, it was:
# Supabase
**/supabase/.temp
**/supabase/.env
**/supabase/.globals.sql
It should now be:
# Supabase
**/supabase/.branches
**/supabase/.temp
**/supabase/.env
Updated commands
supabase link
->supabase db remote
supabase deploy
->supabase db push
supabase db dump
->supabase db commit
supabase db restore
->supabase db reset
- Removed
supabase resolve
Database branches no longer tied to Git branches
Need to re-link with remote (deploy) database
If you linked your remote database (old term: deploy database) with supabase link
, you need to re-link it with supabase db remote set
.
Update supabase/config.json
We no longer use excludeSchemas
. This may be added back in the future (with possibly different semantics).
Move supabase/.globals.sql
to supabase/globals.sql
.globals.sql
was previously gitignored, but we decided to commit it to accommodate custom roles.
Create an empty supabase/extensions.sql
Bug Fixes
- db commit: use migration name from args (ad98ca6)
- decouple GetCurrentBranch from git (2a116f0)
- init_migration_sql (a62bc33)
- update init_migration_sql (34c6ea9)