## Problem
The marketing site (`apps/www`) is still on Next.js 15. Resolves
FE-4673.
## Solution
Upgrades `apps/www` to Next.js 16.3.6 (`next` now uses the workspace
catalog; `@next/mdx` and `@next/bundle-analyzer` are bumped to match).
Fixes for breaking changes: `middleware.ts` renamed to `proxy.ts`,
removed the `eslint` key from `next.config.mjs`, moved Sentry options
under `webpack`, and added `images.localPatterns` and
`images.qualities`. `dev` and `build:next` now run with `--webpack`,
because the MDX remark plugins have non-serializable options and
`esmExternals: 'loose'` is ignored by Turbopack.
## Review instructions
1. Run `pnpm --filter=www typecheck` and `pnpm --filter=www test`.
2. Run `pnpm dev:www` and open `/pricing` and `/blog/vector-buckets`;
both should render, including images.
3. Check the Vercel preview build. Locally, `next build` needed
`NODE_OPTIONS=--max-old-space-size=8192`, so confirm memory is
sufficient. `proxy.ts` now runs on the Node.js runtime instead of edge.
## Checklist
Check all before review:
- [ ] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
## What
Adds an opt-out for the "Unsaved changes" dialog shown when closing SQL
editor tabs in manual-save mode. Resolves FE-4170.
- New **Confirm on discard** toggle in the SQL editor's More actions
menu (both toolbar layouts).
- New **Don't ask again** checkbox in the dialog itself. It turns the
same setting off when the user confirms the discard.
- `DiscardChangesConfirmationDialog` gains a `children` slot. The
description now renders as a `div` so block-level children are valid
HTML.
- `TabCloseConfirmation` gains an optional `optOut`, so any tab type can
offer a "don't ask again" checkbox. Only SQL tabs use it. The Explorer
tabs are unchanged.
- The Intellisense and Confirm on discard items now use
`DropdownMenuCheckboxItem`, so both settings announce their checked
state to screen readers. The check indicator is still shown on the right
via a local class override.
<img width="353" height="229" alt="Screenshot 2026-10-20 at 16 10 14"
src="https://github.com/user-attachments/assets/c6f67934-51ba-48dd-8aee-f279ae7eb486"
/>
<img width="432" height="207" alt="Screenshot 2026-10-20 at 16 10 02"
src="https://github.com/user-attachments/assets/d064dcb1-1097-4ac3-bbf0-6a47506820c1"
/>
## Behavior notes
- The setting is stored in `localStorage`
(`sql-editor-confirm-unsaved-changes`). It is device-local and global,
not per project. It defaults to on.
- With the prompt off, closing a tab still **discards** its unsaved
edits. It only skips the confirmation.
- It only applies in manual-save mode. In auto-save mode there is
nothing to discard, so the toggle is hidden.
- The browser's native `beforeunload` prompt, shown when closing or
reloading the browser tab with unsaved work, is unaffected. Browsers
don't allow customizing it.
## Testing
- New unit tests for the SQL tab close handler: it confirms by default,
skips the dialog when the setting is off, and the opt-out writes the
setting.
- `lint:ratchet` and `knip` pass.
- Manually checked the menu at both widths and the dialog.
Clarified the behavior of the new trigger for DELETE operations on
Storage schema tables, emphasizing that normal operations remain
unaffected.
Removed statements from blog post to avoid LLM from picking up
operations to bypass delete operation restriction.
## Problem
Customers are using the setting with direct DELETE FROM storage.objects
queries, which can create orphaned objects.
The post currently describes setting the variable to true for direct SQL
deletes, despite warning that these deletes are a common cause of
orphaned objects.
## Solution
Removed statements from blog post to avoid LLM from picking up
operations to bypass delete operation restriction.
## Context
Just porting over log drains API from `platform` to `v2` - verified that
log drains management still works locally
## To test
- [ ] Staging preview: Verify that you can create, read, and delete -
there's no way to update log drains atm
- [ ] Local / Self-hosted: Verify that you can create, read, and delete
Adds `matt_johnston` (already in `apps/www/lib/authors.json`) to the
`author` frontmatter of the Supabase Middleware launch post, after the
existing authors.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Wendie Cheung <wendie@Wendies-MBP.localdomain>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Issue found during my dogfooding project :)
## Problem
The docs on default privileges in `public` don't match what Postgres
grants or what the revoke statements do:
- **Default privileges:** Securing your API and the Row Level Security
guide say new tables grant `SELECT`, `INSERT`, `UPDATE`, and `DELETE`.
New tables grant every table privilege, which also includes `TRUNCATE`,
`REFERENCES`, `TRIGGER`, and, on Postgres 17, `MAINTAIN`.
- **Revoking them:** the statements in Revoke default privileges match
what the Dashboard runs. They remove the privileges the Data API uses,
and leave the other four on new tables and `UPDATE` on new sequences.
- **Functions:** `alter default privileges ... in schema public revoke
execute on functions from public` has no effect. Postgres grants
`EXECUTE` to `PUBLIC` through a global default, and a revoke limited to
one schema can't remove it ([Postgres
docs](https://www.postgresql.org/docs/current/sql-alterdefaultprivileges.html)).
New functions stay callable by `anon` and `authenticated` through the
Data API. Securing your API, Working with branches, and Database
functions each say they don't.
- **Dashboard label:** Working with branches refers to a **Default
privileges for new entities** setting. The Data API settings label it
**Automatically expose new tables**.
Resolves
[DOCS-1457](https://linear.app/supabase/issue/DOCS-1457/default-privilege-docs-miss-truncate-references-trigger-and-maintain).
## Solution
The pages describe what Postgres grants and what the Dashboard setting
leaves behind. The revoke procedure removes every default privilege on
new objects.
- **Securing your API:** Default privileges shows the defaults in a
table, and lists what turning off **Automatically expose new tables** in
the Data API settings leaves behind. Revoke default privileges revokes
every privilege on new tables, sequences, and functions, including the
`execute` grant to `PUBLIC`. A caution explains that this revoke also
restricts functions in other schemas, such as helper functions that RLS
policies call. A new Check your default privileges section has a query,
run in the SQL Editor or with `psql`, that lists what each Data API role
receives on new objects.
- **Row Level Security:** the grants table lists every privilege, which
matches its introduction.
- **Working with branches:** uses the current setting label, and says
what the revoke migration leaves, with `maintain` marked as Postgres 17
only.
- **Database functions:** revokes `EXECUTE` from `PUBLIC` without `in
schema`, and notes that the change applies to functions in every schema.
Each changed snippet was run in page order on a hosted project on
Postgres 17.11, inside a transaction that rolled back.
## Product issue
The Dashboard's **Automatically expose new tables** setting runs the
same function revoke
(`packages/pg-meta/src/sql/studio/database/privileges.ts`), so turning
it off leaves new functions callable.
[DAT-192](https://linear.app/supabase/issue/DAT-192) tracks it.
cc @supabase/data-api @avallete
## Preview links
- [Securing your
API](https://docs-git-alexisa-docs-1457-supabase.vercel.app/docs/guides/api/securing-your-api)
- [Row Level
Security](https://docs-git-alexisa-docs-1457-supabase.vercel.app/docs/guides/database/postgres/row-level-security)
- [Working with
branches](https://docs-git-alexisa-docs-1457-supabase.vercel.app/docs/guides/deployment/branching/working-with-branches)
- [Database
functions](https://docs-git-alexisa-docs-1457-supabase.vercel.app/docs/guides/database/functions)
## Additional context
- The Working with branches sentence about new functions on branches
follows from the Postgres default. It wasn't tested on a branch.
- Securing your API and the Row Level Security guide still describe
defaults "on existing projects". That wording changes when the new
default reaches every project, so this PR leaves it.
## Problem
Given we already have `user-agent: *`, we really don't need those other
declarations in the file.
(this also cleans up the `Content-Signals` block, which technically
should exist one per UA block)
## Solution
Removes specific user agent lines
## Preview links
https://zone-www-dot-com-git-kodster28-patch-1-supabase.vercel.app/robots.txt
## Problem
Six assistant tools are still defined inline with `tool({...})`, unlike
the others that moved to the tool contract pattern.
## Solution
Migrate them to a contract file plus a `.server.ts` implementation,
registered in `TOOL_CONTRACTS`, removed from `TOOL_CATEGORY_MAP`, and
kept in the allowlist. The `*-tools.ts` modules remain as thin wrappers.
`ToolContext` gains an optional `baseUrl`, used by
`get_active_incidents`.
- `list_policies`, `list_reports`, `get_report`: `minOptInLevel:
'schema'`, output unchanged for the model at every level.
- `get_active_incidents`, `escalate_to_human`,
`resolve_support_conversation`: `minOptInLevel: null` (always
available), same as before.
- `needsApproval: false` for all.
Stored-shape changes for replayed outputs:
- Replayed outputs are now validated against the output schema and
dropped if invalid (previously unchecked).
- Zod strips unknown keys, so fields outside the schema no longer
replay.
- Enum-like fields use plain `z.string()` so new values don't break
replay.
Not migrated yet: `update_opt_in_level` (input schema is built per
request from the org's level), remote MCP tools, and self-hosted
fallback tools.
Closes DOCS-1490
## Problem
Pages that ask readers to run SQL mostly point only to the SQL Editor,
and the wording differs from page to page. An agent can't use the
Dashboard, so a Dashboard-only instruction leaves it with no way to
finish the task.
## Solution
- **Terminal option rule:** for any change a reader makes in the
Dashboard, the page also gives a terminal path, such as `psql`, the
Supabase CLI, or the Management API.
- **Standard run snippet:** every "run the following SQL" step uses one
copy-paste snippet, placed before the SQL block, that names both the SQL
Editor and `psql`.
One file, 14 lines added. Both rules go under **Procedures** in
`02-elements.md`, which the write, edit, and review docs skills already
check.
**Not changed:** existing pages. supabase/supabase#51974 converts them,
stacked on this PR.
## Manual testing
1. In **Files changed**, open the rich diff of
`apps/docs/style-guide/02-elements.md`. The two new rules appear under
**Procedures**, before **Code blocks**.
2. Click the **tabs** link in the first rule. It goes to the **Tabs**
section.
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.
YES
## What kind of change does this PR introduce?
- Adds the blog post "Operate with confidence: check production with
your coding agent" at
`apps/www/_blog/2026-10-20-operate-with-confidence-check-production-with-your-coding-agent.mdx`
- Adds the OG image, thumbnail, and four inline images under
`apps/www/public/images/blog/operate-with-confidence-check-production-with-your-coding-agent/`
## What is the current behavior?
N/A
## What is the new behavior?
- New post at
`/blog/operate-with-confidence-check-production-with-your-coding-agent`,
dated 2026-10-20
- Covers Agent prompts (Health, Security, Performance, Resources), the
steps to set up a scheduled check, `query_logs`, the updated `supabase`
agent skill, Health Check Advisors, and Database Connections
- Authors: `steven_eubank`, `saxon_fletcher`, `jordi`
## Additional context
Follow-up to the Supabase Select post
`2026-10-02-select-2026-operate-with-confidence.mdx`.
`apps/www/public/rss.xml` is not included because it is gitignored and
generated at build time.
---------
Co-authored-by: Ana <ana1337x@users.noreply.github.com>
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.
YES
## What kind of change does this PR introduce?
Cleanup: remove a fully rolled-out Studio feature flag. Resolves
CLI-2759. Supersedes #50260 and #47931 (rebuilt on current master).
## What is the new behavior?
Scoped introspection is the only path.
- Studio: delete `data/scoped-introspection.ts` and
`PG_META_SCOPED_INTROSPECTION_FLAG`; stop threading `scoped` through
table editor, rows/counts, privileges, enumerated types, table
definition, retrieve, prefetcher, `EntityListItem`, `SidePanelEditor`,
`EditHookPanel`, `DefaultLayout`.
- pg-meta: drop `scoped?: boolean` from public builders and delete the
frozen unscoped SQL. `tables.list` keeps its full-catalog `TABLES_SQL`
(never flag-gated).
## Test plan
- [x] pg-meta + Studio typecheck
- [x] pg-meta suite against Docker DB (521/521)
- [x] Studio vitest for touched areas
- [x] Open Table Editor, row counts, privileges, and enumerated types on
a project (dogfooded on the preview deploy)
- [ ] After merge, retire `pgMetaScopedIntrospection` in the flag
dashboard
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.
YES
## What kind of change does this PR introduce?
- Adds three feature entries to `apps/www/data/features.tsx`: Health
Check Advisors, Database Connections, and Agent Skills
- Adds one line each to the existing Security & Performance Advisor,
Reports & Metrics, and Logs & Analytics entries
- Updates one bullet and the stage on the existing MCP Server entry
## What is the current behavior?
supabase.com/features has no pages for Health Check Advisors, Database
Connections, or Agent Skills, and the MCP Server page shows Public Alpha
and does not name `query_logs`.
## What is the new behavior?
- New page `/features/health-check-advisors` (General Availability, not
available on self-hosted), placed after Security & Performance Advisor
- New page `/features/database-connections` (General Availability,
available on self-hosted), placed after Reports & Metrics
- New page `/features/agent-skills` (General Availability, available on
self-hosted), placed after Queues and before MCP Server
- Security & Performance Advisor: item 5 is now "Run on demand", and new
item 6 links to Health Check Advisors
- Reports & Metrics: new item 7 links to Database Connections
- Logs & Analytics: new item 9 covers `query_logs` and links to the
Query logs with SQL docs
- MCP Server: the logs bullet now names `query_logs` and `get_advisors`,
and the stage is General Availability
## Additional context
Copy matches the Features Page rows in Notion. Agent Skills sits before
MCP Server so it does not touch the lines #51819 changes; that PR's diff
still applies cleanly on top of this branch.
---------
Co-authored-by: Ana <ana1337x@users.noreply.github.com>
## Problem
In the Edge Function Edit secret sheet, a long secret value (for example
a multi-line private key) made the Value textarea grow without a limit.
On smaller screens this pushed the Cancel and Save buttons out of view,
so the secret couldn't be saved.
Fixes
[FE-4680](https://linear.app/supabase/issue/FE-4680/cannot-save-long-edge-function-secrets-on-smaller-screens).
## Solution
- Replace the hand-rolled auto-resize `Textarea` with the shared
`ExpandingTextArea`, the same component the Add new secrets form uses.
It grows with its content up to 320px, then scrolls inside itself.
- Make the sheet body the scroll area (`grow min-h-0 overflow-y-auto`),
so the footer with Cancel and Save stays visible on short windows.
- Move the show/hide (eye) toggle to `right-3 top-2` to match the add
form, and add right padding so it stays clear of the textarea's
scrollbar.
- Add a test that pastes a long multi-line value and checks that Save
becomes enabled.
## Review instructions
1. Open Edge Functions > Secrets and click Edit on any secret.
2. Paste a very long multi-line value into the Value field.
3. Confirm the field stops growing at about 320px and scrolls
internally.
4. Shrink the browser window height and confirm Cancel and Save remain
visible and Save is enabled.
5. Confirm the eye toggle doesn't overlap the textarea's scrollbar.
Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
## Problem
The Snowflake guide does not reflect the partial-update support and
automatic companion views introduced in
[supabase/etl#1110](https://github.com/supabase/etl/pull/1110). It also
omits the `CREATE VIEW` permission, which existing pipelines need before
upgrading to avoid startup failures.
## Solution
- Add `CREATE VIEW` to setup and upgrade instructions, including
ownership and consumer grants.
- Explain automatically maintained companion views, partial updates,
NULL semantics, and query options.
- Document existing-table upgrades, supported keys, schema changes,
history requirements, and resync.
## Review instructions
1. Open the Snowflake destination guide in the docs preview.
2. Check that setup and upgrade instructions clearly require `CREATE
VIEW` before starting the updated pipeline.
3. Review the companion-view examples and the distinction between
queries for complete and partial history.
## Checklist
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
## Problem
Compute log rows are filtered on `log_attributes['source']`, the
deprecated twin of the top-level `subservice` the log writer now
publishes. FUNC-894 deletes the twin from the writer, which would leave
the per-instance log tabs and the Unified Logs `compute` type matching
nothing — silently, since a missing attribute key returns no rows rather
than an error.
## Fix
Read the stream from `log_attributes['subservice']` instead. Both keys
carry the same value on every row today, so this is a same-behaviour
switch that lets the twin be removed.
It stays a `log_attributes` lookup rather than a bare `subservice`
column: the unified logs mapping does not classify these rows, so
`source` is empty on a compute row and every key the backend publishes
lands in the attribute map. A bare `subservice` predicate fails the
whole query with `Field "subservice" does not exist`.
- `COMPUTE_LOG_SUBSERVICES` replaces `WORKER_LOG_SOURCES`; the values
keep their pre-rename `worker_*` spelling, which is still what the
backend publishes
- `STREAM_KEY` in `compute-instance-logs-query.ts` and the Unified Logs
condition used by the log-type, status, method, pathname, metadata and
level expressions both move to the new key
- row fixtures in the three utils test files carry `subservice` instead
of `source`, so they match the wire shape that survives FUNC-894
Supersedes #50219, which targets a `subservice` column and a `source =
'worker_logs'` mapping that do not exist yet; that shape becomes the
follow-up if the mapping ships.
Relates to [FE-4358](https://linear.app/supabase/issue/FE-4358).
## How to test
- Open a compute instance's Invocations, Logs, and Activity tabs — each
shows only its own stream, and message filtering still narrows within
it.
- In Unified Logs, include and then exclude the Compute log type; rows,
counts, and charts move together, and compute rows keep their metadata
while status, method, and pathname stay null.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Compute logs are now identified and filtered using subservice metadata
in unified logs and compute instance logs.
- Compute log classification and display now handle compute-specific
fields and severity consistently.
- Guest and ingress compute streams now use subservice metadata for more
consistent results across supported log views.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## What
Adds component tests for `PlatformWebhooksPage` (follow-up to FE-3749),
covering: rendering the endpoint list, the empty state, create (and
request body shape), update, delete, regenerate-secret, send-test-event,
retry, and the rate-limit error path.
## Why
FE-3749's own scope explicitly calls out tests as a stacked follow-up
rather than blocking the original ship (already Done).
## Testing
All 9 tests pass locally, typecheck and lint clean.
## Note
Replaces #51614, which got accidentally closed (its branch was deleted
and recreated to fix fixture drift from #51800, which GitHub treats as
unrecoverable for reopening). Same branch name, now rebased onto current
master and updated for the delivery attribute shape changes from #51800
(error_code/error_message/event required, response_headers no longer
nullable).
This PR updates Management API docs automatically.
This regenerates:
- Management API specs and sections
- Personal Access Tokens permission-to-endpoint table
- Personal Access Tokens MCP tool permissions table
Sources include the live Management API specs, MCP permission map,
and Studio's shared permission catalog.
Co-authored-by: antlio <14966155+antlio@users.noreply.github.com>
## Problem
In organization Team settings, admins could only assign one project at a
time to a team member with project-scoped access, both when sending an
invite and when managing an existing member's access. The platform API
(role_scoped_projects) already accepts an array of project refs, so this
was purely a UI constraint. Teams customers with larger orgs hit this
repeatedly, since granting access to several projects meant repeating
the picker one project at a time.
## Solution
Added a new shared component, elect, and used it in bothces that
previously used thonProjectSelector:
- Invite members: the project field changed from a scalar projectRef to
projectRefs: string[]; the invite payload now sends every selected
project. anage access: the one-at-a-is replaced by theulti-select, wired
into the list (add/remove updates thatlist; the per-row role dropdowns
and remove buttons are unchanged).
The multi-select reuses the existing debounced-search + infinite-scroll
project daer (same as the old single-ve the same), combined with the
generic ui-patterns/multi-select primitives for the checkable list and
removable trigger badges. It supports:
- Type-to-search against the paginated project list eselecting a project
eitherits badge on the trigger
- Projects the current user isn't permitted to remove (a role-removal
permission check) show as selected-but-locked, with an explanatory
tooltip
existing "All projects" toflows — the multi-select onlyrenders when that
toggle is off, and toggling it on/off behaves exactly as before.
Also fixed an unrelated pre-existing cosmetic bug noticed while testing:
the Managess sheet used bg-surface-2) instead of the sheetprimitive's
default opaque background, making it visibly see-through compared to
every other sheet in the app.
## Review instructions
1. Open Invite members, turn os if needed, toggle "Grant this role on
all projects" off, and confirm you can search and select several
projects, with each shown as a removable badge.
2. Send the invite and confirm applied to the new member'saccess.
3. Open Manage access on an existing member with project-scoped access —
confirm tcurrent projects are pre-se more projects via themulti-select,
remove one via its badge and another via the row's "X", and save.Confirm
the saved access ma
4. Toggle "Apply roles to all projects" on and off in Manage access and
confirm thexisting toggle behavior is
5. Confirm the Manage access sheet background is now fully opaque,
matching other sheets in the app.
6. pnpm --filter studio typecher studio test for the touchedfiles all
pass.
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
I limited project deletion exit surveys to Pro and Team organizations.
Other plans use the compact deletion dialog, with the permanent-deletion
message consolidated into its warning and typed project-name
confirmation retained.
## To test
Tested on the updated Studio PR preview:
- [x] Open project deletion for a Free org, expect the
permanent-deletion text and documentation link together inside the
warning, no separate deletion paragraph, and no survey fields.
- [x] Open project deletion for a Pro org, expect the existing warning,
reason selector, and feedback field.
- [x] In Free and Pro dialogs, enter an incorrect project name and press
Enter, expect “Value entered does not match”. Enter the exact name,
expect the error to clear, then close without submitting.
Not exercised:
- [ ] Open project deletion for a Team org, expect the survey fields.
- [ ] Open project deletion for Enterprise and Platform orgs, expect
compact confirmation without survey fields. These plans are unavailable
in the staging account.
## Linear
- fixes FE-4634
## Context
Related to this PR
[here](https://github.com/supabase/supabase/pull/51790), gonna refactor
the Organization audit logs UI to also use the FilterBar component to
match a consistent UX across log surfaces, instead of the individual
filter popovers.
<img width="1450" height="684" alt="image"
src="https://github.com/user-attachments/assets/c1a4aab3-59d0-46a5-b7c7-1e7a5ad86b0d"
/>
### For design
Adding a small update to the `FilterBar` component here with a
`topLevelOnly` parameter if the component is being used with
`supportsOperators` (nested groups)
- In the case of AuditLogs as least, figured that the date range filter
option only makes sense as a top level filter
- Hence this prevents the date range filter from being selectable while
managing filters within a group
<img width="366" height="186" alt="image"
src="https://github.com/user-attachments/assets/e34ea0c8-5f03-4115-9fb1-554612f148dd"
/>
## Context
Resolves https://github.com/supabase/supabase/issues/51761
For projects that aren't using the improved search in the Auth → Users
page, the UI shows "No users in your project" when no user has an email
(phone-only, anonymous, etc.), even though users exist.
With the default "Email address" filter and an empty search box, the
legacy query runs `where lower(email) >= ''`. That evaluates to NULL for
users without an email, so they're excluded and the page looks empty.
## Changes involved
- Only apply the column-based search when there are keywords. With an
empty search box, the legacy path falls back to the plain listing query
(no email/phone condition). So users will be correctly displayed
- Same gating for improved search. Its SQL already ignored the column
without keywords, but `column` is part of the query key, so changing the
filter dropdown with an empty search box refetched an identical query.
## To test
- Project with only phone/anonymous users (e.g. create one via `POST
/auth/v1/admin/users` with `phone` + `phone_confirm`), improved search
off (ref below's curl snippet)
- Open Auth → Users with the default "Email address" filter → users are
listed
- Type a keyword → still prefix-searches the selected column
- Improved search on: switching filter column with an empty search box
makes no additional request
```
curl -X POST 'https://[ref].supabase.red/auth/v1/admin/users' \
-H 'apikey: <SECREY_KEY>' \
-H 'Authorization: Bearer <SECREY_KEY>' \
-H 'Content-Type: application/json' \
--data-raw '{"phone":"+15551234572","password":"asdasd","phone_confirm":true}'
```
## Problem
Disabling Warehouse leaves copied data in storage. Users need an
explicit option to remove it without deleting files manually.
Closes [PIPE-1128](https://linear.app/supabase/issue/PIPE-1128), using
the deletion support from
[PIPE-1098](https://linear.app/supabase/issue/PIPE-1098).
## Solution
Adds “Also delete copied Warehouse data” to the disable dialog. It stays
unchecked by default. Source tables are preserved.
| Before | After |
| --- | --- |
| <img width="826" height="504" alt="CleanShot 2026-10-19 at 16 17
12@2x"
src="https://github.com/user-attachments/assets/defc99b9-4ec0-4188-bfa6-53f489ef2be5"
/> | <img width="830" height="614" alt="CleanShot 2026-10-19 at 16 36
40@2x"
src="https://github.com/user-attachments/assets/80299728-a790-4d80-a2d9-16750977a679"
/> |
Handles errors differently depending on what it relates to:
| General Errors | Data Deletion Only |
| --- | --- |
| <img width="840" height="864" alt="CleanShot 2026-10-20 at 13 22
05@2x"
src="https://github.com/user-attachments/assets/7b2b37c3-ace6-4fe0-a1b7-106a97eaab0a"
/> | <img width="854" height="876" alt="CleanShot 2026-10-20 at 13 19
13@2x"
src="https://github.com/user-attachments/assets/81459525-bb9f-4d2c-891d-b7f8f646098a"
/> |
| _Above the fold_ | _Below the fold, within the relevant section_ |
## Review instructions
1. Open **Integrations → Warehouse → Overview** in a project with
Warehouse enabled, then click **Disable Warehouse**.
2. Check that **Also delete copied Warehouse data** is unchecked and has
a permanent deletion warning. Select it, cancel, and reopen. It should
be unchecked again.
3. On a disposable project, confirm with the option unchecked. Copied
data should remain. With the option checked, the managed DuckLake
catalogue and Storage bucket should be removed. Source tables should
remain in both cases.
4. Confirm Studio shows cleanup progress, then returns to setup. Failed
requests should keep the dialog open; failed background cleanup should
offer **Retry**.
## Context
Resolves https://github.com/supabase/supabase/issues/51827
Filtering a high-precision numeric column (e.g. `numeric(30,21)`) showed
the matching row, but the footer count said 0. We're currently using
`formatFilterValue` which coerced numeric filter values with `Number()`,
and rounds past ~15 digits so the generated = no longer matched the
stored value.
This same coercion was used by the count query, export
(`getAllTableRowsSql`) and delete-all but the main rows query
(`table-row-query`) never coerced, which is why rows and count
disagreed.
## Changes involved
- Given that `formatFilterValue` was legacy logic, opting to remove the
coercion and consistently use `formatPatternMatchFilterValue` instead
for all row operations as per what `table-row-query` uses, so filter
values reach Postgres as exact string literals.
## To test
- Run the following SQL statements to set up the table
- `CREATE TABLE public.precise_values (amount numeric(30, 21));`
- `INSERT INTO public.precise_values VALUES (0.123456789012345678901);`
- In the Table Editor, filter amount = 0.123456789012345678901. The
footer should show 1 record and should match what's rendered in the
table
## Context
Resolves https://github.com/supabase/supabase/issues/51836
Resolves FE-4666
The auto limit logic in the SQL Editor doesn't handle correctly when the
query contains a `LIMIT ALL` or `LIMIT NULL` and will append another
`LIMIT x` at the end of the query, so this PR fixes that
Also added a fix to ensure that auto limit applies for select statements
in CTEs
## To test
- [ ] Verify that result does not have auto limit applied if running
`select 1 limit all` or `select 1 limit null` in SQL Editor
- [ ] Verify that there's auto limit for a CTE statement like `WITH
numbers AS (SELECT generate_series(1, 2000) AS n) SELECT n FROM
numbers;`
## Problem
**Add pipeline** still opens the sheet when the wizard preview is
enabled. This is slice 14 of #49243, stacked on #51901 (which follows
#51900).
## Solution
- Route both **Add pipeline** buttons and **Shift+N** to
`/database/pipelines/new` when the preview is enabled. Wait for preview
preferences and rollout flags before choosing the flow.
- Keep enablement before creation, preview-off creation in the sheet,
and editing in the sheet.
- Return direct wizard visits to Pipelines when enablement is missing or
its lookup fails, so existing enablement and Retry remain available.
## Review instructions
1. Open the [Pipelines
preview](https://studio-staging-git-dnywh-featpipeline-wizard-entry-supabase.vercel.app/dashboard/project/_/database/pipelines)
and select a test project. Enable **Pipeline creation wizard** in
Feature Previews.
2. Click **Add pipeline** or press **Shift+N**. Check the full-page
wizard opens. Complete Connection and Data, then start a test pipeline
from Review.
3. On a project without Pipelines enabled, click **Add pipeline**.
Enablement must complete before the wizard opens. Opening
`/database/pipelines/new` directly on that project should return to
Pipelines.
4. Turn the preview off: **Add pipeline** should open the existing
sheet. Editing an existing pipeline should still use the sheet with
either preview setting.
## Problem
Review only offers Back, so users must traverse earlier steps to change
a specific section. This follows #51900 in the pipeline wizard slices
from #49243.
## Solution
- Add **Edit** beside Destination, Connection and Data on Review.
- Reuse step navigation and preserve entered values. Existing validation
still controls access to later steps.
- Keep the sheet unchanged.
| After |
| --- |
| <img width="1462" height="968" alt="CleanShot 2026-10-19 at 11 51
16@2x"
src="https://github.com/user-attachments/assets/ac76788c-d64c-49ef-9365-ee7bcb81887a"
/> |
| _Edit button is new in this PR_ |
## Review instructions
1. Open the [Pipelines
preview](https://studio-staging-git-dnywh-featpipeline-review-ed-a84254-supabase.vercel.app/dashboard/project/_/database/pipelines),
select a test project and enable **Pipeline creation wizard**. Open the
[wizard
preview](https://studio-staging-git-dnywh-featpipeline-review-ed-a84254-supabase.vercel.app/dashboard/project/_/database/pipelines/new)
for that project, complete Connection and Data, then reach Review.
2. Click each section’s **Edit** action. Check it opens the matching
step and preserves your values.
3. Change connection or data settings, then continue through validation
to Review. Check the updated values appear. Edit Destination and confirm
connection values remain when you return.
## Problem
The pipeline wizard can validate and review settings, but cannot create
a pipeline. This is slice 13 of #49243, following #51823.
## Solution
- Enable **Start pipeline** on Review using the sheet’s existing
validation, creation and start requests.
- Recheck publication settings, block critical failures and show
warnings inline before **Start pipeline anyway**.
- Preserve values after validation or create failures. Once creation
succeeds, finish the start attempt and return to Pipelines, including
when starting fails.
| After |
| --- |
| <img width="1234" height="2470" alt="CleanShot 2026-10-19 at 11 22
44@2x"
src="https://github.com/user-attachments/assets/23882092-26e2-4d23-b2a1-00d1d2dcba90"
/> |
**Add pipeline** still opens the sheet. Wizard entry remains behind
**Pipeline creation wizard** at `/database/pipelines/new`; routing is
the next slice.
## Review instructions
1. Open the [Pipelines
preview](https://studio-staging-git-dnywh-featpipeline-review-creation-supabase.vercel.app/dashboard/project/_/database/pipelines),
choose a test project and enable **Pipeline creation wizard** in Feature
Previews. Open the [wizard
preview](https://studio-staging-git-dnywh-featpipeline-review-creation-supabase.vercel.app/dashboard/project/_/database/pipelines/new)
for that project.
2. Choose a destination, enter valid test credentials and select a
publication. Continue to Review and check the settings, masked secrets
and costs. Back and Continue should preserve your values.
3. Click **Start pipeline**. Controls should lock while submitting, then
return to Pipelines with one new pipeline and no discard prompt. If
warnings appear, review them before clicking **Start pipeline anyway**;
critical failures must block creation.
4. Turn the preview off and open the wizard URL again: creation should
use the existing sheet. Editing existing pipelines should also keep the
sheet.
Automated tests cover final validation, changed warnings, create
retries, duplicate-click protection, removed publications and start
failure recovery.
## Problem
Fixes#50532
The database examples in the Broadcast guide pass the last argument of
`realtime.send()` and `realtime.send_binary()` positionally, label it
differently each time, and two of them pass `false` without saying that
makes the message public. The note at the top calls it the "public flag"
and names it `is_private`, but the argument is `private`.
## Solution
All three database examples now use named notation with `private =>
true`, so each call says what the value means and shows the default. The
note refers to the `private` argument and lists the default first.
The Studio changes from the earlier version of this branch are dropped
and will go in their own PR.
## Review instructions
1. Open the Broadcast guide and check the examples under "Broadcast from
the Database" and "Broadcasting a message from your database".
2. Run any of them in the SQL editor. Each inserts a private message
into `realtime.messages`.