Commit Graph
8742 Commits
Author SHA1 Message Date
Anthony Lio 942246995a feat(ui-patterns): toc disclosure (#51651)
## Problem

as highlighted in
[#51565](https://github.com/supabase/supabase/pull/51565#discussion_r4260820836)
we are lacking toc on mobile

## Solution

this is a proposal to add a toc disclosure for mobile breakpoint

| state | preview |
| -------|------|
| after | <img width="1492" height="618" alt="image"
src="https://github.com/user-attachments/assets/cc4d174f-47ee-499c-af6d-8f62a2edf25a"
/> |
| after | <img width="1492" height="618" alt="image"
src="https://github.com/user-attachments/assets/ef76288a-3e28-45fa-9a22-0af84247798b"
/> |

<!--
## 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. visit `/docs/guides/observability/advanced-log-filtering`
2. decrease screen size or use mobile

## 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-23 20:17:26 +03:00
Joey Lei 8679b0b4d3 docs: remove Log Query enforcement date from manage-usage page (#52188)
## Summary
- The Log Query usage page stated enforcement (allowance cap +
degraded-state consequences) would start "at the start of 2027." Per
yesterday's revised logs-pricing plan, Log Query enforcement is being
rolled back/deferred: usage stays tracked, but no cap or enforceability
lands with the January 2027 launch. Log Ingestion is unaffected and
keeps its original timeline (not touched by this PR).
- Updated the "Not yet enforced" admonition to drop the specific date
and state that a timeline will be announced before enforcement takes
effect.
- Changed "A concrete walkthrough" from literal January-April month
names to relative Month 1-4 labels, so the illustrative mechanics no
longer imply an imminent start date.

## Context
Related to the O11Y team's logs-pricing rollout; this is the docs-side
follow-up to the decision to roll back Log Query enforcement while Log
Ingestion proceeds as planned.

## Test plan
- [ ] Preview the `logs-query` guide page and confirm the admonition and
walkthrough read correctly
- [ ] Confirm `logs-ingest.mdx` is unchanged (Ingestion timeline
unaffected)
2026-10-23 09:22:44 -07:00
Kody Jackson c7ec6a1166 [docs] - remove outdated from heroku.mdx guide (#52236)
## Problem

link no longer resolves

## 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.
2026-10-23 10:10:50 -05:00
Maksym Ionutsa b6c2018af1 Docs: free plan read only tweaks (#52212)
## Problem

The Free Plan section of the database size guide describes read-only
mode incorrectly:

## Solution

The changes are in one file,
`apps/docs/content/guides/platform/database-size.mdx`. The PR has three
commits, one change type each, so you can review them one at a time:

1. **Style:** fixes two typos and changes "auto-scale" to "autoscale",
as the word list requires.
2. **Correction:** rewrites the Free Plan section:
   - Read-only mode starts at 95% disk usage and stops below 95%.
- The 500 MB quota is a billing quota, with a link to the existing Fair
use section.
- A `danger` admonition says that read-only mode is best effort and that
a full disk stops Postgres.
- Recovery steps: upgrade to the Pro Plan, restart the project, and wait
about 10 minutes.
3. **Addition:** adds a "Write Ahead Log (WAL) on the Free Plan"
subsection. It explains how bulk writes and inactive replication slots
make WAL grow, and how to keep WAL small.

No heading is renamed or removed, so all existing anchors still resolve.

## Preview links

| Site | Live | Preview | Search for |
| ---- | ---- | ------- | ---------- |
| Docs |
[/docs/guides/platform/database-size](https://supabase.com/docs/guides/platform/database-size#free-plan-behavior)
|
[/docs/guides/platform/database-size](https://docs-git-docs-free-plan-read-only-supabase.vercel.app/docs/guides/platform/database-size#free-plan-behavior)
| best-effort safeguard |

## 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-23 15:28:11 +02:00
Wen Bo Xie 61058a579a docs: describe personal access tokens as scoped (#52217)
## Problem

The [Personal Access Tokens
guide](https://supabase.com/docs/guides/platform/personal-access-tokens)
says tokens "come in two flavors: Classic tokens … Scoped tokens." The
Select Rewind blog post, the new Personal Access Tokens feature page,
and the launch community posts deliberately avoid that split. They
describe a token as something you scope and treat the full-access token
as an exception you can still create. Readers who follow "see the
Personal Access Tokens documentation" from those pieces land on the
opposite framing.

Three other guides that link to the PAT page also call it a "scoped
personal access token" as if it were a separate product.

## Solution

This PR rewrites the PAT guide around scoping as the default and stops
using "classic" and "scoped" as names for kinds of token. "Scoped"
appears only as a verb or a state ("scope a token", "scoped by
default"). "Legacy" appears only as the literal Dashboard badge.

- **`guides/platform/personal-access-tokens.mdx`**
- Replaces the two-flavors list with an intro that explains scoping
first and the full-access exception (shown with the **Legacy** badge)
second.
- Renames "Create and use a scoped personal access token" to "Scope a
token and use it" and "Use a scoped personal access token with the
Supabase CLI" to "Use a token with the Supabase CLI".
- **`guides/ai-tools/mcp.mdx`**,
**`guides/getting-started/api-keys.mdx`** and
**`guides/deployment/managing-environments.mdx`** reword "scoped
personal access token" to describe a state rather than a token type.
- **`spec/sections/generateAccessControlPartials.mts`** changes the MCP
tools fallback label from "Not available to scoped personal access
tokens" to "Not available to personal access tokens with a scope".
Because no tool hits this branch today, the generated partials don't
change.

The permissions, CLI behavior, `sbp_fc` prefix and examples stay the
same.

## 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-23 15:06:21 +02:00
Johan Bergström a58bb832c6 feat(docs): show guides sidebar on Management API introduction
The sidebar for the management api introduction is eating into the main
content unfairly given its amount of importance (three links). Also, most
of our content has a richer sidebar with more ways to interact.

What started as an attempt to give more space for the main content in
the management api introduction turned into an attempt to standardize
the sidebar similar to how its being used on other pages.

The "Additional links" now live in the sidebar and fall back to a list
under the article below the md breakpoint.

PR: https://github.com/supabase/supabase/pull/52107
2026-10-23 11:17:39 +01:00
Illia Basalaiev 2f548a69a3 docs(postgis): link to the Security Advisor troubleshooting guide (#51439)
## 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?

New troubleshooting guide on Security Advisor flagging spatial_ref_sys
and other PostGIS objects in the public schema

## What is the current behavior?

## What is the new behavior?

New guide PR: https://github.com/supabase/troubleshooting/pull/339 

Link to the guide preview:
- [Security Advisor flags spatial_ref_sys and other PostGIS objects in
the public
schema](https://docs-git-docs-troubleshooting-postgis-security-advisor-supabase.vercel.app/docs/guides/database/extensions/postgis#security-advisor-flags-publicspatialrefsys)
2026-10-23 08:19:21 +00:00
Joanna Lisiewicz 0f128212a7 add-my-name-tu-humans (#52080)
## 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-10-22 13:45:40 -07:00
Glauber CostaandClaude Sonnet 4.6 6177c10b60 chore(docs): add Glauber Costa to humans.txt (#52098)
## Summary

- Adds Glauber Costa to `apps/docs/public/humans.txt` in the correct
alphabetical position (between Giuseppe Mandato and Gonzalo Servat)

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

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-10-22 13:44:10 -07:00
Alexis Aguilar 8a78b7e5be docs: call Edge Functions from Postgres with the secret key (#51990)
Found during my dogfooding project :)

## Problem

Three guides give conflicting guidance on how Postgres should
authenticate when it calls an Edge Function:

- **Securing Edge Functions:** calls from `pg_net` and cron jobs send
the secret key on `apikey`, with `auth: 'secret'` and `verify_jwt =
false`. The Dashboard agrees: the webhook and cron job forms only offer
**Add secret key**.
- **Scheduling Edge Functions:** the only example that stores a key in
Vault sends the publishable key. A request with only the publishable key
passes the `verify_jwt` check, so anyone who has that public key can
call the function.
- **Database Webhooks:** doesn't cover calling an Edge Function or
authenticating to it. Its SQL example writes headers inline, so a
webhook created in a migration puts the secret key in a committed file.

Resolves [DOCS-1458](https://linear.app/supabase/issue/DOCS-1458),
[FDBKIN-19992](https://linear.app/supabase/issue/FDBKIN-19992)

## Solution

All three pages now recommend the secret key for calls from Postgres.

- **Scheduling Edge Functions:** stores and sends the secret key,
explains why the publishable key isn't safe here, and links to the
function-side setup.
- **Database Webhooks:** a new Call an Edge Function section covers the
Supabase Dashboard flow and a migration. The migration reads the key
from Vault in a `security definer` trigger function. The section
explains that the definer is required, because the roles that insert
rows can't read Vault.
- **Securing Edge Functions:** the service-to-service section is now a
two-step setup. It shows how to disable the `verify_jwt` check in
`supabase/config.toml`, with a link to the Authorization headers guide,
and how to use `auth: 'secret'` in the function. It then links to
Database Webhooks and Scheduling Edge Functions.
- **`pg_net` queue:** Database Webhooks and Scheduling Edge Functions
show a caution that any role that can log in to the database can read
the secret key while the request waits, because `pg_net` writes the
decrypted key to `net.http_request_queue` until it sends the request.
Both pages include the caution from a new partial,
`_partials/pg_net_queued_key.mdx`, which links to the troubleshooting
article.

## Verification (`/test-the-docs`)

| Snippet / step | Class | Sandbox | Result | Notes |
| --- | --- | --- | --- | --- |
| Function with `auth: 'secret'` and `verify_jwt = false`, called with
the secret key on `apikey` | runnable-with-setup | Compose runner +
`supabase start` | pass | Returns `200` |
| Same function, called with the publishable key, then no key |
runnable-with-setup | Compose runner + `supabase start` | pass |
Rejected with `INVALID_API_KEY`, then `MISSING_CREDENTIALS` |
| Scheduling Edge Functions: Vault secrets, then `cron.schedule` |
runnable-with-setup | Compose runner + `supabase start` | pass | The
cron run succeeded, and the function returned `200` |
| Database Webhooks: Vault-based trigger function and trigger |
runnable-with-setup | Compose runner + `supabase start` | pass | Inserts
as `postgres` and as `authenticated` both reached the function with the
documented payload |
| Same trigger function as `security invoker`, insert as `authenticated`
| runnable-with-setup | Compose runner + `supabase start` | pass | Fails
with `permission denied for schema vault`, which confirms the page's
explanation |
| Database Webhooks: Dashboard steps | deferred | — | deferred | Needs a
hosted project. Labels confirmed in the Studio source. |

**Tier A path:** Vault secrets → `pg_cron` job → `pg_net` request → Edge
Function with `auth: 'secret'` returns `200`.

**Environment:** OrbStack; compose sandbox (`sandbox/run.sh`); fences
in-container only. Two deviations from the stock sandbox, neither
committed:

- The sandbox pins Supabase CLI v2.39.2, which predates `sb_secret_` and
`sb_publishable_` keys. The run used v2.121.0.
- The `dind` service doesn't mount `/work`, so local functions fail with
`failed to determine entrypoint`. The function file was copied into the
DinD filesystem.

`project_url` pointed at the local API gateway, because the database
container can't reach the runner's `127.0.0.1`.

## Preview links

- [Database
Webhooks](https://docs-git-alexisa-docs-1458-supabase.vercel.app/docs/guides/database/webhooks)
- [Scheduling Edge
Functions](https://docs-git-alexisa-docs-1458-supabase.vercel.app/docs/guides/functions/schedule-functions)
- [Securing Edge
Functions](https://docs-git-alexisa-docs-1458-supabase.vercel.app/docs/guides/functions/auth)


## Post-merge

> [!IMPORTANT]
> After this PR merges, post the following comment on
[FDBKIN-19992](https://linear.app/supabase/issue/FDBKIN-19992) and close
it:
>
> The "Missing required headers" error happens when the webhook doesn't
send an auth header to the Edge Function. Database Webhooks send only
the headers you configure. [Database Webhooks → Call an Edge
Function](https://supabase.com/docs/guides/database/webhooks#call-an-edge-function)
shows how to add the secret key, either in the Dashboard with **Add
secret key** or in a migration that reads the key from Vault. [Securing
Edge
Functions](https://supabase.com/docs/guides/functions/auth#service-to-service-calls)
covers the function side: disable `verify_jwt` and use `auth: 'secret'`.
2026-10-22 19:19:42 +00:00
Alexis Aguilar 70fe3de074 docs: move social login URLs to social sign-in (#52111)
## Problem


[supabase/supabase#52102](https://github.com/supabase/supabase/pull/52102)
and
[supabase/supabase#52109](https://github.com/supabase/supabase/pull/52109)
rename *social login* to *social sign-in* in visible text, so every
sign-in method follows the same pattern. The URLs still say
`social-login`, and the Expo quickstart's says `social-auth`. Keeping
feature names consistent includes the URLs: readers see them in the
address bar, in search results, and in links shared between docs, the
Dashboard, and the marketing site.

Part of [DOCS-1459](https://linear.app/supabase/issue/DOCS-1459).

## Solution

| Old URL | New URL |
| --- | --- |
| `/docs/guides/auth/social-login` | `/docs/guides/auth/social-sign-in`
|
| `/docs/guides/auth/social-login/*` (18 provider pages) |
`/docs/guides/auth/social-sign-in/*` |
| `/docs/guides/auth/quickstarts/with-expo-react-native-social-auth` |
`/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in` |
| `/features/social-login` | `/features/social-sign-in` |

- **Redirects:** `apps/www/lib/redirects.js` has a permanent redirect
for each old URL. One `:path*` entry covers the provider pages. Existing
redirects that pointed at the old URLs point straight at the new ones,
so no URL redirects twice.
- **Links:** docs content, navigation, provider data, and SDK specs,
Studio's Auth provider settings (29 "Learn more" links), the marketing
site, the UI library docs, and the knowledge base use the new paths.
- **Code name:** the docs navigation list `SocialLoginItems` is
`SocialSignInItems`.

Intentionally unchanged:

- **Blog posts:** their links keep the old URLs and use the redirects.
- **Sitemaps:** the `refresh-sitemaps.yml` workflow regenerates them.
- **Image file names:** for example, `social-login.png` and
`supabase-expo-social-auth-login.png`. Readers don't see them.
- **UI library blocks:** the blocks are named `social-auth`, and the
name is part of their install commands, so renaming them is a decision
for the UI library's owners.

## Related PRs

The rename spans three PRs, so the feature has one name on every
surface:

-
[supabase/supabase#52102](https://github.com/supabase/supabase/pull/52102)
(merged): the docs.
-
[supabase/supabase#52109](https://github.com/supabase/supabase/pull/52109)
(merged): the marketing site, the Dashboard command menu, the UI library
docs, the knowledge base, and the Docker configuration comments.
- **This PR:** the URLs, including the Expo quickstart's, move to
`social-sign-in` with redirects.

## Verification

- Docs typecheck and the guides Markdown build pass.
- `redirects.js` loads with 841 entries and no conflicting sources.
- No `social-login` path remains outside blog posts, snapshots,
generated files, the redirect sources, and image file names.

To check the redirects, use the marketing site's preview, because `www`
applies the docs redirects and the docs preview doesn't. If that preview
serves production docs, the redirected page shows as missing until the
new paths deploy. The redirect itself is what to check:

-
[/docs/guides/auth/social-login](https://zone-www-dot-com-git-alexisa-docs-1459-urls-supabase.vercel.app/docs/guides/auth/social-login)
-
[/docs/guides/auth/social-login/auth-google](https://zone-www-dot-com-git-alexisa-docs-1459-urls-supabase.vercel.app/docs/guides/auth/social-login/auth-google)
-
[/docs/guides/auth/quickstarts/with-expo-react-native-social-auth](https://zone-www-dot-com-git-alexisa-docs-1459-urls-supabase.vercel.app/docs/guides/auth/quickstarts/with-expo-react-native-social-auth)
-
[/features/social-login](https://zone-www-dot-com-git-alexisa-docs-1459-urls-supabase.vercel.app/features/social-login)

## Preview links

- [Social
sign-in](https://docs-git-alexisa-docs-1459-urls-supabase.vercel.app/docs/guides/auth/social-sign-in)
- [Sign in with
Google](https://docs-git-alexisa-docs-1459-urls-supabase.vercel.app/docs/guides/auth/social-sign-in/auth-google)
- [Expo
quickstart](https://docs-git-alexisa-docs-1459-urls-supabase.vercel.app/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in)
- [Social sign-in feature
page](https://zone-www-dot-com-git-alexisa-docs-1459-urls-supabase.vercel.app/features/social-sign-in)
2026-10-22 18:23:26 +00:00
Jeremias Menichelli 8b4be6cdfd feat: Add search to kb (#52089)
## Problem

There's currently no search on kb.

## Solution

- Move components used in Docs' Search V2 project to a common package
for re-usage.
 - Use these components on the Search V2 on docs
 - Refactor useDocsSearchV2 to accept endpoint for other solutions
 - Connect the search with the new `kb_search` table

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

For both, the kb preview and the docs preview with the search v2
experiment active using the `?docs-search-v2=search-v2-active`:

 - Open the preview link of the project
 - On the homepage, press cmd/ctrl + k or click the search trigger
- A search panel should open, type something, for example "edge
functions" and wait for results to appear
 - Clicking a result should lead to the desired page

<img width="1173" height="832" alt="Screenshot 2026-10-22 at 13 34 43"
src="https://github.com/user-attachments/assets/1c3a3d7f-2fe3-452a-91dd-20ba7be3ef1b"
/>

_Search modal working on kb preview_

## 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-22 17:30:49 +02:00
Alexis Aguilar 3f4ff4fd4d docs: use social sign-in and phone sign-in consistently (#52102)
## Problem

The docs used several names for the same sign-in methods: "social auth",
"social authentication", and "social login" for social providers, and
"Phone Auth" and "Phone Login" for phone. Other methods use *sign-in*,
such as passwordless email sign-in and anonymous sign-in. The Auth
overview also listed the sign-in methods without linking to their pages,
and the custom OAuth/OIDC provider note had two different versions.

Resolves [DOCS-1459](https://linear.app/supabase/issue/DOCS-1459).

## Decision

This PR first standardized on *social login*, which the [word
list](https://github.com/supabase/supabase/blob/master/apps/docs/style-guide/WORD_LIST.md)
named as an exception to *sign-in*. @czenko approved dropping the
exception, so the feature is now *social sign-in*, and every sign-in
method follows the same pattern. One name per feature keeps the docs
consistent for readers and AI agents, and new pages don't need a special
case.

## Solution

- **Social sign-in:** "social auth", "social authentication", and
"social login" are "social sign-in" in docs page titles, headings, body
text, link text, navigation labels, the getting started listing, and the
C# SDK reference specs.
- **Phone sign-in:** the Auth overview's providers list and both phone
navigation labels match the phone pages' titles.
- **Word list:** drops *social login* as an exception, and names *social
sign-in*, *phone sign-in*, and *anonymous sign-in* as feature names.
- **Auth overview:** each sign-in method links to its page.
- **Custom provider note:** a new partial,
`_partials/custom_oauth_providers_note.mdx`, is included by the
providers list and Social sign-in.
- **Expo quickstart:** both image alt texts describe their screenshots.

Intentionally unchanged:

- **URLs, code names, and file names:**
`/docs/guides/auth/social-login/...`, `SocialLoginItems`, MDX file
names, and image files such as `social-login.png`.
- **Dated and quoted content:** blog posts, an event page, a customer
story, and a quoted user tweet.
- **JS SDK reference text:** "Social Login (OAuth) providers" in
`signInWithOAuth` comes from the `supabase-js` repository.

## Related PRs

The rename spans three PRs, so the feature has one name on every
surface:

- **This PR:** the docs.
-
[supabase/supabase#52109](https://github.com/supabase/supabase/pull/52109):
the marketing site, the Dashboard command menu, the UI library docs, the
knowledge base, and the Docker configuration comments. The UI library's
blocks keep the name `social-auth`, because the name is part of their
install commands, so renaming them is a decision for the UI library's
owners.
-
[supabase/supabase#52111](https://github.com/supabase/supabase/pull/52111):
the URLs, including the Expo quickstart's, move to `social-sign-in` with
redirects.

Merge this PR and #52109 first, then rebase #52111, because it edits
some of the same lines.

## Preview links

- [Auth
overview](https://docs-git-alexisa-docs-1459-supabase.vercel.app/docs/guides/auth)
- [Social
sign-in](https://docs-git-alexisa-docs-1459-supabase.vercel.app/docs/guides/auth/social-login)
- [Build a Social Sign-in App with Expo React
Native](https://docs-git-alexisa-docs-1459-supabase.vercel.app/docs/guides/auth/quickstarts/with-expo-react-native-social-auth)
- [Choosing the Right SSO Sign-in
Flow](https://docs-git-alexisa-docs-1459-supabase.vercel.app/docs/guides/platform/sso/choosing-login-flow)
- [Understanding SSO Sign-in
Flows](https://docs-git-alexisa-docs-1459-supabase.vercel.app/docs/guides/platform/sso/login-flows)
- [SSO Testing and Best
Practices](https://docs-git-alexisa-docs-1459-supabase.vercel.app/docs/guides/platform/sso/testing-best-practices)
- [Restore a Platform Project to
Self-Hosted](https://docs-git-alexisa-docs-1459-supabase.vercel.app/docs/guides/self-hosting/restore-from-platform)
- [Configure Social Sign-in (OAuth)
Providers](https://docs-git-alexisa-docs-1459-supabase.vercel.app/docs/guides/self-hosting/self-hosted-oauth)
2026-10-22 08:29:54 -07:00
Kody Jackson 6e656789f2 chore(docs) - Remove dupe entries in sitemap (#52083)
## Problem

Dupe entries for `/docs/reference/cli` pages due to I guess them getting
grabbed in the `Reference Sitemap` generation as well?

## Solution

Removes CLI sitemap generation script + reference from the sitemap
generation.

## Preview links

[Production](https://supabase.com/docs/sitemap.xml)
- 2898 entries
- 2773 uniques

<img width="1427" height="794" alt="image"
src="https://github.com/user-attachments/assets/1a4b329f-0fa9-458f-a80f-6e0a24f5766b"
/>
<img width="1427" height="794" alt="image"
src="https://github.com/user-attachments/assets/cbce086f-37db-4828-bb38-d62f7239e9f1"
/>


[Preview](https://docs-git-docs-sitemap-dupes-supabase.vercel.app/docs/sitemap.xml)
- 2773 entries
- 2773 uniques

<img width="1427" height="794" alt="image"
src="https://github.com/user-attachments/assets/8162dc85-14a1-49e4-95df-87cf471a3548"
/>
<img width="1427" height="794" alt="image"
src="https://github.com/user-attachments/assets/8313b037-b203-4979-bc5e-a85336bfb04f"
/>
2026-10-22 08:11:24 -05:00
Kody Jackson d4a2c464b2 chore(docs) - update troubleshooting links to new destinations (#52095)
## Problem

KB now has definitive version of the troubleshooting guides. Need to
update the in content links to match work happening in #52088.

## Preview links

N/A... all atomic changes to links, so previews not very helpful here.
2026-10-22 08:02:23 -05:00
Anthony Lio 3d326d7644 feat(ui): prose table component (#51794)
## Problem

- docs and kb render markdown tables in different ways
- docs uses its own `Table` component with its own scroll listener
- kb has no scroll container which can lead on phones to overflow
- design system `Table` already scrolls with `ShadowScrollArea` which
was not used within guides

## Solution

- docs and kb article tables use the `ui` `Table`
- (proposal) `Table` gets a `prose` variant
- kb guides map `table` to `<Table prose />`
- `ShadowScrollArea` shows and hides the edge shadows without a fade (no
strong opinion but felt snappier)
- refactor table components to use `ref` vs deprecated `forwardRef`
- fixes #52065 cc @jbergstroem 

<!--
## 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 `/docs/guides/ai/choosing-compute-addon` on
[prod](https://supabase.com/docs/guides/ai/choosing-compute-addon#hnsw)
and on
[preview](https://docs-3t4ed5odv-supabase.vercel.app/docs/guides/ai/choosing-compute-addon#hnsw)
2. open `/kb/guides/migrate-from-postgres` on
[prod](https://supabase.com/kb/guides/migrate-from-postgres) and on
[preview](https://docs-3t4ed5odv-supabase.vercel.app/kb/guides/migrate-from-postgres).
on live, the table goes out of the article. on preview, the table
scrolls in the article.


## 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-22 13:01:54 +03:00
Anthony Lio 8bcbe3dcc7 feat(docs): extracts code block component (#51661)
## Problem

new surfaces display code blocks their own way while docs has the full
implementation but it lives inside `apps/docs`


## Solution

- moves the docs code block parts to `ui-patterns/CodeBlock` as separate
imports
- kb code blocks now show line numbers, which matches docs

| state | preview |
| -------|------|
| before | <img width="913" height="509" alt="image"
src="https://github.com/user-attachments/assets/76ff0096-433a-4b06-9eca-1d79c4940e24"
/> |
| after | <img width="913" height="509" alt="image"
src="https://github.com/user-attachments/assets/4f5d91d9-13df-44a0-9e65-edf605773c5f"
/> |

<!--
## 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 /[docs/guides/database/tables#enabling-row-level-security
](https://docs-git-feat-shared-code-block-parts-supabase.vercel.app/docs/guides/database/tables#enabling-row-level-security)code
blocks, line numbers, colors in light and dark mode, copy, and word wrap
match
2. visit
[/docs/guides/auth/passwords](https://docs-git-feat-shared-code-block-parts-supabase.vercel.app/docs/guides/auth/passwords)
hover over a typed identifier tooltip should still show
3. visit a kb guide with code, for example
[/kb/guides/migrate-from-mysql](https://kb-git-feat-shared-code-block-parts-supabase.vercel.app/kb/guides/migrate-from-mysql)
4. visit the [design system code block
page](https://design-system-git-feat-shared-code-block-parts-supabase.vercel.app/design-system/docs/fragments/code-block)

## 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-22 11:46:38 +03:00
Gregor 1055bc6b45 Update limitations section for Supabase OAuth guide - no longer endorse DB password storage (#52126)
Removed mention of prompting for database password in limitations
section. This is no longer official guidance.

## Problem

Our documentation authored 3 years ago suggested storing user passwords
as an integration workaround to OAuth limitations. We no longer endorse
this practice.

## Solution

Removed out of date guidance.

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

- [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-22 09:16:38 +03:00
Danny White a649e69e07 feat(docs): adopt shared inline code defaults in docs and kb (#51982)
## Problem

Docs and KB style inline code separately from the other apps.

## Solution

Import the shared styles from #51980 in both apps. Remove duplicate Docs
styling and renderers that only add styles. Keep code annotations, table
headers that do not wrap, and word wrapping in the first table column.
Other long values wrap only when needed.

## Review instructions

1. Open the [API keys
guide](https://docs-git-dnywh-depr-707-code-docs-kb-supabase.vercel.app/docs/guides/getting-started/api-keys).
Check the bold introduction and “Legacy `anon` and `service_role` keys”
heading. Code should use the default foreground colour and match the
surrounding weight. Identifiers should stay intact when they fit on the
next line.
2. Check code in links and tables at narrow widths. Code blocks,
annotations, highlighting and copy controls should still work.
3. Open [Migrate from
Postgres](https://kb-git-dnywh-depr-707-code-docs-kb-supabase.vercel.app/kb/guides/migrate-from-postgres)
in KB. Check inline code and code blocks in both themes.

| Before | After |
| --- | --- |
| <img width="1232" height="376" alt="CleanShot 2026-10-19 at 14 10
09@2x"
src="https://github.com/user-attachments/assets/27079b1a-2856-4e99-bb05-adb89e7f27c2"
/> | <img width="1250" height="380" alt="CleanShot 2026-10-20 at 15 35
36@2x"
src="https://github.com/user-attachments/assets/9d98e18b-bec7-4595-84c6-9b2b7b3a5cd6"
/> |
| <img width="736" height="626" alt="CleanShot 2026-10-20 at 15 17
21@2x"
src="https://github.com/user-attachments/assets/3d4dedee-11f4-44fa-b2fa-3aafefa5f0fb"
/> | <img width="724" height="608" alt="CleanShot 2026-10-20 at 15 35
12@2x"
src="https://github.com/user-attachments/assets/ac220f58-d904-40f5-8d6b-cdb36fd7c76d"
/> |
| <img width="1476" height="844" alt="CleanShot 2026-10-20 at 15 37
32@2x"
src="https://github.com/user-attachments/assets/5eab79cd-dc99-4c38-b410-9caa91dd6a88"
/> | <img width="1484" height="864" alt="CleanShot 2026-10-20 at 15 38
00@2x"
src="https://github.com/user-attachments/assets/4517cf02-4336-4183-a4d7-d0c4965f3ba8"
/> |
| <img width="988" height="788" alt="CleanShot 2026-10-20 at 16 27
22@2x"
src="https://github.com/user-attachments/assets/fc0aee4b-6da8-4ec0-84a9-392df6b8491b"
/> | <img width="974" height="794" alt="CleanShot 2026-10-20 at 16 27
01@2x"
src="https://github.com/user-attachments/assets/c1383927-6b5a-47b6-bd54-b986cee33cc3"
/> |
| _This last one just shows that annotation tags are unchanged_ |
_Though perhaps them and these backticks should be addressed at some
point_ |
2026-10-22 00:48:56 +00:00
Ivan VasilovandClaude Sonnet 5.5 397cc79fdb fix(docs): generate sitemap before next build (#52110)
## Problem

`/docs/sitemap.xml` returns a 404 after the Next.js 16 upgrade (#52045).
Resolves
[FE-4704](https://linear.app/supabase/issue/FE-4704/fix-missing-sitemapxml-on-the-docs-site).

The sitemap is written to `public/sitemap.xml` by `pnpm run
build:sitemap`, which ran in `postbuild`, after `next build` had
finished. On a preview deployment built that way, the file was deployed
but only served at `/sitemap.xml`, not under the `/docs` base path.
`public/` files that exist at build time, like `robots.txt`, are served
at both `/robots.txt` and `/docs/robots.txt`.

The Next.js docs say only files in `public/` at build time are served
([static assets,
v14](https://nextjs.org/docs/14/app/building-your-application/optimizing/static-assets):
"Only assets that are in the `public` directory at build time will be
served by Next.js"). The current docs no longer include that note, and
nothing I found says Next.js 16 changed this behavior. The likely cause
is that Vercel maps build-time `public/` files under the base path,
while files added afterward are only served as plain static files at the
root. I couldn't confirm this, or why it worked before the Next.js 16
upgrade.

## Solution

Run `build:sitemap` at the end of `prebuild`, so `public/sitemap.xml`
exists before `next build`. The generator only reads source content and
the references codegen output, which `prebuild` already produces
earlier. `postbuild` now only runs the static assets upload.

The generator also sorts entries by link, so the sitemap order is stable
across builds.

## How to test

Check `/docs/sitemap.xml` on the preview deployment. It returns 200 with
the same set of URLs as the sitemap currently served in production.

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

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 00:00:46 +02:00
Alexis Aguilar 44386580e3 feat(docs): upgrade to Next.js 16 (#52045)
## Problem

The docs site (`apps/docs`) is still on Next.js 15, which is close to
the end of its support window under the [Next.js support
policy](https://nextjs.org/support-policy). Resolves
[DOCS-1485](https://linear.app/supabase/issue/DOCS-1485/upgrade-the-docs-site-to-nextjs-16).

## Solution

Upgrades `apps/docs` to Next.js 16.3.6. The scope is limited to what
Next.js 16 requires, so existing routes, redirects, and responses stay
the same.

- **Dependencies:** `next` uses the workspace catalog, and `@next/mdx`
and `@next/bundle-analyzer` are bumped to 16.3.6.
- **Webpack:** `dev` and `build` run with `--webpack`, because the docs
config loads `.include`, `.toml`, and YAML files through webpack, and
the MDX remark plugins have non-serializable options.
- **Proxy:** `middleware.ts` is renamed to `proxy.ts`.
- **Cache revalidation:** `revalidateTag` is called with `{ expire: 0 }`
to keep immediate expiration.
- **Images:** `images.localPatterns` allows guide images with `?v=N`
cache-busting query strings. Without it, those pages return 500.
- **Scroll behavior:** `data-scroll-behavior="smooth"` on `<html>` keeps
route changes jumping to the top instantly.
- **Config:** the `eslint` key is removed from `next.config.mjs`, and
Sentry options use their new names.
- **`next-env.d.ts`:** gitignored, like in the other apps, because
Next.js 16 regenerates it differently for `dev` and `typegen`.

### Dependency on the marketing site upgrade

The docs chat edge function (`/api/ai/docs`) stays under the Vercel Edge
Function size limit because #52001
([FE-4673](https://linear.app/supabase/issue/FE-4673/upgrade-the-marketing-site-to-nextjs-16))
removed `js-tiktoken` from `ai-commands`. This branch is based on
`master` with that change.

## Known limitations

- `proxy.ts` runs on the Node.js runtime instead of edge.
- `nuqs` v1 doesn't declare support for Next.js 15 or 16. The
troubleshooting filters work on Next.js 16, but the dependency is
outside its supported range.
- `next/legacy/image` and `unstable_cache` are deprecated but still
supported.
- Tabs opened before the deploy keep running the Next.js 15 client. On
their next client-side navigation, the router loads the page in full
instead. Docs pages are prerendered, so these requests don't reach the
renderer or report errors to Sentry.

## Review instructions

1. Run `pnpm --filter=docs typecheck` and `pnpm --filter=docs
test:local`.
2. Run `pnpm dev:docs` and open a guide, a client library reference
page, and `/guides/troubleshooting` with a filter applied.
3. Check the Vercel preview against production docs: every sitemap URL
returns the same status code, and redirects, `.md` responses, search,
and the AI chat behave the same. A local production build already
matches production for the following:
   - All 2,564 sitemap URLs
- The redirects in `next.config.mjs`, except where a www redirect
handles the path first
   - `.md` negotiation, including the 406 response
   - Reference rewrites, including bot requests

Search and the AI chat need the preview, because they depend on
production data and keys.
4. Confirm the preview build has enough memory. Locally, `next build`
peaked at about 4 GB.

## Future work

- Upgrade `nuqs` to v2.
- Replace `next/legacy/image` with `next/image`.
- Replace `unstable_cache` with `use cache`.

## 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-10-21 13:16:54 -07:00
Jordi Enric 4825c6d9f5 fix(studio): clarify disk IO balance FDBKPRI-2885 (#51943)
## Problem

Infrastructure and Observability label consumed disk IO burst credits as
“Disk IO,” so a value of 1% appears inconsistent with a remaining
balance of 99% in AWS or Grafana.

Both surfaces request `disk_io_consumption`, which is the inverse of
`disk_io_budget`.

## Fix

Show `disk_io_budget` as “Disk IO balance” and explain that it
represents the lower of the remaining throughput and IOPS burst
balances. Infrastructure shows the lowest sampled balance over seven
days; Observability shows the selected-window average.

Keep Infrastructure's overall Compute score based on consumed credits,
so a full balance stays healthy and a low balance still warns. Missing
balance remains unavailable.

Update the compute and disk guide and disk IO troubleshooting page to
explain the remaining balance, its direction, and the different
aggregation windows.

## How to test

- Open Infrastructure settings for a project with burstable IO. Verify
the balance headline and chart show remaining credits, with 100% full
and 0% exhausted.
- Open Observability and verify “Disk IO balance” shows the average
remaining balance for the selected window.
- Hover the labels to check the explanation and aggregation window.
- Verify a high balance does not inflate Compute usage, a low balance
raises the warning, and missing balance does not appear as 0% or 100%.
- Focused unit and MSW component tests: 79 passed, including shuffled
runs with retries disabled; regression mutations caught wrong metric
selection, reversed pressure, and maximum-versus-minimum selection.

## Validation

Studio typecheck, changed-file ESLint, and Prettier pass locally.
Verified both surfaces on the deployed preview, including Observability
refresh and the balance tooltip.

Documentation formatting and review pass. The local markdown build is
blocked by missing generated federated content and its GitHub
credentials; docs CI validates the deployed build.

## Screenshots

Same project on `supabase.green` (before) and the PR preview (after),
captured October 20. Infrastructure uses the same seven-day window;
Observability uses Last 24 hours.

### Infrastructure

| Before | After |
| --- | --- |
| ![Infrastructure
before](https://github.com/user-attachments/assets/be38665c-702d-4c93-854a-a4c7c6f799a2)
| ![Infrastructure
after](https://github.com/user-attachments/assets/41d45ce1-0df5-41e5-8e3f-63c14fd30dcc)
|

### Observability

| Before | After |
| --- | --- |
| ![Observability
before](https://github.com/user-attachments/assets/5a4493f5-f7b1-4bdb-9783-f70f076b8706)
| ![Observability
after](https://github.com/user-attachments/assets/99fea639-4fc7-4fd1-98cd-5a58b69c4ffa)
|

Observability balance explanation:

![Observability balance
tooltip](https://github.com/user-attachments/assets/5c327daa-4eb7-4752-8e0c-1cbc2f64dd86)

Fixes FDBKPRI-2885
2026-10-21 15:41:56 +02:00
Kostas Botsas 6ea109c69c Clarify Supavisor SSL Enforcement (#51941)
## Problem

Adda docs note to clarify that SSL Enforcement enables TLS on
both legs of the Supavisor connection, as this is a common question.

## 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-21 15:55:59 +03:00
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
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
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
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
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
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
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
Riccardo Busetti 0670509381 feat(pipelines): Improve lag UI for Pipelines (#51863) 2026-10-20 08:48:24 +00:00
Rory Hunter c0a4b6a2c7 Add Rory Hunter to humans.txt (#51991) 2026-10-20 09:18:29 +01: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
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
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
Mikaël Francoeur 10a1753d89 add Mikaël Francoeur to humans.txt (#51962)
## Problem

I wasn't in humans.txt

## Solution

Add myself 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 16:53:28 -04:00
Pamela Chia 8eebfdf7c8 fix(docs): build crawler reference nav links from PROD_URL (#51956)
Bot-served SDK reference pages (`/api/crawlers`) built every nav link
from `request.url`. Behind the supabase.com/docs rewrite, that URL
carries the internal docs host, so agents following the nav landed there
instead of supabase.com. The canonical tag was already hardcoded to
supabase.com. I switched the nav links to `PROD_URL`, the constant the
markdown alternates and JSON-LD already use.

**Note:** I chose absolute `PROD_URL` links over root-relative
`/docs/...` hrefs because agents that convert the HTML to markdown or
plain text lose the page's base URL.

## To test

Tested on the PR preview:
- [x] `curl -s -A 'Claude-User (claude-code/2.1.303;
+https://support.anthropic.com/)'
<preview>/docs/reference/javascript/select | grep -o 'href="[^"]*"' |
sort -u | head`, expect every nav href to start with
`https://supabase.com/docs/reference/javascript/` and none to point at
the internal docs host
- [x] Same request with a browser UA, expect the regular reference page
(the browser route is untouched)

## Linear
- fixes GROWTH-1341
2026-10-19 22:30:55 +02:00
Pamela Chia 0afbc50aea fix(docs): repair two docs destinations (#51959)
I fixed an Auth troubleshooting link that returned 404 to crawlers and
added a permanent redirect from the readable password-reset guide URL to
its existing canonical page.

## To test

Tested on the [docs
preview](https://docs-git-fix-growth-1342-docs-404-links-supabase.vercel.app/docs/guides/troubleshooting/database-error-saving-new-user-RU_EwB)
and [website
preview](https://zone-www-dot-com-git-fix-growth-1342-docs-404-links-supabase.vercel.app):

- [x] Open the Auth troubleshooting guide and follow its Auth API link.
Expect visible `createUser` reference content; browser and bot requests
return 200.
- [x] Request the readable password-reset URL and its `.md` variant on
the website preview. Expect 308 to the exact canonical paths; the
corresponding docs preview destinations return 200.
- [x] Request the canonical URLs directly on the docs preview and an
unrelated unknown troubleshooting URL. Expect 200 without redirects for
the canonical pages and 404 for the unknown URL.

**Note:** The docs preview logged React hydration error `#418` on
initial load. The browser disconnected before I could compare the
production console (`Browser is not available: 3`).

## Linear
- fixes GROWTH-1342
2026-10-19 22:30:28 +02:00
132375e0ca fix(docs): track mouse clicks on Search V2 results (GROWTH-1331) (#51542)
Mouse clicks on Search V2 results never send
`docs_search_v2_result_clicked`; only Enter does. Since #51175, the
result link's click handler sets `isPointerSelectRef`, so
`SearchV2Result.handleSelect` returns early on a click before it reaches
the event in `SearchV2Panel`. The event's definition in
`telemetry-constants.ts` says it fires on click or keyboard selection.

I moved the event to the top of `SearchV2Result.handleSelect`, before
the pointer early-return. cmdk calls `onSelect` on every left click as
well as on Enter, so one call tracks Enter, plain clicks, and modifier
clicks (new tab), once each. Navigation is unchanged, and no event or
property is renamed or removed.

**Note:** middle-click opens fire `auxclick` instead of `click`, so they
stay untracked. No other tracking in the repo listens for `auxclick`,
and I kept it that way.

## To test
Force Search V2 on the docs preview with
`?docs-search-v2=search-v2-active`, then open search and type a query
with the network tab open.

Tested on the PR preview:
- [x] Click a result: one `docs_search_v2_result_clicked` request with
`resultPath` and `query`, the page navigates, and the dialog closes.
- [x] Cmd/Ctrl-click a result: one event, the result opens in a new tab,
and the dialog stays open.
- [x] Arrow to a result and press Enter: one event, and the page
navigates.
- [x] Middle-click a result: no event, the result opens in a new tab.
- [x] Type a query and press Escape: no `docs_search_v2_result_clicked`,
only `docs_search_v2_closed`.

## 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 (n/a: no docs content
changed)

## Linear
- fixes GROWTH-1331

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
2026-10-19 22:30:05 +02:00
3bd3410053 feat(docs) - add TechArticle JSON+LD markup to /guides pages (#51497)
## Problem

There are some gaps for [structured
metadata](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data)
in docs, specifically pages under `/guides` that only have `Breadcrumb`
schema elements specified right now.

## Solution

Adds the following structured data types:
- `/docs/guides` -> `TechArticle`

## Preview links

### Guides


https://docs-git-kody-devrel-697-docs-structured-data-supabase.vercel.app/docs/guides/ai-tools

[validation](https://validator.schema.org/#url=https%3A%2F%2Fdocs-git-kody-devrel-697-docs-structured-data-supabase.vercel.app%2Fdocs%2Fguides%2Fai-tools)

<img width="1137" height="582" alt="image"
src="https://github.com/user-attachments/assets/cad45991-76eb-4d6b-af53-3a6605dc8490"
/>

---------

Co-authored-by: Miranda Limonczenko <miranda.limonczenko@supabase.io>
Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-19 14:56:20 -05:00
Kody JacksonandClaude Haiku 5.5 3de2439b9f docs: add cross-links to related guides (part 2) (#51857)
## Summary

Adds internal cross-links from existing docs pages to related guides and
troubleshooting pages.

As these are relatively atomic changes (1-2 links added per average
file), intentionally not including before/after links for review here.

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-19 09:09:12 -05:00