Commit Graph
21441 Commits
Author SHA1 Message Date
Jeremias Menichelli 30833db87e chore: Refactor sync troubleshooting scripts after data reconciliation (#52713)
## Problem

We solved manually some `troubleshooting_entries` table missing data and
mismatches.

- **Rows without slugs.** Some `troubleshooting_entries` rows had no
slug, so no guide could match them and the guides looked "new".
- **Duplicate discussions.** A guide that didn't match its row got a
fresh GitHub discussion, leaving the original behind (sometimes with
extras).
- **Slug mismatch.** The fetch stripped the hash suffix from file names
while the table keeps it, so those guides never matched their rows.
- **Overlapping runs.** The workflow had no concurrency control, so two
runs could both create a discussion for the same guide, and `upsert`
silently overwrote the first run's row.
- **Missing checksums.** Rows without a checksum counted as "changed"
and were re-pushed to GitHub on every run.
- **Weak dry run.** `--dry-run` only printed slugs, so it was hard to
see what a run would actually do.
- **Fragile lookup and duplicated code.** Rows were fetched with every
slug in the URL (`.in('slug', …)`), and both scripts carried their own
copy of the guide reader and checksum.

## Solution

After those steps we applied successfully to the database, we revamp our
existing sync scripts to allow dry runs to make sure the changes we
apply are going to generate the correct impact.

A new improvement to prevent bulk discussion errors on GitHub API.

<!--
## 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
_Sadly, we need to merge, and pray..._

## 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-04 10:24:19 +01:00
Alpar Torok 134a5baf72 docs: add Alpar Torok to humans.txt (#52693)
## Problem

Add Alpar Torok to the Supabase team list in
`apps/docs/public/humans.txt`.

## Solution

Insert the name in alphabetical order between Allan S and Amir Issaei.

## Review instructions

1. Open `apps/docs/public/humans.txt`.
2. Confirm `Alpar Torok` appears once, between Allan S and Amir Issaei.

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md).
- [x] This change does not add or edit a docs topic.

## Self-review

- Verified the one-line diff and ran `git diff --check`.
- No build or tests were run for this static text entry.
2026-11-04 09:53:22 +02:00
Anthony Lio 2182a9100f fix(docs): nav first paint (#52679)
## Problem

- the docs nav experiment from #52191 hides the top bar links and the
sidebar nav until the feature flags load
- the flags load after auth, posthog and configcat, so each visitor
waits up to 1s after hydration

## Solution

- changes the docs nav to show the server links on first paint, so most
visitors do not wait for the flags
- adds a cache of the experiment value from the last visit, so a
returning visitor gets their variant at hydration
- adds a head script that hides the nav only for visitors cached on
option-1, so the control menu does not flash
- fixes the nav swap when the posthog request fails, because the nav
keeps the cached variant
- fixes the stale option-1 cache after the flag is deleted, because the
cache saves `false` when posthog returns no flag
- changes the experiment exposure to wait for loaded flags, so a stale
cached variant is never recorded

<!--
## 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/auth](https://docs-git-antlio-fix-docs-nav-first-paint-supabase.vercel.app/docs/guides/auth)
on desktop and reload the page
2. make sure that the top bar links and the sidebar nav show on first
paint
3. open
[/docs/guides/auth?docs-ia-mvp-v1=option-1](https://docs-git-antlio-fix-docs-nav-first-paint-supabase.vercel.app/docs/guides/auth?docs-ia-mvp-v1=option-1)
and make sure that the top bar shows "Develop and deploy" and "Run and
manage"
4. at a mobile width, open the menu and make sure that the menu sections
show
5. run `pnpm --filter docs exec vitest run features/IaNav` and make sure
that all 18 tests pass

## 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-04 07:45:33 +00:00
Joshen Lim 2b55f7db9a Joshenlim/fe 4719 cmd k support searching for policies (#52678)
## Context

Continue to build off from
[here](https://github.com/supabase/supabase/pull/52205) to make Cmd+K
resource-aware so finding and inspecting anything in a project doesn't
depend on knowing where it lives in the dashboard.

Specifically looking into database entities for now - end state would be
that you could search for a table name for example, and Cmd K will pull
up everything related to that table for you to skim (e.g Policies,
Functions, Triggers, etc). Changes in this PR sets up searching for RLS
policies.

<img width="609" height="525" alt="image"
src="https://github.com/user-attachments/assets/212a430a-314d-48c4-a27c-2f9bb06e8457"
/>

Policies are matched on, in priority, its name and the target table.

## Performance checking

Just ran a check with Claude just to make sure that the added SQL
doesn't cause any performance degradation on the database. Plan guard
passes at 12,000 tables, under its 500ms budget. Also benchmarked
locally with a 3-character query matching every policy, results look
good so should be alright:

| Catalog | Worst-case search | No-match baseline |
|---|---|---|
| 36k policies | ~52–64ms | ~16ms |
| 120k policies | ~118–134ms | ~63ms |

## To test

- [x] Search a table name: Tables first, then its policies, under
Policies
- [x] Search a policy name: it appears under Policies and opens the
editor panel in database/policies
- [x] Policy outside `public`: schema filter switches and the policy
opens
2026-11-04 14:26:37 +08:00
Joshen Lim 0b9e8bdea4 Joshenlim/fe 4882 make the new integrations UI the default (#52683)
## Context

Makes the one-click integrations feature preview the new default +
cleans up all the old integrations code that's no longer used with this
change

## To test
- [ ] Verify that the project integrations page is using the new UI
2026-11-04 14:26:01 +08:00
GregorandJoshen Lim 2801dfc83f chore(studio)Update overview of Stripe Sync Engine (#52622)
The Sync Engine description was requested to be updated by the Stripe
team, to help direct users to their one-click solution, whilst calling
out the differences between the Sync Engine and Stripe Data Pipeline

## Problem

Users may not get all of the functioanlity they need today via the
Stripe-owned Sync Engine

## Solution

Updated the description to help users make a choice

<!--
## 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)
- [n/a] ~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: Joshen Lim <joshenlimek@gmail.com>
2026-11-04 13:46:00 +08:00
Joshen Lim 607dc2bfde Chore/cleanup dead code in project branch selector (#52691)
## Context

Just some housekeeping here while going through the repo, realised that
there's dead code in `ProjectBranchSwitcher`

## Changes involved:
- `ProjectBranchSelector` is only rendered by `MobileNavigationBar`,
which `DefaultLayout` only mounts when `useBreakpoint('md')` is true.
The selector's own `isMobile` check used the same breakpoint, so its
desktop `Popover` branch could never run.

- The name `ProjectBranchSelector` is also misleading since the sheet
switches more than just the project's branch + it's mobile-only, so
opting to rename it to `MobileProjectSwitcher` instead

- Also fix org rows in the sheet being tighter than project rows.
`compactPadding` was inverted, so the embedded list got `p-0.5` on the
item and lost the default `px-2 py-1.5`

- Align buttons in `ProjectBranchSelector` across all tabs + use outline
variant for secondary action

| Previous | Updated |
|---|---|
| <img width="352" height="174" alt="image"
src="https://github.com/user-attachments/assets/24cb2985-b568-4bc1-8f53-ab3914ef0804"
/> | <img width="351" height="161" alt="image"
src="https://github.com/user-attachments/assets/e6e9b0e9-c075-4235-93ca-80c5d070c287"
/> |
| <img width="336" height="248" alt="image"
src="https://github.com/user-attachments/assets/4071b73f-f741-4598-ba01-8dc7bb6ba57a"
/> | <img width="335" height="313" alt="image"
src="https://github.com/user-attachments/assets/2bea398d-ebe9-4641-9bfe-c4a7b6b10c51"
/> |

If you meant a different table, tell me what the two columns should be.
For example, file and change, or before and after behaviour.
2026-11-04 13:33:05 +08:00
Alaister YoungandAlaister Young 42bf16cdce fix(www): skip proxy for Studio assets and API requests (#52743)
Stops the www proxy from running on Studio's non-document traffic. Each
chunk, server function and API request under `/dashboard` currently
invokes it, and a cold Studio load preloads a few hundred chunks through
this path.

**Changed:**
- The proxy matcher now skips `/dashboard/_vercel/`,
`/dashboard/_serverFn/` and `/dashboard/api/`
- Studio documents still match, so direct `/dashboard` landings keep
getting the `_sb_first_referrer` cookie and the paid-traffic refresh

**Added:**
- Matcher tests using Next's `unstable_doesMiddlewareMatch`. The three
skip cases fail against the old matcher

A quick single-region TTFB probe on production showed a www static file
that goes through the proxy about 15ms slower than one that skips it.
Rerun that comparison on this preview if you want a before/after.

## To test

On the www preview, replacing `<chunk>` with a real chunk path from the
page source:

- `curl -sI -H 'Referer: https://www.google.com/'
<preview>/dashboard/_vercel/immutable/<chunk>`: 200 with no `set-cookie:
_sb_first_referrer`
- `curl -sI -H 'Referer: https://www.google.com/'
<preview>/dashboard/sign-in`: still has `set-cookie: _sb_first_referrer`
- Load `/dashboard` in a browser and check Studio renders with no failed
chunk or API requests
- `curl -sI -H 'Accept: text/markdown' <preview>/pricing`: markdown
negotiation on www pages is unchanged

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-11-04 11:31:25 +08:00
shaziya b215b66008 chore(www): update header image for Explorer and Notebooks blog post (#52738)
## Problem

The Explorer and Notebooks launch post is using an outdated header
image. A new one was added to the launch doc.

## Solution

Replace `thumb.png` for the post with the new header image. The OG image
already matches the latest version, so it is unchanged.

## Preview links

| Site | Live |
| ---- | ---- |
| WWW |
[/blog/explorer-and-notebooks-investigations-your-team-can-rerun](https://supabase.com/blog/explorer-and-notebooks-investigations-your-team-can-rerun)
|

## Review instructions

1. Open the live post and the Vercel preview side by side.
2. Confirm the blog card thumbnail and header show the new image.

## 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)
2026-11-03 18:17:06 -07:00
6891fc4cc6 docs: cross-link RLS and signing keys to the pages readers look for (#52670)
## I have read the CONTRIBUTING.md file.

YES

## What kind of change does this PR introduce?

**Docs fix: three missing or buried cross-links.** Readers who need
Securing your API, custom claims and role-based access control, or the
API key migration guide land on Row Level Security or Signing keys and
stop there, because those pages do not point clearly to the page they
need. This PR adds a tip near the top of Row Level Security, one link in
its `auth.jwt()` section, and two links on Signing keys. It changes
links and one sentence each, nothing else.

Closes DOCS-1572.

## What is the current behavior?

- Linear item: Cross-link RLS and signing keys to the pages readers are
looking for
- The IA scoring v2 comparison on the live site (2026-11-01) found three
findability tasks that fail under both the production nav and Option 1.
A nav change does not fix them.

| Agent lands on | Should reach | Runs that miss (production / Option 1)
|
| --- | --- | --- |
| Row Level Security | Custom claims and RBAC | 9 / 9 of 10 |
| Row Level Security | Securing your API | 10 / 10 of 10 |
| Signing keys | Migrating to new API keys | 9 / 9 of 10 |

- Row Level Security already links to Securing your API in passing and
in its related list, but not where a reader decides to stay or leave.

## What is the new behavior?

| File | Change |
| --- | --- |
| `guides/database/postgres/row-level-security.mdx` | Tip after the
opening admonition, with "refer to": Securing your API for what the Data
API exposes, Custom claims and RBAC for role-based policies. One more
RBAC link in the `auth.jwt()` section. |
| `guides/auth/signing-keys.mdx` | Link to Migrating to new API keys in
the intro and in the step that tells readers to switch to publishable
and secret keys. |

## Additional context

- Worktree:
`~/GitHub/supabase/supabase-worktrees/nikrichers/docs-1572-cross-link-rls-and-signing-keys-to-the-pages-readers-are`
- The `<Admonition type="tip">` matches the admonition syntax already on
the page.

| Check | Result |
| --- | --- |
| Target pages exist | Pass, all three |
| Prettier, stand-in check on both files | Pass |
| Repo `pnpm run format` | Not run locally: `pnpm install` needs Node
22.23.4 or later. CI runs it. |

### Before & After

| Page | Before (production) | After (preview) |
| --- | --- | --- |
| Row Level Security |
[production](https://supabase.com/docs/guides/database/postgres/row-level-security)
|
[preview](https://docs-git-nikrichers-docs-1572-cross-link-rls-an-d0b526-supabase.vercel.app/docs/guides/database/postgres/row-level-security)
|
| Signing keys |
[production](https://supabase.com/docs/guides/auth/signing-keys) |
[preview](https://docs-git-nikrichers-docs-1572-cross-link-rls-an-d0b526-supabase.vercel.app/docs/guides/auth/signing-keys)
|

Both preview pages return 200 and contain the new links.

### Test plan

- [ ] Row Level Security shows the tip near the top, and both links open
the right pages.
- [ ] The `auth.jwt()` section links to Custom claims and RBAC.
- [ ] Signing keys links to Migrating to new API keys in the intro and
in the switch step.
- [ ] After merge: rerun the three affected IA scoring tasks on
production, 10 runs each.

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

---------

Co-authored-by: Nik Richers <nik@validmind.ai>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 13:39:08 -07:00
Lucie ZhaoandClaude Sonnet 5.5 d5229133fa docs: add Lucie Zhao to humans.txt (#52726)
Adds my name to `apps/docs/public/humans.txt` as part of onboarding.

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

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 15:15:15 -05:00
Miranda Limonczenko 1d50816f47 docs: enforce duplicate ID a11y rules and fix duplicates (#52720)
Closes DOCS-1573

## Problem

Recently, @antlio surfaced that our side nav was visually breaking. This
is caused by a duplicate-id issue.

The docs E2E axe scan reports duplicate `id` attributes as a warning
only, so pages with duplicate IDs ship. A full scan of production guides
found duplicate IDs on 25 of 586 pages.

**Causes:**

- **Repeated headings:** a page uses the same heading text twice, for
example `#### Example` under two sections. Each heading slugs to the
same ID.
- **Pricing partials:** three usage pages put `## Pricing` directly
above a shared partial that starts with its own Pricing heading.
- **Components:** Mermaid diagrams hardcode SVG marker and node IDs. The
Apple secret generator renders `id="undefined-optional"` on each field
label. Each "Build it" listing on the Supabase way page renders
`#build-it`.

## Solution

- **Enforce the rules:** add `duplicate-id`, `duplicate-id-active`, and
`duplicate-id-aria` to `ENFORCED_RULES`.
- **Repeated headings:** give each later duplicate a
`[#parent-section-heading]` anchor. The first occurrence keeps its ID.
- **Pricing headings:** remove the page heading above the three partials
that start with `## Pricing`. The PITR partial starts with `###
Pricing`, so it gets `[#pitr-pricing]` and the page keeps its H2.
- **Mermaid:** prefix the SVG IDs of each diagram with `useId()`.
- **Apple secret generator:** give each field an ID. The label now also
points at its input.
- **Content listings:** add an optional `headingAnchor` to listing
groups, and set it on the repeated "Build it" groups.
- **pg_net:** the `http_delete` signature had `[#post-signature]`,
copied from `http_post`. It is now `[#delete-signature]`.

**Cross-references:** no link in the repo targets a changed ID. Each
first occurrence keeps its ID, so existing links resolve to the same
heading as before.

**Not changed:** the www suite and `packages/ui-patterns`. All fixes
stay in `apps/docs`.

**Verification:**

- Against production,
`/docs/guides/platform/manage-your-usage/log-drains` fails the @a11y
test with `duplicate-id`.
- Against a local docs server, the @a11y test passes on all 28 changed
or affected pages.

**Unverified:** a full-site run with `A11Y_ENFORCE_ALL=1`. Run it
against the preview before merge.

## Review instructions

1. From `e2e/docs`, run the a11y test against production. See it fail
with `duplicate-id`:

   ```bash
DOCS_E2E_PAGE_PATHS=/docs/guides/platform/manage-your-usage/log-drains
PLAYWRIGHT_BASE_URL=https://supabase.com pnpm exec playwright test
--grep @a11y
   ```

2. Run the same command with `PLAYWRIGHT_BASE_URL` set to the docs
preview URL from the Vercel bot comment. See it pass.
3. On the preview, open
`/docs/guides/platform/manage-your-usage/log-drains`. In the table of
contents, select **Pricing** under **Log Drain Events**. See the page
scroll to the second Pricing section.
4. On the preview, open
`/docs/guides/integrations/partner-integration-guide`. See both sequence
diagrams render with arrowheads.

## 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-03 11:56:33 -08:00
AnaandAna cdba349de9 fix(www): reword offboarding benefit on enterprise-managed authorization feature page (#52718)
## 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?

- Copy update to benefit 4 of the Enterprise-Managed Authorization for
MCP entry in `apps/www/data/features.tsx`
- Copy update to the second "When to use it" bullet of the same entry

## What is the current behavior?

Benefit 4 and the second "When to use it" bullet both say removing a
member in one place cuts off their access everywhere.

## What is the new behavior?

- Benefit 4 is now "Revoke in one place"
- Revoking Claude under Authorized apps cuts off the whole organization
- Offboarding one member means removing them from the Supabase
organization and from whichever issues their access (identity provider
or Claude organization), matching the docs and the Claude-issued launch
post
- The second "When to use it" bullet no longer ends with "so that
offboarding an employee removes their access everywhere"

## Additional context

N/A

---------

Co-authored-by: Ana <ana1337x@users.noreply.github.com>
2026-11-03 19:29:43 +00:00
Wen Bo XieandAna 6bd5cf1b2b blog: add Claude-issued enterprise-managed auth for MCP post (#52635)
## Problem

Enterprise-managed auth for the Supabase MCP server launched in August
with the identity provider issuing each member's ID-JAG and Okta was the
only identity provider that supported the MCP Enterprise-Managed
Authorization extension. Organizations on other identity providers
couldn't use it. Claude can now issue the identity assertion itself
which removes that dependency and we need a launch post for it.

## Solution

Adds the blog post
`2026-11-03-claude-issued-enterprise-managed-auth-for-mcp.mdx`.

## 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: Ana <ana1337x@users.noreply.github.com>
2026-11-03 13:00:04 -05:00
supabase-vercel-tedd[bot] 1e26878d7f docs: correct gp3 disk throughput price in Compute and Disk guide (#52715)
## Problem

The disk types table in the Compute and Disk guide listed gp3 throughput
over-usage as $0.95 per MB/s. The Disk Throughput usage page lists
$0.095 per MB/s per month ($0.00013 per MB/s-Hr), so the two pages
disagreed.

## Solution

Change the gp3 throughput price in the table on
`guides/platform/compute-and-disk.mdx` from `0.95` to `0.095`. The other
table rows only changed whitespace, because Prettier realigned the table
columns.

Checks run: `pnpm turbo run lint --filter='[origin/master]'` and
Prettier `--check` on the changed file.

## Review instructions

1. Open `/docs/guides/platform/compute-and-disk#disk-types` on the docs
preview.
2. In the disk types table, the gp3 **Pricing** cell reads "Throughput:
125 MB/s included, then $0.095 per MB/s".
3. The other values in the table (disk $0.125 per GB, IOPS $0.024 per
IOPS, io2 disk $0.195 per GB, io2 IOPS $0.119 per IOPS) are unchanged.

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


[FE-4887](https://linear.app/supabase/issue/FE-4887/correct-gp3-throughput-pricing-in-compute-and-disk-docs)

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-11-03 11:59:14 -06:00
5eb873aad0 feat(www): add enterprise-managed auth for mcp feature page (#51819)
## 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 feature page entry in `apps/www/data/features.tsx`

## What is the current behavior?

There is no feature page for Enterprise-Managed Authorization for MCP,
and `/features/enterprise-managed-auth-for-mcp` returns 404.

## What is the new behavior?

- Adds an Enterprise-Managed Authorization for MCP entry at
`/features/enterprise-managed-auth-for-mcp`, placed after the MCP Server
entry
- Body covers key benefits, when to use it, how it works (identity
provider or Claude-issued), and get started
- Stage: General Availability. Available on self-hosted: No. Product:
Platform
- `docsUrl` points to
`/docs/guides/platform/sso/enterprise-mcp-authorization`
- `blogUrl` points to
`/blog/claude-issued-enterprise-managed-auth-for-mcp`, which renders the
"Read Blog Post" button
- Hero image uses the Claude-issued blog post's OG image at
`/images/blog/2026-11-03-claude-issued-enterprise-managed-auth-for-mcp/og.png`

## Additional context

Merge after #52021 (docs page) and #52635 (blog post). The docs URL,
blog URL, and hero image come from those PRs.

---------

Co-authored-by: Ana <ana1337x@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <wenbox323@gmail.com>
2026-11-03 12:58:39 -05:00
5a1e59eb2e docs: add Claude as ID-JAG issuer for MCP Enterprise-Managed Auth (#52021)
## Problem

Anthropic now lets Claude issue the ID-JAG for enterprise-managed MCP
auth when a customer's identity provider can't. No Supabase code change
is needed: the platform already validates ID-JAGs against whichever
issuer URL the organization configures.

The page called the feature "enterprise-managed authentication." It
implements the MCP spec's Enterprise-Managed Authorization extension and
is built on an RFC 7523 authorization grant. Authentication stays with
the IdP. The Studio field description had the same wrong word.

## Solution

**New section, "Using Claude as the ID-JAG issuer."** Covers the
Claude-side steps (Organization settings > Connectors > Supabase >
Managed authorization > Set up, copy the Issuer URL, leave Tenant ID
empty), the Supabase-side step (same ID-JAG Issuer field), and the
connection test. Two constraints were verified against our platform
code: one issuer per SSO provider so the Claude URL replaces the IdP URL
and members need an SSO identity in Supabase. The third, that a
Claude-issued ID-JAG attests Claude-org membership rather than an IdP
session, comes from Anthropic's partner guide.

**Rename to "enterprise-managed authorization."** Page title, headings,
body, SSO guide section, nav label (title case, matching sibling
entries), and the Studio description. The slug moves to
`enterprise-mcp-authorization` with a permanent redirect from the old
path in `apps/www/lib/redirects.js`. The Studio "Learn more" link and
the two published blog posts that linked the page point at the new slug
directly.

## 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: Ana <30495040+ana1337x@users.noreply.github.com>
Co-authored-by: Ana <ana1337x@users.noreply.github.com>
2026-11-03 12:54:58 -05:00
e6e5c56264 docs(pgvector): fix duplicate heading and code block formatting (#48440)
## 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?

Docs update — small structural and formatting fixes to
`apps/docs/content/guides/database/extensions/pgvector.mdx`.

## What is the current behavior?

**Duplicate `## Usage` heading.** The guide has `## Usage` at two places
— once above "Enable the extension", and again above "Create a table to
store vectors". Anchor IDs are generated from heading text, so both
render as `#usage`. The table of contents shows two identical "Usage"
entries, and clicking the second one scrolls to the first section.

**Untagged code fence.** The iterative-search example uses a bare ```
fence, so it gets no syntax highlighting, unlike every other block on
the page. Its SQL is also uppercase, while the rest of the guide (and
the docs style guide) uses lowercase keywords.

**Stray leading space** before `-- Example: enable the "vector"
extension.` inside the enable-extension SQL block.

**Typo:** the prose says "Transformer.js"; the library is
Transformers.js (the code comment two lines below already spells it
correctly).

## What is the new behavior?

- Second `## Usage` renamed to `## Storing vectors`, which describes the
two subsections it introduces ("Create a table to store vectors" and
"Storing a vector / embedding"). The TOC now has unique entries and
unique anchors.
- Iterative-search fence tagged ` ```sql ` and its keywords lowercased.
- Stray leading space removed.
- "Transformer.js" → "Transformers.js".

Content-only; no components, navigation, or generated output touched.

## Additional context

Before renaming the heading I checked for anything linking to the old
anchor:

```
grep -rn "#usage" apps/docs/content
```

No in-page or cross-file link targets `pgvector#usage` — the hits are
unrelated pages and external URLs — so the rename doesn't break any
links.

Verified locally against the repo's own tooling:

- `supa-mdx-lint` with `supa-mdx-lint.config.toml` → no errors or
warnings (the new heading is sentence case, per `Rule001HeadingCase`).
- Prettier 3.8.1 with `prettier.config.mjs` and
`prettier-plugin-sql-cst` → already formatted, including the newly
tagged `sql` block.

One thing I deliberately left alone: the JS sample still imports
`@xenova/transformers`, which has since been superseded by
`@huggingface/transformers`. That's a behavioral change rather than a
formatting one, so it felt out of scope here — happy to open a separate
PR if you'd like it updated.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-11-03 09:41:13 -07:00
Adrian Johnson 8a1950965f add Adrian Johnson to humans.txt (#52708)
## Problem

Add myself to humans.txt

## Solution

Added name in alphabetical order

<!--
## 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)
- [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-03 11:31:03 -05:00
Drew McLellan 07dbe3ce1d fix(studio): use raw object count as storage pagination offset (#52706)
## Problem

Studio Storage hides `.emptyFolderPlaceholder` objects after listing a
folder, but `fetchMoreFolderContents` calculated the next page offset
from the number of visible items. When a page includes the placeholder,
the API returns 200 objects but Studio keeps 199, so the next request
uses offset 199 instead of 200 and the last file of the previous page
appears twice. The duplicates compound with every further page.

Fixes FE-4843. Closes #52607.

Before:
<img width="521" height="458" alt="Screenshot 2026-11-03 at 14 51 09"
src="https://github.com/user-attachments/assets/1ed20ded-08c6-4c56-92d7-5c97ef82cd00"
/>

After:
<img width="532" height="460" alt="Screenshot 2026-11-03 at 14 53 58"
src="https://github.com/user-attachments/assets/64891f27-7fa0-44cb-8076-39b405df0ee4"
/>



## Solution

Each storage column now records `hiddenItemsCount`, the number of API
objects hidden from the visible list (the placeholder).
`fetchMoreFolderContents` offsets the next page by `items.length +
hiddenItemsCount`.

Because the offset is still derived from `items.length`, local edits to
a column (creating a folder, uploads, deletes, renames) keep it in step
with the server, as they did before.

Added tests to `state/storage-explorer.test.ts`: a folder with a
placeholder plus 300 files lists each file exactly once and requests
offsets 0 and 200, and a folder without a placeholder still pages at 0,
200, 400. Reverting the offset line makes the placeholder test fail.

## Review instructions

1. In a bucket, create a `docs` folder and, using the Storage API,
upload a zero-byte `docs/.emptyFolderPlaceholder` plus files
`file-000.txt` through `file-299.txt`.
2. Open `docs` in Studio and sort by Name ascending.
3. Scroll to load further pages and check the list requests in the
network tab: offsets should be 0 and 200, and no file should appear
twice.
4. Run `pnpm --filter studio exec vitest run
state/storage-explorer.test.ts`.

## 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-03 16:26:23 +00:00
Charis df742bdb3b refactor(studio): rename ResponseError to StudioError (#52707)
## What

Moves the `ResponseError` class (`types/base.ts`) and the classified
error classes (`types/api-errors.ts`) into
`lib/errors/studio-errors.ts`, and renames `ResponseError` to
`StudioError`.

## Why

Studio's error classification is being expanded to cover errors that
don't come from API responses (thrown network failures, aborted
requests, unexpected client errors). The API-specific name and location
no longer fit. Landing the rename on its own keeps the follow-up PR,
which introduces the classified error model, small and reviewable.

## Notes for reviewers

- Mechanical change, no behavior change. Most of the diff is a one-line
import change per file plus import re-sorting by Prettier.
- Files that only use the type now use `import type { StudioError }`.
- `ResponseError` is no longer re-exported from `@/types`; there are no
compatibility shims at the old paths.
- Unrelated identifiers like `QueryResponseError` and
`parseResponseErrors` are unchanged.
2026-11-03 11:09:30 -05:00
Yann Braga 98b845a195 Add Yann Braga to humans.txt (#52703)
## Problem

Adding myself to humans.txt, as a new hire 🎉

## 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.
## 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-03 16:42:32 +01:00
53e2c4f1d1 [FE-4809] fix(studio): group HA topology by shardRef (#52545)
Update HA topology grouping for the Multigres JSON field rename from
`shardKey` to `shardRef`, so separate shards retain their own primaries
and replicas.

**Changed:**
- Normalize pooler responses to `shardRef`, falling back to legacy
`shardKey` and preferring `shardRef` when both exist.
- Use `shardRef` in the topology selector and shard grouping.

**Added:**
- Regression coverage from response parsing through diagram node/edge
generation for new, legacy, mixed, and conflicting key formats, plus
omitted shard identity fields.

Addresses
https://linear.app/supabase/issue/FE-4809/update-studio-ha-topology-grouping-to-use-shardref

## To test

- Open Settings → Infrastructure on a multi-shard HA project returning
`shardRef`. Confirm one group per shard, each primary shown as Primary
Database, and replicas connected only to their own shard's primary.
- Check the same topology on Database → Pipelines.
- Confirm legacy `shardKey` responses still render correctly and
single-shard projects remain unchanged.

## Validation

- Passed: 33 targeted utility tests, ESLint on all changed files, Studio
TypeScript check, and diff whitespace checks.
- Local browser: login and non-HA infrastructure passed. HA grouping
remains unverified because local poolers/gateways endpoints returned
404; browser response mocking was blocked by cross-origin/CORS
limitations.
- Upstream multigres/multigres#1608 merged October 29; deployment of the
renamed field remains unconfirmed.

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2026-11-03 22:56:53 +08:00
Luiz Felipe Machado 4233c11b66 docs(self-hosted): explain Functions memory budgets and idle cleanup (#51958) 2026-11-03 15:49:50 +01:00
Luiz Felipe Machado 042a7fad25 docs(self-hosted): explain main worker error references (#51811) 2026-11-03 15:47:58 +01:00
Kody Jackson 7614e8204a content(kb) - faq about local development (#52558)
I _think_ this is the correct framing here for an initial FAQ, but would
appreciate confirmation.

Goal is to target a broader query than just SQLite (original request
from @4L3k51 was `Can I use local Supabase instead of SQLite for
development?`), but include a SQLite mention in there to emphasize the
point. Might be too light though.
2026-11-03 08:13:00 -06:00
Charis 9b7cbd1803 feat(studio): migrate branches to FGA grants with production/development variants (#52331)
## Problem

Branch actions in Studio were guarded by hand-written permission checks
(`useAsyncCheckPermissionsV2(FGA_PERMISSIONS.PROJECT.BRANCHING_*)`, plus
one legacy `useAsyncCheckPermissions` in `Branch.Commands.tsx`) that
weren't tied to the endpoints they protect. Every branches request in
`data/branches` was marked `unguarded.migrating`.

This is the pilot migration for endpoint-bound FGA grants. Resolves
[FE-4693](https://linear.app/supabase/issue/FE-4693/pilot-migrate-branches-to-grants-8-endpoints-createbranchmodal).

## Solution

### Data layer

* `data/branches` has no `unguarded.migrating` left (was 10).
* The list, detail, and diff queries are now `branchesQueryOptions`,
`branchQueryOptions`, and `branchDiffQueryOptions`. They take a grant,
use `skipToken` without one, and keep the grant out of the query key.
* Mutations take the grant in their variables. The merge mutation also
takes `diffGrant`, because it reads the diff before merging.

### Production and development variants

The backend doesn't treat development and production branching
permissions as interchangeable:

* Actions on a single branch (`/v1/branches/{branch_id_or_ref}` and its
diff, merge, push, reset, and restore) need the production permission
for the default branch and the development permission for preview
branches.
* Creating a default branch or a branch with data needs production
create.

To model this, `lib/fga-refinements.ts` gets its first entries:

* The 8 single-branch endpoints have `production` and `development`
variants. A new `variantRequired` flag makes the fetch wrapper reject a
grant without a variant, at compile time and in `assertGrant`.
* `POST /v1/projects/{ref}/branches` has a `production` variant.
`assertGrant` requires it when the body sets `is_default` or
`with_data`.
* `useBranchGrant(endpoint, { projectRef, isDefault })` picks the
variant from the branch's `is_default`. It stays `loading` until the
branch is known.
* `GrantForVariants<M, P>` types a grant for any of an endpoint's
variants.

### UI

* The old checks are replaced with grants in `CreateBranchButton`,
`CreateBranchModal`, `Overview`, `DeleteBranchPanel`,
`DeleteBranchModal`, the branches and merge-requests pages, and
`Branch.Commands.tsx`.
* Grants are evaluated against the parent project, where branch
permissions live. The scope is passed explicitly, because
`/v1/branches/*` paths don't include the project.
* Pages that are mainly about branches show `NoPermission` when the
grant is denied and `AlertError` when the permission check fails. Action
buttons are disabled with a tooltip. Places that use the branch list
incidentally (nav, project home, usage) treat a denied grant as "no
branches" instead of loading forever.
* "Include data" in `CreateBranchModal` is disabled without production
create. It previously failed after submitting.
* `OutOfDateNotice`'s "Update branch" is disabled without the push
grant. It previously did nothing.
* The GitHub integration form blocks saving without the
production-branch grant. Previously the connection was saved while the
branch request failed, and a repo change deleted the old connection
first.

### Where the old checks differed from the backend

* **Too strict:** the branches and merge-requests pages required
development read, and the create button required development create. The
backend accepts development or production for both.
* **Wrong for the default branch:** single-branch actions always checked
development permissions, or production write for the main branch menu,
regardless of which branch was targeted.
* **Missing:** reset and "Switch to persistent" in `Overview` had no
check.
* **Legacy check:** `Branch.Commands.tsx` used the legacy `CREATE
preview_branches` check.

`BranchingPITRNotice` is unchanged: its check guards a subscription
update, not a branches request.

### Other changes

* The two new query options use an `eslint-disable` for
`@tanstack/query/exhaustive-deps`, because grants stay out of query
keys. A separate PR upgrades the plugin and allowlists `grant`, after
which these can be removed.
* `upsertMigration` in the merge mutation still uses
`unguarded.migrating`. It belongs to the database-migrations domain.

## Testing

* New component tests for `CreateBranchButton`, `DeleteBranchPanel`, the
branches page, and `GitHubIntegrationConnectionForm` cover granted,
denied, and error states.
* New `useBranchGrant` tests: default vs. preview branch, and loading
until the branch is known.
* `guarded-fetch.test.ts` covers required variants (types and runtime)
and the production variant for default and data branches.
* Shared fixtures are in `tests/lib/branch-test-utils.ts`.
* Studio typecheck passes, affected suites pass, the ESLint ratchet is
stable, and knip is clean.
2026-11-03 09:12:48 -05:00
Kody JacksonandAlexis Aguilar 29638836ab content(kb) - auth providers with supabase listicle (#52563)
Carry through of #51759 (with feedback applied), apologies on the delay
+ re-PR here.

---------

Co-authored-by: Alexis Aguilar <98043211+alexisintech@users.noreply.github.com>
2026-11-03 08:11:12 -06:00
Kody Jackson 83ccea9d87 feat(dash) - allow indexing of sign-up and sign-in pages (#52650)
## Problem

Large search volume hitting the following terms that don't have a good
user click path:
- `supabase login` (~200K clicks per 3 months), `Supabase dashboard`
(~30K clicks per 3 months). There's no user click path here :(
<img width="1905" height="3560" alt="image"
src="https://github.com/user-attachments/assets/7aafc9e5-dd20-459b-b2bb-4044ec4158f5"
/>


- `sign up for Supabase` (~2,800 clicks last 3 months). Also no user
click path here :(
<img width="1905" height="3966" alt="image"
src="https://github.com/user-attachments/assets/d7ed4f45-acaf-4b48-a63a-c62abf2221fb"
/>


## Solution

3 things:
- Allows indexing of `sign up` and `sign in` pages
- Adds some metadata to help with navigation.
- Adds 2 dash pages to the www sitemap

## Preview links

- [www
sitemap](https://zone-www-dot-28buthwge-supabase.vercel.app/sitemap_www.xml)
  
<img width="869" height="182" alt="image"
src="https://github.com/user-attachments/assets/3ba31a99-2cfa-4db4-80f4-cd5f41603f9c"
/>

- [sign up
page](https://studio-staging-m4ylh7sp9-supabase.vercel.app/dashboard/sign-up)
<img width="1531" height="828" alt="image"
src="https://github.com/user-attachments/assets/73e6dad3-9653-4db7-a035-c8b9827cf3f9"
/>

- [sign in
page](https://studio-staging-m4ylh7sp9-supabase.vercel.app/dashboard/sign-in)
<img width="1531" height="828" alt="image"
src="https://github.com/user-attachments/assets/c4d56a22-c0ab-49b5-a6ed-8b835aa4d52e"
/>
2026-11-03 08:00:07 -06:00
Colum Ferry a26ee8b3de docs: call out the [inbucket] rename in the CLI v3 migration guide (#52686)
## Problem

Supabase CLI v3 fails to load a `supabase/config.toml` that still has an
`[inbucket]` section. `supabase init` wrote that section until v2.108.0,
so `supabase start`, `stop`, `status` and the `db` commands fail for
projects created before then, with:

```text
[inbucket] in supabase/config.toml is no longer supported. Use [local_smtp] instead.
```

It is one of the most common v3 upgrade failures, but the [migration
guide](https://supabase.com/docs/guides/local-development/cli/migrating-to-v3)
only lists it as one row in the removed config keys table.

## Solution

- Adds a caution admonition near the top of the guide, before "Before
you upgrade", so it's seen before anything else.
- Adds a "Rename `[inbucket]` to `[local_smtp]`" section (anchor
`#inbucket`) under "Removed config keys and environment variables". It
covers the error text, a before/after example,
`[remotes.<name>.inbucket]` and `config.json`, and the fact that
v2.108.0 and later already read `[local_smtp]`, so projects can rename
it before they upgrade.

The keys inside the section are unchanged in v3 (`enabled`, `port`,
`smtp_port`, `pop3_port`, `admin_email`, `sender_name`), checked against
`packages/config/src/removed-config-keys.ts` and `inbucket.ts` on
supabase/cli `develop`. v2.108.0 is the first release with
supabase/cli#5333, which added `[local_smtp]` to both config loaders.

## Review instructions

1. Open the preview of
`/docs/guides/local-development/cli/migrating-to-v3`.
2. Check the admonition renders under the intro, and that its link jumps
to the new section.

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

Tracks CLI-2906

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-11-03 13:10:37 +00:00
Pamela Chia aad17d2ee2 fix: server-render /open-source repos and library docs code (#52655)
Two page templates still served their main content only after JavaScript
ran, so crawlers that don't run it never saw it. The /open-source repo
cards came from a GitHub fetch in a `useEffect`. The library docs
install command and the default code view on the client pages were
`dynamic(..., { ssr: false })`.

**Changed:**
- **/open-source repo cards render in the HTML**: I added
`getStaticProps` with hourly ISR that fetches the org repos once, keeps
only the repos the tabs list, and seeds `Repos`. Any failure (non-2xx,
timeout, unexpected body) falls back to `null`, which keeps today's
client fetch, and that result is cached for 60s so a rate-limited
regeneration heals quickly. I made counts format as `en-US` until
hydration so non-US browsers don't hit a hydration mismatch, and I
switched the star sort to a consistent comparator so ties hydrate in the
same order in every engine.
- **Library docs install command renders on the server**: I made the
app's `useLocalStorage` read storage in a layout effect instead of the
`useState` initializer, so `Command` no longer needs `ssr: false`.
Returning users who picked another package manager see npm until
hydration, then their choice, where before the box was empty until then.
- **Library docs code shows instead of "Loading code preview..."**: I
kept `CodeBlock` client-only because it reads the resolved theme, and I
changed its loading fallback to render the selected file's code in a
plain `<pre>`.

**Note:** the GitHub fetch is unauthenticated, since the www project has
no general-purpose GitHub token. If regeneration keeps getting
rate-limited, adding a read-only token to the www env is a few-line
follow-up.

## To test
Tested on the PR previews, compared with prod:
- [x] `curl -sL` /open-source with a Chrome user agent and strip
`<script>`, `<style>` and `<template>`: supabase, supabase-js,
supavisor, postgres and postgres-meta appear with their descriptions
(prod has no repo cards).
- [x] `curl -sL` /open-source and read the `__NEXT_DATA__` JSON: every
name in `repos` appears in the page's tabs.
- [x] On /open-source with the browser language set to German: the
Database tab shows the same cards in the same order as prod, counts use
German separators after load, the browser makes no GitHub API request,
and the console shows no hydration error.
- [x] Switch to the Auth and Other tabs: the same cards as prod. Repos
with equal star counts can appear in a different order.
- [x] `curl -sL` /library/docs/nextjs/client the same way:
`createBrowserClient` is present in a plain `<pre>` (prod shows "Loading
code preview...").
- [x] `curl -sL` a block page such as
/library/docs/nextjs/password-based-auth: the `npx shadcn@latest add`
command is present (prod has none).
- [x] On a block page, pick pnpm in the install command and reload: pnpm
stays selected, with no hydration error.
- [x] On /library/docs/nextjs/client after load, in light and dark
theme: the highlighted code block matches prod, with line numbers.
- [x] No hydration warnings in the console on any of these pages.

## Linear
- part of GROWTH-1416
2026-11-03 20:48:08 +08:00
claude[bot] 2dc0258b14 docs(legal): Privacy Policy v5 (OpenAI cookie, click identifiers) (#52647) 2026-11-03 07:21:05 -05:00
b2e8cb07a4 fix: horizontal overflow on /solutions/no-code mobile view (#47913)
## Problem
Prompt cards on /solutions/no-code caused horizontal page scroll on
mobile. Flex/grid children don't shrink below content size by default,
so long card titles and content pushed cards past the viewport width.

## Fix
Added `min-w-0` to the card container and title in
`TwoColumnsSection.tsx` so cards respect their grid/flex track width
instead of growing with content.

## Screenshots
| Before | After |
|--------|-------|
| <img
src="https://github.com/user-attachments/assets/069fa434-c202-4761-ab25-0eaf5f71b434"
width="300" /> | <img
src="https://github.com/user-attachments/assets/2478bd84-1361-46e9-a076-4148b0c38706"
width="300" /> |

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved code snippet layout in two-column sections by allowing the
snippet container to shrink within its column. This helps prevent the
container from forcing the surrounding layout wider when space is
limited, keeping the section more consistent across narrow and wider
layouts.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: hallidayo <22655069+Hallidayo@users.noreply.github.com>
Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-11-03 18:49:25 +08:00
Zammad NasirandNik Richers cf822303b8 fix: footer social links open in new tab with security attributes (#45362)
## 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?

Bug fix

---

## What is the current behavior?

Footer social links (X, GitHub, Discord, YouTube, TikTok, Instagram)
open in the same tab, navigating users away from the Supabase website.

Issue: https://github.com/supabase/supabase/issues/45342

---

## What is the new behavior?

Footer social links now open in a new tab while keeping the Supabase
website open.

Added:

* `target="_blank"`
* `rel="noopener noreferrer"`

to all external social links in the footer.

---

## Additional context

This change improves:

* User experience (users don’t lose their current page)
* Security (prevents reverse tabnabbing via `window.opener`)

Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-11-03 18:48:22 +08:00
Francesco SansalvadoreandCursor Agent 5912394ffc chore(studio): improve object versioning feature preview (#52689)
Improve copywriting and add image for the Storage Object Versioning
feature preview.

|Before | After |
|--|--|
| <img width="1096" height="717" alt="Screenshot 2026-11-03 at 11 05 30"
src="https://github.com/user-attachments/assets/88a7f13e-4762-48cd-89db-57e2c51f7613"
/> | <img width="1075" height="693" alt="Screenshot 2026-11-03 at 11 06
28"
src="https://github.com/user-attachments/assets/bab3a2ef-f8bf-4188-865a-701e482347f1"
/> |

## How to review

1. Open `Storage object versioning` feature preview
2. See feature preview
3. Acknowledge feature preview
4. Approve

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-11-03 10:40:46 +00:00
155f6d7960 chore: update cli config schemas (#52638)
Updates the published JSON Schemas from the supabase/cli release
workflow.

Generated by `scripts/publish-schemas.ts` in supabase/cli from
`apps/docs/public/schemas` — edit the schemas there rather than this
folder.
Published versions below the current one are frozen and never rewritten.

Auto-merge is enabled: the PR squash-merges once a reviewer approves it.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2026-11-03 09:37:03 +00:00
kanadandClaude 88ca61270f docs: clarify that the supabase stack commands predate CLI v3 (#52667)
## What kind of change does this PR introduce?

Docs fix.

## What is the current behavior?

The [Try the experimental `supabase stack`
commands](https://supabase.com/docs/guides/local-development/cli/migrating-to-v3#try-the-experimental-supabase-stack-commands)
section of the v3 migration guide opens with "v3 includes the
experimental `supabase stack` commands". On a page listing v2 to v3
changes, that reads as if the stack commands are new in v3. They were
already available in v2 and are still experimental.

## What is the new behavior?

The opening paragraph now says the commands were available in v2, that
v3 keeps improving them, and that they are still experimental. It also
links to the Running multiple local projects guide. The rest of the
section is unchanged.

Linear: [CLI-2918](https://linear.app/supabase/issue/CLI-2918)

## Additional context

The section stays on the page on purpose, to raise visibility of the
stack commands for people reading the migration guide.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-03 09:28:38 +00:00
TheOtherBrian1andcopilot-swe-agent[bot] 0e0f84ac30 Remove MGMT API examples (#52676)
Updated log configuration settings to reflect changes in the CLI usage
and removed API examples.

## Problem

MGMT API overrode previous overrides

## Solution

Remove MGMT API references

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-11-03 17:14:10 +09:00
levonandClaude Sonnet 5.5 5e896fe41f docs: add Levon Galstyan to humans.txt (#52658)
## Problem

As part of onboarding, I need to add myself to humans.txt

## Solution

This PR does that!

## Review instructions

N/A

## 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: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 09:02:06 +01:00
Anthony LioandJoshen Lim 929af55026 fix(studio): stop csp-blocked images from failing feedback screenshots (#52590)
## Problem

- "Capture screenshot" in the studio feedback widget fails in
production, and studio shows the "Failed to capture screenshot" toast
- `html-to-image` downloads each image with `fetch()`, and the csp
`connect-src` does not allow the github and google avatar hosts
- the blocked avatar gets an empty `src`, so its `onerror` rejects the
whole capture

## Solution

- changes the capture to use a transparent pixel for each image that it
cannot download, so a blocked avatar shows blank and the screenshot
still completes

| state | preview |
| -------|------|
| before | <img width="600" height="280" alt="image"
src="https://github.com/user-attachments/assets/53c5916e-cd37-4fb5-8989-070537aa9f76"
/> |

<!--
## 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
[/dashboard](https://studio-git-antlio-fix-studio-feedback-screenshot-supabase.vercel.app/dashboard)
and sign in with an account that has a github or google avatar
2. click "Feedback" in the top bar, click the image button, and click
"Capture screenshot"
3. capturing works and "Failed to capture screenshot" toast does not
show
4. click the thumbnail, and make sure that the page shows in the
screenshot with a blank area where the avatar is

## 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: Joshen Lim <joshenlimek@gmail.com>
2026-11-03 09:41:50 +02:00
Joshen Lim 7c52a9b539 Joshenlim/fe 3931 re phone mfa enrollment repeatedly force disabled despite (#52629)
## Context

In Authentication -> Multi Factor, if you've set SMS MFA to any status
apart from "Disabled" and refresh the page, the UI seemingly doesn't
render the right value in the dropdown as such:
<img width="1114" height="160" alt="image"
src="https://github.com/user-attachments/assets/d3353628-0b9a-4347-b81f-3a968a87b5c2"
/>

Was happening as the form mounted with placeholder values (for SMS MFA,
default status was "Disabled"), and the real value was only applied
afterwards by a `useEffect` which called `reset`. This changed the
`Select`'s value after mount, in Radix then fires an event on that
change through `onValueChange` which set `value` as an empty string
`''`. It happens as well for TOTP, if you set any value other than
"Enabled" which is the default status.

## Changes involved
- Am also opting to breakdown `MfaAuthSettingsForm.tsx` into smaller
components as it's a single file handling 3 different forms at the
moment
- (Main fix) Derive the form values via `defaultValue` instead of via
`useEffect` which prevents the unintended firing of `onValueChange` for
the `Select`
2026-11-03 14:38:39 +08:00
Riccardo BusettiandJoshen Lim b9a2422deb fix(pipelines): Fix data loading issue in Pipelines (#52642)
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2026-11-03 14:37:49 +08:00
K-Dog (Kevin) 5dfd86d35c fix: regressed studio typecheck performance (#52677)
Heads up: Generated with Claude Opus 5.5

CheckedInit made TypeScript infer each call's init through conditional
and Omit types over the full API paths, at every typed get/post/put/
patch/del call site. A cold `tsc --noEmit` spent 92s type-checking and
peaked at 17 GB of memory.

CheckedUrl already rejects missing, mismatched, and unexpected grants,
so the init check was redundant. Remove CheckedInit and ParseAsContext
(which only worked around CheckedInit breaking parseAs inference) and
type init the way openapi-fetch does.

Cold check time: 92s -> 5.4s. Instantiations: 34.9M -> 16.4M. Peak
memory: 17.3 GB -> 5.5 GB. All guarded-fetch type tests still fail for
the same reasons.
2026-11-03 14:33:17 +08:00
Joshen Lim 7bb6e13aa8 Include existing postgres config params in PUT payload (#52675)
## Context

The PUT `database/postgres` endpoint does a full resource override for
the project's Postgres config.
The only surface in the dashboard that does requests to PUT
`database/postgres` is under Database -> Settings -> Log connections,
but the dashboard only sends `log_connections` and `log_disconnections`
when updating the settings here, resulting in existing config values
being over written.

Fix here is to merge the existing Postgres config values in the PUT
payload
2026-11-03 14:04:17 +08:00
Joshen Lim ab60ab2684 Fix ProjectLayout side nav width changes after opening and closing inline SQL Editor (#52623)
## Context

Happens in the ProjectLayout when the side navigation menu's width can
be resized (Table Editor / SQL Editor)

On those pages, if you were to toggle the inline SQL Editor with Cmd+E,
the side navigation menu's width will change to fit the max width once
the inline SQL Editor is closed, and its happening due to the library's
default behaviour for handling nested resizable groups.

The fix was to bump `react-resizable-panel` to `4.7.x` which introduced
a new property `groupResizeBehaviour` and allows us to set that prop's
value as `preseve-pixel-size` for the `ProjectLayout` since we use pixel
values in this context for the panel widths. Same fix also applied for
`FilterSideBar` which is used in Unified Logs
2026-11-03 14:00:59 +08:00
403fe6c2fc Add BeeAPro case study (#52674)
Adds the BeeAPro customer story (multi-tenant training platform for
compliance-heavy industries, run on one Supabase project with Row Level
Security).

- New file: apps/www/_customers/beeapro.mdx
- New logos: on-light and on-dark beeapro.png
- Linear:
https://linear.app/supabase/issue/MARKET-2421/case-study-beeapro-academy

Before merge:
- Confirm the publish date in the frontmatter

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

---------

Co-authored-by: Wendie Cheung <wendie.cheung@supabase.io>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 16:54:23 +11:00
92c13cdb2a Add VideoGen case study (#52672)
Adds the VideoGen customer story (Firebase to Supabase migration of 3.3
million users).

- New file: apps/www/_customers/videogen.mdx
- New logos: on-light and on-dark videogen.svg (single-color wordmark
from VideoGen's press kit)
- Linear:
https://linear.app/supabase/issue/MARKET-2427/case-study-videogen

Before merge:
- Confirm the publish date (TODO in the frontmatter)
- Anton Koenig sign-off still open

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

https://claude.ai/code/session_01NPB7PkB3r3qmwcheteas5e

---------

Co-authored-by: Wendie Cheung <wendie.cheung@supabase.io>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 16:24:37 +11:00
Eduardo Gurgel 90c3e57e05 feat(studio): realtime health advisors (#52535) 2026-11-03 16:29:25 +13:00
Joshen Lim 7439ae34d1 Fix update role panel not scrollable (#52621)
## Context

Under organization -> team member settings, when managing a member's
access (specifically if the access is project-scoped), the list of
projects is not scrollable at the moment if there's a lot of projects,
so this PR addresses that, as well as cleans up a couple of small UI
issues that I found while investigating.

Screenshot here just shows which UI i'm referring to but you'll need to
have a lot of projects to reproduce this
<img width="1099" height="492" alt="image"
src="https://github.com/user-attachments/assets/73c6db27-9ae8-479b-b2cc-2b6b0d322ff6"
/>
2026-11-03 11:12:20 +08:00
shaziya 5ce8532dff chore(www): update links in Stripe Data Pipeline blog post (#52668)
## Problem

The "Get started" links in the Stripe Data Pipeline blog post point to
generic Stripe pages. The updated links go straight to the Supabase
destination and the Postgres sync docs.

## Solution

Update two links in the "Get started" section:

- Stripe Dashboard: `/data-management` ->
`/data-management/pipeline?destination=postgres_supabase`
- Documentation: `/data-pipeline` ->
`/data/data-pipeline/real-time-sync-to-postgres`

## Preview links

| Site | Live |
| ---- | ---- |
| WWW |
[/blog/stripe-data-pipeline-now-syncs-real-time-data-to-supabase](https://supabase.com/blog/stripe-data-pipeline-now-syncs-real-time-data-to-supabase)
|

## Review instructions

1. Open the live post and scroll to "Get started".
2. Open the preview and confirm the first two links match the table
above.

## 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-02 23:27:12 +00:00