github supabase/cli v0.13.0

latest releases: v0.39.3, v0.39.2, v0.39.1...
2 years ago

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)

Features

Don't miss a new cli release

NewReleases is sending notifications on new releases.