Commit Graph
8742 Commits
Author SHA1 Message Date
Illia Basalaiev 1eb8684d60 docs: rewrite the project transfers guide (#53540)
## Problem

Rewrite apps/docs/content/guides/platform/project-transfer.mdx so
readers can answer their own transfer questions. Support sees a steady
stream of tickets on project transfers, and most of the questions aren’t
answered by the current page.
Preview:
https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer

## Solution

The guide is seven pages. The four task pages follow the [how-to guide
template](https://github.com/supabase/supabase/blob/master/apps/docs/style-guide/templates/how-to-guide.md),
applied the way #53650 applies it. The other three have no template yet,
so they follow the document types in `03-page-structure.md`.

<img width="275" height="239" alt="CleanShot 2026-11-20 at 14 32 51"
src="https://github.com/user-attachments/assets/bdbf7d39-df13-4418-a5c3-32a4ae1b9e3d"
/>

| Page | Type | What it holds |
| ------------------------------------------------ | --------------- |
---------------------------------------------------------------------------------------------------
|
| `project-transfer.mdx` | How-to | Transfer a project with the
Dashboard or the Management API, then verify it |
| `project-transfer/transfer-ownership.mdx` | How-to | Move a project to
another person's organization, or hand over the whole organization |
| `project-transfer/vercel-marketplace.mdx` | How-to | Move projects out
of an organization managed through the Vercel Marketplace |
| `project-transfer/pause-project.mdx` | How-to | Pause a project from
the Pro Plan or Team Plan by transferring it to a Free Plan organization
first |
| `project-transfer/requirements.mdx` | Reference | Every check a
transfer runs, what blocks it, and partner-managed projects |
| `project-transfer/what-changes.mdx` | Explainer | What stays the same,
downtime, billing, access and tokens, notifications, what the Free Plan
removes |
| `project-transfer/troubleshooting.mdx` | Troubleshooting | Each
Dashboard and API message with its cause and fix |


Corrections to existing claims (downtime, log drains, target
organization role, free project limit).

New content
- Requirements checklist, including SSO accounts, usage restrictions
between Free Plan organizations, and overdue invoices
- Dashboard steps and a Management API path
(/v2/projects/{ref}/transfers and /previews)
- What stays the same (data, ref, URL, keys, connection strings) and
when apps need an update
- Downtime per direction, billing, access tokens, timing, notifications,
and audit log
- What a move to the Free Plan removes, and how to pause a project from
the Pro Plan or above
- Handing a project or an organization to another person, lost access to
the Owner account
- Vercel Marketplace, AWS Marketplace, Stripe Projects, and a pointer
for Lovable backends
- Troubleshooting tables that quote each Dashboard message with its
cause and fix
- New updated screenshots

The six pages under `project-transfer/` are new, so they have no live
version.

| Site | Live | Preview | Search for |
| ---- |
--------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------------------------------------------------------------------
| ---------------------------------- |
| Docs | [Project
Transfers](https://supabase.com/docs/guides/platform/project-transfer) |
[Transfer a
project](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer)
| `Transfer a project` |
| Docs | Not on `master` | [Project transfer
requirements](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/requirements)
| `Account requirements` |
| Docs | Not on `master` | [Changes after a project
transfer](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/what-changes)
| `What stays the same` |
| Docs | Not on `master` | [Transfer project
ownership](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/transfer-ownership)
| `Hand over the whole organization` |
| Docs | Not on `master` | [Transfer a Vercel-managed
project](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/vercel-marketplace)
| `Vercel-managed organization` |
| Docs | Not on `master` | [Pause a Pro or Team Plan
project](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/pause-project)
| `Pause the project` |
| Docs | Not on `master` | [Troubleshoot a project
transfer](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/troubleshooting)
| `Role and membership messages` |


## Review instructions

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

**Note:** The changes were made based on all support tickets related to
project transfers; all statements were cross-checked in the code and
tested on a hosted project.

1. Please check if the structure of the pages meets docs standards. 
2. Please confirm "Project transfers" is a valid title; let me know if
it should be capitalized.
3. Please confirm if the table with error messages fits into this
documentation under troubleshooting
([preview](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer?queryGroups=method&method=dashboard#troubleshooting)).
Done this way so that customers can find the full message in the search.

## 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-11-20 18:12:15 +01:00
Taryn King a55904adc0 docs: update cpu limits to per worker (#53625)
## Problem

Edge Function CPU limits in docs are described as applying per request
but this doesn't hold true for how functions have worked.

## Solution

Update CPU limits to be described as per worker.

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

| Docs |
[/docs/guides/functions/limits](https://supabase.com/docs/guides/functions/limits)
|
[/docs/guides/functions/limits](https://correct-edge-functions-limits-supabase.vercel.app/docs/guides/your-page)
| Amount of actual time spent on the CPU per worker |

-->

## 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-11-20 10:48:54 -06:00
Colum Ferry 95cf9a78a7 docs(cli): show config examples in TOML and JSONC (#53449)
## Problem

The CLI reads `supabase/config.jsonc` (and `config.json`) since v3.1.0,
but every docs page still shows `config.toml` only. There's also no page
explaining the formats, how to switch, the `$schema` / `#:schema`
declaration, or editor setup, and no reference pages for the new
`supabase config convert` and `supabase config validate` commands.

Linear: CLI-2871

## Solution

- **Dual-format examples from one source.** A new directive
(`features/directives/ConfigFormats.ts`) picks up any ```` ```toml ````
fence with `name=supabase/config.toml` and renders it as
`supabase/config.toml` / `supabase/config.jsonc` tabs. The JSONC is
generated at build time with `convertCliConfigTomlToJsonc` from
`@supabase/config`, the same converter `supabase config convert` uses,
so authors only write TOML and the JSONC matches what the CLI would
produce (comments included). Inside `<$CodeTabs>` the JSONC is added as
an extra tab.
- **The format choice sticks.** `ConfigCodeTabs` keeps the selected
format in `localStorage`, so choosing JSONC switches every config
example on the page and on later pages.
- **Config reference.** The `usage` examples on
`/guides/local-development/cli/config` use the same tabs (they were
highlighted as Python before), and the intro mentions `config.jsonc`.
The `remotes.<branch_name>` example now uses `[remotes.staging]`, since
`<branch_name>` isn't a valid TOML key.
- **New guide, "Config file formats"**
(`/guides/local-development/cli/config-formats`): which file wins,
minimum CLI version, `convert` and `validate`, schema declaration and
versioning, and editor setup (VS Code trusted domains, Even Better TOML,
Tombi, SchemaStore).
- **CLI reference.** Adds `supabase-config-convert` and
`supabase-config-validate` to the CLI reference nav.
`cli_v1_commands.yaml` is the generated v3.2.0 reference, identical to
the release bot's update in #53463, so the two PRs don't conflict.
- **Content.** About 60 existing config examples across the guides,
including the Branching configuration page, are tagged
`name=supabase/config.toml`. Branching reads `config.json` and
`config.jsonc` as well, and the Branching configuration page now says
so. Non-Supabase TOML (`pyproject.toml`, `bunfig.toml`) and the v2-era
`[inbucket]` before/after snippet stay TOML-only.
- **Format-neutral prose.** Sentences that described the config as
`config.toml` now say "your config file", naming `supabase/config.toml`
and `supabase/config.jsonc` once per page. TOML section syntax in prose
(`max_frequency` under `[auth.email]`) is written as key paths
(`auth.email.max_frequency`), which read the same in both formats.
Headings that named `config.toml` keep their old anchors. Sentences
about what `supabase init` creates still say `config.toml`.
- **Markdown export for agents.**
`internals/generate-guides-markdown.ts` runs the same transform, so the
`.md` pages served to AI agents include the JSONC example after each
TOML one.
- A test converts every tagged example under `content/`, so a broken
TOML example fails tests instead of the build.

New dependencies for `apps/docs`: `@supabase/config` (^1.8.0) and
`effect` (the same `effect` version Studio pins).

`config convert` and `config validate` ship in CLI v3.2.0, which is now
stable.

## Review instructions

1. Open `/docs/guides/local-development/seeding-your-database` on the
preview. Switch an example to `supabase/config.jsonc` and check the
other examples on the page switch too.
2. Open `/docs/guides/local-development/cli/config` and check the usage
examples open on JSONC.
3. Read `/docs/guides/local-development/cli/config-formats`.
4. Open `/docs/reference/cli/supabase-config-convert` and
`/docs/reference/cli/supabase-config-validate`.

## Self-review

Ran the `review-the-docs` local self-review (content, pipeline, and
component checks) over the 54 changed pages.

- No blockers. Fixed the nits it found: leftover TOML section syntax in
prose (diff engines, declarative schemas, Branching, the common settings
table on Local and hosted projects), a few long or ungrammatical
sentences, and the conversion follow-up steps on Config file formats,
now a list.
- Links, custom anchors, nav wiring, and frontmatter check out.
- The `.md` export on the preview shows each TOML example followed by
its JSONC version.
- `test-the-docs` deferred: the changed fences are config snippets, and
`ConfigFormats.test.ts` already converts every tagged example. No
procedural steps changed apart from the `config convert` and `config
validate` commands on the new page.

## 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-11-20 14:34:59 +00:00
Sudhi Gupta aedd3d70db docs(self-hosting): fix nginx template variable name in HTTPS proxy guide (#53740) 2026-11-20 08:32:46 -06:00
Drew McLellan 8f73c10ce1 feat(studio): sample browser-translation DOM errors in Sentry (#53600)
## Problem

Browser translation (e.g. Chrome Translate) and some extensions rewrite
DOM text nodes, which makes React throw `insertBefore` / `removeChild`
errors. We drop all of these via `ignoreErrors`, so we have no signal on
how often they still happen after the dynamic-text ESLint rule (#52949).

Linear:
[FE-5008](https://linear.app/supabase/issue/FE-5008/sample-sentry-events-for-browser-translation-crashes-instead-of),
from the investigation in
[FE-5013](https://linear.app/supabase/issue/FE-5013/investigate-how-we-currently-hide-browser-translation-insertremove).

## Solution

Stop ignoring these errors in Studio and send a 5% sample, tagged so
they are easy to find in Sentry.

- Move the insert/remove node messages from
`BROWSER_NOISE_IGNORE_ERRORS` into a new
`BROWSER_TRANSLATION_DOM_ERRORS` list in `packages/common/sentry.ts`.
`docs` and `www` add it to `ignoreErrors`, so their behavior is
unchanged.
- In Studio's `beforeSend`, tag matching events with
`browser_translation`, `page_translated` and `sample_rate`. The existing
`shouldDropForSampleRate` applies the rate.
- `page_translated` is best effort: it checks for the `translated-ltr` /
`translated-rtl` class on `<html>` and Google Translate `<font>`
wrappers. Firefox and Edge are less reliable, so `false` is not proof.
- `filterSentryEvent` skips its 1% non-crash sampling for tagged events.
Without this the rates would multiply and 5% would really be 0.05%.
- The generic `parentNode` / `removeChild` null reads stay ignored. They
have many unrelated causes, so tagging them as translation would
mislead.

Not in this PR:

- The `text content does not match` and hydration ignores. They are
related symptoms and should be a follow-up.
- The user-facing fallback in `InsertBeforeRemoveChildErrorHandler`.

## Review instructions

1. Check that `docs` and `www` still ignore the five DOM messages, via
`BROWSER_TRANSLATION_DOM_ERRORS` in their `instrumentation-client.ts`.
2. Run `pnpm exec vitest run lib/sentry-client-options.test.ts` from
`apps/studio`, and `pnpm exec vitest run sentry.test.ts` from
`packages/common`.
3. After merge, filter Sentry for `browser_translation:true` on the
production Studio project and compare `page_translated` true against
false.

## Before merging

Sentry also has server-side inbound filters on the production Studio
project. Someone with project access should confirm the `error-message`
filter doesn't match these messages. If it does, the sampled events will
be dropped on arrival.

## Checklist

- [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 (not applicable)
2026-11-20 13:40:23 +00:00
Mandar Joshi 3334709840 fix(self-hosted): stop cutting off Envoy responses after 30s (#51620) 2026-11-20 14:25:02 +01:00
Bruno Gale c484941fac docs: add Unity quickstart (#51898)
## Problem

#51257 added Unity to the Connect panel, but the docs have no Unity
quickstart to go with it.

## Solution

New page at `quickstarts/unity.mdx`, built from `_template.mdx`. It uses
the same setup as the Connect panel: NuGetForUnity for the install and a
`SupabaseManager` script for the client.

I also added the nav entry, the `ai-prompts.data.ts` entry, and two
notes in `_template.mdx` on where Unity differs (the key goes in the
script, IL2CPP code stripping).

Tested on Unity 6.3 with the `Supabase` NuGet package 8.11.0, in the
editor and in an IL2CPP Windows build.

Not changed: the Connect link in the shared `api_settings` partial
doesn't pass `using=unity`, so it opens the default .NET variant.

## Review instructions

1. Open the docs preview at
`/docs/guides/getting-started/quickstarts/unity`.
2. Optional: follow the guide in a new Unity 6.3 project. The Console
should print `violin`, `viola` and `cello`.

## 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-11-20 14:07:00 +01:00
Santhosh DandSanthosh-x23 6bdb443398 docs(guides): fix code fence languages in three guides (#53722)
## Problem

Three code blocks in the docs guides use the wrong language tag, so they
are highlighted and type-checked as JavaScript or TypeScript instead of
what they are:

- `guides/database/arrays.mdx`: a SQL query is tagged `js`
- `guides/database/import-data.mdx`: the `pgloader config.load` command
is tagged `jsx`
- `guides/ai/hybrid-search.mdx`: a cURL command is tagged `tsx`

The docs style guide says JavaScript and TypeScript blocks get type
hints and are formatted by Prettier, which does not apply to these
blocks.

## Solution

Retag the blocks: `sql` for the query and `bash` for the two shell
commands (`bash` is the most common shell tag in the guides).

For the SQL block I also lowercased the keywords, per the style guide's
"Prefer lowercase for SQL". Prettier's SQL plugin rewrites
`textarray[1]` to `textarray as [1]`, which is not valid Postgres, so
the block is preceded by `{/* prettier-ignore */}`, the same convention
already used in `guides/ai/engineering-for-scale.mdx` and
`guides/api/query-plans.mdx`.

Earlier PRs fixed the same kind of problem: #11870, #19033, #14856,
#11235.

## Review instructions

1. Open the diff: only the language tags change, plus the lowercase SQL
and the `prettier-ignore` comment in `arrays.mdx`.
2. Check the three pages in the preview: the SQL block in the SQL tab of
"Working with arrays", the `pgloader` step in "Import data into
Supabase", and the cURL block in "Hybrid search".
3. Run `pnpm test:prettier`. It passes for these files with the repo's
`prettier.config.mjs`.

## Checklist

- [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).
(Not run: this edit only changes code fence languages, and I applied the
style guide's code block rules by hand.)

Co-authored-by: Santhosh-x23 <185920429+Santhosh-x23@users.noreply.github.com>
2026-11-20 13:03:03 +02:00
Sean OliverandDanny White f9fd4a2a9f feat(www,docs,kb): show Do Not Sell or Share footer link to US visitors (#53490)
## Problem

US visitors need a "Do Not Sell or Share My Personal Information" footer
link, and no site reads the visitor's country
([GROWTH-1369](https://linear.app/supabase/issue/GROWTH-1369)).

## Solution

- The www proxy copies the `x-vercel-ip-country` header into a
`_sb_country` cookie, which the footers read client-side. Docs and kb
route through www, so that covers all three.
- US visitors and unknown countries see the opt-out label. Everyone else
keeps "Privacy Settings". Both open the same modal.
- The link sits on each footer's copyright line, and the label stays
hidden until the cookie is read.
- Out of scope: GPC
([GROWTH-1373](https://linear.app/supabase/issue/GROWTH-1373)) and modal
copy ([GROWTH-1370](https://linear.app/supabase/issue/GROWTH-1370)).
- Tests cover US, non-US, unknown countries, and the cookie write.
Screenshots used a hand-set cookie.

**www**

| | Before | US | DE |
|---|---|---|---|
| 375px | <img
src="https://github.com/user-attachments/assets/1bd8bcb8-6692-4fe9-90a0-5343b0364053"
width="200"> | <img
src="https://github.com/user-attachments/assets/0514a0bd-ad1c-4773-b889-de941f5466b5"
width="200"> | <img
src="https://github.com/user-attachments/assets/328ca1b4-9698-492e-8045-a15d884108f2"
width="200"> |
| 1440px | <img
src="https://github.com/user-attachments/assets/3cb3e7d7-62ab-4d34-841c-23d50d7d1cd5"
width="300"> | <img
src="https://github.com/user-attachments/assets/caf75b29-7286-404a-b1ea-7dfa5022912c"
width="300"> | <img
src="https://github.com/user-attachments/assets/2c067209-39cd-4ad8-9987-4f8763d70660"
width="300"> |

**docs**

| | Before | US | DE |
|---|---|---|---|
| 375px | <img
src="https://github.com/user-attachments/assets/37248b4a-436b-4d2d-b2d3-3966117abf9e"
width="200"> | <img
src="https://github.com/user-attachments/assets/0b109a0d-7618-46f8-ade0-8ba17e390b56"
width="200"> | <img
src="https://github.com/user-attachments/assets/0047b2b8-7047-40df-8d9c-09f51e538fa4"
width="200"> |
| 1440px | <img
src="https://github.com/user-attachments/assets/0a7d6a65-e964-43dc-911e-0ea033cb1e91"
width="300"> | <img
src="https://github.com/user-attachments/assets/27922348-661c-4246-b3fc-44ac054bd084"
width="300"> | <img
src="https://github.com/user-attachments/assets/30afb171-1023-43ff-b77e-89f341128377"
width="300"> |

**kb**

| | Before | US | DE |
|---|---|---|---|
| 375px | <img
src="https://github.com/user-attachments/assets/cd4fb8d1-8827-4b1a-8d13-c2a5d4f97378"
width="200"> | <img
src="https://github.com/user-attachments/assets/2706ae24-3df8-4149-9a51-75abb0456734"
width="200"> | <img
src="https://github.com/user-attachments/assets/7afb8731-b487-4e48-ae83-a3a6bde36bee"
width="200"> |
| 1440px | <img
src="https://github.com/user-attachments/assets/3b2bdc17-fee7-4ec0-bd24-d35a0367a6ca"
width="300"> | <img
src="https://github.com/user-attachments/assets/479b03e6-6890-4714-bbbb-ab122f46e786"
width="300"> | <img
src="https://github.com/user-attachments/assets/252f4e0f-5bcc-4b43-aeda-784df9f000ca"
width="300"> |

## Review instructions

1. From a US IP, click the footer link on the www preview. The modal
opens.
2. From a non-US IP, see "Privacy Settings".

## Checklist

- [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: Danny White <3104761+dnywh@users.noreply.github.com>
2026-11-20 16:44:17 +09:00
Tylerandkodster28 c18904c171 kb: add how to use Drizzle with Supabase as just Postgres article (#53295)
## Problem

There aren't much guides on how to use Supabase as just Postgres and use
it with Drizzle.

## Solution

Adds a simple tutorial article in the KB for how to create an app with
Drizzle & TanStack, and use Supabase as just Postgres.


## Preview links


https://kb-git-tylershukert-devrel-615-drizzle-supabase-1159ba-supabase.vercel.app/kb/guides/setup-drizzle-with-postgres-and-tanstack-start

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

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

Make sure the tone and the content in general follow what we would want
within KB.

## 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: kodster28 <kody.jackson@supabase.io>
2026-11-20 15:37:10 +09:00
Miranda Limonczenko 1479013fd8 docs(guides): rework five how-to pages to the how-to template (#53650)
Closes DOCS-1614

## Problem
This PR is to apply the template to top-five low-hanging fruit pages --
ones that nearly match the template already and do not need to break out
new topics.

This PR also tests the template to see that it is working as expected.

## Solution

Apply the How-to Template to 5 how-to pages.


## Preview links

| Site | Live | Preview | Search for |
| --- | --- | --- | --- |
| Docs |
[/docs/guides/storage/analytics/creating-analytics-buckets](https://supabase.com/docs/guides/storage/analytics/creating-analytics-buckets)
|
[/docs/guides/storage/analytics/creating-analytics-buckets](https://docs-git-docs-howto-rework-easy-pages-supabase.vercel.app/docs/guides/storage/analytics/creating-analytics-buckets)
| Create an analytics bucket |
| Docs |
[/docs/guides/functions/debugging-tools](https://supabase.com/docs/guides/functions/debugging-tools)
|
[/docs/guides/functions/debugging-tools](https://docs-git-docs-howto-rework-easy-pages-supabase.vercel.app/docs/guides/functions/debugging-tools)
| Debug Edge Functions locally |
| Docs |
[/docs/guides/queues/consuming-messages-with-edge-functions](https://supabase.com/docs/guides/queues/consuming-messages-with-edge-functions)
|
[/docs/guides/queues/consuming-messages-with-edge-functions](https://docs-git-docs-howto-rework-easy-pages-supabase.vercel.app/docs/guides/queues/consuming-messages-with-edge-functions)
| Consume queue messages |
| Docs |
[/docs/guides/database/postgres/setup-replication-external](https://supabase.com/docs/guides/database/postgres/setup-replication-external)
|
[/docs/guides/database/postgres/setup-replication-external](https://docs-git-docs-howto-rework-easy-pages-supabase.vercel.app/docs/guides/database/postgres/setup-replication-external)
| Replicate to an external Postgres |
| Docs |
[/docs/guides/security/rotate-leaked-api-keys](https://supabase.com/docs/guides/security/rotate-leaked-api-keys)
|
[/docs/guides/security/rotate-leaked-api-keys](https://docs-git-docs-howto-rework-easy-pages-supabase.vercel.app/docs/guides/security/rotate-leaked-api-keys)
| Rotate a leaked API key |

## Review instructions

1. Open the live and preview links for each page side by side.
2. Check that each page opens with a value statement and ends with Next
steps.
3. Check that the code blocks and the Dashboard steps match the live
page.
4. On the debugging page, check that the steps run in order across the
two phases.
5. On the replication page, check that the code blocks and notes render
under the right steps and the numbering runs 1 to 5.
6. On the rotate page, check that the "Retire the compromised key" link
in Prerequisites still jumps to its heading.

## 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-11-19 15:01:05 -08:00
supabase-vercel-tedd[bot] 656aa60b20 docs(database): explain which role a security_invoker view checks (#53641)
## Problem

The "View security" section of the views guide explains
`security_invoker` but not which role is checked when the view is
queried through the Data API, or why a `security_invoker` view over
`auth` tables fails with every API key.

Related to
[FDBKIN-21897](https://linear.app/supabase/issue/FDBKIN-21897)
Closes [DOCS-1687](https://linear.app/supabase/issue/DOCS-1687)

## Solution

Adds two paragraphs of body text after the SQL example in "View
security" (`apps/docs/content/guides/database/views.mdx`). The existing
paragraph and SQL are unchanged.

- The first paragraph says that through the Data API, Postgres checks
the role from the request's API key or JWT (`anon`, `authenticated`, or
`service_role`). That role needs privileges, such as `select`, on every
table the view reads, not only on the view. Postgres logs show
`authenticator`, the role the Data API connects as, not the role the
view checks.
- The second paragraph says that by default, API roles have no
privileges on tables in the `auth` schema, so a `security_invoker` view
over `auth.users` fails with `permission denied for table users`, even
with a secret key. It points readers to storing user data in a `public`
table, with a link to the User management guide. It does not recommend
granting `auth` tables to any role.

Needs review: the text says "by default" for `auth` grants because older
projects may carry extra grants.

Checks run: `prettier --check` on the changed file and `pnpm turbo run
lint --filter='[origin/master]'` pass on the latest commit. `pnpm turbo
run typecheck --filter='...[origin/master]'` passed on the first commit;
the second commit changes only MDX prose. Docs tests were skipped
because they need a local Supabase stack (Docker).


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

---------

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-11-19 22:23:43 +00:00
supabase-vercel-tedd[bot] 58e0d8067d docs(rls): add an example for rows shared by two users (#53640)
## Problem

The RLS guide shows policies for rows that belong to one user
(`user_id`), but not for a row that two users share through two columns,
such as the buyer and the seller of an order.

Related to
[FDBKIN-27655](https://linear.app/supabase/issue/FDBKIN-27655)
Closes [DOCS-1686](https://linear.app/supabase/issue/DOCS-1686)

## Solution

Adds a `### Share rows between users` section to the RLS guide, between
"Write a policy for each operation" and "Specify roles in your
policies". The section spans operations, so it sits beside the
per-operation subsections, not among them. It has:

- An `orders` table with `buyer_id` and `seller_id`. RLS is enabled,
grants are revoked from `anon, authenticated`, and `select, update` are
granted to `authenticated`, following the page's grant pattern.
- A select policy and an update policy that both use `(select
auth.uid()) in (buyer_id, seller_id)`. The update policy uses the same
expression in `using` and `with check`, so the updated row must still
include the user as buyer or seller.
- A sentence on `insert` and `delete`: check only the user who can
create or remove the row, because a delete policy that checks both
columns lets one user remove the row for both.
- A note that this needs no `security definer` function, with a link to
"Use security definer functions" for checks against another table.
- A note to index `buyer_id` and `seller_id` separately, with a link to
"Add indexes".

No existing section is changed.

### Verification

- I ran the SQL in PGlite (Postgres 17) with an `authenticated` role, an
`auth.uid()` that reads `request.jwt.claim.sub`, and an index on each of
`buyer_id` and `seller_id`:
- Buyer: selects 1 row and updates 1 row. Setting both IDs to a third
user fails with `new row violates row-level security policy for table
"orders"`.
  - Seller: same as the buyer.
  - Another user: selects 0 rows and updates 0 rows.
- `explain select * from orders` with `enable_seqscan=off` shows a
`BitmapOr` over both indexes, with `auth.uid()` in InitPlans.
- `pnpm turbo run lint --filter='[origin/master]'` passes, with no
findings on the changed file.
- Prettier `--check` passes on the changed file.
- The page compiles with `@mdx-js/mdx`.
- `build:guides-markdown` could not run in the sandbox: it needs GitHub
credentials for federated content.

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

---------

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-11-19 22:23:39 +00:00
supabase-vercel-tedd[bot] 00c96d23f0 docs(auth): update Keycloak client settings to the current admin console (#53638)
## Problem

The Keycloak social sign-in guide still describes the legacy Keycloak
admin console: it tells readers to set "Access Type" to "confidential",
a field that no longer exists. The current console configures this under
**Capability config** with **Client authentication** and **Standard
flow**.

Related to [FDBKIN-4596](https://linear.app/supabase/issue/FDBKIN-4596)
Closes [DOCS-1684](https://linear.app/supabase/issue/DOCS-1684)

## Solution

In `apps/docs/content/guides/auth/social-sign-in/auth-keycloak.mdx`:

- **Overview list:** the client uses **Client type** **OpenID Connect**,
with **Client authentication** and **Standard flow** on under
**Capability config**. The secret bullet now says **Client Secret** on
the **Credentials** tab.
- **One client procedure:** merged "Create a Keycloak client" and
"Client settings" into one numbered procedure that follows the Create
client screens:
  1. **Clients** > **Create client**
  2. Set **Client type** to **OpenID Connect**
  3. Set **Client ID**, then **Next**
4. In **Capability config**, turn on **Client authentication** and leave
**Standard flow** on, then **Next**
5. In **Login settings**, add the callback URL to **Valid redirect
URIs**
  6. **Save**

Each step is an instruction. The labels match the Keycloak tab of the
self-hosted OAuth guide. The "Client settings" heading is gone, and
nothing in the repo links to its anchor.
- **Client secret:** "Obtain the client secret" says to copy the
**Client Secret** from the client's **Credentials** tab.
- **Screenshots:** removed every screenshot of the legacy console from
the page and deleted the files under
`apps/docs/public/img/guides/auth-keycloak/`, which nothing else
references:
  - `keycloak-create-realm.png`
  - `keycloak-add-client.png`
  - `keycloak-client-id.png`
  - `keycloak-redirect-uri.png`
  - `keycloak-client-secret.png`
  - `keycloak-openid-endpoint-config.png`

  No new screenshots are added.

Supabase Auth's Keycloak provider uses a confidential Authorization Code
flow (client secret plus code exchange). That flow needs Client
authentication and Standard flow, so the guide does not ask readers to
enable Direct access grants.

Unchanged: the `docker run` command and the text of the realm section.

Checks: `pnpm turbo run typecheck --filter='...[origin/master]'`, `pnpm
turbo run lint --filter='[origin/master]'`, and Prettier on the changed
MDX file all pass. The docs tests were skipped because they need Docker.

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

---------

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-11-19 22:23:33 +00:00
supabase-vercel-tedd[bot] 39295dd584 docs(api): explain that default privilege changes leave existing tables exposed (#53639)
## Problem

The Securing your API guide explains how to stop new objects in `public`
from getting Data API grants. It doesn't say that this only changes the
defaults for objects created later. Existing tables keep their grants
and stay reachable through the Data API.

Related to
[FDBKIN-41883](https://linear.app/supabase/issue/FDBKIN-41883)
Closes [DOCS-1685](https://linear.app/supabase/issue/DOCS-1685)

## Solution

Adds text to `apps/docs/content/guides/api/securing-your-api.mdx` and
rewrites no existing text:

- **Default privileges:** a new paragraph says that changes to default
privileges, including the platform default change, apply only to new
objects, so existing tables keep their grants and stay reachable through
the Data API. A per-table revoke follows it: `revoke all on table
public.your_table from anon, authenticated, service_role;`. A sentence
after it says that leaving out `service_role` keeps server-side access
with a secret key.
- **Revoke default privileges:** a new sentence says that existing
tables, sequences, and functions keep their current grants. It links to
the per-table revoke in `#default-privileges`.

Sources for the behavior:
- The Dashboard toggle's SQL (`buildDefaultPrivilegesSql` in
`packages/pg-meta/src/sql/studio/database/privileges.ts`) runs only
`alter default privileges … grant/revoke` statements. It runs no revoke
on existing tables.
- The Postgres docs for `ALTER DEFAULT PRIVILEGES` say it affects only
objects created later.
- `getting-started/api-keys.mdx` says that a secret key uses
`service_role`, which bypasses RLS but still needs table grants.
- Checked on PGlite (PostgreSQL 18.6). After `alter default privileges …
revoke all on tables`, a table created earlier kept its `anon`,
`authenticated`, and `service_role` grants, and a table created later
had none. After the per-table revoke, `has_table_privilege('anon',
'public.old_t', 'select')` returned false. With `service_role` left out
of the revoke, `service_role` still read an RLS-enabled table. With
`service_role` included, it got `permission denied`.

Checks run: `pnpm turbo run lint --filter='[origin/master]'` (0 errors),
`pnpm turbo run typecheck --filter='...[origin/master]'`, Prettier
`--check` on the changed file, and `pnpm -C apps/docs run
check:removed-anchors`. `pnpm build:guides-markdown` didn't run locally:
its federated-content step needs GitHub credentials. The docs tests
weren't run because they need Docker.

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

---------

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-11-19 22:23:30 +00:00
Miranda Limonczenko 81d5e239e2 docs(style-guide): add how-to guide template (#53648)
Closes DOCS-1608

## Problem

We do not have a template for the most common and important type of
content we have: the procedure.

## Solution

This PR introduces our first template: the how-to. This also includes
the scaffolding needed for all other templates, including a
template-selection table and wiring into our docs-writing skills.

## Preview links

The style guide isn't served by the docs site, so the table links the
changed files on `master` and on this branch instead.

| Site | Live | Preview | Search for |
| ---- |
-------------------------------------------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------------------------------------------------
| ------------------------- |
| Docs |
[03-page-structure.md](https://github.com/supabase/supabase/blob/master/apps/docs/style-guide/03-page-structure.md)
|
[03-page-structure.md](https://github.com/supabase/supabase/blob/docs/how-to-template/apps/docs/style-guide/03-page-structure.md)
| `Choose a template` |
| Docs | Not on `master` |
[templates/how-to-guide.md](https://github.com/supabase/supabase/blob/docs/how-to-template/apps/docs/style-guide/templates/how-to-guide.md)
| `How-to guide template` |

## Review instructions

1. Open `templates/how-to-guide.md` from the preview link and confirm
it's 80 lines or fewer and makes sense without other files.
2. Follow the new links in `03-page-structure.md`, the style-guide
README, and the three skills, and confirm each resolves.
3. Run `pnpm test:prettier` and confirm it passes.

## 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)
2026-11-19 10:59:37 -08:00
Riccardo Busetti 9437334289 feat(pipelines): Update docs and UI (#53665) 2026-11-19 11:27:04 +01:00
Timothy LimandClaude Sonnet 5.5 50efdde07d docs(platform): clarify SSO onboarding workflow for existing members (#53325)
- Move "Enabling SSO for an organization" after the account notes
- Explain which email to use for the non-SSO owner account
- Explain how to test SSO when your own account is already a non-SSO
member

## Problem

- The current getting "Enabling SSO for an organization" instructions
leaves off certain key points that can be blockers and cause confusion.

## Solution

- Add extra clarity around the steps including steps based on specific
scenarios.
- Move admonitions from "Enabling SSO for an organization" to the "How
SSO works in Supabase" section as they belong there not


## Review instructions

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

1. For example, `Open the live and preview links side-by-side.`
2. For example, `See the issue is fixed.`

## 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 `/review-the-docs`

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 07:35:34 +08:00
Mike Donnalley 6c8c25b4da fix(docs): show CLI flag defaults in the reference (#53647)
Show default values from the CLI spec on global and command flag rows.
For example, readers can see which format `--output-format` uses when
omitted. Skip empty defaults and omit `Default: false` for opt-in
switches such as `--debug`.

Only render a parameter type when one is supplied. This removes the
contradictory `no type` label beside CLI flags such as `--network-id
<string>` while preserving type labels in the API reference and
self-hosting guides.

This changes the renderer only. The generated CLI spec is published
separately.
2026-11-18 22:19:29 +00:00
supabase-vercel-tedd[bot] 8feb4a04a4 fix(docs): correct OpenCode MCP config, Python type examples, and small docs gaps (#53637)
## Problem

Several docs snippets and statements are wrong or incomplete:

- The OpenCode MCP config generated by `McpUrlBuilder` uses the old
shape (`mcp.supabase` with `enabled: true`). Current OpenCode config
expects servers under `mcp.servers.<name>` and uses `disabled` instead
of `enabled`, so the snippet does not register the server.
- The Python type generation guide builds Pydantic models with
`PublicMovies(m)`. `BaseModel` does not accept a positional dict, so the
example raises `TypeError`.
- The API keys page does not mention that the Data API OpenAPI root
(`GET /rest/v1/`) accepts only secret keys, so a publishable key gets a
401 there.
- The logs page says retention depends on the plan but does not give the
values.
- The Auth Hooks page names the Send SMS hook secret
`SEND_SMS_HOOK_SECRETS`, while the Send SMS hook page, the other hook
pages, and the self-hosting guide use the singular `..._HOOK_SECRET`.

## Solution

- `packages/ui-patterns/src/McpUrlBuilder`: OpenCode config now emits `{
"mcp": { "servers": { "supabase": { "type": "remote", "url": ... } } }
}`. Updated `OpenCodeMcpConfig`, `isOpenCodeMcpConfig`, and `getMcpUrl`
to match.
- `generating-python-types.mdx`: use `PublicMovies.model_validate(m)` in
the select, insert, and update examples.
- `getting-started/api-keys.mdx`: add a Known limitations bullet about
`GET /rest/v1/` requiring a secret key, with table routes or
`/auth/v1/health` as the check for a publishable key.
- `observability/logs.mdx`: add a per-plan retention table (Free 1 day,
Pro 7 days, Team 28 days, Enterprise 90 days), matching
`packages/shared-data/pricing.ts`.
- `auth/auth-hooks.mdx`: rename `SEND_SMS_HOOK_SECRETS` to
`SEND_SMS_HOOK_SECRET`.

Checks run: `pnpm turbo run typecheck --filter='...[origin/master]'`
(passed, run with `--concurrency=1` after the first run was OOM-killed),
`pnpm turbo run lint --filter='[origin/master]'` (passed, no errors),
`vitest run src/McpUrlBuilder` in `packages/ui-patterns` (37 passed),
and Prettier on changed files. Docs tests were skipped because they need
Docker.

## Review instructions

1. On the docs preview, open `/docs/guides/getting-started/mcp`, select
OpenCode, and confirm the config shows `mcp.servers.supabase` with
`type: "remote"` and the URL, and no `enabled` field.
2. Open `/docs/guides/ai-tools/mcp`, select OpenCode, and confirm the
same config.
3. Open `/docs/guides/api/rest/generating-python-types` and confirm the
select, insert, and update examples use
`PublicMovies.model_validate(m)`.
4. Open `/docs/guides/getting-started/api-keys#known-limitations` and
confirm the bullet about `GET /rest/v1/` accepting only secret keys.
5. Open `/docs/guides/observability/logs` and confirm the retention
table lists Free 1 day, Pro 7 days, Team 28 days, Enterprise 90 days.
6. Open `/docs/guides/auth/auth-hooks` and confirm the Send SMS examples
use `SEND_SMS_HOOK_SECRET`, not `SEND_SMS_HOOK_SECRETS`.

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

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-11-18 20:46:10 +00:00
UltronandKody Jackson 9006cd43dc docs: fix article error in pgTAP guide (#53397)
## Problem

In `apps/docs/content/guides/database/extensions/pgtap.mdx:14`, the
pgTAP description reads "It is an framework …". "framework" starts with
a consonant sound, so the article should be "a".

## Solution

Change "an framework" to "a framework". Docs-only change, no behavior
change.

Fixes #53396

Co-authored-by: Kody Jackson <kody.jackson@supabase.io>
2026-11-18 19:57:02 +00:00
Kody JacksonandClaude Sonnet 5.5 3da15da39a chore(docs) - fix missing imports for supabase server + remove comment from snippet (#53635)
## Problem

Missing imports + a comment that prevents easy copy / paste in the edge
functions quickstart.

Both of these actually caused the Edge Functions quickstart to fail /
not work as intended.

## Solution

Adds imports + removes comment

## Preview links


https://docs-git-kody-devrel-874-quickstart-error-codes-a3bfdf-supabase.vercel.app/docs/guides/functions/quickstart

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 13:08:46 -06:00
Lukas BernertandClaude Opus 5.5 ea600239ce docs: link account MFA guide to the lockout troubleshooting guide (#53592)
## Problem

The [account MFA
guide](https://supabase.com/docs/guides/platform/multi-factor-authentication#enable-mfa)
says Supabase can't restore access if you lose all your MFA credentials.
That conflicts with the rewritten troubleshooting guide in
supabase/troubleshooting#368, which walks users through recovery codes,
a second authenticator app and contacting support.

## Solution

Replace the caution under **Enable MFA** with a short paragraph. It
recommends a second authenticator app and saved recovery codes, then
links to the troubleshooting guide for users who can't complete the MFA
step.

## Review instructions

1. Open `/docs/guides/platform/multi-factor-authentication#enable-mfa`
in the docs preview.
2. Check that the "we will not be able to restore access" caution is
gone and the new paragraph links to the troubleshooting guide

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 18:17:54 +01:00
Kody JacksonandClaude Sonnet 5.5 671c94e868 chore(docs,kb) - Update 301 destinations to final resolution + fix some 404s (#53553)
## Context

Lots of links that initially go to 301's within docs / kb. Updates these
to their resolved target.

Ask your Claude Code to review the new destinations programmatically.

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 15:10:08 +00:00
Kody JacksonandClaude Sonnet 5.5 ceae23e199 docs: add cross-links in guides (AI, API, Auth, Database, Functions, deployment) (#53560)
## What

Adds internal cross-links to docs guides

## Testing

- Prettier passes on the changed lines.
- Docs build passes (`pnpm build --filter=docs`).
- Docs link e2e run locally against the production build for every
changed page across this PR

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:57:10 -06:00
Kody JacksonandClaude Sonnet 5.5 8d6d27ae4a docs: add cross-links in guides (getting started, platform, storage, and others) (#53561)
Adds internal cross-links to docs guides

## Testing

- Prettier passes on the changed lines.
- Docs build passes (`pnpm build --filter=docs`).
- Docs link e2e run locally against the production build for every
changed page across this PR.

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:56:46 -06:00
edb2937b44 feat: update mgmt api docs (#53136)
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: phamhieu <689843+phamhieu@users.noreply.github.com>
Co-authored-by: Ali Waseem <waseema393@gmail.com>
2026-11-18 14:50:58 +00:00
Pamela Chia 27578cdfb5 fix(telemetry): send search query shape instead of raw text (#53500)
Search telemetry sent whatever people typed, and search boxes are a
place where people paste credentials and personal data. I replace the
raw text with a description of it. #53336 added the raw `query` to
`kb_search_submitted`; docs search and the command menu already sent it.

**Changed:**
- **I send a description of the search term**: `kb_search_submitted`,
`docs_search_v2_search_submitted`, `docs_search_v2_result_clicked` and
`command_menu_search_submitted` now send `queryLength` and
`queryWordCount`, measured after trimming and collapsing repeated
whitespace.
- **Text only for keywords**: the term itself (`query`, `value`, and
`search_query` on `command_menu_command_clicked`) is sent only when it
is up to 4 letters-only parts of at most 16 letters each, 40 characters
in total. Keys, tokens, emails, IDs, project refs and connection strings
never match. Over the last 30 days that shape covers about 96% of
command menu searches, 88% of docs searches and 73% of KB searches, so
term-level analysis such as no-result queries keeps most of its data.
- **I removed `keywords` from the auth users search event**:
`auth_users_search_submitted` no longer carries it. Those terms identify
customers' end users, and I confirmed nothing downstream reads them.
- **The `keywords` URL parameter is redacted wherever telemetry copies a
URL**: the Auth users page keeps the search term in its URL, so I
replace the value with `keywords=redacted` in the page URL, query string
and referrer we send, and in the posthog-js `before_send` hook for the
URL properties the SDK fills in on its own (`$session_entry_url`,
`$initial_current_url`, `$referrer`, `$initial_referrer`). The URL in
the browser is unchanged.

**Note:** a letters-only name or passphrase still matches the keyword
shape, and longer questions lose their text. I opened this in place of
#53435, which removed `query` from the KB event only.

## To test

Tested on the PR previews (docs, kb, studio-staging), reading the
request bodies sent to `/platform/telemetry/event`:
- [x] Docs: open search and type `auth`, expect
`docs_search_v2_search_submitted` with `query: "auth"`, `queryLength: 4`
and `queryWordCount: 1`. Observed exactly that, with `hasResults: true`.
- [x] Docs: type `person@example.com`, expect the same event with
`queryLength: 18` and no `query`. Observed, and no telemetry body in
that step contained the address.
- [x] KB: search `how do I reset my database password`, expect
`kb_search_submitted` with `queryLength: 35`, `queryWordCount: 7` and no
`query`. Observed.
- [x] KB: search `storage policies` with two spaces, expect
`kb_search_submitted` with `query: "storage policies"` and `queryLength:
16`. Observed, with `queryWordCount: 2`.
- [x] Studio: open the command menu and type `abcdefghijklmnopqrst`,
expect `command_menu_search_submitted` with no `value`, then type `auth`
and expect `value: "auth"`. Observed both, with `queryLength` 20 and 4.
- [x] Studio: on Auth > Users, search `person@example.com`, expect
`auth_users_search_submitted` with no `keywords`. Observed: `trigger`,
`sort_column`, `sort_order`, `providers` and `filter_column` only.
- [x] Studio: with `?keywords=person%40example.com` in the Auth > Users
URL, reload, then trigger an event on the page, expect `page_url` and
`ph.search` in the request body to carry `keywords=redacted` and the
address bar to keep the real term. Observed on all three events from
that page, and the address bar kept the term.
- [x] Studio: from that URL, do a full page load to another project page
and trigger an event, expect `ph.referrer` to carry `keywords=redacted`
while `document.referrer` keeps the real term. Observed on all three
events from the new page.
- [x] Studio: after that session, query the staging analytics project
for events from the preview host, expect no property value to carry the
address or anything but `keywords=redacted`. Observed: none of the
events in the test window carried the address, and the SDK's own `$set`,
`$pageview` and `$pageleave` events arrived with `keywords=redacted` in
`$current_url`, `$referrer` and `$initial_current_url`. The session
started on a page without the parameter, so `$session_entry_url` was not
exercised here; the unit test on the `before_send` hook covers it.

## Linear
- fixes GROWTH-1501
2026-11-18 23:29:35 +09:00
supabase-cli-releaser[bot]andgithub-actions[bot] 7f4c69f149 chore: update cli reference doc (#53463)
Updates the CLI reference from the supabase/cli release workflow.

Generated by `scripts/generate-docs-spec.ts` in supabase/cli — edit the
command tree or the content under `apps/cli/docs/` there rather than
this
file.

New commands also need an entry in
`apps/docs/spec/common-cli-sections.json` —
without one a command's page is silently dropped from the docs site.
Sections fixes can be committed directly onto this branch — later
releases
add commits on top instead of rewriting it.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-18 15:21:17 +02:00
Jeremias Menichelli 2679dc3916 chore: Moar test fixes (#53610)
## Problem

Describe what went wrong or what need emerged to justify this bug fix,
feature, or change.
Link any relevant issues here.

## Solution

Provide a brief description of the change and the key choices you made
when architecting the solution.
Feel free to include screenshots if it includes visual changes.

<!--
## 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. For example, `Open the live and preview links side-by-side.`
2. For example, `See the issue is fixed.`

## 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)
2026-11-18 14:01:14 +01:00
Jeremias Menichelli a4588620fe chore: Update route.smoke.test.ts (#53603) 2026-11-18 06:41:18 -06:00
Jeremias Menichelli bd52aac36a test: Update titles on smoke tests for crawlers (#53599)
## Problem

After unblocking smoke tests, discovered some out of date assertions.

## Solution

Fix assertions.

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

_Pray for smoke tests Gods._

## 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-11-18 12:52:43 +02:00
Andrey A. 1b5d89f78a fix(self-hosted): turn off CORS on the Studio routes at the API gateway (#53546) 2026-11-18 10:51:51 +01:00
Andrey A. f80095cd92 docs(self-hosted): add a guide for configuring the OAuth 2.1 server (#53544) 2026-11-18 10:51:22 +01:00
Andrey A. ec0c3f3762 fix(self-hosted): open the OAuth 2.1 server endpoints at the API gateway (#53542) 2026-11-18 10:51:03 +01:00
Mike Donnalley 6dde7610f1 docs: remove CLI example response blocks (#53557)
## Summary

Remove the Response heading and sample-output code block from CLI
reference examples. Keep the example tabs, invocation code blocks, and
existing two-column layout unchanged.

Companion to https://github.com/supabase/cli/pull/7677, which removes
sample responses from the generated CLI reference. The generated YAML is
not included in this change.
2026-11-17 19:36:24 -07:00
Rodrigo Mansueli f78870c053 chore: Add Fallon Petty to humans.txt (#53565)
## Problem

Describe what went wrong or what need emerged to justify this bug fix,
feature, or change.
Link any relevant issues here.

## Solution

Provide a brief description of the change and the key choices you made
when architecting the solution.
Feel free to include screenshots if it includes visual changes.

<!--
## 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. For example, `Open the live and preview links side-by-side.`
2. For example, `See the issue is fixed.`

## 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)
2026-11-17 21:33:41 +00:00
Alexis Aguilar d9f2eb48de docs(cli): correct secure_password_change and add require_current_password (#53249)
## Problem

The CLI config reference describes `auth.email.secure_password_change`
as a setting that requires the user's current password. Auth maps it to
`GOTRUE_SECURITY_UPDATE_PASSWORD_REQUIRE_REAUTHENTICATION`, which asks a
user to reauthenticate when their session is more than 24 hours old.
Requiring the current password is a separate setting.

The CLI added a key for that setting,
`auth.email.require_current_password`, in supabase/cli#7458, and the
config reference doesn't list it.

Resolves [FDBKIN-46120](https://linear.app/supabase/issue/FDBKIN-46120)
and [FDBKIN-46121](https://linear.app/supabase/issue/FDBKIN-46121), from
supabase/supabase#52546 and supabase/supabase#52547.
[CLI-1921](https://linear.app/supabase/issue/CLI-1921) tracks the CLI
change.

## Solution

- `auth.email.secure_password_change` describes reauthentication: the
24-hour session window and the nonce that `reauthenticate()` sends. It
points to `require_current_password` for the other behavior.
- `auth.email.require_current_password` is a new entry. A user sends
their current password as `current_password`, and a password recovery
flow skips the check.
- Both entries link to their section of the password security guide, in
place of the generic Auth server reference.

The behavior comes from `internal/api/user.go` in supabase/auth:
reauthentication applies when `session.CreatedAt` is more than 24 hours
old, and the current-password check is skipped when
`session.IsRecovery()`.

## Preview links

| Site | Live | Preview | Search for |
| -- | -- | -- | -- |
| Docs |
[/docs/guides/local-development/cli/config](https://supabase.com/docs/guides/local-development/cli/config#auth.email.secure_password_change)
|
[/docs/guides/local-development/cli/config](https://docs-git-alexisa-fdbkin-46120-supabase.vercel.app/docs/guides/local-development/cli/config#auth.email.require_current_password)
| `require_current_password` |
2026-11-17 19:44:33 +00:00
Jeremias Menichelli f920456c3f feat: Improve kb search to be on pair with docs search v2 (#53454)
## Problem
though they use the same package and were conceived to be 1-1, search v2
in Docs and Kb search have some differences:
- Docs new search function is more complex to prevent no results,
improvements kb search hasn't seen. For example, when you look for
"passwor", incomplete term, Docs return results around the password
term, but kb doesn't **(see screenshot below)**.
- On kb side, we have a `content=true` parameter to fetch markdown
content from results to serve some agentic tools, but Docs search never
received that upgrade. Fair to say, in docs we are not covering all
routes in markdown at the moment so it's not 100% reliable, but whenever
we reach that, we can switch to use this search endpoint for MCP
tooling.
 
<img width="1512" height="867" alt="Screenshot 2026-11-16 at 13 06 08"
src="https://github.com/user-attachments/assets/99baa772-d4b1-4d73-bfa7-7110d5635f0a"
/>

## Solution

- Add a migration file on kb search table to match docs search SQL
function.
- Add `content=true` parameter to docs search

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

- To test kb new search function, you would have checkout this branch,
to spin locally kb search migration and search, other way we need to
wait for merging and testing. It's important Supabase integration
returns _green_ here to make sure migrations run safely.
- For docs search new parameter. Open the preview for docs in this
branch:
1. Open the search modal, and open your browser's dev tools, go to the
network tab
   1. Do a search, grab the URL and open it in a new tab
   1. Add `content=true` and `limit=3` as query prameters
1. You should get back three results with a content property containing
the markdown content of each route (see example below)
   
<img width="1273" height="793" alt="Screenshot 2026-11-16 at 13 12 32"
src="https://github.com/user-attachments/assets/d1af4663-e17e-438e-99ac-4e63f51460a9"
/>


## 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-11-17 16:55:36 +01:00
anthony lio a4c9fc145e fix(docs): sidebar wrapped rows (#53508)
## Problem

- in the new docs navigation (`docs-ia-mvp-v1=option-1`), a label that
wraps in an expandable sidebar row is centered, for example
`Architecture, limits and pricing` on the realtime pages in a narrow
window
- a section row has a fixed height so a two-line label such as `REST,
GraphQL and Realtime APIs` has no space above or below it

## Solution

- fixes the alignment of wrapped labels in expandable rows, because a
`button` centers its text by default
- changes the section rows so it grows when its label wraps
- adds a two-line limit to the section row labels, so a longer label
ends with an ellipsis
- changes the expandable rows in the page tree from 36px to 32px, so
they match the link rows

| before | after |
|
---------------------------------------------------------------------------
|
--------------------------------------------------------------------------
|
| <img width="267" height="248" alt="image"
src="https://github.com/user-attachments/assets/09f27102-8d4d-471b-bde2-83adec5d6623"
/> | <img width="267" height="248" alt="image"
src="https://github.com/user-attachments/assets/cb0259ba-86ff-484d-844b-b6fce597d6e1"
/> |

## Preview links

| Site | Live | Preview | Search for |
| ---- |
-------------------------------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
| ---------------------------------- |
| Docs |
[/docs/guides/realtime?docs-ia-mvp-v1=option-1](https://supabase.com/docs/guides/realtime?docs-ia-mvp-v1=option-1)
|
[/docs/guides/realtime?docs-ia-mvp-v1=option-1](https://docs-git-fix-docs-sidebar-wrapped-rows-supabase.vercel.app/docs/guides/realtime?docs-ia-mvp-v1=option-1)
| `Architecture, limits and pricing` |

## Review instructions

1. open
[/docs/guides/realtime?docs-ia-mvp-v1=option-1](https://docs-git-fix-docs-sidebar-wrapped-rows-supabase.vercel.app/docs/guides/realtime?docs-ia-mvp-v1=option-1)
2. make the window narrower until `Architecture, limits and pricing`
wraps in the sidebar
3. make sure that the label is left-aligned and that its chevron is on
the first line
4. click the back button at the top of the sidebar to open the `Build`
list
5. make sure that the `REST, GraphQL and Realtime APIs` row is taller
than the other rows, and that its icon and chevron are on the first line
6. make sure that each one-line row is 32px tall and that its icon is
level with its label
7. open the menu at a phone width, and make sure that its rows did not
change

## 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-11-17 17:35:26 +02:00
Kody JacksonandClaude Sonnet 5.5 e20bf8829c chore(studio,docs,www) - update [YOUR-PASSWORD] to be [YOUR-DATABASE-PASSWORD] for semantics + subsequent search terms (#53531)
## Problem

Flavor of #41370 , but we can see that at least some traffic for this
search query is searching using phrases like `supabase password reset`
and `supabase password` and then accidentally find themselves on the
`/docs/guides/auth/passwords` page.

You can see this through user flow mappings in PostHog + also in search
query traffic in Google Search Console.

<img width="1261" height="669" alt="image"
src="https://github.com/user-attachments/assets/70af109c-dbc8-42c2-887a-63133f3f82d5"
/>

<img width="1128" height="669" alt="image"
src="https://github.com/user-attachments/assets/52358d87-55a8-4491-ad26-a0d390ebe55b"
/>

## Solution

Renames the placeholder across docs / studio / www to
`[YOUR-DATABASE-PASSWORD]` and adds an admonition to the current
`/docs/guides/auth/passwords` to direct folks to the correct place.

Might also be a UX fix in the dash.... but poking into it feel like we
already have a lot of affordances there already (`Reset database
password` button on the direct connection panel + quick search action
for `Reset database password`).

## Preview links

### Studio


`https://studio-staging-obj7agk56-supabase.vercel.app/dashboard/project/$PROJECT?showConnect=true&connectTab=direct`

<img width="1128" height="801" alt="image"
src="https://github.com/user-attachments/assets/420c8582-97bd-45ff-914e-ea9bb25aed91"
/>

### Docs


https://docs-git-kody-devrel-866-database-password-placeholder-supabase.vercel.app/docs/guides/auth/passwords

<img width="838" height="463" alt="image"
src="https://github.com/user-attachments/assets/c4bb0242-6ff7-4de7-90c7-386818649209"
/>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 09:27:56 -06:00
supabase-vercel-tedd[bot] 91a6bd3bfb chore(docs): add Alex Venter to humans.txt (#53521)
## Problem

`apps/docs/public/humans.txt` is missing a team member.

## Solution

Adds `Alex Venter` to the team list, in alphabetical order between `Alex
Ives` and `Alexander Alexandrov`. No other changes.

## Review instructions

1. Open `/docs/humans.txt` on the docs preview.
2. Check that `Alex Venter` appears between `Alex Ives` and `Alexander
Alexandrov`.

Verified with `git diff` (one added line). The file is plain text, so
the typecheck, lint, and prettier checks do not apply to it.

## Checklist

- [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: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-11-17 08:15:50 -06:00
Kody JacksonandClaude Sonnet 5.5 2445edf11f chore(www) - SEO tweaks (verbiage + h1 tweaks on products pages) (#53374)
## Problem

- Current `/product` pages could use a bit of SEO optimization for terms
- Current product pages include marketing copy within the H1
- Few other tweaks in docs.

## Solution

Moves marketing subtitles out of the `/database` / `/compute` / etc h1s.

Updates a few keywords based on seo data within pages + docs

## Preview links

| Before | After |
| --- | --- |
| [/database](https://supabase.com/database) |
[/database](https://zone-www-dot-com-git-kody-devrel-861-seo-term-t-9418b2-supabase.vercel.app/database)
|

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 07:58:18 -06:00
Andrey A. cf37022b6b fix(self-hosted): sandbox Storage, REST and Functions responses at the API gateway (#53466) 2026-11-17 12:07:23 +01:00
Riccardo Busetti 2a9b02a99a feat(docs): Improve Pipelines docs and UI (#53450) 2026-11-16 16:25:00 +00:00
Kody JacksonandClaude Sonnet 5.5 39cf54f3c4 docs: add cross-links to related guides and references (#53384)
## What

Adds internal cross-links where a page mentions a product, feature, or
concept that has its own canonical page. This PR covers docs guides
under `apps/docs/content/guides`, excluding the shared partials
(separate PR).

## How links were chosen

- One canonical target per keyword, preferring docs guides over
marketing or blog pages for docs content.
- Only plain prose mentions: nothing inside headings, code, frontmatter,
existing links, or UI labels.
- One link per sentence, and no second link to the same target on a
page.

## Testing

- Prettier passes on all changed files.
- Not yet run: docs build and internal link test, KB build. Draft until
those are checked.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 09:59:49 -06:00
Kody JacksonandClaude Sonnet 5.5 80a8b3a7d2 docs: add cross-links in shared partials + fix broken links flagged by e2e (#53383)
## What

Adds internal cross-links where a page mentions a product, feature, or
concept that has its own canonical page. This PR covers the two shared
docs partials, so each link appears once in source and propagates to
every page that includes the partial (the social-login setup pages and
the quickstarts).

## How links were chosen

- One canonical target per keyword, preferring docs guides over
marketing or blog pages for docs content.
- Only plain prose mentions: nothing inside headings, code, frontmatter,
existing links, or UI labels.
- One link per sentence, and no second link to the same target on a
page.

## Testing

- Prettier passes on all changed files.
- Not yet run: docs build and internal link test, KB build. Draft until
those are checked.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 09:42:28 -06:00
Miranda Limonczenkoandcoderabbitai[bot] 33c8ab1dbf feat(docs): keep a forced Option 1 for the browser session (#53381)
Part of DOCS-1474

## Problem

Someone dogfooding the new navigation opens `?docs-ia-mvp-v1=option-1`,
clicks a link, and sees today's navigation again.

The override lives only in the URL. Links do not carry the query string,
so the first click drops it. Everyone who uses the override link is
affected, including people outside the PostHog rollout.

## Solution

- **Save the override:** a forced variant is saved in `sessionStorage`
and read on later pages. Closing the tab clears it.
- **Read it before paint:** the head script reads the saved override, so
a full reload does not flash today's navigation.
- **Keep exposure clean:** a saved override records no PostHog exposure,
the same as a URL override.
- **Switch back:** `?docs-ia-mvp-v1=control` replaces the saved value.

**Priority:** the URL wins over the saved override. The saved override
wins over the PostHog value.

**Not changed:** the `/docs/ia/option-1/…` rewrite that the evals use,
and how PostHog assigns visitors.

**Tests:** `vitest run features/IaNav` passes, 7 files and 32 tests.
Three of the four new tests failed before the change. The fourth, a URL
`control` over a saved `option-1`, passed before and guards the
priority.

**Unverified:** typecheck, ESLint, and the steps below. `tsc` reports no
errors in `IaNav`, but this worktree has no generated GraphQL types.
ESLint did not run.

## Manual testing

1. Open the deploy preview at `/docs?docs-ia-mvp-v1=option-1`. The top
nav shows "Run and manage".
2. Click any guide link. The nav still shows "Run and manage".
3. Reload the page. The nav shows "Run and manage" with no flash of
today's navigation.
4. Open `/docs?docs-ia-mvp-v1=control`, then click any guide link. The
nav shows today's navigation and keeps it.

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-11-13 12:12:07 -08:00
Musa Jundi 03e2726f32 docs: add Musa Jundi to humans.txt (#53240)
## Problem

Add Musa Jundi to the Supabase team list.

## Solution

Insert name into sorted list in `apps/docs/public/humans.txt`.

## Review instructions

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

1. Check that my full name, Musa Jundi, is added in alphabetical order
in `humans.txt`.

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
2026-11-13 16:34:51 +00:00
anthony lio 22ea45a3ba feat: getting started v2 (#52511)
## Problem

* the getting started page is a stack of content listings: an overview,
use cases, framework quickstarts and tutorials
* a new reader must find a path in that list, and the page gives no
commands or agent prompt for their setup

## Solution

* adds a stepper to the getting started page, so a reader gets the steps
and an agent prompt for their setup
* adds the `docs-getting-started-v2` posthog flag, so the stepper and
the current page can run as an a/b test
* adds events for stepper choices, link clicks and prompt copies, so the
test can compare the two pages
* adds a markdown export of the stepper, so the `.md` page lists every
path for agents
* moves the iso shapes from kb into `ui-patterns`, so the docs feature
cards use the same shapes as the kb heroes
* changes the edge functions shape to a flat puzzle piece, because the
old shape had too many parts

<!-- linear:table-colwidths:397,397 -->
<table>
<thead>
<tr>
<th>state</th>
<th>preview</th>
</tr>
</thead>
<tbody>
<tr>
<td>after</td>
<td>


https://github.com/user-attachments/assets/7127d817-4240-4d08-a1c9-6ada1b1b2563

</td>
</tr>
</tbody>
</table>

## Review instructions

1. open
[/docs/guides/getting-started?docs-getting-started-v2=stepper](<https://docs-git-docs-getting-started-explorations-supabase.vercel.app/docs/guides/getting-started?docs-getting-started-v2=stepper>)
and make sure that the stepper shows with agent selected
2. select next.js and the auth card, then make sure that the setup
prompt names next.js and has a step for auth
3. open
[/docs/guides/getting-started?docs-getting-started-v2=stepper&start=cli&fw=nextjs](<https://docs-git-docs-getting-started-explorations-supabase.vercel.app/docs/guides/getting-started?docs-getting-started-v2=stepper&start=cli&fw=nextjs>)
and make sure that connect your app shows the install command and the
quickstart button

## 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-11-13 17:46:38 +02:00