From 7b276dda8503f9544c2b474b893e726e2784c660 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 18 Aug 2026 10:48:08 +0000 Subject: [PATCH 1/2] docs(release): propose user-facing notes for v2.115.0 --- release-notes/v2.115.0.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 release-notes/v2.115.0.md diff --git a/release-notes/v2.115.0.md b/release-notes/v2.115.0.md new file mode 100644 index 0000000000..452b11d764 --- /dev/null +++ b/release-notes/v2.115.0.md @@ -0,0 +1,34 @@ +## Supabase CLI v2.115.0 — 2026-08-18 + +This release improves migration reliability and consistency, enhances error reporting, and adds new options for project and stack management. + +### Highlights +- **Migration reliability** — Statements batch for efficiency, ordering is consistent across machines, and new migrations persist reliably on Windows. (#6224, #6225, #6192) +- **Better error reporting** — Setup errors and migration diffs now surface clearly; batch connection errors are properly classified. (#6191, #6240, #6234) +- **Link with branches** — `supabase link` now works with branch names and Git refs. (#6168) + +### New features +- **Experimental project flags** — `projects create` adds `--release-channel` and `--postgres-engine` for testing new configurations. (#6186) +- **Automatic function env file discovery** — Discover `.env` files in your functions directory automatically. (#6182) +- **Suppress update notifications** — Disable CLI update prompts with a flag or environment variable. (#6143) +- **Improved stack management** — Named stacks and sibling worktrees isolate properly; managed state persists across Git workspace changes. (#6171, #6202) + +### Improvements +- Database workflows default to the bundled pg-delta engine. (#6102) +- Container health checks serialize correctly during startup. (#6149) +- Container secrets stream directly, reducing memory usage. (#6201) +- Piped output streams without buffering in CI. (#6212) +- Copied folders now work safely with stack identity detection. (#6232) + +### Bug fixes +- `supabase serve` argument handling restored. (#6173) +- Test database setup no longer fails when no tests run. (#6210) +- Managed identity recovery is safe across local operations. (#6214) +- Binary size reduced by removing unused command subsets. (#6162) +- Email paths aligned correctly. (#6160) + +--- + +Plus 7 internal improvements and dependency updates. + +**Full changelog:** https://github.com/supabase/cli/compare/v2.114.0...v2.115.0 From e2da13d5c0f730bc2a0e9d9e2b23a03c76ee86b5 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 18 Aug 2026 13:07:56 +0000 Subject: [PATCH 2/2] docs(release): revise v2.115.0 notes per review - add breaking-changes section: pg-delta default flip (temporary SUPABASE_USE_PG_DELTA_NEXT=false opt-out, removal in ~1 month, report needs as GitHub issues; declarative default now supabase/schemas), empty test-db runs now fail, db remote --password precedence - drop packages/stack bullets (unreleased runtime) - correct command/flag facts flagged by review: functions serve naming, link branch identifiers, SUPABASE_NO_UPDATE_NOTIFIER env var, --experimental gate on projects create flags, env-file discovery scope, container-secret fix description - recount the internal tail (12) Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01E1G9Lm9JKdweeQeJWSZ82z --- release-notes/v2.115.0.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/release-notes/v2.115.0.md b/release-notes/v2.115.0.md index 452b11d764..d8c462217e 100644 --- a/release-notes/v2.115.0.md +++ b/release-notes/v2.115.0.md @@ -1,34 +1,34 @@ ## Supabase CLI v2.115.0 — 2026-08-18 -This release improves migration reliability and consistency, enhances error reporting, and adds new options for project and stack management. +This release changes two defaults you should know about before upgrading CI: schema diffing now uses the bundled pg-delta engine, and `supabase test db` fails when it finds zero tests. It also makes migrations faster and more consistent, and fixes `supabase start` on confined Docker installs. + +### ⚠️ Breaking changes +- **Schema diffing defaults to the bundled pg-delta engine** — `db diff`, `db pull`, and declarative schema generate/sync now use the in-process pg-delta engine instead of the legacy implementation. Generated SQL and transaction-aware file splits can differ from previous output, and there is no automatic fallback — coverage gaps warn, and `--strict-coverage` makes them fatal. The declarative schema directory also defaults to `supabase/schemas` now, matching the legacy engine; if your tree lives under the old `supabase/database` default, move it or set `declarative_schema_path = "./database"` under `[experimental.pgdelta]` in `supabase/config.toml`. If the new engine blocks you, set `SUPABASE_USE_PG_DELTA_NEXT=false` to unblock yourself and [open a GitHub issue](https://github.com/supabase/cli/issues/new/choose) describing what broke — the opt-out is temporary and will be removed in about a month. (#6102) +- **`supabase test db` now fails when no tests run** — a run where pg_prove finds zero pgTAP tests exits non-zero with `no pgTAP tests found in ` instead of reporting success. Previously a typo'd path, an empty tests directory, or a bind-mount mismatch could leave CI green while testing nothing. If a pipeline legitimately runs zero tests, drop the `supabase test db` step. (#6210) +- **`--password` now beats `SUPABASE_DB_PASSWORD` on `db remote`** — `db remote changes|commit` prefer an explicit `--password` over the environment variable; previously the env var silently won due to a flag-binding bug. If your automation sets both, the flag value is now the one used. (#6162) ### Highlights -- **Migration reliability** — Statements batch for efficiency, ordering is consistent across machines, and new migrations persist reliably on Windows. (#6224, #6225, #6192) -- **Better error reporting** — Setup errors and migration diffs now surface clearly; batch connection errors are properly classified. (#6191, #6240, #6234) -- **Link with branches** — `supabase link` now works with branch names and Git refs. (#6168) +- **Faster, more consistent migrations** — `db reset` and `db push` batch migration and seed statements again, cutting runs from minutes to seconds on Windows; `migration list`, `db pull`, and `migration repair` order migrations by version like `db push`, so an in-sync tree no longer shows phantom conflicts; and `migration new` writes the file before reporting success on Windows. (#6224, #6225, #6192) +- **Link a preview branch directly** — `supabase link` accepts a project ref, or the name or UUID of a branch of the currently linked project, both as the positional argument and via `--project-ref`. (#6168) +- **Clearer errors** — `functions serve` setup failures name the actual filesystem problem instead of `An error occurred in Effect.tryPromise`; a crashed `db diff --use-migra` run fails loudly instead of printing "No schema changes found"; and an unreachable database during batched migrations reports as a connection error. (#6191, #6240, #6234) ### New features -- **Experimental project flags** — `projects create` adds `--release-channel` and `--postgres-engine` for testing new configurations. (#6186) -- **Automatic function env file discovery** — Discover `.env` files in your functions directory automatically. (#6182) -- **Suppress update notifications** — Disable CLI update prompts with a flag or environment variable. (#6143) -- **Improved stack management** — Named stacks and sibling worktrees isolate properly; managed state persists across Git workspace changes. (#6171, #6202) +- **Per-function env files in `functions serve`** — standalone `supabase functions serve` discovers `supabase/functions//.env` for each function, alongside the shared `supabase/functions/.env`; `--env-file` overrides both. `supabase start` does not load these files. (#6182) +- **Experimental `projects create` flags** — `--release-channel` and `--postgres-engine` pick the release channel and Postgres engine for new projects. Both require `--experimental` and stay hidden from `--help` while in preview. (#6186) +- **Silence the update notice** — set `SUPABASE_NO_UPDATE_NOTIFIER=1` to suppress the new-version notice printed after commands. (#6143) ### Improvements -- Database workflows default to the bundled pg-delta engine. (#6102) -- Container health checks serialize correctly during startup. (#6149) -- Container secrets stream directly, reducing memory usage. (#6201) -- Piped output streams without buffering in CI. (#6212) -- Copied folders now work safely with stack identity detection. (#6232) +- `supabase start` polls booting services one at a time again, matching the Go CLI — concurrent health checks could burst Docker subprocesses and exhaust retries on constrained machines. (#6149) +- Piped text output respects backpressure instead of buffering in memory, so `supabase db dump | ` no longer risks running out of memory on large databases. (#6212) +- The bundled Go binary only includes the commands still proxied to it, shrinking the installed size. (#6162) ### Bug fixes -- `supabase serve` argument handling restored. (#6173) -- Test database setup no longer fails when no tests run. (#6210) -- Managed identity recovery is safe across local operations. (#6214) -- Binary size reduced by removing unused command subsets. (#6162) -- Email paths aligned correctly. (#6160) +- `supabase start` works with strictly confined Docker installs (such as Docker Snap) and remote Docker contexts: container secrets stream over stdin via `docker cp` instead of being staged as plaintext files in `/tmp`. (#6201) +- `supabase functions serve ` accepts its optional function-name argument again; the command still serves all discovered functions, matching the Go CLI. (#6173) +- Auth email template and notification `content_path` values resolve against the project root consistently. (#6160) --- -Plus 7 internal improvements and dependency updates. +Plus 12 internal improvements and dependency updates. **Full changelog:** https://github.com/supabase/cli/compare/v2.114.0...v2.115.0