Commit Graph
40517 Commits
Author SHA1 Message Date
b7d1044d4e blog(www): add multigres private alpha post (#52329)
## 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?

- Blog post: Multigres private alpha (publishes Oct 29, 2026)

## What is the current behavior?

N/A

## What is the new behavior?

- Adds the Multigres private alpha blog post and its images

## Additional context

- Draft while final content checks finish

---------

Co-authored-by: Ana <ana1337x@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 12:38:31 -04:00
Colum Ferry f55ee1dc5a chore(www): serve the CLI config schemas under /schemas (#52509)
## Problem

The Supabase CLI's config, project-config and `supabase.lock` JSON
schemas declare `$id`s under
`https://supabase.com/schemas/<name>/v<N>.json`, and editors such as
Even Better TOML fetch them from the `$schema` URL. Nothing is served at
that path yet, so those URLs 404.

## Solution

- Adds `apps/www/public/schemas` with v1 of the three schemas. They're
generated in supabase/cli, and from now on its stable releases open a PR
here when one changes (supabase/cli#7397)
- `/schemas/:path*` responses send `access-control-allow-origin: *` and
`cache-control: public, max-age=3600`, so browser-based editors and
validators can fetch them and a new release shows up within the hour.
Covered in `next.config.test.ts`
- `/apps/www/public/schemas/ @supabase/cli` in CODEOWNERS, so the CLI
team reviews those release PRs
- The folder is in `.prettierignore`. The CLI publishes these files byte
for byte, so reformatting them here would show up as a change on every
release

## Review instructions

1. Open `/schemas/config/v1.json` on the www preview
2. Check it returns the schema as JSON, with
`access-control-allow-origin: *` and the cache header (`curl -sI
<preview>/schemas/config/v1.json`)

Closes CLI-2865
2026-10-29 16:15:16 +00:00
Monica Khoury 0bd4b8db48 fix(studio): remove search and sorting from webhook deliveries table (#52499)
## Problem

The webhook deliveries table has a search input and sortable column
headers, but they only act on the page of rows already loaded (5 rows).
The backend uses cursor pagination and has no server-side filtering or
sorting, so searching for a term that isn't on the visible page shows
"No deliveries found" even when matches exist. This looks broken.

Closes FE-4762. The follow-up to bring these back once the backend
supports it is tracked in DEPR-709.

## Solution

- Removed the search input, its focus shortcut, and the `deliverySearch`
URL state from the deliveries table.
- Removed the sort controls from the column headers. Headers are now
plain text.
- Removed the unused `filterWebhookDeliveries` helper and its test. Rows
now render in the order the API returns them.
- Updated the empty state copy, since it referred to adjusting a search.
- Cursor pagination is unchanged.

## How to test

1. Open a project's webhooks page and select an endpoint with
deliveries.
2. Check that the Deliveries section has no search input, only the Live
toggle and the refresh button.
3. Check that the column headers (Status, Event, Response, Attempted)
are not clickable and show no sort icons.
4. Check that the previous and next page buttons still page through
deliveries.
5. Select an endpoint with no deliveries and check that the empty state
reads "Webhook attempts will show up here once this endpoint receives
events."
2026-10-29 17:33:45 +02:00
ec11e10d35 chore(docs) -- add in relevant crosslinks over to /kb troubleshooting pages (#52503)
## Problem

relevant cross-links missing to KB articles.

## Solution

Claude pass with an attempt to inline these where possible. Some were a
new sentence, but spot check felt like they were mostly appropriate.

## Preview links

N/A b/c too many atomic changes to help that much.

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-10-29 10:30:15 -05:00
Jeremias Menichelli 27bb674186 chore: Delete non-existent rows by slug in search ingest (#52507)
## Problem

Current search shows deleted pages.

For example, here we are still indexing the troubleshooting index which
has been moved to kb.

<img width="793" height="765" alt="Screenshot 2026-10-29 at 15 54 24"
src="https://github.com/user-attachments/assets/5659477c-ead8-4f5d-900a-9ffd42342f7b"
/>

## Solution

After ingest, clean rows which haven't been updated on the last 25
hours. We run an ingest at least once at midnight, so a row that hasn't
been tracked twice means its content inside a page or the page itself
doesn't exist anymore.

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

Cannot be reproduced on preview.

_Tested locally, both database table correctly removes old rows. Search
doesn't send old results on local searches._

## 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-29 15:18:16 +00:00
7867f22522 feat(studio): link log users and show Auth activity timelines (#50837)
Add a User tab that resolves the signed-in user from the selected log or
a related request step. It shows the shared Auth profile, offers
filtering from the User ID row, and explains anonymous, external, or
deleted users.

When unified logs are enabled, the Auth user's Logs tab shows the user's
10 most recent logs in `EmbeddedLogsTable`, with the Logs page's columns
and row styling. A row opens that log on the Logs page, filtered to the
user, and View more in Logs opens the rest. Other configurations retain
the existing Logs view. Shared user presentation is isolated in #50841;
this PR contains the log/Auth integration and resolves missing-user
queries to null.

The list uses the #50953 helpers instead of its own:
`createUnifiedLogsSearch` builds the query search, `buildUnifiedLogsUrl`
builds the links (it now takes a `logId` to open a log), and the query
asks for only the 10 rows it shows via `pageSize`. At the panel's
default width the table is wider than the panel, so Event message needs
a horizontal scroll; the empty state renders outside the table so it
stays in view.

Issue:
[DEBUG-222](https://linear.app/supabase/issue/DEBUG-222/build-correlated-log-and-user-connections-in-studio)

### How to test

1. With the Unified Logs preview and `otelUnifiedLogs` enabled, open a
signed-in user's log and select User. Check the profile, copy the User
ID, and use Add filter to filter logs to that user.
2. Use Open in Authentication, then open the user's Logs tab. Select a
row and confirm it opens the matching log; check that View more in Logs
preserves the user filter.
3. Open an anonymous request and confirm the explanatory state. For
correlated, external, and deleted-user cases, run the fixtures: `pnpm
--filter studio exec vitest run
components/interfaces/UnifiedLogs/components/LogUser.platform.test.tsx`.
4. In the log's User tab, focus User ID and press Enter, Arrow Down,
Enter. Confirm it copies the ID without changing the selected log. Arrow
Down should navigate logs again after the menu closes.

### Validation

- Latest head: `8e4a9993b0db52ec5e611e55233b5ed77f67e358`, based on
`master`, with conflicts resolved and independent review complete.
- Local baseline and shuffled verification passed 324 tests across 26
files with retries disabled (shuffle seed `5083710`). An independent
affected-suite run passed 29 tests with retries disabled and shuffle
seed `5083730`.
- Live QA found and reproduced a keyboard collision: field-menu Arrow
Down also selected the next log. The shared menu now keeps keyboard
events inside the menu. The regression fails when the guard is removed
and passes after restoration.
- On the verified latest-head preview, keyboard User ID copy, mouse
copy, Add filter, Escape, navigation after closing the menu, and
adjacent Auth email copying passed. No browser console errors were
observed; browser network telemetry was unavailable.
- Full signed-in activity, matching log/profile, Authentication
navigation, View more filtering, anonymous state and deleted-user
handling passed on `311206f9ef`. The subsequent change only affects menu
keyboard propagation, which was revalidated on the latest head.
- The disposable staging user was deleted and absence verified.
Temporary key files were removed and the clipboard cleared.
- Current CI: all E2E suites, unit tests, formatting, lint, Docker and
deployments passed; typecheck is still running. Local full typecheck
exhausted Node's heap, so no local full pass is claimed.

### Stack

All prerequisite log-decoupling and request-correlation PRs, including
#50841, are merged into `master`. This is the final code PR in the
stack.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2026-10-29 16:15:21 +01:00
Pedro RodriguesandClaude 26a88e792d chore(studio): bump @supabase/mcp-server-supabase to 0.15.0 (#52454)
## Summary
- Bump `@supabase/mcp-server-supabase` from `^0.12.0` to `^0.15.0`.
- Add `submit_feedback` / `delete_feedback` to self-hosted `/api/mcp`
via upstream `createFeedbackOperations`, without the self-hosted project
ref. Notebook tools stay out of self-hosted.

## Verification
Against the pkg.pr.new preview: `tsc --noEmit` in `apps/studio` passes,
MCP vitest suites pass (14/14), and `tools/list` on `/api/mcp` includes
the feedback tools and no notebook tools.

Closes:
[AI-1369](https://linear.app/supabase/issue/AI-1369/2b-update-self-hosted-remote-mcp-server-self-hosted-studio-assistant)

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-29 15:03:54 +00:00
Jeremias Menichelli 9b1ddcab93 chore: Remove old search code and add contributing documentation plus local dev flow (#52487)
## Problem

We decided to keep the search_v2 experiment.

## Solution

Delete all files related to the variant experimentation, old components
and ingest flow.

<!--
## 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 docs preview
2. Search V2 should be the default search

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-29 16:02:35 +01:00
Jeremias Menichelli 611246ead5 feat: ingest sdk and reference pages to search v2 (#52458)
## Problem

Our current `search_v2` solution currently ignore reference pages, since
they are not in markdown format.

## Solution

Use the source model from _"search_v1"_ to ingest the `search_v2` 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

_Sadly, this cannot be tested until re-ingestion happens on our CI._

But here are some local tests...

<img width="666" height="278" alt="Screenshot 2026-10-28 at 16 59 45"
src="https://github.com/user-attachments/assets/9be67cb7-2598-42ce-86f7-3947e607588d"
/>

<img width="725" height="269" alt="Screenshot 2026-10-28 at 16 58 38"
src="https://github.com/user-attachments/assets/30a74c41-5a2e-48f8-8c82-24b40c80e738"
/>

---

Funny enough, with the same legacy source model, results are better
since this search ranks up the JavaScript method correctly, which our
current search doesn't.

<img width="713" height="640" alt="Screenshot 2026-10-28 at 16 56 59"
src="https://github.com/user-attachments/assets/e658ac24-7752-4e7b-baa4-b7fdca89de94"
/>

## 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-29 16:02:15 +01:00
supabase-vercel-tedd[bot] e9325aa3fa FE-4754 (#52450)
`CommandMenuInput` now supports controlled `value` / `onValueChange`
props. Before, these props replaced the input's internal handlers, so
the shared query stayed empty. Results in the RLS Policies, Edge
Functions and Storage search views never updated, and Backspace went
back to the parent menu instead of deleting a character. The shown value
(controlled or internal) now drives the query, telemetry and the
empty-input Backspace check, and the caller's `onValueChange` is still
called. Added `CommandMenuInput.test.tsx` covering typing and Backspace
in both modes.

Studio typecheck (`pnpm --filter studio typecheck`) ran out of memory.


[FE-4754](https://linear.app/supabase/issue/FE-4754/studio-pressing-backspace-or-typing-in-command-menu-context-search)

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-10-29 08:57:27 -06:00
bd62dec2e2 refactor(studio): share Auth user cards and detail fields (#50841)
Extract shared Auth user cards and copyable detail fields, and use the
shared raw-JSON display in the user panel. The existing Logs view
remains available; unified activity timelines and log-user filtering
arrive separately in #50837.

This includes display-name/initials coverage and the Auth panel's
component and browser tests. The browser test now verifies keyboard
copying and Escape panel dismissal separately: the existing Auth Escape
shortcut closes the details panel, so expecting it to restore focus to a
field was incorrect. Its Raw JSON check reads the copied JSON's fields,
since the code view's text includes line numbers.

`UserCard` is Studio's first `Avatar`, so `vite.config.ts` pins
`avatar.tsx` to its own chunk, like `field`, `drawer` and `slider`.
Otherwise Rolldown pools it into the Auth `users` page chunk that the
`ui` barrel then imports back, a chunk cycle that fails the TanStack
build.

### How to test

1. Open an existing user in Authentication → Users. Check the profile
card, overview fields, and name/avatar fallbacks for a user without
profile metadata.
2. Open a copyable field using both mouse and keyboard (Enter), choose
Copy, and check the clipboard value.
3. Open Raw JSON, scroll, and use the floating copy button. Confirm the
existing Logs tab still opens and Escape closes the user panel.

### Validation

- Final head `f4f8cb22e97fefac56c68b4676184d8358d8080e` targets master
without conflicts.
- Focused local tests: 13 passed across three files, retries disabled,
including independent shuffled seed 5084131. Real panel/MSW tests cover
field copying and complete nested JSON; fallback and Unicode regressions
detect the original broken behavior.
- Browser QA passed on `6b49434339`: nameless profile fallback, overview
fields, mouse/keyboard copying, Raw JSON scrolling/copying, existing
Logs tab, and Escape dismissal. Later commits change only the E2E test;
application code is identical.
- All GitHub checks passed on the final head, including four unit-test
shards, four Next/TanStack E2E shards, typecheck, formatting, lint
ratchet, knip, and Studio Docker build.
- Independent review found no remaining issues; all review threads are
resolved.
- Fresh final-head studio-staging preview is blocked during dependency
installation: the registry returns HTTP 451 for
`react-hook-form@7.72.1`. The earlier matching application preview
passed browser QA; this deployment failure remains visible.

### Stack

Based on the logs table building blocks stack, which merges first:
#50953 → #50954 → #50955 → #50957 → #50958 → #52281. Then merge in
order:

1. #50835 — grouped log overviews and raw JSON
2. #50840 — request correlation queries
3. #50836 — request timeline UI and folding
4. #50841 — shared Auth user details
5. #50837 — log user correlation and Auth activity

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2026-10-29 15:22:12 +01:00
Riccardo Busetti 6aed258d87 feat(migration): Move pipeline_id to string (#52489) 2026-10-29 15:16:51 +01:00
c777ca1c74 fix(studio): quote pgmq.create_partitioned interval args as text to f… (#52480)
## Problem

Creating a **partitioned queue** from the dashboard (Integrations →
Queues → Create queue)
  fails with:

  ```
Failed to create database queue: function
pgmq.create_partitioned(unknown, integer, integer) does not exist
  ```

The form submits `partitionInterval` / `retentionInterval` as numbers,
and `literal()`
in pg-format renders numbers unquoted, so the generated SQL passes bare
integers while
  `pgmq.create_partitioned` declares these parameters as `text`.

  Fixes #52479

  ## Solution

Convert the intervals with `String()` before passing them to `literal()`
so quoted text
  literals are generated, matching the function signature:

  ```sql
  select from pgmq.create_partitioned('my_queue', '10000', '100000');
  ```

When both intervals are unset, the arguments are omitted entirely so the
function
  defaults (`'10000'` / `'100000'`) apply instead of explicit `NULL`s.

  Basic and unlogged queue creation are untouched.

  ## Review instructions

1. Enable the Queues integration on a project running pgmq whose
`create_partitioned`
     takes text args (e.g. self-hosted / pgmq 1.5.x)
  2. Go to Integrations → Queues → Create queue
  3. Select "Partitioned queue" (default) and click Create queue
  4. Verify the queue appears in the list, and
     `select * from pgmq.list_queues()` reports `is_partitioned = true`

  ## 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: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 14:39:03 +01:00
Alaister YoungandAlaister Young e8765574ef fix(studio): execute next/script scripts in the TanStack build (#52497)
In the TanStack build, `next/script` is a compat shim that rendered a
plain React `<script>` element. React never executes scripts it creates
on the client, so `<Script>` silently did nothing. The only consumer is
`TelemetryTagManager` (`packages/common/telemetry.tsx`), so Google Tag
Manager never loaded on the dashboard: the tag was in the DOM, but no
`gtm.js` event and no loader request.

**Changed:**
- `compat/next/script.tsx` is now a client-only port of Next's
`next/script`: it renders nothing and injects the script imperatively in
an effect (`document.createElement`), with Next's attribute handling,
`onLoad`/`onReady`/`onError` semantics and `lazyOnload` strategy
- Scripts are deduped by `id`/`src` at module level, so remounts and
duplicate instances never execute the same script twice (GTM can't
double-initialize)
- `beforeInteractive` and `worker` load after mount like
`afterInteractive`, since there's no Next document or Partytown in the
SPA

**Added:**
- `compat/next/script.test.tsx` covering inline execution, dedupe across
remounts, `src` scripts, load/error callbacks and `lazyOnload`

No CSP change needed: `script-src` already allows `'unsafe-inline'` and
the Stape GTM host, and `connect-src`/`img-src`/`frame-src` cover its
collect hits and service-worker iframe.

## To test

- On the preview, with consent accepted, open devtools on any dashboard
page:
- `window.dataLayer` contains a `gtm.js` event and
`window.google_tag_manager` is defined
- The Network tab shows the GTM loader request (`4icgbaujh.js`) plus
collect hits
- Exactly one `script[src*="4icgbaujh"]` element exists, even after
navigating around
- No CSP violations ("Refused to load…") in the console, including on
sign-in/sign-up
- Opt out of analytics in Account → Preferences, reload, and confirm the
loader isn't requested

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-10-29 21:25:49 +08:00
Ivan VasilovandClaude Sonnet 5.5 710f4c8bed fix(www): revert Next.js 15 router state header guard in proxy (#52136)
## Problem

#52071 added a guard in the www proxy that rejects Next.js 15 router
state headers, because the docs zone still ran Next.js 15. The docs
upgrade to Next.js 16 (#52045) has merged, so the guard is no longer
needed. Resolves
[FE-4685](https://linear.app/supabase/issue/FE-4685/revert-nextjs-15-router-header-guard-after-pr-52045-merges).

## Solution

Reverts #52071: removes the legacy router state tree check and the
`OTHER_ZONE_PREFIXES` list from `apps/www/proxy.ts`, along with its
tests in `apps/www/proxy.test.ts`.

## Review instructions

1. Confirm the diff matches the inverse of #52071.
2. Run `pnpm --filter=www exec vitest run proxy.test.ts` and see it
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)

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

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 22:42:46 +11:00
Drew McLellan 7d6671e6ea test(studio): cover generating a role password in the roles E2E test (#52490)
## What kind of change does this PR introduce?

Test update.

## What is the current behavior?

The Roles CRUD E2E test turns on "User can login" but doesn't touch the
password field added in #52463.

## What is the new behavior?

After enabling login, the test checks that the Password field appears
empty, that "Generate a password" fills it, and that the "Password
generated" announcement is present. It then saves the role as before.

The roles page is behind the `database:roles` flag, which is on by
default, so this runs in the self-hosted E2E jobs. This answers the
question on FE-4763 about self-hosted coverage.

## Testing

This relies on the self-hosted E2E jobs in CI.

Resolves FE-4763 follow-up.
2026-10-29 11:21:00 +00:00
Drew McLellan d5ab791acc fix(pg-meta): quote password correctly in role update SQL (#52464)
## Problem

`pgMeta.roles.update()` produces invalid SQL whenever a `password` is
passed, so every password update fails with a syntax error. The builder
wraps the `alter role` in a PL/pgSQL `format()` string and interpolated
the already-quoted password into it, so the password's quotes ended the
string early. It is latent today because nothing in Studio calls update
with a password, but it blocks any future edit or reset-password UI for
roles.

The not-found branch in `update()` and `remove()` also referenced an
undeclared `id`, so a missing role failed with `column "id" does not
exist` instead of the intended message.

Resolves FE-4766. Found while working on FE-4763.

## Solution

- Emit `password %L` in the format string and pass the quoted password
as a `format()` argument, the same way `valid until` already works. This
also stops `%` in a password being read as a format specifier.
- Add a small `getRoleNotFoundSql` helper so `update()` and `remove()`
raise `Cannot find role with id N` (or `with name X`) instead of the
column error.
- Tests: update with a plain password, one with `'` and `"`, and one
with `%`; a password combined with `valid until`; and the not-found
message for update by id, update by name, and remove. Without the fix
the password cases fail with a syntax error and the not-found case fails
with the column error.

The new tests drop the roles they create, since roles are cluster-wide
and dropping the test database doesn't remove them.

## Review instructions

1. Run `pnpm exec vitest run test/roles.test.ts` in `packages/pg-meta`
against a throwaway Postgres.
2. Confirm the new tests pass.
3. Revert `src/pg-meta-roles.ts` and confirm the password and not-found
tests fail.

## 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-29 11:18:57 +00:00
Monica Khoury 8bdc2bf0c5 feat(studio): refresh webhook deliveries on demand instead of polling (#52444)
## Problem

The deliveries table polled the API every 5 seconds, for as long as the
page was open. Studio tables are not polled by default, and polling is
only needed here because delivery results arrive asynchronously.

Stacked on #52314. Linear:
[FE-3750](https://linear.app/supabase/issue/FE-3750/add-pagination-to-platform-webhooks-deliveries-table)

## Solution

- Deliveries are no longer polled by default.
- A **Live** button turns polling on (every 5 seconds), and a
**Refresh** button reloads once.
- Polling also turns on by itself while a delivery is pending, and after
a test event or retry is sent until its delivery appears (30 seconds at
most). The action never looks like it did nothing.
- Hovering a failed delivery explains that failed deliveries are usually
retried automatically. The API returns no retry state yet, so a
scheduled retry only shows up once its attempt starts.

## Review instructions

1. Enable the Platform Webhooks feature preview, open an endpoint with
deliveries, and filter DevTools > Network by `deliveries`. No request
repeats on its own.
2. Click Refresh. One request is sent.
3. Click Live. A request is sent every 5 seconds and the dot pulses.
Click Live again and the requests stop.
4. Send a test event. Requests repeat for a few seconds until the new
row appears, then stop.
5. Set the endpoint URL to `https://httpbin.org/delay/10` and send a
test event. While the new row shows `pending`, requests repeat. Once it
shows `success`, they stop.
6. Hover a `failure` badge. The retry tooltip shows.
2026-10-29 12:44:44 +02:00
supabase-vercel-tedd[bot] 47c0322476 chore: Bump astro to non-vuln version (#52460)
Bumps `astro` from 7.2.9 to 7.4.2 in `pnpm-lock.yaml` to fix two
advisories. Only the lockfile changes; `apps/kb` is the only consumer
(directly and via `@astrojs/mdx`).

**Why**

`pnpm audit` reports `astro` as vulnerable (<7.3.2 / <=7.3.2):
- npm advisory 1242877 (moderate): reflected/stored XSS via unescaped
`<script>`/`<style>` content in JSX/MDX rendering. Patched in >=7.3.2.
- npm advisory 1242878 (low): arbitrary CSS injection in Astro View
Transitions. Patched in >=7.3.3.

**Approach**

Ran `pnpm tsx scripts/fix-audit-vulnerability.ts <package> --json` down
the list of patchable vulnerabilities, in order, and stopped at the
first that succeeded. The existing `^7.2.6` specifier in `apps/kb`
already allows 7.4.2, so no manifest or `pnpm-workspace.yaml` change is
needed. The lockfile also picks up astro's own transitive updates (for
example `@astrojs/compiler-rs` 0.5.2, `@astrojs/telemetry`, `magicast`,
`yaml` 2.9.1) and the peer-suffix changes they cause in a few importers.

Packages tried first and why they did not work (working tree reset after
each):
- `@graphql-tools/utils`: still vulnerable after the override was
removed. The script reverted.
- `@vue/server-renderer`, `happy-dom`, `ip-address`, `path-to-regexp`,
`toml`, `zod`, `@nuxt/nitro-server`, `@vitest/mocker`: same, still
vulnerable after the override was removed.
- `node-forge`: `pnpm install` with the override failed (likely blocked
by `minimumReleaseAge`).

**Validation**

- `pnpm install --frozen-lockfile` passes with the new lockfile.
- `pnpm --filter studio lint`: 0 errors (existing warnings only).
- `apps/kb` `astro.config.test.ts` passes.
- `pnpm --filter studio typecheck`: could not finish. `tsc` was killed
for running out of memory (exit 137) on three runs in the sandbox. This
change does not touch Studio sources or dependencies.


[FE-4764](https://linear.app/supabase/issue/FE-4764/bump-a-single-vulnerable-dependency)

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-10-29 11:32:59 +01:00
claude[bot]andClaude e959031675 feat(www): add Candidate Privacy Notice legal page and careers link (#52388)
<!-- claude-slack-attribution -->
_Requested by **Sofia Calado** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1793106267476009)_

**Before:** The Candidate Privacy Notice only existed as a PDF. The
Legal Hub's "Privacy Resources" section listed the Data Processing
Addendum, the Subprocessor List and the Data Residency and Transfers
FAQ, and the /careers page had no link to any candidate privacy
information.

**After:** The notice is a native, indexable page at
`/legal/privacy-resources/candidate-privacy-notice`, showing "Version 1
— October 28, 2026" at the top left of the document. It is listed in the
"Privacy Resources" section of the Legal Hub, and linked from the "Open
positions" section at the bottom of `/careers`.

This publishes the Candidate Privacy Notice as a web page and links it
from the Legal Hub and the careers page.

## Problem

Legal asked for the Candidate Privacy Notice to be published as a page
in the Legal Hub under "Privacy Resources", with a link from the careers
page. This is the first published version ("Version 1", October 28,
2026), so the page has a single version entry. The text is Legal's final
PDF, whose internal filename says "v.2.0" (an internal draft number, not
a published version).

## Solution

How: the page mirrors the sibling Privacy Resources pages
(`DefaultLayout` > `NextSeo` > `PageHeader` with a Legal / Privacy
Resources breadcrumb > `MDXProvider` > `LegalDocVersions`) with a single
`v1` entry, so the version line renders as "Version 1 — October 28,
2026" above the body, the same as the other legal pages. The source PDF
has no version or date text; both were supplied by the requester. The
body is `data/legal/privacy-resources/candidate-privacy-notice/v1.mdx`,
transcribed verbatim from the final PDF, except for the three deliberate
edits below. Headings, bullet lists, the numbered list, bold run-ins and
the three tables follow the PDF; tables are Markdown tables styled by
the existing prose styles (the PDF's colors are not reproduced, and the
two grey sub-header rows in the first table are bold rows in the first
column). The "Communicatio ns" in the PDF table is a line wrap and
renders as "Application Communications". Link targets are taken from the
PDF: `mailto:privacy@supabase.io`, `https://www.pdpc.gov.sg`,
`https://www.ico.org.uk`, `https://www.edoeb.admin.ch`,
`https://cppa.ca.gov` and
`https://www.edpb.europa.eu/about-edpb/our-members_en`. The sitemap is
generated from `pages/**/*.tsx`, so the new route is included without
changes.

Deliberate deviations from the PDF, at the requester's direction:

- The first mention of EOR, the "EOR Service Providers" row label, reads
"Employer of Record (EOR) Service Providers". Later mentions stay "EOR".
- The EU/EEA link in "File a Complaint" shows
`edpb.europa.eu/about-edpb/our-members_en` (domain without `https://`,
like the other links in that list) and links to
`https://www.edpb.europa.eu/about-edpb/our-members_en`. The PDF shows
the full URL as the text.
- The "Legal Hub" link in "What If This Notice Changes?" is the relative
`/legal` (the PDF links to `https://supabase.com/legal`).

The /careers link is one `<p>` at the end of the "Open positions"
section, after the "Join community" row, using the same small muted text
and `text-foreground hover:underline` link classes as the privacy-policy
line in `RequestADemoForm`. No new components or styles; `Globe` and the
scroll behavior are untouched.

## Review instructions

1. Open `/legal` and check "Privacy Resources" lists "Candidate Privacy
Notice" after the Data Residency and Transfers FAQ.
2. Open `/legal/privacy-resources/candidate-privacy-notice`, check the
breadcrumb, the "Version 1 — October 28, 2026" line at the top left, and
the three tables and numbered list; compare the text with the source
PDF.
3. Click the email and regulator links (including the EU/EEA one), and
the "Legal Hub" link (goes to `/legal`).
4. Open `/careers`, scroll to the bottom of "Open positions", and check
the new privacy notice line and its link.

## Open questions for Legal

Left exactly as written in the PDF, in case Legal wants to change the
source text:

- "Supabase Pte. Ltd. or Supabase Inc., (collectively" has a comma
before the parenthesis.
- "Information We Collect About You?", "Sensitive Personal Information
We May Collect About You?", "How We May Share Personal Information with
Third Parties?" and "Where Your Data May Be Transferred?" are headings
with a question mark that are not questions.
- "our/EOR’s" uses a curly apostrophe; the rest of the notice uses
straight quotes.
- "offer letter and /or employment agreement" has a space before "/or".
- The numbered list ends "Final decision: Humans decide to hire or
reject;" with a semicolon, and the "EOR Service Providers" table cell
has no final period.
- Numbered item 1 reads "Sourcing: Algorithms identify and contact
candidates;" with no human step, while the lead-in says every
recruitment decision involves human review and items 2 to 4 each name a
human step.
- The notice says it updates the "last version" date, while the page
shows "Version 1 — October 28, 2026".

## Checks

- Prettier (repo options, without the SQL and import-sort plugins, which
are not installed) passes on the changed files.
- The MDX compiles with `@mdx-js/mdx` + `remark-gfm` + `rehype-slug`
(same plugins as `next.config.mjs`) and renders to HTML.
- Text comparison of the rendered MDX against the PDF text: the only
differences are the deliberate edits above. Bold words and heading
levels match the PDF.
- Not run: `pnpm install` is blocked in this environment, so `tsc`,
lint, `next build` and the preview were not run. The EDPB link was not
opened (egress-blocked).

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

https://claude.ai/code/session_01VBvtQVchiAw9yFqzoWNhQh

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-29 11:32:41 +01:00
Coenen Benjamin 253d874e38 fix(warehouse): disallow warehouse installation on orioledb (#51913) 2026-10-29 11:31:54 +01:00
Anthony Lio 6a421fe296 feat(kb): updates glyph lines (#52389)
## Problem

- make kb warp hero consistent with recent `GlyphLines` usage in `www`
for favor over grain mask usage for consistency purpose

## Solution

- replaces the grain lines on the kb heroes and topic covers with lines
that spell the page title and description
- changes all lines to one opaque border color, so overlapping glyphs do
not get brighter
- adds a surface cell behind each glyph, so lines that cross stay
readable
- changes the draw-in animations to start when the glyphs first paint,
so the reader sees them
- changes the canvases to redraw at the pinch zoom resolution, so zoomed
text stays sharp
- removes the grain mask and the animations that nothing uses now

| state | preview |
| -------|------|
| before | <img width="1701" height="670" alt="image"
src="https://github.com/user-attachments/assets/9c8de3d3-c3cb-4d7e-ad8c-aedc36f8f911"
/> |
| after | <img width="1701" height="670" alt="image"
src="https://github.com/user-attachments/assets/0be46a5f-6024-4f76-b600-99a86090cc2c"
/> |

<!--
## 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. run `pnpm dev:kb` and open `/kb`
2. open `/kb/topics/auth` and make sure that the grid, the frame lines
and the shapes draw in after the

## 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-29 06:46:36 +02:00
Anthony Lio 9eaae4cd2c feat(www): brand page (#52295)
## Problem

- a person or an agent cannot link one logo file or pick the file for a
light or a dark background as the brand assets page has one preview
image and two zip downloads only
- `apps/www/lib/json-ld.ts` sets `Organization.logo` to the open graph
banner instead of a logo file

## Solution

- [proposal] Brand Assets -> Brand Guidelines
- [proposal] `/brand-assets` -> `/brand`
- adds the official logos as separate svg and png files in
`/brand-assets/`, with a catalog that tells the background that each
file is for
- show each file on its background, with copy and download actions
- adds `/brand.md` and a "Copy agent prompt" button, so an agent can
read which file to use for each background
- adds a "Copy wordmark" item to the nav logo menu, which copies the
wordmark file for the site theme
- changes `Organization.logo` from the open graph banner to the wordmark
png

`brand assets page`
| before | after |
| -------|------|
| <img width="1637" height="901" alt="image"
src="https://github.com/user-attachments/assets/6b5361c8-0995-4e61-bc29-b5a7ccab7d69"
/> | <img width="1637" height="901" alt="image"
src="https://github.com/user-attachments/assets/0f65ab36-d6f2-427e-8973-eb559139cf8e"
/> |

`logo right click`
| before | after |
| -------|------|
| <img width="676" height="362" alt="image"
src="https://github.com/user-attachments/assets/5abde373-8a37-4ab8-8193-fb7112b97104"
/> | <img width="676" height="362" alt="image"
src="https://github.com/user-attachments/assets/ef5d0724-6a91-4af7-8e9d-59025a9eba87"
/> |

<!--
## 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. run `pnpm dev:www` and open `http://localhost:3000/brand-assets`
2. in the gallery, copy and download one file of each group, and make
sure that each file opens
3. click "Copy agent prompt", and make sure that the copied text names
`https://supabase.com/brand-assets.md`
4. open `http://localhost:3000/brand-assets.md`, and make sure that it
links each svg and png file
5. right-click the nav logo, hover "Copy logo" and "Copy wordmark", and
make sure that the frame moves to the part that each item copies
6. click "Copy wordmark" in the light theme and in the dark theme, and
make sure that the pasted svg has black and then white lettering
7. run `pnpm --filter www exec vitest run data/brand-assets.test.ts`,
and make sure that the 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-10-29 09:57:35 +11:00
Satya Uppada 0e3dd658fe Update humans.txt (#52345)
- Adds Satyanarayana Uppada (i.e @satya-u99) to
`apps/docs/public/humans.txt`
2026-10-28 14:49:29 -07:00
Drew McLellan 9b015c7427 feat(studio): allow setting a password when creating a role (#52463)
## Problem

The Create Role panel offers "User can login" but no way to set a
password, so a role created with login enabled can't authenticate with a
password until one is set elsewhere. The role SQL builder in `pg-meta`
already supports a password on create; the form just never sent one.

Resolves FE-4763.

## Solution

- Add an optional **Password** field to the Create Role panel, shown
only while "User can login" is on. It has a copy button and a "Generate
a password" action, matching how project creation handles database
passwords.
- Keep password optional. If the field is empty, or login is turned off
after typing one, the password is left out of the request, so behavior
is unchanged from today.
- Link the privilege switch labels to their switches (the label
previously pointed at a wrapper `div`), which also lets the new tests
find the switch by its label.
- Tests: a `pg-meta` case creating a role with a password containing
quotes, and component tests asserting the SQL sent for each of the four
password and login combinations.

Not in scope: editing or resetting an existing role's password. 

<img width="663" height="661" alt="Screenshot 2026-10-28 at 17 22 59"
src="https://github.com/user-attachments/assets/270fcfb4-4dc9-4dc1-b8e6-4141ee755ac2"
/>


## Review instructions

1. Open Database > Roles and click **Create role**.
2. Confirm no password field shows until you enable **User can login**.
3. Enable login, click **Generate a password**, then copy it with the
copy button, and create the role.
4. Confirm you can connect as the new role using that password.
5. Create another role with login enabled and the password left empty;
confirm it is created as before.
6. Click a switch label (for example "User can login") and confirm it
toggles the switch.

## 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-28 21:49:07 +00:00
b27694b1d4 docs: add TanStack DB reference page (#51086)
## Problem

`supabase/tanstack-db` (a frontend data layer syncing TanStack DB
collections with Postgres via Supabase) has no reference documentation
on supabase.com/docs.

## Solution

Adds a new `/reference/tanstack-db` SDK reference page documenting
`supabaseCollectionOptions()`, `queryOnce()`, and live-query/mutation
usage. Since the package has no TypeDoc pipeline (unlike
`middleware`/`server`), it uses the legacy hand-written YAML spec
pattern already used for Python, Swift, C#, and Dart v1
(`apps/docs/spec/supabase_tanstack_db_v1.yml`), wired into
`navigation.references.ts` and the sidebar/breadcrumb constants the same
way as the existing `middleware` entry. Content is sourced from the
public `supabase/tanstack-db` README and source, since there's no
internal ticket for this.

## Review instructions

1. Run `pnpm run codegen:references:legacy` in `apps/docs` and confirm
`features/docs/generated/tanstack_db.v1.*.json` are generated.
2. Start local Supabase (`pnpm supabase start`) and `pnpm dev:docs`,
then visit `/docs/reference/tanstack_db` and confirm the sidebar entry
and content render.

## Checklist

- [ ] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)

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

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: Tiago Antunes <tiagoantunespt@gmail.com>
2026-10-28 22:10:43 +01:00
Michael Zalimeni 582af94a3c docs: adds Michael Zalimeni to humans.txt (#52475)
## 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)
2026-10-28 22:17:01 +02:00
supabase-supabase-autofixer[bot]andkodster28 a6b7d1c359 chore(sitemaps): refresh sitemaps (#52474)
Refreshes the sitemap snapshots in `sitemaps/` with the current values
from:

- `https://supabase.com/sitemap_www.xml` →
`sitemaps/json_output/sitemap_www.json`
- `https://supabase.com/docs/sitemap.xml` →
`sitemaps/json_output/sitemap_docs.json`
- `https://supabase.com/kb/sitemap-0.xml` →
`sitemaps/json_output/sitemap_kb.json`

Source: manual run

This PR was created automatically and is updated in place on each run.

Co-authored-by: kodster28 <26727299+kodster28@users.noreply.github.com>
2026-10-28 14:54:57 -05:00
AnaandAna 5846d362a1 docs(blog): add authors to orioledb public beta post (#52472)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

- Adds Alexander Korotkov and Artur Zakirov as authors of the OrioleDB
public beta blog post
- Adds an author entry for Artur Zakirov
- Updates Aditya Maruvada's author title to Product

## What is the current behavior?

The OrioleDB public beta blog post lists two authors, and Aditya
Maruvada's title is Engineering.

## What is the new behavior?

- Byline lists Aditya Maruvada, Daniel Mitterdorfer, Alexander Korotkov,
and Artur Zakirov
- `authors.json` has a new `artur_zakirov` entry
- `aditya_maruvada` shows "Product"

## Additional context

N/A

Co-authored-by: Ana <ana1337x@users.noreply.github.com>
2026-10-28 14:52:38 -04:00
Charis 19aa27384a feat(studio): guard branch creation with FGA grants (#52375)
Part 4 of 7 in a stack that splits #52331 into reviewable pieces.
Resolves part of
[FE-4693](https://linear.app/supabase/issue/FE-4693/pilot-migrate-branches-to-grants-8-endpoints-createbranchmodal).
There are no functional changes beyond #52331, and the top of the stack
is identical to it. See #52331 for the full rationale.

## Stack
1. #52372 Grant infra for branch variants
2. #52373 Branches list query
3. #52374 Page gates on the list grant
4. 👉 #52375 Branch creation
5. #52376 Branch read, delete, reset, and restore
6. #52377 Branch update and push
7. #52378 Branch diff and merge

## Changes
The create mutation takes a grant. `CreateBranchButton`,
`CreateBranchModal`, and `Branch.Commands` (legacy `CREATE
preview_branches`) switch to `useGrant('POST
/v1/projects/{ref}/branches')`. "Include data" is disabled without
production create; previously it failed after you submitted. The GitHub
integration form gets a minimal production-create guard, which ##52377
replaces.

## Testing
New `CreateBranchButton` test.
2026-10-28 14:16:03 -04:00
AnaandAna 180352fcb5 docs(blog): add video to orioledb public beta post (#52462)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

- Adds the OrioleDB public beta YouTube video to the OrioleDB public
beta blog post

## What is the current behavior?

The OrioleDB public beta blog post has no video.

## What is the new behavior?

- Embeds the "OrioleDB is now in public beta" video below the intro
paragraph, using the same `video-container` embed as other recent blog
posts

## Additional context

Video: https://www.youtube.com/watch?v=s2jdUxV2xFo

Co-authored-by: Ana <ana1337x@users.noreply.github.com>
2026-10-28 13:25:48 -04:00
Alex Ives af3228112e docs: Add Alex Ives to humans.txt (#52428)
## Problem

As a part of my onboarding, I'm supposed to add myself to humans.txt

## Solution

I added myself?

## Review instructions

This is a bit far fetched, but presumably I guess you might check that I
didn't put my name in the wrong place?

## 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-28 11:58:28 -05:00
AnaandAna bfaa91427c blog: orioledb public beta (#52328)
## 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?

- Blog post: OrioleDB public beta (publishes Oct 28, 2026)

## What is the current behavior?

N/A

## What is the new behavior?

- Adds the OrioleDB public beta blog post and its images

## Additional context

- Draft while final content checks finish
- OG and thumbnail images are the final Brand Design assets (`og.png`,
`thumb.png` in
`apps/www/public/images/blog/2026-10-28-orioledb-public-beta/`)

---------

Co-authored-by: Ana <ana1337x@users.noreply.github.com>
2026-10-28 12:42:12 -04:00
Kody Jackson 21d044dfd3 chore(kb) - backfill dates for newer entries (#52449)
## Problem

now have dates rendered, but some files were added before then and now.


[before](https://supabase.com/kb/faqs/background-jobs/background-job-processing)
-- no date at top

[after](https://kb-git-kb-date-chore-supabase.vercel.app/kb/faqs/background-jobs/background-job-processing)
-- date at top

This isn't the most sustainable pattern, but fine for now to avoid
complexity of getting gitinfo from github
2026-10-28 11:32:03 -05:00
4f75659942 feat(studio): show request timelines with ordered active log folding (#50836)
Add a Timeline tab that displays related request logs and opens a
selected step in the overview. The panel summary, timestamp, and
navigation controls follow the active log.

Long timelines show the first three steps and retain the active log in
its chronological position. Separate controls count hidden rows before
and after it, for example `+3 more`, the active log, then `+2 more`.
Expanding either control restores the full order. Query construction and
fetching are reviewed separately in #50840.

### How to test

1. With `otelUnifiedLogs` enabled, open a non-compute log with related
request activity and select Timeline. Check chronological order, then
select a step and confirm its overview and panel summary update.
2. Expand a long timeline, select a later step, and return to Timeline.
The active step should stay in order, with separate hidden counts above
and below. For nine steps with the seventh active, expect `+3 more`, the
active step, then `+2 more` after the first three steps. Expand using
both mouse and Enter.
3. If a long request is unavailable, run the deterministic
folding/navigation cases: `pnpm --filter studio exec vitest run
components/interfaces/UnifiedLogs/components/RequestTimeline.platform.test.tsx
components/interfaces/UnifiedLogs/components/LogTimeline.utils.test.ts`.

### Validation

- Focused local unit/MSW suite: 260 tests passed across 18 files with
`--retry=0 --sequence.shuffle --sequence.seed=5083605`.
- Browser QA verified a real five-step request timeline and folding.
Nine-step folding and active-log ordering were verified with
deterministic fixtures.
- All checks triggered on head `6b80811bae` passed.
- Master-only typecheck, unit, formatting, and lint workflows do not run
against this stack base. Rerun them when the PR is retargeted to
`master`.

### Stack

Based on the logs table building blocks stack, which merges first:
#50953 → #50954 → #50955 → #50957 → #50958 → #52281. Then merge in
order:

1. #50835 — grouped log overviews and raw JSON
2. #50840 — request correlation queries
3. #50836 — request timeline UI and folding
4. #50841 — shared Auth user details
5. #50837 — log user correlation and Auth activity

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2026-10-28 17:14:53 +01:00
shaziya 8bcf4b3a46 chore(www): add blog post for the Make integration (#52431)
## 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: adds a new blog post announcing the Supabase integration
for Make, scheduled for 2026-10-28.

## What is the current behavior?

There is no blog post announcing the Make integration.

## What is the new behavior?

Adds
`apps/www/_blog/2026-10-28-automate-your-supabase-backend-with-make.mdx`,
covering the two ways to connect (Make's Supabase API apps and the MCP
client for AI agents), the live-data benefits, setup steps, and a
partner quote from Make. Also adds the OG (`og.png`) and header
(`thumb.png`) images.

## Additional context

- The Make catalog listing URL used in the "Get started" link is Make's
integration page and may need updating once the catalog listing is live.
- Needs a marketing approval before merging.
2026-10-28 09:10:58 -07:00
Miranda Limonczenko 4b7af187a4 feat(docs): add Option 1 navigation behind the flag (#52191)
Closes DOCS-1469

## Problem

Option 1 in the navigation proposal groups the docs into Start, Build,
Develop and deploy, Run and manage, Self-Hosting, Reference, and
Resources. The `docs-ia-mvp-v1` flag from #52049 switches to an Option 1
config. That config is still a copy of today's navigation.

## Solution

- **Top nav:** reads Start, Build, Develop and deploy, Run and manage,
Self-Hosting, Reference, and Resources. Menus still open sidebars by URL
prefix, as they do today.
- **Run and manage:** pages under `/guides/platform`,
`/guides/security`, and `/guides/observability` share one sidebar with
the outline's seven groups.
- **Other sidebars:** follow the outline. REST, GraphQL and Realtime
share one sidebar, and Cron and Queues share one sidebar.
- **Seven new topics:** keep their outline labels and link to the
section on their source page, for example
`getting-started/api-keys#leaked-key`.
- **No flash of today's nav:** flags load in the browser, so the nav
stays invisible until the query param or the flags resolve, with a
1-second fallback. The links stay in the HTML for agents.
- **Tests:** each page appears once across the sidebars, and every link
goes to a page in today's navigation. With the flag off, `useNavItems`
returns today's navigation.

**Not changed:** no URLs move. Breadcrumbs still show today's trail,
which DOCS-1470 covers.

## Manual testing

1. Open [Database Backups with the flag
on](https://docs-git-docs-ia-nav-option-1-supabase.vercel.app/docs/guides/platform/backups?docs-ia-mvp-v1=option-1).
The top nav reads Start, Build, Develop and deploy, Run and manage,
Self-Hosting, Reference, and Resources. The sidebar shows the seven Run
and manage groups.
2. Open [the same page with the flag
off](https://docs-git-docs-ia-nav-option-1-supabase.vercel.app/docs/guides/platform/backups?docs-ia-mvp-v1=control).
Today's navigation shows.
3. Open [Database with the flag
on](https://docs-git-docs-ia-nav-option-1-supabase.vercel.app/docs/guides/database/overview?docs-ia-mvp-v1=option-1).
The sidebar starts with Connect to your database.
4. In the sidebar, open Row Level Security, roles and Vault, and select
Test RLS policies with pgTAP. The testing overview opens at Database
unit testing with pgTAP.
2026-10-28 16:03:11 +00:00
supabase-vercel-tedd[bot] b5e9388ea7 fix(studio): redirect logged-out users from the logs index to sign-in (#52455)
Logged-out visitors who open `/project/<ref>/logs` directly now get sent
to sign-in. Before this change they stayed on a loading screen.

**Why**

Protected project pages get their auth guard from the layout:
`AuthLayout`, `LogsLayout`, `ProjectLayoutWithAuth` and so on all wrap
`withAuth`. `pages/project/[ref]/logs/index.tsx` is the exception.
Depending on the unified logs preview, it renders one of three things:

- `null` while the preview flags are still loading,
- a plain, unguarded `ProjectLayout` with `UnifiedLogs`,
- or a redirect to `/logs/explorer`, which is guarded by `LogsLayout`.

The unified logs preview is now on by default on the platform
(`isDefaultOptIn: true`), and a fresh browser has no stored opt-out. So
a logged-out visitor lands on the unguarded `ProjectLayout` branch.
Nothing in that tree runs `withAuth`, so no redirect ever fires and the
page waits forever on project data. `/auth/users` doesn't have this
problem because `AuthLayout` is wrapped in `withAuth`.

**Approach**

The page has no guarded layout, so this change wraps the page itself:
`export default withAuth(LogPage)`. Several pages already do this
(`authorize`, `cli/login`, `claim-project`, ...). A page-level guard is
mounted from the first render, so it also covers the `null` phase while
the preview flags load, not only the unified logs branch. `withAuth`
keeps `getLayout`, and the TanStack route
(`routes/project/$ref/logs/index.tsx`) renders the default export, so
both runtimes get the guard. The existing redirect logic is reused as
is, so `returnTo` is still kept on the redirect to sign-in. Signed-in
rendering is the same as before.

**Validation**

- New `tests/pages/project/[ref]/logs/index.platform.test.tsx` (runs
with `IS_PLATFORM=true`):
- no session, unified logs on: redirects to
`/sign-in?returnTo=/project/default/logs`
  - no session, preview still loading: redirects to sign-in
  - signed in: renders the logs view, no redirect
- Without the fix, both logged-out cases fail. With the fix, all 3 tests
pass.
- `eslint` and `prettier --check` pass on the changed files.
- Studio `tsc --noEmit` ran out of memory on the sandbox (8 GB) twice,
so it is not verified locally.

---------

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-10-28 15:52:53 +00:00
Miranda Limonczenko ee8cc9cff1 test(docs): fail navigation levels with 10 or more items (#52190)
Closes DOCS-1462

## Problem

A navigation level with many items is hard to scan. Today, 18 levels in
the docs navigation have 10 or more items, such as Platform > Platform
Configuration. Nothing stops a PR from adding more.

## Solution

- **Level size check:** `NavigationMenu.levels.nav-check.test.ts` walks
the top nav and every sidebar. A level with 10 or more items fails the
test, which names the level.
- **Allowlist:** starts with today's 18 levels, so CI is green on merge.
A level that drops below 10 items also fails until you remove it from
the list.
- **Option 1:** the check runs on the flagged navigation from #52049
too, with its own allowlist.
- **Navigation checks workflow:** `docs-navigation-checks.yml` runs
every test named `*.nav-check.test.ts`, only when the navigation config
or a check changes. The general docs test job skips these tests. A later
navigation guard only needs that file name.

## Manual testing

1. Run `pnpm --prefix="apps/docs" run test:nav-checks`. Both tests pass.
2. In `NavigationMenu.constants.ts`, add five items to Security >
Product security, and run the command again. Both tests fail and list
`Security > Product security`.
2026-10-28 08:47:54 -07:00
Charis 4bc9e65497 feat(studio): gate branches pages on the list grant (#52374)
Part 3 of 7 in a stack that splits #52331 into reviewable pieces.
Resolves part of
[FE-4693](https://linear.app/supabase/issue/FE-4693/pilot-migrate-branches-to-grants-8-endpoints-createbranchmodal).
There are no functional changes beyond #52331, and the top of the stack
is identical to it. See #52331 for the full rationale.

## Stack
1. #52372 Grant infra for branch variants
2. #52373 Branches list query
3. 👉 #52374 Page gates on the list grant
4. #52375 Branch creation
5. #52376 Branch read, delete, reset, and restore
6. #52377 Branch update and push
7. #52378 Branch diff and merge

## Changes
The branches, merge-requests, and merge pages replace
`useAsyncCheckPermissionsV2(BRANCHING_DEVELOPMENT_READ)` with the list
grant. They show `NoPermission` when it's denied and `AlertError` when
the check fails. The old check was too strict, because the backend
accepts development or production read.

## Testing
New branches page test.
2026-10-28 11:22:26 -04:00
supabase-vercel-tedd[bot] 91b780c7d7 feat(studio): layout-shaped loading state for compute instance detail (#52453)
Replaces the three generic shimmer bars on the Compute instance detail
page with a placeholder that follows the loaded layout.

**Why**

While the instance loads, the page showed three full-width bars with no
header, tabs or sections. When the data arrived, the whole page jumped
into a different shape.

**Approach**

A new `ComputeInstanceDetailSkeleton` reuses the same page primitives as
the loaded view (`PageBreadcrumbs`, `PageHeader`, `PageNav`,
`PageContainer`, `PageSection`) and the existing `ShimmeringLoader`, so
widths, padding and breakpoints match the real page:

- Breadcrumbs: the static Compute link, with a placeholder for the
instance name
- Header: a 56px icon placeholder, a title placeholder and three
metadata placeholders (state, runtime, version)
- Tabs: four placeholders sized like the tab labels
- Overview: the static Instances, Container and Resources section
headings, the ready-count line, the 2/4-column instance count grid, and
the container and resource rows

No instance values are shown until the data loads. On a non-overview tab
(`?tab=logs`, etc.), the content area falls back to the same
`GenericSkeletonLoader` the logs tab already uses. Data fetching, error
handling, the "instance does not exist" state and the loaded view are
unchanged.

**Validation**

- New `ComputeInstanceDetail.platform.test.tsx`: holds the instance
request open, checks that the placeholder renders (section headings,
breadcrumb link, no instance name, no tabs, no row labels), then
releases it and checks that the header, tabs, instance counts and
container rows render and the placeholder is gone. The existing Compute
tests still pass.
- `eslint` on the changed files: clean. `pnpm --filter studio lint`: 0
errors.
- `pnpm --filter studio typecheck` (`tsc --noEmit`) ran out of memory in
the sandbox (exit 137) twice, so it was not run to completion.

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-10-28 15:56:23 +01:00
Charis ce52277546 feat(studio): migrate branches list query to FGA grants (#52373)
Part 2 of 7 in a stack that splits #52331 into reviewable pieces.
Resolves part of
[FE-4693](https://linear.app/supabase/issue/FE-4693/pilot-migrate-branches-to-grants-8-endpoints-createbranchmodal).
There are no functional changes beyond #52331, and the top of the stack
is identical to it. See #52331 for the full rationale.

## Stack
1. #52372 Grant infra for branch variants
2. 👉 #52373 Branches list query
3. #52374 Page gates on the list grant
4. #52375 Branch creation
5. #52376 Branch read, delete, reset, and restore
6. #52377 Branch update and push
7. #52378 Branch diff and merge

## Changes
`useBranchesQuery` becomes `branchesQueryOptions`, which takes a grant,
uses `skipToken` without one, and keeps the grant out of the query key.
Every call site moves to `useGrant('GET /v1/projects/{ref}/branches')`.
Places that use the list incidentally (nav, project home, usage,
settings, GitHub status) treat a denied grant as "no branches" instead
of loading forever. Config drift no longer stays pending when its
prerequisites fail. Page gating is unchanged here and moves in the next
PR.

## Testing
Usage, General, `useGitHubConfigDrift`, and ConfigurationDriftPage
tests.
2026-10-28 09:45:43 -04:00
6612073428 feat(studio): add bounded request correlation queries (#50840)
Add tested query support for correlating logs by request and execution
IDs across API Gateway, Auth, Storage, and Edge Functions. Queries are
source-scoped, time-bounded, and limited to 200 rows, with at most one
additional lookup to follow a newly discovered execution ID.

This data-only layer introduces no UI or automatic requests. The
Timeline tab consumes its query options in #50836. Overview and request
correlation share a cached source-and-attributes lookup, including
concurrent requests. Cancelling a timeline preserves any shared overview
lookup. The new query is exercised through MSW without mocking React
Query hooks.

### How to test

This is a data-only PR. From the repository root, run:

```sh
pnpm --filter studio exec vitest run components/interfaces/UnifiedLogs/UnifiedLogs.queries.test.ts data/logs/unified-log-request-timeline-query.test.ts
```

The tests exercise source-scoped IDs, SQL escaping, time/row limits,
missing IDs, failed requests, the additional execution-ID lookup,
attribute-cache reuse in both navigation orders and concurrently, and
cancellation through MSW.

### Validation

- Synced with master; verified head
`a60bcf0565e0e3477779665660e871eec2edd2c8`.
- Focused unit/MSW baseline and shuffled seed 5084028: 121 tests across
seven files passed with retries disabled. Independent shuffled run, seed
5084029: 117 tests across six files passed.
- Correlation, shared lookup/cache, cancellation, and the 400-second
function boundary are covered. Behavioral mutation checks detect
shared-lookup cancellation and a shortened execution window.
- Matching studio-staging preview smoke check passed for existing
grouped overview attributes and complete copied Raw JSON metadata.
- All four unit-test shards, all four E2E shards, typecheck, formatting,
lint ratchet, knip, and Studio Docker build passed on this head.
- Independent review found no actionable issues; no unresolved review
threads.

### Stack

Based on the logs table building blocks stack, which merges first:
#50953 → #50954 → #50955 → #50957 → #50958 → #52281. Then merge in
order:

1. #50835 — grouped log overviews and raw JSON
2. #50840 — request correlation queries
3. #50836 — request timeline UI and folding
4. #50841 — shared Auth user details
5. #50837 — log user correlation and Auth activity

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2026-10-28 14:41:49 +01:00
Kody JacksonandClaude Haiku 5.5 cc6affc855 chore(docs) - add lagging troubleshooting redirects to KB + re-add in leftover URLs from bulk redirects migration (#52416)
## Problem

Four guide pages under `/docs/guides/*/troubleshooting` still exist as
separate guides. Their content now lives in the KB troubleshooting
topics.

Also missed a step in the merging of #52248, which was to move over the
`disabled/static-redirects.json` entries back into the main file.

## Solution

Adds new redirects + moves over disabled ones.

## Review instructions

Check the redirects before merging to make sure they resolve.

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-28 08:32:20 -05:00
Ivan Vasilov e85d1a4271 chore: bump vulnerable dependencies (#52446)
## Summary

```text
pnpm-workspace.yaml
├── catalog:    @sentry/nextjs ^10.59.0 → ^10.75.2
└── overrides:
    ├── - @ardatan/relay-compiler>immutable   (fixed upstream, override dropped)
    ├── + @nuxt/devtools>simple-git ^4.0.0
    └── + velite>sharp ^0.35.0
apps/docs/package.json   simple-git ^3.24.0 → ^4.0.0
pnpm-lock.yaml           patched transitive deps + dedupe
```

Lockfile bumps (transitive unless noted):

```diff
- body-parser 1.20.6 / 2.3.0      + 1.20.9 / 2.4.0
- dompurify 3.4.16                + 3.4.17
- fast-uri 3.1.8                  + 3.1.9
- hono 4.13.7                     + 4.13.14
- markdown-it 14.3.2              + 14.3.3
- qs 6.16.0                       + 6.16.1
- serialize-javascript 7.0.5      + 7.1.4
- simple-git 3.36.0               + 4.0.2
- undici 7.30.0 / 8.11.2          + 7.30.1 / 8.12.3
- vite 7.3.5 / 8.2.1              + 7.3.7 / 8.3.5
- zod 4.6.5                       + 4.6.7
- immutable 3.8.3                 + 5.1.9
```

Deduped: `sharp`, `rolldown`, `vue`, `@typescript-eslint/parser`.

## Evidence

- **Before:** `pnpm audit` on `master`
  ```text
  93 vulnerabilities found
  Severity: 12 low | 39 moderate | 38 high | 4 critical
  ```
  **After:** `pnpm audit` on this branch
  ```text
  33 vulnerabilities found
  Severity: 5 low | 16 moderate | 12 high
  ```

The remaining advisories need major bumps or upstream releases and are
out of scope here.

## Merge Danger

**Door:** two-way

Lockfile and version-range changes only; revert the PR to restore the
previous tree.

**Blast Radius:** build-wide

Newer majors and minors (`simple-git` 4, `immutable` 5, `vite`,
`@sentry/nextjs`) could change build or runtime behavior in `docs`,
`www`, and the Nuxt/Vue blocks. CI is the check.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-10-28 14:21:23 +01:00
Timothy LimandClaude Sonnet 5.5 0781f58c8f docs(storage): add Revoke signed URLs section (#52440)
## Problem

We get questions related to the key rotation related to revoking signed
URLs.

## Solution

Add a new heading for revoking signed urls and add more detail and
clarity about what is possible and the procedure


## Review instructions

## 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)
- [X] Used `/review-the-docs`

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 21:12:34 +08:00
Kody Jackson 34edc20abe chore(www) - add yandex verification meta tag (#52402)
## Problem

Missing verification for Yandex. Adding as a meta tag very similar to
#52335

```
<meta name="yandex-verification" content="5e1de4f569de9cff">
```

## Preview links


https://zone-www-dot-com-git-kody-devrel-777-yandex-ver-ab43ac-supabase.vercel.app/
<img width="1328" height="794" alt="image"
src="https://github.com/user-attachments/assets/d4cce374-ea49-494e-8ec5-f1880037f43e"
/>
2026-10-28 08:12:21 -05:00
Kody Jackson 7196b65e53 feat(kb) - Add more FAQs (#52187)
## Problem

Answering specific questions from our user base about branching, heroku
migrations, cron, and queues.

## Solution

Creating a group of "pointer-style" FAQs that exist mostly to answer the
question briefly and point folks towards related resources on the
subject.

## Preview links

-
https://kb-git-kody-devrel-757-kb-pointer-faqs-supabase.vercel.app/kb/faqs/background-jobs/background-job-processing
-
https://kb-git-kody-devrel-757-kb-pointer-faqs-supabase.vercel.app/kb/faqs/background-jobs/best-job-queue
-
https://kb-git-kody-devrel-757-kb-pointer-faqs-supabase.vercel.app/kb/faqs/background-jobs/schedule-recurring-tasks
-
https://kb-git-kody-devrel-757-kb-pointer-faqs-supabase.vercel.app/kb/faqs/branching/branching-database
-
https://kb-git-kody-devrel-757-kb-pointer-faqs-supabase.vercel.app/kb/faqs/branching/preview-database-per-pr
-
https://kb-git-kody-devrel-757-kb-pointer-faqs-supabase.vercel.app/kb/faqs/heroku/migrate-postgres
-
https://kb-git-kody-devrel-757-kb-pointer-faqs-supabase.vercel.app/kb/faqs/heroku/postgres-alternative
2026-10-28 08:09:44 -05:00
Charis 6a27ccbe09 fix(studio): restore RLS permission checks for GitHub/Vercel integrations (#52385)
## Problem
Project-scoped admins see "You need additional permissions to view
GitHub connections" (and the same for Vercel) since #50966. That PR
moved these checks to `ORGANIZATION.CONFIG_READ`/`CONFIG_WRITE`, which
the v2 permissions API never grants to project-scoped members.

## Fix
The platform endpoints behind these views don't use OpenFGA:
- GitHub connections: list/update/delete are RLS-only; create uses
`canForProjectRef(READ, 'projects')`
- Vercel connections: create uses `canForProjectRef(CREATE,
'integrations.vercel_connections')`; the rest are RLS-only
- OAuth apps (installed integrations view):
`AuthWithOrganizationSlug(READ, 'oauth_apps')`

So this reverts #50966's changes in `GithubSection`,
`GitHubIntegrationConnectionForm`, `VercelSection`, `Landing.utils` and
`useInstalledIntegrations` back to `useAsyncCheckPermissions` with the
original resources, and updates
`MarketplaceIntegrationSettingsTab.test.tsx` to mock the v1 permissions
endpoint.

## Testing
- `MarketplaceIntegrationSettingsTab.test.tsx` and
`MarketplaceDetail.test.tsx` pass

Fixes FE-4751
2026-10-28 09:08:24 -04:00
671594c69c feat(studio): group log overviews and standardize raw JSON (#50835)
Logs without a service-specific overview now show common fields and
attributes in collapsible groups. Existing service overviews use the
same section layout, with the first section open. Configured fields
share one renderer across service overviews. Raw JSON uses shared
presentation for single-log, multi-log, and downstream Auth views, with
copy controls supplied by each view.

Attribute lookups are scoped to the selected log's source, ID, and
timestamp window and respect metadata visibility. It's based on the
#50953 stack; request correlation, timeline UI, and Auth changes are
separate layers. Sections use the `CollapsibleDetailSection` that master
now shares with the audit log pages, and the new Supavisor overview
follows the same layout: no separate time header, first section open.

### How to test

1. With Unified Logs and `otelUnifiedLogs` enabled, open an API Gateway
log and a Postgres or Auth log. Check the overview sections,
expand/collapse groups, and try copying a field.
2. Open Raw JSON on a log with enough metadata to scroll. Confirm the
copy button stays visible and copies the complete JSON.
3. Select multiple logs and confirm their combined JSON still renders
correctly.

### Validation

- Synced with master; verified head
`663ebfd13117ae3c5aa0de52e4488253a317d59f`.
- Focused local unit/MSW suite: 246 tests passed across 19 files with
retries disabled, both normally and with `--sequence.shuffle
--sequence.seed=50835`. Independent focused run: 24 tests passed with
seed 5083528.
- Browser QA on the matching studio-staging preview passed: API Gateway
and Postgres section expansion/collapse, field copying, scrolling and
copying complete Raw JSON, and copying multiple selected logs.
- All four unit-test shards, all four E2E shards, typecheck, formatting,
lint ratchet, and Studio Docker build passed. The Next.js E2E report
includes one storage-folder test that passed on retry.
- Independent code review found no actionable issues. Working tree
clean.

### Stack

Based on the logs table building blocks stack, which merges first:
#50953 → #50954 → #50955 → #50957 → #50958 → #52281. Then merge in
order:

1. #50835 — grouped log overviews and raw JSON
2. #50840 — request correlation queries
3. #50836 — request timeline UI and folding
4. #50841 — shared Auth user details
5. #50837 — log user correlation and Auth activity

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2026-10-28 14:07:04 +01:00