tag:github.com,2008:https://github.com/supabase/cli/releasesTags from cli2026-03-17T15:17:15Ztag:github.com,2008:Repository/314160187/v2.81.22026-03-17T15:29:40Zv2.81.2github-actionstag:github.com,2008:Repository/314160187/v2.81.12026-03-17T14:27:29Zv2.81.1<p>fix: add start command warning (<a class="issue-link js-issue-link" href="https://github.com/supabase/cli/pull/4963">#4963</a>)</p>
<p>* warn</p>
<p>* lint</p>
<p>---------</p>
<p>Co-authored-by: Kalleby Santos <[email protected]></p>github-actionstag:github.com,2008:Repository/314160187/v2.81.02026-03-17T11:57:31Zv2.81.0<p>feat(db): add `supabase db advisors` command for checking security an…</p>
<p>…d performance issues (<a class="issue-link js-issue-link" href="https://github.com/supabase/cli/pull/4957">#4957</a>)</p>github-actionstag:github.com,2008:Repository/314160187/v2.80.02026-03-17T09:39:55Zv2.80.0<p>feat: add global `--agent` flag with auto-detection for AI coding age…</p>
<p>…nts (<a class="issue-link js-issue-link" href="https://github.com/supabase/cli/pull/4960">#4960</a>)</p>
<p>feat: add global --agent flag with auto-detection for AI coding agents</p>
<p>Introduces a global --agent flag (auto/yes/no) that detects whether the
<br />CLI is being invoked by an AI coding agent based on environment variables.
<br />When agent mode is active, db query defaults to JSON output with a
<br />security envelope (untrusted data boundary). When in human mode, it
<br />defaults to table output without the envelope. Explicit --output always
<br />takes precedence.</p>
<p>Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]></p>github-actionstag:github.com,2008:Repository/314160187/v2.79.02026-03-16T14:57:28Zv2.79.0<p>feat(db): add `supabase db query` command for executing SQL (<a class="issue-link js-issue-link" href="https://github.com/supabase/cli/pull/4955">#4955</a>)</p>
<p>* feat(db): add `supabase db query` command for executing SQL</p>
<p>Add a new CLI command that allows executing raw SQL against local and
<br />remote databases, designed for seamless use by AI coding agents without
<br />requiring MCP server configuration.</p>
<p>Co-Authored-By: Claude Opus 4.6 <[email protected]></p>
<p>* fix(db): address PR review feedback for db query command</p>
<p>- Remove unnecessary math.MaxInt guard on fd cast, use //nolint:gosec
<br />- Add --db-url, --linked, --local flags with mutual exclusivity
<br />- Replace custom jsonReader with bytes.NewReader
<br />- Add tests for formatOutput with nil cols/data</p>
<p>Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]></p>
<p>---------</p>
<p>Co-authored-by: Claude Opus 4.6 <[email protected]></p>github-actionstag:github.com,2008:Repository/314160187/v2.78.12026-03-13T15:18:03Zv2.78.1<p>fix: add privilege migration note for db dump (<a class="issue-link js-issue-link" href="https://github.com/supabase/cli/pull/4885">#4885</a>)</p>
<p>docs: add privilege migration note for db dump</p>
<p>Co-authored-by: Kalleby Santos <[email protected]></p>github-actionstag:github.com,2008:Repository/314160187/v2.78.02026-03-10T14:13:16Zv2.78.0<p>feat: add hybrid jwt verification (<a class="issue-link js-issue-link" href="https://github.com/supabase/cli/pull/4721">#4721</a>)</p>
<p>* feat: adding hybrid jwt verification</p>
<p>Allows verify new JWTs as well legacy</p>
<p>* stamp: detect algorithm before verify JWT</p>
<p>It helps to reduce latency for Legacy token verifications, since it
<br />avoid unnecessary requests.</p>
<p>* feat: passing down JWKs as internal env</p>
<p>- It reduces functions bootime, since there's no need to fetch JWK on
<br />fly</p>
<p>* stamp: using URL object instead of string concatenation</p>
<p>* stamp: codegen</p>
<p>---------</p>
<p>Co-authored-by: Andrew Valleteau <[email protected]></p>github-actionstag:github.com,2008:Repository/314160187/v2.77.12026-03-09T15:25:38Zv2.77.1<p>fix: save profile to global path (<a class="issue-link js-issue-link" href="https://github.com/supabase/cli/pull/4697">#4697</a>)</p>
<p>Co-authored-by: Andrew Valleteau <[email protected]></p>github-actionstag:github.com,2008:Repository/314160187/v2.77.02026-03-06T15:18:54Zv2.77.0<p>feat: pass pgrst config to studio container (<a class="issue-link js-issue-link" href="https://github.com/supabase/cli/pull/4920">#4920</a>)</p>
<p>Co-authored-by: Andrew Valleteau <[email protected]></p>github-actionstag:github.com,2008:Repository/314160187/v2.76.172026-03-05T13:50:06Zv2.76.17<p>fix(function): support multiline import type statements in import sca…</p>
<p>…nning (<a class="issue-link js-issue-link" href="https://github.com/supabase/cli/pull/4872">#4872</a>)</p>
<p>* fix(function): support multiline import type statements in import scanning</p>
<p>The regex pattern `.*?` does not match newlines, causing multiline
<br />`import type { X }` statements to be skipped during bind-mount file
<br />scanning. This results in type-only imports not being mounted in
<br />the Docker container, causing runtime errors like:</p>
<p> worker boot error: Module not found "file:///.../types/MyType.ts"</p>
<p>Changed `.*?` to `[\s\S]*?` to match any character including newlines,
<br />consistent with the `{[^{}]+}` pattern used for braced imports.</p>
<p>This fix enables proper handling of Deno 2.x style multiline type imports:</p>
<p>```typescript
<br />import type {
<br /> MyType,
<br /> OtherType,
<br />} from './types.ts'
<br />```</p>
<p>Includes test case to prevent regression.</p>
<p>* test(function): add non-braced default type import to fixture</p>
<p>Cover `import type Foo from '...'` pattern in the multiline import
<br />type test. This form also routes through the `[\s\S]*?` branch and
<br />was previously untested.</p>
<p>* fix(function): use (?:type\s+)? for multiline import type matching</p>
<p>Narrow the regex fix for multiline import type statements per PR review feedback. Instead of widening .*? to [\s\S]*? (which affects all import patterns), add (?:type\s+)? to consume the type keyword so braced imports route into the {[^{}]+} branch that already handles newlines.</p>
<p>---------</p>
<p>Co-authored-by: Andrew Valleteau <[email protected]></p>github-actions