Commit Graph
40517 Commits
Author SHA1 Message Date
Ivan VasilovandClaude Sonnet 5.5 ced4ff82a4 feat(www): upgrade to Next.js 16 (#52001)
## 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>
2026-10-21 12:28:35 +02:00
Drew McLellan 6957daa3b7 feat(studio): add setting to skip the SQL editor unsaved-changes prompt (#52029)
## 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.
2026-10-21 11:20:55 +01:00
Sreyas Udayavarman 4c70972229 Update blog post on Supabase storage updates (#52058)
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.
2026-10-21 15:17:18 +05:30
Ali WaseemandJeremias Menichelli 20e304a377 feat(kb): add search ingestion and edge function (#51843)
## Problem

We need embeddings for Kb to run a search endpoint in the Content API
and future KB search.

## Solution

This PR adds KB search backed by its own Supabase table, ingested from
the KB markdown export, and aligns the KB and docs search ingest setups.

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Test

1. Run the **KB Search Ingest** workflow, or locally run `pnpm --filter
kb search:ingest` with `SUPABASE_URL` and `SUPABASE_SERVICE_ROLE_KEY`
set in `apps/kb/.env.local`.
2. Query the endpoint and check that the results link to
`https://supabase.com/kb/troubleshooting/...`:
   ```
   curl '<kb-url>/kb/api/search?q=connect%20timeout&limit=5'
   ```

## Checklist

Check all before review:

- [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)

---------

Co-authored-by: Jeremias Menichelli <jmenichelli@gmail.com>
2026-10-21 11:24:52 +02:00
Joshen Lim 3af897e6d6 Joshenlim/fe 4676 port log drains api endpoints from platform to v2 (#51995)
## 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
2026-10-21 17:07:58 +08:00
0922000133 docs(blog): add Matt Johnston as author on Supabase Middleware post (#52012)
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>
2026-10-21 19:10:56 +11:00
Rakesh PatelandRakesh Patel bc3f3c2168 chore(docs): Add Rakesh Patel to humans.txt (#52051)
## Problem

New hire adding my name to the humans.txt

## Solution

Add my name to the humans.txt file


## 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)

Co-authored-by: Rakesh Patel <roc@patelr.us>
2026-10-21 09:51:48 +02:00
Kody Jackson e854b84ed4 docs - broken link in serverless drivers page (#52042)
## Problem

broken link
2026-10-20 16:06:34 -07:00
Kody Jackson b909d47efd chore(kb) - add in canonical URLs (and refer to them in JSON+LD) (#52017)
## Problem

Need canonical URLs. These are not an issue prior to launch b/c -- if a
page is tagged with a robots `noindex` -- google already drops it from
the index.

These intentionally always point to prod, helps avoid preview URLs
getting indexed as separate entities.

## Solution

Adds canonical URLs. Shares the canonical URLs with the JSON+LD
implementation, so simplifies that logic.

## Preview links


[Homepage](https://kb-git-kody-devrel-736-kb-canonical-links-supabase.vercel.app/kb)

```
<link rel="canonical" href="https://supabase.com/kb">
```

[Guides
page](https://kb-git-kody-devrel-736-kb-canonical-links-supabase.vercel.app/kb/guides/migrate-from-amazon-rds)

```
<link rel="canonical" href="https://supabase.com/kb/guides/migrate-from-amazon-rds">
```

[Troubleshooting
page](https://kb-git-kody-devrel-736-kb-canonical-links-supabase.vercel.app/kb/troubleshooting/42501--permission-denied-for-table-httprequestqueue-knozmq)

```
<link rel="canonical" href="https://supabase.com/kb/troubleshooting/42501--permission-denied-for-table-httprequestqueue-knozmq">
```
2026-10-20 15:29:32 -05:00
Anthony Lio d9faba5a2c feat(kb): design overhaul (#51565)
## Problem

knowledge base homepage was a list of topic cards with nothing to browse
by, and guide pages had no table of contents

## Solution

- adds grid drawn hero proposal
- adds featured guides and topic cards
- updates guide page layout 

| state | preview |
| -------|------|
| after | <img width="1504" height="757" alt="image"
src="https://github.com/user-attachments/assets/41492e87-f4ad-4dea-ad30-7dc3ca2882b0"
/> |

`variants`

homepage ships with a few design options behind query params, so we can
compare them on the preview before picking one, temporary and non
selected one will be removed


Param | Values | What it does
-- | -- | --
hero | grid (default), warp | grid draws the flat table grid _
warp bends the ASCII field into a funnel below the hero copy
featured | cover (default), book | cover shows the featured guides as
cards with an ascii cover _ book shows them as books
search | off (default), on | on adds a search button under the hero copy
that opens the guide search dialog. Cmd+K / Ctrl+K also opens it

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. open the kb preview at `/kb`
2. open a guide such as `/kb/guides/migrate-from-firebase-auth`

## Checklist

Check all before review:

- [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)
2026-10-20 22:31:12 +03:00
Alexis Aguilar ae991bb19e docs: correct default privilege and function revoke guidance (#51960)
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.
2026-10-20 11:52:57 -07:00
Kody Jackson a90fc6792d chore(www) - Update robots.txt (#52041)
## 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
2026-10-20 13:29:30 -05:00
Charis e21b69c602 refactor(studio): migrate list_policies, list_reports, get_report, get_active_incidents, escalate_to_human, and resolve_support_conversation to tool contracts (#52015)
## 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.
2026-10-20 14:18:27 -04:00
Dhruv f1a91ca9c0 Add Dhruv Sehgal to humans.txt (#52018)
Onboarding
2026-10-20 10:39:29 -07:00
Chase Cresgy d8d390fb5a Remove Mo Khan from humans.txt (#51945)
Off-boarding update
2026-10-20 10:38:03 -07:00
Jason Harley c39ac96ede chore(docs): add Jason Harley to humans.txt (#52037)
## Problem

Just joined Supabase and need to add my name to humans.txt as part of
onboarding

## Solution

Add my name to humans.txt, keep it ordered alphabetically


## Checklist

Check all before review:

- [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)
2026-10-20 10:37:30 -07:00
Eliot Daigneault-MestreandEliot 6b489d742c Add Eliot to humans.txt (#52032)
## Problem

I need to add my name to humans.txt as per my onboarding

## Solution

I added my name, and ran the /review-the-docs skill to verify the change

## Checklist

Check all before review:

- [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)

Co-authored-by: Eliot <eliot@Eliots-MacBook-Pro.local>
2026-10-20 10:37:06 -07:00
Miranda Limonczenko f5b00a5237 docs: use the standard run snippet for run-this-query steps (#51974)
## Problem

Many pages tell readers to run SQL in the SQL Editor only. An agent
can't use the Dashboard, so it has no way to run the query.
supabase/supabase#51973 adds a standard snippet that also offers `psql`.
Existing pages don't use it yet.

## Solution

- **Snippet swap:** each simple run-SQL instruction now uses the
standard snippet, placed before the SQL block. Where the old sentence
said what the SQL does, that part stays as its own sentence before the
snippet.


## Preview links

On each page, search for `over a direct connection`.

| Page | Live | Preview |
| --- | --- | --- |
| `ai/automatic-embeddings` |
[Live](https://supabase.com/docs/guides/ai/automatic-embeddings) |
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/ai/automatic-embeddings)
|
| `database/connecting-to-postgres/pooling-and-limits` |
[Live](https://supabase.com/docs/guides/database/connecting-to-postgres/pooling-and-limits)
|
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/database/connecting-to-postgres/pooling-and-limits)
|
| `database/extensions/pg_net` |
[Live](https://supabase.com/docs/guides/database/extensions/pg_net) |
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/database/extensions/pg_net)
|
| `database/postgres/dropping-all-tables-in-schema` |
[Live](https://supabase.com/docs/guides/database/postgres/dropping-all-tables-in-schema)
|
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/database/postgres/dropping-all-tables-in-schema)
|
| `database/postgres/first-row-in-group` |
[Live](https://supabase.com/docs/guides/database/postgres/first-row-in-group)
|
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/database/postgres/first-row-in-group)
|
| `database/postgres/row-level-security` |
[Live](https://supabase.com/docs/guides/database/postgres/row-level-security)
|
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/database/postgres/row-level-security)
|
| `database/postgres/which-version-of-postgres` |
[Live](https://supabase.com/docs/guides/database/postgres/which-version-of-postgres)
|
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/database/postgres/which-version-of-postgres)
|
| `deployment/managing-environments` |
[Live](https://supabase.com/docs/guides/deployment/managing-environments)
|
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/deployment/managing-environments)
|
| `getting-started/quickstarts/hono` |
[Live](https://supabase.com/docs/guides/getting-started/quickstarts/hono)
|
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/getting-started/quickstarts/hono)
|
| `getting-started/quickstarts/refine` |
[Live](https://supabase.com/docs/guides/getting-started/quickstarts/refine)
|
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/getting-started/quickstarts/refine)
|
| `getting-started/quickstarts/spring-boot` |
[Live](https://supabase.com/docs/guides/getting-started/quickstarts/spring-boot)
|
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/getting-started/quickstarts/spring-boot)
|
| `platform/database-size` |
[Live](https://supabase.com/docs/guides/platform/database-size) |
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/platform/database-size)
|
| `platform/postgres-connection-logging` |
[Live](https://supabase.com/docs/guides/platform/postgres-connection-logging)
|
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/platform/postgres-connection-logging)
|
| `platform/upgrading` |
[Live](https://supabase.com/docs/guides/platform/upgrading) |
[Preview](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/platform/upgrading)
|

## Manual testing

1. Open [Which version of
Postgres](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/database/postgres/which-version-of-postgres).
The snippet appears before the query.
2. Click **Direct connection** in the snippet. It goes to the **Direct
connection** section of the connection guide.
3. Open [Row Level
Security](https://docs-git-docs-sql-run-sentence-sweep-supabase.vercel.app/docs/guides/database/postgres/row-level-security).
The snippet comes before the SQL, and the migration option follows it.
2026-10-20 16:45:08 +00:00
Miranda Limonczenko 92866b9597 docs(style-guide): pair Dashboard steps with a terminal option (#51973)
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.
2026-10-20 09:34:15 -07:00
Nara Kasbergen Kwon 40943e51a9 chore(docs): Add Nara to humans.txt (#52034) 2026-10-20 18:58:29 +03:00
AnaandAna 3d19f49479 docs(blog): add observability agent prompts post (#51978)
## 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>
2026-10-20 11:47:42 -04:00
Andrew ValleteauandClaude Opus 5.5 e42f4ec612 chore: remove pgMetaScopedIntrospection feature flag (#52019)
## 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>
2026-10-20 17:40:13 +02:00
AnaandAna 973a34c1c0 feat(www): add observability feature pages (#51979)
## 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>
2026-10-20 11:30:03 -04:00
supabase-vercel-tedd[bot] 601c091d8f fix(studio): keep edit secret sheet footer visible with long values (#52014)
## 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>
2026-10-20 16:58:49 +02:00
Victor Farazdagi 72324ca0f7 docs: update Snowflake permissions and partial-update guidance (#51997)
## 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)
2026-10-20 16:57:58 +03:00
Matt Johnston 29878860a9 fix(compute): filter logs on the subservice attribute (#50562)
## 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 -->
2026-10-20 15:57:04 +02:00
Monica Khoury d897e1462a test: add component tests for PlatformWebhooksPage (#52002)
## 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).
2026-10-20 16:44:54 +03:00
Kody JacksonandClaude Haiku 5.5 8993001471 feat(kb) - add structured ld+json data to KB pages (#51498)
## Problem

Follow up to #51497 and #51496, but for KB.

Currently the KB has no [structured
metadata](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data)
about any of the pages, which can be important for LLM-indexing.

## Solution

Follow up to #51497 and #51496, but for KB.

Adds two types of structured data to every KB article:
- Breadcrumb
- TechArticle
(validation available at
[schema.org](https://validator.schema.org/#url=https%3A%2F%2Fkb-git-kody-devrel-698-kb-structured-data-supabase.vercel.app%2Fkb%2Fguides%2Fsample-guide))

Future work will likely add in an FAQ type.

## Preview links


https://kb-git-kody-devrel-698-kb-structured-data-supabase.vercel.app/kb/guides/sample-guide
<img width="1101" height="571" alt="image"
src="https://github.com/user-attachments/assets/dbd95f32-3aaa-4c2e-891b-ee31cbef34dd"
/>

https://validator.schema.org/#url=https%3A%2F%2Fkb-git-kody-devrel-698-kb-structured-data-supabase.vercel.app%2Fkb%2Fguides%2Fsample-guide

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-20 08:39:33 -05:00
Anthony Lio 2abcb83cf1 fix(docs): show the description of primitive request bodies (#52013)
## Problem


the management api reference drops the description of a request body
when the body schema is a primitive type (`string`, `boolean`, `number`
or `integer`) the page shows only the type name

## Solution

- adds `MDXRemoteBase` with `normalizeMarkdown` like the type
descriptions in the same file so code blocks in the description get the
docs code block styles

#51246 adds the new schema for this endpoint to the docs spec

| state | preview |
| -------|------|
| before | <img width="1023" height="702" alt="image"
src="https://github.com/user-attachments/assets/cf1d80e4-01be-433b-906f-887e7527325e"
/> |
| after | <img width="1023" height="702" alt="image"
src="https://github.com/user-attachments/assets/01dc034b-a956-4fd2-9b0e-fde111c66c2c"
/> |

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

Provide a clear numbered procedure that the PR reviewer can walk
through.

1. run `git fetch origin gha/auto-update-mgmt-api-docs`
2. run `git checkout origin/gha/auto-update-mgmt-api-docs --
apps/docs/spec/transforms/api_v1_openapi_deparsed.json
apps/docs/spec/transforms/api_v2_openapi_deparsed.json`
3. open http://localhost:3001/docs/reference/api/v1-update-a-function.

## Checklist

Check all before review:

- [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)
2026-10-20 16:19:19 +03:00
supabase-supabase-autofixer[bot]andantlio 61d9b7304d feat: update mgmt api docs (#51246)
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>
2026-10-20 16:19:00 +03:00
Kody Jackson f15391efee fix(www, changelog) - add in canonical URLs for product, blogs, partners, pricing pages (#51859)
## Problem

Missing canonical tags on many `www` pages (blogs, changelog entries,
product pages, etc.).

Part of general AEO / SEO hygiene.

## Solution

Adds these in a similar pattern to `mdAlternates` (#48287)

<img width="984" height="381" alt="image"
src="https://github.com/user-attachments/assets/0a596f7f-b034-451f-9ea1-6804c5184388"
/>


## Preview links

Route type | Live | Preview
-- | -- | --
Home (app router, page-level canonical) | https://supabase.com/ |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/
Blog index (app router) | https://supabase.com/blog |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/blog
Blog post | https://supabase.com/blog/supabase-alpha-april-2020 |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/blog/supabase-alpha-april-2020
Blog tag | https://supabase.com/blog/tags/postgres |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/blog/tags/postgres
Blog author | https://supabase.com/blog/authors/paul_copplestone |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/blog/authors/paul_copplestone
Product page | https://supabase.com/edge-functions |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/edge-functions
Pricing | https://supabase.com/pricing |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/pricing
Features index (pages router, _app) | https://supabase.com/features |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/features
Feature sub-page | https://supabase.com/features/postgres-database |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/features/postgres-database
Page with its own NextSeo canonical (override case) |
https://supabase.com/state-of-startups-2025 |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/state-of-startups-2025
Legal page, no page-level SEO (pages router default) |
https://supabase.com/legal |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/legal
2026-10-20 08:01:38 -05:00
supabase-supabase-autofixer[bot]andgithub-actions[bot] e2cf5b7adc [bot] Decrease ESLint ratchet baselines (#51870)
Automated weekly decrease of ESLint ratchet baselines.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-10-20 12:22:03 +00:00
Ricardo Tavares 807fb3df16 chore(docs): Add Ricardo Tavares to humans.txt (#51998)
## Problem

Just joined Supabase and need to add my name to `humans.txt` as part of
onboarding

## Solution

Add my name to `humans.txt`, keep it ordered alphabetically

## Checklist

Check all before review:

- [X] 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)
2026-10-20 11:18:05 +01:00
kemal.earthandJoshen Lim 4b5b2a3d71 feat(studio): multiselect for team member projects selector (#51948)
## 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>
2026-10-20 10:44:08 +01:00
Riccardo Busetti 0670509381 feat(pipelines): Improve lag UI for Pipelines (#51863) 2026-10-20 08:48:24 +00:00
Pamela Chia 76f0585e80 fix(studio): limit project exit surveys (#51946)
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
2026-10-20 08:33:45 +00:00
Rory Hunter c0a4b6a2c7 Add Rory Hunter to humans.txt (#51991) 2026-10-20 09:18:29 +01:00
Anthony Lio 7eff6c3642 fix(studio): layout extra height overscroll in usage page (#51915)
## Problem

on `/org/[slug]/usage` the page scrolls past the end of the content and
shows a blank area caused by an absolute element without ancestor

| state | preview |
| -------|------|
| before | <img width="1718" height="927" alt="image"
src="https://github.com/user-attachments/assets/d852486a-76a3-423e-96cb-cbf3ac637306"
/> |

## Solution

- adds `relative` to the scroll container `<main>` in
`OrganizationLayout`

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. visit `/org/[slug]/usage`
2. [prod] scroll to the bottom then keep scrolling
3. [preview link] scroll to the bottom then keep scrolling, it should
not be possible

## Checklist

Check all before review:

- [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)
2026-10-20 10:26:16 +03:00
Pamela Chia d2650ffa32 fix(www): render partner catalog without js (#51950) 2026-10-20 09:18:12 +02:00
Joshen Lim 1ddb9ac787 Refactor organization audit logs to use filter bar (#51921)
## 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"
/>
2026-10-20 14:52:40 +08:00
Graeme GilliesandGraeme Gillies 6fab059fad Add Graeme Gillies to humans.txt (#51976)
## Problem

Graeme Gillies is a new Supatrooper and is not included in humans.txt

## Solution

Add Graeme Gillies to humans.txt

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Checklist

Check all before review:

- [x] 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)

Co-authored-by: Graeme Gillies <ggillies@Graemes-MacBook-Pro.local>
2026-10-20 16:49:01 +10:00
Joshen Lim 0ca1774997 Fix not showing phone based users in auth page for legacy search (#51942)
## 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}'

```
2026-10-20 11:44:57 +08:00
Danny White 279434fb70 feat(studio): add copied data deletion to Warehouse disable dialog (#51906)
## 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**.
2026-10-20 14:40:05 +11:00
Joshen Lim 3e8d7fa795 Deprecate formatFilterValue, consistently use formatPatternMatchFilterValue across all table-row-operations (#51918)
## 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
2026-10-20 11:25:20 +08:00
Joshen Lim 922937f6f7 Fix auto limit handling of limit all and limit null (#51917)
## 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;`
2026-10-20 11:21:08 +08:00
Nikita Sivukhin 508a8b2231 add Nikita Sivukhin to humans.txt (#51969)
## Problem

Nikita Sivukhin not in humans.txt

## Solution

Add Nikita Sivukhin to humans.txt

## Checklist

Check all before review:

- [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)
2026-10-19 17:40:40 -07:00
Danny White 827e79c5bc feat(studio): open the pipeline wizard from Add pipeline (#51903)
## 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.
2026-10-20 11:04:06 +11:00
Danny White 306cd88a2b feat(studio): edit pipeline setup sections from review (#51901)
## 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.
2026-10-20 11:04:06 +11:00
Danny White e7b1f68956 feat(studio): create pipelines from wizard review (#51900)
## 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.
2026-10-20 11:04:05 +11:00
Mandar Joshi b46b645c6d docs: clarify private flag behavior for realtime.send (#50537)
## 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`.
2026-10-19 14:22:39 -07:00