mirror of
https://github.com/supabase/supabase.git
synced 2026-12-05 07:59:03 +00:00
create-pull-request/patch
22209
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
bc1104398b |
Update monthly-active-users.mdx code formatting (#37651)
* Update monthly-active-users.mdx * fix: formatting --------- Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com> |
||
|
|
53890ec291 |
docs: rename inbucket CLI config keys to local_smtp (#50538)
## 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 ## What is the current behavior? The CLI config reference still documents the `inbucket.*` keys and links to inbucket.org. Since supabase/cli#5333 the preferred key is `local_smtp`, `inbucket` only survives as a deprecated alias that prints a warning, and `supabase init` writes `[local_smtp]` into new config files. So anyone following the reference page ends up with a deprecated key. Fixes #50530 ## What is the new behavior? The six entries are renamed to `local_smtp.*` and their links point at the Mailpit docs, which is what the CLI's own schema annotations use. `local_smtp.enabled` now reads "Enable the local SMTP testing server." instead of naming InBucket. `auth.email.smtp.host` also claimed a default of `inbucket`, so the word was still showing up in a Default column on this page. The CLI declares that field as optional with no default at all, so I dropped the value rather than invent a new one and the column now reads None, matching `auth.email.smtp.user` just below it. ## Additional context The spec file is only read by `apps/docs/app/guides/local-development/cli/config/page.tsx`, so renaming the keys affects the rendered page and nothing else. I left the `inbucket` entries out rather than listing both names, since the CLI schema itself exposes only `local_smtp` and rewrites the old section name before validation. One thing I left alone: `local_smtp.smtp_port`, `pop3_port`, `admin_email` and `sender_name` are documented with defaults of 54325, 54326, `admin@email.com` and `Admin`, but the CLI has no defaults for any of them. They are commented-out suggestions in the generated config.toml, and an unset `smtp_port` means the port is not exposed rather than 54325. That predates this PR and felt like a separate change, though I am happy to fix it here if you would rather it went in together. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Documentation** * Renamed local email testing configuration keys from `inbucket.*` to `local_smtp.*`. * Updated related documentation links to reference Mailpit. * For CLI versions before v2.108.0, use the `[inbucket]` section; newer versions still accept it with a deprecation warning. * Removed the documented default for `auth.email.smtp.host`. Ports and other defaults remain unchanged. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Nik Richers <nrichers@gmail.com> |
||
|
|
7e5748ba6b |
docs: move team member role mapping to its own page (#52476)
Closes DOCS-1498 ## Problem The Configure user access section of Temporary access is split out as a part of the Information Architecture plan laid out in Option 1 of the [Docs navigation architecture proposal](https://app.notion.com/p/supabase/Q4-2027-Proposal-Docs-navigation-architecture-3f25004b775f81f49dbad710a732ef61). ## Solution - **Structure:** move `## Configure user access` to `guides/platform/team-database-access`. Temporary access keeps the heading and its anchor, with a one-sentence pointer. The page is in the Platform sidebar after Temporary Access. - **Option 1 navigation:** the "Map team members to Postgres roles" entry in Run and manage, Team, points to the new page. The Option 1 test no longer expects the anchor. Today's navigation uses the same label, at 34 characters. - **Guide shape:** a value-statement opener with a short definition of a role mapping, Prerequisites, then steps to authorize a team member and to restrict their access. Each list has a lead-in. - **Sample fixes:** - The request sent the role list as `user_roles`. The Management API requires `roles`. - `expires_at` was in milliseconds. It takes Unix seconds, which the Dashboard sends. - A new step looks up the team member's user ID through the organization members endpoint. The old sample used a placeholder with no way to find the value. ### Not verified - **Samples:** the Management API calls need a hosted project, so `test-the-docs` can't run them. I ran them by hand against a hosted project. ## Manual testing 1. Open [Map team members to Postgres roles](https://docs-git-docs-team-database-access-supabase.vercel.app/docs/guides/platform/team-database-access). See the prerequisites, the steps to authorize a team member, and the restrictions. 2. Open [Temporary access](https://docs-git-docs-team-database-access-supabase.vercel.app/docs/guides/platform/temporary-access#configure-user-access). See the Configure user access heading with a one-sentence pointer to the new page. 3. In the Platform sidebar, click **Map team members to Postgres roles**. See the new page open. |
||
|
|
4eab2bdbc6 |
docs(style-guide): say how to introduce a link (#52578)
## Problem The style guide says to write "For more information about X, see Y," which is too prescriptive and not nuanced. ## Solution - **Introduce a link:** replace "Introduce a link with `see`" with a table of three forms. These are `See [Title].`, `For more information, see [Title].`, and `For more information about X, see [Title].` Each row says when to use the form. It's funny. By making something 'looser', it still feels quite prescriptive. But now there is at least options and nuance. ## Manual testing 1. Read [Introduce a link](https://github.com/supabase/supabase/blob/docs/style-guide-about-clause/apps/docs/style-guide/02-elements.md#introduce-a-link). See the three forms and three examples. 2. Read [Put the condition before the instruction](https://github.com/supabase/supabase/blob/docs/style-guide-about-clause/apps/docs/style-guide/01-voice-and-tone.md#put-the-condition-before-the-instruction). See that its `For more information, see [Row Level Security]` example matches the second form. |
||
|
|
07ab3f99fc |
docs: point Grafana Cloud links to the one-click integration (#52580)
## Problem Grafana reported that many Grafana Cloud orgs connect Supabase without using the 1-click integration, and far more of them than come through it. Likely causes: pages that send people to grafana.com instead of the integration, and users assuming they need a Grafana Cloud account first. ## Solution Point Grafana-related links and copy at the one-click integration, with `utm_medium` set per surface (`docs`, `blog`) so Grafana can attribute traffic. - **Metrics API docs page:** add a bullet to "What you can do" for the one-click integration, and reword the Grafana Cloud link under "Additional resources". - **Grafana Cloud guide:** add a note that you can add the integration without a Grafana Cloud account (confirmed with Grafana), and point manual step 1 to the one-click integration for readers who don't need manual control. - **Metrics API blog post:** link the Grafana Cloud bullet and the "Grafana Cloud setup" list item to the integration and guide. The `supabase-grafana` README is a separate repo, covered in https://github.com/supabase/supabase-grafana/pull/93. ## Review instructions 1. Open the Metrics API docs page and confirm the third bullet links to the Grafana Cloud integration. 2. Open the Grafana Cloud guide and confirm the note and the step 1 copy. 3. Open the blog post and confirm both Grafana Cloud links. ## 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) |
||
|
|
60bd28fd80 |
docs: fix grammar in Partner Catalog listing criteria (#48736)
Three small grammar fixes in the listing criteria section of the Partner Catalog page: - "we welcome everyone to built an integration" → "build" - "We require this criteria" → "these criteria" - "the company may be assessed on your ability" → "its ability" (the sentence starts with "the company" then switches to second person) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Corrected grammar and clarified assessment criteria descriptions in the Partner Catalog guide. * Updated the Maintainability guidance to refer to a company’s capabilities. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
238f8c87b1 |
blog(www): add dbarena post (#52330)
## 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: Introducing DBArena (publishes Oct 30, 2026) ## What is the current behavior? N/A ## What is the new behavior? - Adds the DBArena launch blog post and its images ## Additional context - Draft while final content checks finish --------- Co-authored-by: Ana <ana1337x@users.noreply.github.com> |
||
|
|
ab448c11af |
feat(kb): send PostHog pageview and pageleave after consent (#52533)
## Problem The KB has a consent banner but sends no pageviews. `PageTelemetry` imports Next modules, so it can't run in Astro. Part of [GROWTH-1352](https://linear.app/supabase/issue/GROWTH-1352/add-consent-posthog-tracking-to-new-kb-app). ## Solution - Moved `handlePageTelemetry`, `handlePageLeaveTelemetry` and their first-touch helper into `common/page-telemetry.ts`, with no Next imports. Other apps are unchanged. - Added `PageTelemetryIsland` to the KB layout. After consent it sends one `$pageview` per page load and `$pageleave` on `beforeunload`. First-touch UTMs and the `_sb_first_referrer` and mw-diag cookies go only on a tab's first pageview after consent (a `sessionStorage` flag) or on arrival from an external site. - Needs `NEXT_PUBLIC_POSTHOG_KEY` and `NEXT_PUBLIC_POSTHOG_HOST` (`https://ph.supabase.com`) on the KB Vercel project. Both are set on Preview and Production. ## Review instructions 1. Check the `telemetry.tsx` removals match `page-telemetry.ts`. 2. On a KB preview page, accept cookies and check the network tab for `$pageview`, then `$pageleave` after navigating. KB and studio telemetry tests pass. From the kb preview, PostHog prod received `$pageview` on `/kb`, `$pageleave` on `/kb`, then `$pageview` on `/kb/guides/migrate-from-neon`. ## 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) |
||
|
|
215b302dca |
blog(www): add video to supabase compute private alpha post (#52569)
## 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 Supabase Compute launch video to the Supabase Compute private alpha blog post ## What is the current behavior? The Supabase Compute private alpha blog post has no video. ## What is the new behavior? - Embeds the "Announcing Supabase Compute" video below the intro, using the same `video-container` embed as other recent blog posts ## Additional context Video: https://www.youtube.com/watch?v=c3U3kgrihdI Co-authored-by: Ana <ana1337x@users.noreply.github.com> |
||
|
|
6aefa45d2b |
refactor(studio): build the Assistant tool prompt from contracts (#52422)
Stacked on supabase/supabase#52398. ## What The chat system prompt's tool guidance now comes from the contracts available to the request, so the prompt never names a tool the request doesn't have. * `ToolContract` and `RemoteToolContract` gain an optional `promptGuidance`: rules for using the tool that its description doesn't cover. * `buildToolsPrompt` generates a `## Tools` section: every available tool by name, sorted, plus a section with the guidance of each tool that has any. Tool descriptions aren't repeated, since the model already gets them in the tool definitions. * `getToolRequest` computes the environment and satisfied requirements once, for both `getTools` and the prompt. * `buildSystemPrompt` assembles the full chat system prompt, used by `generateAssistantResponse` and by the tests. * Rules that named a tool move out of `GENERAL_PROMPT`, `CHAT_PROMPT`, `LIMITATIONS_PROMPT`, `NOTEBOOKS_PROMPT` (deleted), the hardcoded Available Knowledge list, and the opt-in, support-mode, and logs-snippet context messages into the `promptGuidance` of the tool each rule is about. * `SECURITY_PROMPT` is unchanged because it's shared with code completion. ## Prompt changes * Platform: the same guidance, reorganized under the tool it applies to. Small rewording: the two `search_docs` rules are merged, the opt-in rule no longer starts with "if `update_opt_in_level` is available", and two typos are fixed. The tool list also names tools the old prompt didn't mention. * Self-hosted: the prompt lists only `execute_sql`, `load_knowledge`, and `rename_chat`, and no longer mentions platform-only tools like `search_docs`, `query_logs`, notebooks, or the opt-in tool. The self-hosted fallback tools aren't listed until they become contracts in a later PR. ## Prompt caching The tools section varies with the actual provided tools. That adds no cache misses: providers cache tool definitions before the system prompt, so a change to the tool set already invalidates the cached system prompt ([Anthropic](<https://platform.claude.com/docs/en/build-with-claude/prompt-caching#what-invalidates-the-cache>), [Bedrock](<https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html#prompt-caching-converse>), [OpenAI](<https://developers.openai.com/api/docs/guides/prompt-caching>)). ## Tests * For every combination of environment, Explorer, support mode, and base URL, the system prompt and context messages name only tools available to that request. * Outside its generated section, the system prompt names no tools except `execute_sql` in the shared `SECURITY_PROMPT`. * Labeled `run-evals` to check the reworded prompt for regressions. ## 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>) |
||
|
|
28d9157aab |
docs: stop guide subtitles from repeating the first sentence (#52568)
Closes DOCS-1553 ## Problem Some guides set a subtitle that says almost exactly what the first sentence of the page says, so the reader reads the same line twice. ## Solution - Add a **Write good frontmatter** section to the style guide, with **Title**, **Subtitle**, and **Description** subsections. A title is 35 characters or fewer, in sentence case, and follows the Google developer style guide's title rules. A subtitle is optional and decorative. If it matches the first sentence, leave it out. A description is 150–160 characters, with relevant keywords. - Remove the subtitle on 12 guides where it repeated the first sentence. On the 6 of those with no description, move the subtitle to `description` so the meta description doesn't change. - Change the Vault subtitle to `Manage secrets in Postgres` to match the rule's example. - In `CONTRIBUTING.md`, mark `description` as required and link to the new section. ## Manual testing 1. Open [Creating a client](https://docs-git-docs-guide-subtitles-supabase.vercel.app/docs/guides/auth/server-side/creating-a-client). See no subtitle under the title. 2. Open [Vault](https://docs-git-docs-guide-subtitles-supabase.vercel.app/docs/guides/database/vault). See `Manage secrets in Postgres` under the title. 3. Read [Write good frontmatter](https://github.com/supabase/supabase/blob/docs/guide-subtitles/apps/docs/style-guide/03-page-structure.md#write-good-frontmatter). |
||
|
|
5bbddd5f01 |
docs(mcp): document feedback tools and feature group (#52557)
## Problem [MCP 0.15.0](https://github.com/supabase/mcp/releases/tag/mcp-server-supabase-v0.15.0) adds `submit_feedback` and `delete_feedback` in a new `feedback` group. The MCP docs page doesn't mention them, and the configuration panel always sends an explicit `features` list without `feedback`, so hosted users who set up through the panel never get these tools. ## Solution Document both tools on the MCP page: the `feedback` value, that they're hidden in read-only mode, what data is sent, and how hosted, project-scoped, and local connections differ. Update the "Available tools" intro. ## Verification [MCP Tools docs page Preview](https://docs-git-pedrorodrigues-ai-1387-2d-optional-doc-f3ca8e-supabase.vercel.app/docs/guides/ai-tools/mcp) <img width="792" height="890" alt="image" src="https://github.com/user-attachments/assets/74dbe7fd-b1e2-48bf-8b87-403800c8076f" /> <img width="792" height="747" alt="Screenshot 2026-10-30 at 15 30 05" src="https://github.com/user-attachments/assets/bc61ee27-58ba-45b7-bd19-99676035c21d" /> Closes AI-1387 |
||
|
|
340101642a |
docs: move preview branches on Vercel to its own page (#52473)
Closes DOCS-1497 ## Problem The Vercel section of Branching integrations is split out as a part of the Information Architecture plan laid out in Option 1 of the [Docs navigation architecture proposal](https://app.notion.com/p/supabase/Q4-2027-Proposal-Docs-navigation-architecture-3f25004b775f81f49dbad710a732ef61). ## Solution Split out the old section into a new one with `/edit-the-docs` and `/test-the-docs`. ## Manual testing 1. Open [Preview branches on Vercel](https://docs-git-docs-vercel-preview-branches-supabase.vercel.app/docs/guides/integrations/vercel-preview-branches). See the prerequisites, two steps, and the After you connect section. 2. Open [Branching integrations](https://docs-git-docs-vercel-preview-branches-supabase.vercel.app/docs/guides/deployment/branching/integrations). Under **Hosting providers**, see a one-sentence pointer to the new page, with no Vercel heading. 3. In the Branching sidebar, click **Preview branches on Vercel**. See the new page open. 4. In the Integrations sidebar, click **Preview branches on Vercel**, after **Vercel Marketplace**. See the new page open with the Integrations sidebar. |
||
|
|
17c2985e16 |
fix(kb) - include faqs in sitemap.md (#52559)
## Problem 2 gaps: - Missing FAQs in the sitemap.md - Experiment to redirect requests to the homepage to sitemap.md ## Preview links ### FAQ addition Now includes faqs in https://kb-git-kody-devrel-813-sitemapmd-tweaks-supabase.vercel.app/kb/markdown/sitemap.md <img width="1338" height="669" alt="image" src="https://github.com/user-attachments/assets/fb5174f7-23f4-4187-8fed-1fb7ca9fa216" /> ### markdown behavior ``` curl "https://kb-git-kody-devrel-813-sitemapmd-tweaks-supabase.vercel.app/kb" \ -H "Accept: text/markdown" ``` ``` # Supabase Knowledge Base In-depth guides, tutorials, troubleshooting, and explainers for best practices for Supabase ## Topics - [Migration](https://supabase.com/kb/topics/migration.md) - [Comparison](https://supabase.com/kb/topics/comparison.md) - [Rundowns](https://supabase.com/kb/topics/rundowns.md) - [Troubleshooting](https://supabase.com/kb/topics/troubleshooting.md) - [Tutorials](https://supabase.com/kb/topics/tutorials.md) - [Storage](https://supabase.com/kb/topics/storage.md) - [Auth](https://supabase.com/kb/topics/auth.md) - [Database](https://supabase.com/kb/topics/database.md) - [Edge Functions](https://supabase.com/kb/topics/edge-functions.md) - [Queues](https://supabase.com/kb/topics/queues.md) .... ``` --------- Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com> |
||
|
|
01a2d1748f |
fix(www): update rand arete's author title to product (#51362)
## 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? - Updates Rand Arete's `position` in `apps/www/lib/authors.json` from "Engineering" to "Product" ## What is the current behavior? Rand Arete's blog byline shows "Engineering". ## What is the new behavior? - Rand Arete's blog byline shows "Product" ## Additional context N/A Co-authored-by: Ana <ana1337x@users.noreply.github.com> |
||
|
|
b7144f7ff0 |
docs: clarify pool size scope and override behavior (#50521)
## 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 ## Additional context Clarifications on pooler settings override behavior <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated pool-size guidance to link default values to Compute Add-On limits. * Added default pool-size values for each Compute instance size. * Removed guidance stating that manually configured pool sizes remain fixed after Compute resizing. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|
|
2641cd817c |
chore(www): add Explorer and Notebooks launch blog post (#52543)
## Problem The Explorer and Notebooks launch blog post (scheduled for 2026-10-30, 9am PT) needs to be added to the www blog. ## Solution - Adds `2026-10-30-explorer-and-notebooks-investigations-your-team-can-rerun.mdx` with the launch copy and the in-body Notebooks screenshot. - Adds Charis Lam to `authors.json`, since she is a co-author and had no entry. - Adds the header (`thumb.png`) and OG (`og.png`) images, and the launch video embed after the intro. ## Review instructions 1. Open the preview and go to `/blog/explorer-and-notebooks-investigations-your-team-can-rerun`. 2. Confirm the copy, the Notebooks screenshot, and the four authors render correctly. 3. Confirm the header shows on the `/blog` index card and the OG image in the page meta tags. 4. Confirm the YouTube video plays under the intro. ## 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) |
||
|
|
6a1a1bf23e |
feat(kb): add guides on moving data, backups, migrations, and branching (#51346)
## Summary Adds 6 question-and-answer guides to the knowledge base about moving data and deploying: SQLite to Postgres, going to production, CSV imports, backups, local development, and branching. Each guide answers one question: the description is the short answer, and the body adds the details and links into the docs. Ref: GROWTH-1191 ## Guides - How do I move an app from SQLite to hosted Postgres for production? - How do I put my app's database online so other people can use my app? - How do I import a CSV file into Postgres? - How do I back up and restore a Supabase database? - How do I develop locally and deploy Postgres migrations? - Can I get a separate Postgres database for each pull request? ## Notes - Links to the docs and the dashboard use absolute `https://supabase.com/...` URLs, so they also work on previews. - Some guides link to guides added in #51345. Those links resolve once those PRs are merged. - Related guides proposed in #50472, in case you'd rather merge or drop any of these: `download-logical-backups`, `new-branch-doesnt-copy-database`. --------- Co-authored-by: Kody Jackson <kody.jackson@supabase.io> |
||
|
|
da15db871c |
feat(kb): add guides on Postgres features, multi-tenancy, and custom auth (#51348)
## Summary Adds 7 question-and-answer guides to the knowledge base about Postgres features on Supabase: vector and full text search, realtime updates, scheduled jobs, queues, multi-tenant isolation, and bringing your own auth. Each guide answers one question: the description is the short answer, and the body adds the details and links into the docs. Ref: GROWTH-1191 ## Guides - How do I add vector search to Postgres? - How do I add full text search to Postgres? - How do I get realtime updates when rows change in Postgres? - How do I run scheduled jobs in Postgres? - Can I use Postgres as a message queue? - How do I isolate tenant data in a multi-tenant SaaS on Postgres? - Can I use my own auth library or provider with a Supabase database? ## Notes - Links to the docs and the dashboard use absolute `https://supabase.com/...` URLs, so they also work on previews. - Related guides proposed in #50472, in case you'd rather merge or drop any of these: `increase-vector-lookup-speeds-by-applying-an-hsnw-index-ohLHUM`, `rls-simplified-BJTcS8`. --------- Co-authored-by: kodster28 <kody.jackson@supabase.io> |
||
|
|
552312507f |
fix(studio): storage policy footer (#52531)
## Problem Footer is hidden when reviewing a policy for storage. ## Solution The footer is now fixed and sticks so that the user can see the buttons at all times: <img width="1152" height="712" alt="Screenshot 2026-10-29 at 20 07 32" src="https://github.com/user-attachments/assets/87e97afd-fb33-4e63-a67d-fb9861449a20" /> Closes #52520 ## 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) |
||
|
|
30d618dc47 |
chore: remove small compute requirement from HIPAA docs (#52553)
Small compute add-on is no longer required. |
||
|
|
1915615dca |
fix: clamp Popover/Select/DropdownMenu content to viewport height (#49233)
## 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? Fixes #49155. The three dropdowns in the issue (Edge Function Logs Severity filter, and the two dropdowns in the "Add foreign key relationship" modal) all get clipped by the viewport with no way to scroll to the rest of the content, in some cases making buttons unreachable. All three share the same root cause: `PopoverContent`, `SelectContent`, and `DropdownMenuContent` in `packages/ui/src/components/shadcn/ui/` each cap their max height with either a hardcoded pixel value (`max-h-96`, `max-h-[300px]`) or nothing at all, instead of using the available-height CSS variable Radix's Popper already computes and exposes for exactly this purpose. When the real available space is smaller than the hardcoded cap, the content still renders at the larger size and overflows past the edge of the screen. ## What is the new behavior? Swapped the fixed `max-h-*` values for the matching `--radix-*-content-available-height` variable on all three components, and changed `overflow-hidden` to `overflow-y-auto` so any content that still doesn't fully fit gets an internal scrollbar instead of clipping off-screen. ## Additional context **On verification:** I wasn't able to get an actual visual click-through of this fix. Locally, `apps/design-system` (the component demo site) hits a known contentlayer2 issue on Windows that leaves every `/docs/*` page 404ing regardless of this change. The CI preview deployment for `design-system` did build successfully, but it's gated behind Vercel SSO (team-only), which I don't have access to as an external contributor. What I did verify directly: - `pnpm --filter=ui typecheck` passes clean. - The three CSS variable names I'm referencing (`--radix-select-content-available-height`, `--radix-popover-content-available-height`, `--radix-dropdown-menu-content-available-height`) are real — confirmed by reading the installed `@radix-ui/react-select`, `@radix-ui/react-popover`, and `@radix-ui/react-dropdown-menu` source directly, where each one aliases its own variable to the underlying `--radix-popper-available-height` that Popper computes. - Compiled the exact new classes through this repo's pinned Tailwind version (4.2.4) via `@tailwindcss/postcss` directly, and confirmed each one generates the expected rule, e.g. `.max-h-\(--radix-popover-content-available-height\) { max-height: var(--radix-popover-content-available-height); }` — so there's no syntax mistake in the arbitrary-value class. Happy to have someone with repo access check the design-system preview, or I can revisit this once I have another way to view it. There's also a fourth spot in the report — the Severity filter's option list (`packages/ui-patterns/src/FilterBar/DefaultCommandList.tsx`), which hardcodes its own `max-h-[300px]` on an inner div rather than the `PopoverContent` primitive directly. That div renders inside the now-fixed `PopoverContent`, so it may already be covered by this change since CSS custom properties inherit to descendants — but since I couldn't confirm that visually either, I've left it untouched for now rather than guess. --------- Co-authored-by: Drew McLellan <drew.mclellan@gmail.com> |
||
|
|
189ade6bc3 |
fix(reports): use minute buckets for short ranges DEBUG-95 (#52145)
## Problem The last 60 minutes in Shared API Report collapses requests, errors, response speed, and network traffic into hourly points. This affects the Data API, Auth, and Realtime reports using ClickHouse. ## Fix Choose minute buckets for short ClickHouse report ranges and retain hourly buckets for longer ranges. Existing preset consumers keep their hourly defaults, and route summaries retain their current behavior. ## How to test - Open Observability → Data API and select Last 60 minutes. With requests across the hour, the charts should show minute-level data. - Switch to Last 24 hours and confirm the charts retain hourly grouping. - Apply a report filter and confirm the charts and route summaries respect it. - Repeat the short-range check on Auth or Realtime. Validation: 80 focused report tests passed with retries disabled and shuffled order. The ClickHouse boundary tests failed when the 60-minute cutoff was deliberately broken, then passed after restoring the fix. Studio typecheck and changed-file formatting passed. Independent review found no issues. The ClickHouse behavior was verified in the preview: minute buckets for Last 60 minutes on Data API and Auth, hourly buckets for Last 24 hours, and route filtering on charts and summaries. Fixes https://linear.app/supabase/issue/DEBUG-95 |
||
|
|
e928d28e69 |
feat(ui-patterns): top nav menu (#52501)
## Problem - kb and docs each keep their own copy of the top bar menu and its buttons - the kb bar has no search box, and the docs bar has one on the right ## Solution - adds a shared top nav to `ui-patterns`, so kb and docs use one megamenu and one set of bar buttons - replaces the docs desktop dropdowns with the megamenu, so docs and kb show the same menu design - adds a heading to the first column of each docs menu, so the reader sees which group a list belongs to - adds the search box and a "sign up" button label to the kb bar, so it matches docs | state | preview | | -------|------| | before | <img width="1506" height="350" alt="image" src="https://github.com/user-attachments/assets/3045d400-4ac0-41d7-a94f-acc23fa919fa" /> | | after | <img width="1506" height="350" alt="image" src="https://github.com/user-attachments/assets/334e5130-611a-4eb7-a95a-c796e2bbcf80" /> | <!-- ## Preview links If relevant, include links to changed pages for easy review access. Copy the preview base URL from the Vercel bot comment on this PR. Use the following table as an example template. | Site | Live | Preview | Search for | | -------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------- | | WWW | [/blog/your-post](https://supabase.com/blog/your-post) | [/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post) | unique phrase from the change | | Docs | [/docs/guides/your-page](https://supabase.com/docs/guides/your-page) | [/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page) | unique phrase from the change | | Studio | [/dashboard](https://supabase.com/dashboard) | [/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard) | unique phrase from the change | | Design system | [/design-system](https://supabase.com/design-system) | [/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system) | unique phrase from the change | | UI library | [/library](https://supabase.com/library) | [/library](https://ui-library-git-branch-name-supabase.vercel.app/library) | unique phrase from the change | | Knowledge base | [/kb/guides/your-page](https://supabase.com/kb/guides/your-page) | [/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page) | unique phrase from the change | --> <!-- ## Additional context Optionally add any other context or screenshots. --> ## Review instructions 1. open the kb and docs preview links above in desktop 2. on kb, hover "topics" and make sure that the panel opens under the bar 3. click the search box and make sure that the kb search dialog opens 4. on docs, open [/docs/guides/auth](https://docs-git-antlio-feat-shared-top-nav-supabase.vercel.app/docs/guides/auth) and make sure that the "products" label has an underline 5. open each docs menu and make sure that the first column has a heading 6. make sure that the menu button opens and closes the mobile menu in kb and docs ## 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) |
||
|
|
65217161af |
fix(studio): prevent ghost redirects on unmounted SignInPartner (#46594)
## 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? Please link any relevant issues here: Resolves **#46593** There is a navigation race condition in `apps/studio/components/interfaces/SignIn/SignInPartner.tsx`. On mount, an IIFE fetches `auth.getSession()` and potentially `auth.signInWithIdToken()`. If the user navigates away from the page (unmounting the component) while these network promises are still pending, the `finally` or `else` blocks will still execute `router.replace()`. This forces an unintended "ghost redirect" that hijacks the user's active session and pulls them away from their current page. ## What is the new behavior? This PR introduces a standard `isMounted` flag to guard the asynchronous operations inside the `useEffect` hook. * A cleanup function now correctly flips the `isMounted` flag to `false` when the component unmounts. * An early exit `if (!isMounted) return` prevents unnecessary execution if the component is destroyed during the initial session fetch. * The `router.replace()` calls are now wrapped in `if (isMounted)` checks, ensuring that redirects only trigger if the component is still active in the DOM. ## Additional context This is an isolated frontend lifecycle patch. Local pre-flight checks (`pnpm typecheck`, `pnpm lint --filter=studio`, and `pnpm test:studio`) have all passed successfully. --------- Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com> |
||
|
|
fd8f75e578 |
fix(www): restore /features/* pages in sitemap after Next 16.4 adapter build (#52508)
<!-- claude-slack-attribution --> _Requested by **Pam Chia, Kody Jackson** · [Slack thread](https://supabase.slack.com/archives/C07P3AU3J2D/p1793284217443139)_ Since the Next 16.4.3 bump in #52438, https://supabase.com/sitemap_www.xml has no `/features/<slug>` URLs. `generate-sitemap.mjs` found them by globbing `.next/server/pages/features/*.html`, and adapter builds (as on Vercel) now write that HTML under `.next/server/route-cache/` instead, so the glob comes back empty. Local builds without an adapter still use the old path, which is why the sitemap looked fine locally. **Changed:** - **Feature pages are back in `sitemap_www.xml`**: the script reads the `/features/[slug]` routes from `.next/prerender-manifest.json`, which lists them in both build modes. If a Vercel build finds none, the sitemap step throws and fails the build instead of shipping a sitemap without them. - **Dead partner globs removed**: the three `.next/server/pages/partners/**` globs have matched nothing since partners moved to the App Router, so they and the `.next/server/pages` path handling are gone. **Note:** partner catalog detail pages (`/partners/catalog/<slug>`) are still in no sitemap. I removed the runtime partner sitemap an earlier commit added, because `/partners/catalog` has linked every listed partner in its server HTML since #51950, that sitemap carried no `lastmod`, and a marketplace query error would have produced an empty sitemap. I'll decide from crawler data whether those pages need a sitemap. ## To test Tested on the PR preview: - [x] Open `/sitemap_www.xml`, expect one `https://supabase.com/features/<slug>` entry per slug in `apps/www/data/features.tsx` (the live site currently has none). Every slug is present once, and every listed feature URL returns 200. - [x] Open `/sitemap.xml`, expect the index to list only the www, docs and kb sitemaps - [x] Open `/partners/catalog/sitemap.xml`, expect a 404 ## Linear - part of GROWTH-1401 --- _Generated by [Claude Code](https://claude.ai/code/session_01EXs9Z8YKWKFjEKKZBCe9ab)_ --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com> |
||
|
|
57b659d47f |
docs: move slow and failing query logging to its own page (#52469)
Closes DOCS-1495 ## Problem The `log_min_duration_statement`, `auto_explain.*`, and `log_min_error_statement` sections of Postgres log configurations are split out as a part of the Information Architecture plan laid out in Option 1 of the [Docs navigation architecture proposal](https://app.notion.com/p/supabase/Q4-2027-Proposal-Docs-navigation-architecture-3f25004b775f81f49dbad710a732ef61). ## Solution - **Structure:** move `log_min_duration_statement`, `auto_explain.*`, and `log_min_error_statement` to `guides/observability/log-slow-queries`. Postgres log configurations keeps each heading and its anchor, with a one-sentence pointer. The page is in the Database sidebar after Postgres log configuration. - **Option 1 navigation:** the "Log slow and failing queries" entry in Run and manage points to the new page. The Option 1 test no longer expects the anchor. `/edit-the-docs` and `/test-the-docs` ran as well. - **Cross-links:** the Customizing Postgres config table links this guide from its `auto_explain.*`, `log_min_duration_statement`, and `log_min_error_statement` rows, and the intro links Query logs with SQL for searching the logs. ## Manual testing 1. Open [Log slow and failing queries](https://docs-git-docs-log-slow-queries-supabase.vercel.app/docs/guides/observability/log-slow-queries). See the slow queries, query plans, errors, and restore-defaults sections. 2. Open [Postgres log configurations](https://docs-git-docs-log-slow-queries-supabase.vercel.app/docs/guides/database/postgres/postgres-log-config#logmindurationstatement). See the heading with a one-sentence pointer to the new page. 3. In the Database sidebar, click **Log slow and failing queries**. See the new page open. |
||
|
|
e79adc4a42 |
docs: move leaked API key rotation to its own page (#52465)
Closes DOCS-1493 ## Problem The Rotate a leaked or compromised key section of API keys is split out as a part of the Information Architecture plan laid out in Option 1 of the [Docs navigation architecture proposal](https://app.notion.com/p/supabase/Q4-2027-Proposal-Docs-navigation-architecture-3f25004b775f81f49dbad710a732ef61). ## Solution - **Structure:** move `### Rotate a leaked or compromised key` to `guides/security/rotate-leaked-api-keys`. API keys keeps the heading and its `#leaked-key` id, with a one-sentence pointer. The page is in the Security sidebar under Guides, since its URL selects that sidebar. - **Option 1 navigation:** the "Rotate a leaked API key" entry in Run and manage, Security and compliance, points to the new page. The Option 1 test no longer expects the anchor. Run /test-the-docs and /edit-the-docs. ## Manual testing 1. Open [Rotate a leaked or compromised API key](https://docs-git-docs-rotate-leaked-api-keys-supabase.vercel.app/docs/guides/security/rotate-leaked-api-keys). See the create, replace, and retire sections, with Dashboard and Management API tabs. 2. Open [API keys](https://docs-git-docs-rotate-leaked-api-keys-supabase.vercel.app/docs/guides/getting-started/api-keys#leaked-key). See the heading with a one-sentence pointer to the new page. 3. In the Security sidebar under Guides, click **Rotate a leaked or compromised API key**. See the new page open. |
||
|
|
76f3d06a8b |
docs: add Test Row Level Security policies with pgTAP guide (#52344)
Closes DOCS-1499 ## Problem The testing overview teaches RLS tests, in pgTAP and from application code, in sections that have grown into their own task. ## Solution This goes above and beyond the initial ask, which was just to move a section into a new topic. Because I was here anyway, I aimed to improve the experience and improve our RLS Evals score on tests. A companion Evals PR will split out a new Eval for the new topic, migrating the checks that were in the RLS guide. Some fixes are also included from running our docs skills, including: - **Structure:** move the pgTAP example and the Application-Level testing section to `guides/database/postgres/testing-row-level-security`. The overview keeps both headings, each with a short pointer. The "RLS policies testing" nav entry points to the new page, and so does "Test RLS policies with pgTAP" in the Option 1 nav. - **Style:** a value-statement opener, lowercase SQL, and the command split from its output. - **Technical fixes:** test 2 asserts the `returning` value. Test 4 uses `is_empty`. The output is the output `supabase test db` prints. - **Additions:** `supabase start`, the table as a migration applied with `supabase db reset`, and two sentences on how the test isolates its data and user. A note for readers who use an agent to write their tests, linking to a `## Write quality tests with agents` reference section. One sentence in the RLS guide's `### Run the test suite` links to that section. ## Review instructions 1. Open [Test Row Level Security policies with pgTAP](https://docs-git-docs-test-rls-pgtap-supabase.vercel.app/docs/guides/database/postgres/testing-row-level-security) on the preview. See five steps and a passing `Tests=4` output. 2. Open [Testing overview](https://docs-git-docs-test-rls-pgtap-supabase.vercel.app/docs/guides/local-development/testing/overview#database-unit-testing-with-pgtap). See the heading with a one-sentence pointer to the new page. 3. In the sidebar under Local development, Testing, click **RLS policies testing**. See the new page open. 4. On the [Testing overview](https://docs-git-docs-test-rls-pgtap-supabase.vercel.app/docs/guides/local-development/testing/overview#application-level-testing), click **Test the policy from your application**. See the TypeScript suite on the new page. 5. On the new page, click **Write quality tests with agents** in the agent note's prompt. See the five rules for agents near the bottom of the page. 6. On [Row Level Security](https://docs-git-docs-test-rls-pgtap-supabase.vercel.app/docs/guides/database/postgres/row-level-security#run-the-test-suite), click **Write quality tests with agents** under Run the test suite. See the new page open at that section. 7. Open the [Database guides with the Option 1 nav](https://docs-git-docs-test-rls-pgtap-supabase.vercel.app/docs/guides/database/overview?docs-ia-mvp-v1=option-1). Under Row Level Security, roles and Vault, click **Test RLS policies with pgTAP**. See the new page open. |
||
|
|
aec7aed134 |
ci(docs): fail PRs that remove a linked guide section (#52100)
Closes DOCS-1486 ## Problem Agents are slow to update what they remember about the docs, and nothing protects a section when it moves to another page. This leaves a trail when sections move: the PR fails unless the heading stays with a summary and a link to where the content went. ## Solution A new `Docs removed anchors` workflow runs `pnpm check:removed-anchors` from `apps/docs`. - **What it compares:** H2 and H3 anchors between the base branch and the PR, only on changed guide pages and pages that include a changed partial. Partials are expanded, nested ones too. - **When it fails:** a file anywhere in `apps`, `packages`, or `examples` still links to a removed anchor. That covers docs content, Studio, www and the blog, and kb, plus same-page `#anchor` links. Test files and generated output are skipped. The failure names each anchor and every linking `file:line`, and annotates those lines. - **How anchors are computed:** with `getAnchor` from `packages/ui`, the same function that sets rendered heading ids, so `## Title [#custom-id]` matches on the custom id. - **Bypass:** the `skip-anchor-check` label turns the errors into warnings and passes the check. The failure message names the label and the fixes. - **No `paths` filter:** a required check whose workflow never starts leaves unrelated PRs waiting. The job runs on every PR and exits before installing anything when docs content is unchanged. Out of scope: deleted or moved pages, and links from outside this repo. The workflow checks out text files across `apps`, `packages`, and `examples`, and skips images and video, so the search doesn't download them. The check only blocks merges once it's a required status check on `master`. That needs a repo admin. ## Skip the check For a deliberate removal: 1. Add the `skip-anchor-check` label to the PR. 2. The check re-runs and passes. The links it would have failed on show as warnings. Remove the label to turn the check back on. ## Manual testing 1. From `apps/docs`, delete `[#leaked-key]` from the heading in `content/guides/getting-started/api-keys.mdx`. 2. Run `pnpm check:removed-anchors`. It exits 1 and names `troubleshooting/rotating-anon-service-and-jwt-secrets-1Jq6yd.mdx:39`. 3. Run `PR_LABELS='["skip-anchor-check"]' pnpm check:removed-anchors`. It prints the same report and exits 0. 4. Run `pnpm vitest run scripts/check-removed-anchors.test.ts`. All tests pass. |
||
|
|
3d76559cec |
chore(studio): remove logs.all deprecation banner (#52491)
## Problem The `logs.all` Management API endpoint retired on September 23, and the deprecation banner stopped rendering on September 24 because of its hardcoded expiry. The banner's code is now dead weight in the bundle. Resolves GROWTH-1104. ## Solution Removes the banner and everything it pulled in: - Deletes `BannerLogsAllDeprecation.tsx`, plus its mount effect, expiry timer, and exposure tracking in `AppBannerWrapper.tsx`. - Removes `isLogsOrObservabilityPath` (only this banner used it) and its tests. - Removes `BANNER_ID.LOGS_ALL_DEPRECATION`. `BannerStackProvider.test.tsx` used it as an arbitrary ID, so those tests now use `BANNER_ID.EXPLORER`. The tests themselves are unchanged. - Removes the `LOGS_ALL_DEPRECATION_2026_09_23` local storage key and the two `logs_all_deprecation_banner_*` telemetry events. The dismissal key stays in users' browsers, which is harmless because nothing reads it anymore. ## Review instructions 1. Open a project's Logs or Observability page on the preview and confirm no `logs.all` notice appears and the page renders normally. 2. Open an organization's landing page and confirm the Terms of Service banner still behaves as before. ## 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) |
||
|
|
9e3471dcbb |
docs(storage): add information about rotating url signing keys (#52522)
## Problem No docs for self-serve storage url signing key rotation ## Solution Add docs for self-serve storage url signing key rotation via dashboard |
||
|
|
804a3c0969 |
chore(docs) - add in unique titles where appropriate (#52452)
## Problem Dupe titles in docs. ## Solution Adds unique titles where appropriate + high confidence. ## Preview links | Before | After | |---|---| | [Database Migrations \| Supabase Docs](https://supabase.com/docs/guides/deployment/database-migrations) | [Deploy Database Migrations \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/deployment/database-migrations) | | [Database Migrations \| Supabase Docs](https://supabase.com/docs/guides/local-development/database-migrations) | [Local Database Migrations \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/local-development/database-migrations) | | [Limits \| Supabase Docs](https://supabase.com/docs/guides/storage/uploads/file-limits) | [Storage Upload Limits \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/storage/uploads/file-limits) | | [Limits \| Supabase Docs](https://supabase.com/docs/guides/functions/limits) | [Edge Functions Limits \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/functions/limits) | | [Error Codes \| Supabase Docs](https://supabase.com/docs/guides/storage/debugging/error-codes) | [Storage Error Codes \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/storage/debugging/error-codes) | | [Views \| Supabase Docs](https://supabase.com/docs/guides/database/views) | [Database Views \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/guides/database/views) | | [Self-Hosting \| Supabase Docs](https://supabase.com/docs/reference/self-hosting-auth/introduction) | [Self-Hosting Auth \| Supabase Docs ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/reference/self-hosting-auth/introduction) | | [Supabase Docs](https://supabase.com/docs/reference) | [Supabase API references ✅](https://docs-git-kody-devrel-780-docs-dupe-titles-supabase.vercel.app/docs/reference) | --------- Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com> |
||
|
|
ff12dda7ea |
refactor(kb): read og image function url from env (#52182)
## Problem - #52096 adds the kb og image with the function url of the misc project written in `Layout.astro` ## Solution - replaces the url in `apps/kb/src/layouts/Layout.astro` with `MISC_URL` - adds `MISC_URL` to `apps/kb/.env.example` <!-- ## Preview links If relevant, include links to changed pages for easy review access. Copy the preview base URL from the Vercel bot comment on this PR. Use the following table as an example template. | Site | Live | Preview | Search for | | -------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------- | | WWW | [/blog/your-post](https://supabase.com/blog/your-post) | [/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post) | unique phrase from the change | | Docs | [/docs/guides/your-page](https://supabase.com/docs/guides/your-page) | [/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page) | unique phrase from the change | | Studio | [/dashboard](https://supabase.com/dashboard) | [/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard) | unique phrase from the change | | Design system | [/design-system](https://supabase.com/design-system) | [/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system) | unique phrase from the change | | UI library | [/library](https://supabase.com/library) | [/library](https://ui-library-git-branch-name-supabase.vercel.app/library) | unique phrase from the change | | Knowledge base | [/kb/guides/your-page](https://supabase.com/kb/guides/your-page) | [/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page) | unique phrase from the change | --> <!-- ## Additional context Optionally add any other context or screenshots. --> ## Review instructions Provide a clear numbered procedure that the PR reviewer can walk through. 1. visit /kb 2. inspect og image ## 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) |
||
|
|
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> |
||
|
|
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 |
||
|
|
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." |
||
|
|
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> |
||
|
|
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> |
||
|
|
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> |
||
|
|
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) |
||
|
|
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) |
||
|
|
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> |
||
|
|
6aed258d87 | feat(migration): Move pipeline_id to string (#52489) | ||
|
|
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> |
||
|
|
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>
|
||
|
|
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> |
||
|
|
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. |
||
|
|
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> |
||
|
|
253d874e38 | fix(warehouse): disallow warehouse installation on orioledb (#51913) |