You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI bundles pg-delta for supabase db diff and the declarative schema commands, but there's no way to ask which pg-delta release a given CLI build contains. supabase --version prints only the CLI version.
Use case
Tools that run pg-delta as a library next to the CLI want the two to plan the same way. When a plan from the library differs from the one supabase db diff produces, the first question is whether they're on the same pg-delta, and today the answer means reading the CLI's release notes or source.
Proposal
Any of:
supabase --version --verbose (or supabase version --json) listing bundled components, for example { "cli": "2.x.y", "pg-delta": "1.0.0-alpha.61", "postgres": "17.x" };
the pg-delta version in the header comment of migrations that db diff writes;
the version in the CLI's release notes and in package.json of the npm supabase package (for example a bundledDependencies style field).
Activity