mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 07:29:16 +00:00
create-pull-request/patch
8742
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
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. |
||
|
|
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> |
||
|
|
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> |
||
|
|
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) |
||
|
|
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) |
||
|
|
0e3dd658fe |
Update humans.txt (#52345)
- Adds Satyanarayana Uppada (i.e @satya-u99) to `apps/docs/public/humans.txt` |
||
|
|
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> |
||
|
|
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) |
||
|
|
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) |
||
|
|
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. |
||
|
|
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`. |
||
|
|
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> |
||
|
|
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)
|
||
|
|
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> |
||
|
|
d1dcb57bdf |
feat(www): use the shared AiTools component on www pages (#52186)
## Problem Docs guides, docs troubleshooting pages, and knowledge base guides render the shared `AiTools` component from `ui-patterns`. The marketing site renders its own copy of the same actions in `MarkdownActions`, with the same styles and links. A change to one doesn't reach the other. Resolves [DOCS-1505](https://linear.app/supabase/issue/DOCS-1505/use-the-shared-aitools-component-on-www-pages). ## Solution Blog posts, customer stories, event pages, changelog entries, and pricing render `AiTools` through a www wrapper, and `MarkdownActions` is deleted. The wrapper sends `copy_as_markdown_clicked` and `ask_ai_clicked` with each page's type, as `MarkdownActions` did. - **Prefer on Google:** blog posts show the Prefer on Google link through `AiTools`, and clicks send `preferred_source_clicked`. #52026 proposed adding the link through `MarkdownActions`. This PR adds it through `AiTools` instead, and #52026 is closed. The link's URL is a shared constant in `markdown-affordance.ts`, which the docs wrapper also uses. - **Horizontal layout:** `AiTools` has an `orientation` prop. Pricing uses it to keep the actions in a row under the hero. The design system's AI Tools page documents it. - **Headings:** `AiTools` adds an "AI tools" heading: - Blog posts style it like the sidebar's On this page label. - Pricing, customer stories, and event pages hide it visually, so they look as they do on the live site. Screen readers still announce it as the section's label. - Changelog entries give AI tools its own sidebar section, like Change type and Products. The Links section appears only when an entry links to a GitHub discussion. The changelog index keeps `ChangelogLlmMarkdownButton`. It's a split button in the header toolbar, and `AiTools` is a list of links built for sidebars. ## Preview links Compare the before and afters (since there's a lot of examples here, links are less visually busy than images in this case): | Site | Live | Preview | | ------------- | -------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | | WWW | [/blog/give-your-supabase-app-its-own-mcp-server](https://supabase.com/blog/give-your-supabase-app-its-own-mcp-server) | [/blog/give-your-supabase-app-its-own-mcp-server](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/blog/give-your-supabase-app-its-own-mcp-server) | | WWW | [/pricing](https://supabase.com/pricing) | [/pricing](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/pricing) | | WWW | [/customers/berriai](https://supabase.com/customers/berriai) | [/customers/berriai](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/customers/berriai) | | WWW | [/events/agency-webinar-ai-prototyping-production](https://supabase.com/events/agency-webinar-ai-prototyping-production) | [/events/agency-webinar-ai-prototyping-production](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/events/agency-webinar-ai-prototyping-production) | | WWW | [/changelog/cbc-tls-ciphers-deprecated](https://supabase.com/changelog/cbc-tls-ciphers-deprecated) | [/changelog/cbc-tls-ciphers-deprecated](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/changelog/cbc-tls-ciphers-deprecated) | | WWW | [/changelog/17817-pgbouncer-and-ipv4-deprecation](https://supabase.com/changelog/17817-pgbouncer-and-ipv4-deprecation) | [/changelog/17817-pgbouncer-and-ipv4-deprecation](https://zone-www-dot-com-git-alexisa-docs-1505-supabase.vercel.app/changelog/17817-pgbouncer-and-ipv4-deprecation) | | Design system | [/design-system/docs/fragments/ai-tools](https://supabase.com/design-system/docs/fragments/ai-tools) | [/design-system/docs/fragments/ai-tools](https://design-system-git-alexisa-docs-1505-supabase.vercel.app/design-system/docs/fragments/ai-tools) | ## Review instructions 1. Open each live and preview link side by side. 2. On pricing, check that the actions sit in the same row under the hero. 3. On the blog post, check that the "AI tools" heading matches the On this page label. 4. On the blog post, check that Prefer on Google appears in the sidebar and at the end of the post on mobile. 5. On both changelog entries, check that AI tools has its own sidebar section. Links appears only on the pgbouncer entry, which links to a GitHub discussion. 6. On each page, click Copy as Markdown, Ask ChatGPT, and Ask Claude. On the blog post, also click Prefer on Google. In the browser's network tab, check that each telemetry request includes the page's `pageType`. 7. On the design system page, check the Horizontal layout example. ## 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) |
||
|
|
447cfa5227 |
feat(docs): add docs-ia-mvp-v1 flag for the new navigation (#52049)
Closes DOCS-1464 ## Problem The new docs navigation, Option 1, needs an A/B test against today's navigation. The docs app has no flag that switches the navigation per visitor. `docs:*` keys in this repo are build-time toggles from `enabled-features`. They are the same for every visitor, so they can't run an A/B. The flag is `docs-ia-mvp-v1`, a PostHog multivariate flag, like `docs-search-v2`. ## Solution - **Variant hook:** `useIaNavVariant` reads `docs-ia-mvp-v1` and returns `control` or `option-1`. It copies `useSearchV2Variant`. It returns `control` until the flag resolves, records exposure once resolved, and respects consent. - **Query param override:** `?docs-ia-mvp-v1=option-1` or `?docs-ia-mvp-v1=control` forces a variant for dogfooding and evals. A forced variant records no exposure. - **Option 1 config:** `features/IaNav/option1.constants.ts` re-exports today's navigation constants. An export defined in that file replaces the re-exported one, so Option 1 in DOCS-1469 overrides only what changes. - **Consumers:** The top nav, the mobile menu, and the guide sidebar read from `useNavItems`, which picks the config for the variant. **Not changed:** Reference sidebars, breadcrumbs, and hub pages. Breadcrumbs and hub pages can read `useIaNavVariant` in DOCS-1470 and DOCS-1471. **PostHog:** The flag doesn't exist in PostHog yet. Until it does, every visitor gets `control`, and the query param still works. ## Manual testing 1. Open [Auth with Option 1 forced](https://docs-git-docs-ia-nav-flag-supabase.vercel.app/docs/guides/auth?docs-ia-mvp-v1=option-1). The top nav and sidebar match today's navigation, because the Option 1 config is a copy. Locally, you can make a change to see the variant. 2. Open [Auth with no param](https://docs-git-docs-ia-nav-flag-supabase.vercel.app/docs/guides/auth). The navigation is unchanged. |
||
|
|
eb616619a6 |
docs: Add John Murret to humans.txt (#52419)
## Problem Adding myself to humans.txt as part of onboarding. ## Solution Provide a brief description of the change and the key choices you made when architecting the solution. Feel free to include screenshots if it includes visual changes. <!-- ## Preview links If relevant, include links to changed pages for easy review access. Copy the preview base URL from the Vercel bot comment on this PR. Use the following table as an example template. | Site | Live | Preview | Search for | | -------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------- | | WWW | [/blog/your-post](https://supabase.com/blog/your-post) | [/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post) | unique phrase from the change | | Docs | [/docs/guides/your-page](https://supabase.com/docs/guides/your-page) | [/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page) | unique phrase from the change | | Studio | [/dashboard](https://supabase.com/dashboard) | [/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard) | unique phrase from the change | | Design system | [/design-system](https://supabase.com/design-system) | [/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system) | unique phrase from the change | | UI library | [/library](https://supabase.com/library) | [/library](https://ui-library-git-branch-name-supabase.vercel.app/library) | unique phrase from the change | | Knowledge base | [/kb/guides/your-page](https://supabase.com/kb/guides/your-page) | [/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page) | unique phrase from the change | --> <!-- ## Additional context Optionally add any other context or screenshots. --> ## Review instructions Provide a clear numbered procedure that the PR reviewer can walk through. 1. For example, `Open the live and preview links side-by-side.` 2. For example, `See the issue is fixed.` ## Checklist Check all before review: - [ ] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [ ] If I wrote a new docs topic or edited an existing topic, I used the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs [style guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide) |
||
|
|
4b2c09c44e |
docs: set descriptions for federated wrapper, python, and terraform pages (DEVREL-772) (#52407)
## Problem Missing meta descriptions on generated pages (wrappers, python client, terraform guides). ## Solution Add a `description` to the `meta` of each `pageMap` entry in: - `scripts/federated-content/sources/wrappers.ts` - `scripts/federated-content/sources/python.ts` - `scripts/federated-content/sources/terraform.ts` ## Review instructions Sanity check the descriptions. Rendered on the pages: <img width="1217" height="492" alt="image" src="https://github.com/user-attachments/assets/c962da15-9bdc-4440-80de-8bf2bbbce456" /> If needed, can check the output of pages, but probably not necessary given these aren't user facing. | Page | Before (live) | After (preview) | | --- | --- | --- | | Airtable wrapper | https://supabase.com/docs/guides/database/extensions/wrappers/airtable | https://docs-git-kody-devrel-772-federated-descriptions-supabase.vercel.app/docs/guides/database/extensions/wrappers/airtable | | Stripe wrapper | https://supabase.com/docs/guides/database/extensions/wrappers/stripe | https://docs-git-kody-devrel-772-federated-descriptions-supabase.vercel.app/docs/guides/database/extensions/wrappers/stripe | | S3 wrapper | https://supabase.com/docs/guides/database/extensions/wrappers/s3 | https://docs-git-kody-devrel-772-federated-descriptions-supabase.vercel.app/docs/guides/database/extensions/wrappers/s3 | | Python API | https://supabase.com/docs/guides/ai/python/api | https://docs-git-kody-devrel-772-federated-descriptions-supabase.vercel.app/docs/guides/ai/python/api | | Terraform provider | https://supabase.com/docs/guides/deployment/terraform | https://docs-git-kody-devrel-772-federated-descriptions-supabase.vercel.app/docs/guides/deployment/terraform | | Terraform tutorial | https://supabase.com/docs/guides/deployment/terraform/tutorial | https://docs-git-kody-devrel-772-federated-descriptions-supabase.vercel.app/docs/guides/deployment/terraform/tutorial | Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com> |
||
|
|
051d5f79da |
chore(docs) - remove troubleshooting guides and rendering logic (#52339)
## Problem Dupe content and workflows when this content now all lives in the KB. ## Solution Removes various artifacts from the docs repo (content files, github workflows, etc.) from the docs app. These paths have already been redirected to /kb in #52095 and we haven't seen any meaningful 404 traffic indicating the redirects were done incorrectly. ## Preview links TBD |
||
|
|
14ca6c0455 |
feat(docs) - move docs redirects into docs app directly (#52248)
## Problem Several: - using above recommended # of redirects in the apps/www configuration -- currently around ~1275, so 275 above the recommended limit -- which leads to degraded performance for _every_ request going through the first zone (including the dashboard, I'd think). ``` www:build: www:build:next: Warning: total number of custom routes exceeds 1000, this can reduce performance. Route counts: ``` - We want to add more redirects over time. The current approach doesn't allow us to do so without cost. - No ability to test docs redirects in previews, which makes reviewing and merging in changes riskier than it should be. The fact that we _can_ test the changes in this PR is a huge improvement. ## Solution Diff approach, but related to #51193 Moves docs redirects into the docs app directly, splitting them between [next.config.mjs](https://vercel.com/docs/routing/redirects/configuration-redirects) (dynamic) and [Vercel's bulk redirects](https://vercel.com/docs/routing/redirects/bulk-redirects) (static). ```txt apps/ ├── docs/ │ ├── lib/ │ │ └── redirects/ │ │ ├── README.md # process and rules for adding redirects │ │ ├── static-redirects.json # source: one-to-one /docs entries (hand-edited) │ │ ├── dynamic-redirects.js # conditional /docs entries + dev/preview rules │ │ └── generated/ │ │ └── static-redirects-md-variants.json # .md guides variants generated in pre-build ``` B/c this -- in itself -- also puts us above the 1000 redirects, separates out redirects based on their _type_: - Dynamic redirects, live in a .js folder -> referenced in next.config.mjs. These are not support - Static redirects live in a json folder (required for Vercel bulk redirects) -> then referenced in the vercel.json config Also adds `.md` variant logic to both -- we can actually see a _lot_ of these paths are hit within analytics. Quick sample over the past 24 hours: ``` path, code, # of hits /docs/guides/monitoring-and-debugging.md 308 1768 /docs/guides/api/api-keys.md 308 722 /docs/guides/auth/server-side/nextjs.md 307 381 /docs/guides/auth/social-login/auth-google.md 308 231 /docs/guides/getting-started/mcp.md 308 218 /kb/troubleshooting/formatting-support-requests-for-faster-resolution.md 308 159 /docs/guides/troubleshooting/formatting-support-requests-for-faster-resolution-616717.md 308 156 /docs/guides/local-development/overview.md 308 139 /docs/guides/telemetry/logs.md 308 129 /kb/sitemap.md 308 117 /docs/guides/auth/social-login/auth-apple.md 308 103 /kb/troubleshooting/rotating-anon-service-and-jwt-secrets-1Jq6yd.md 308 97 ``` The exact method for generating these .md variants could use a sanity check: - Dynamic - follows the existing logic from the apps/www - Static - adds a prebuild script to automatically create .md variants for `/docs/guides` links. I _think_ this will work even though the output is gitignored by default... but remains to be seen. ## Preview links - [Dynamic path, no .md](https://docs-git-kody-devrel-723-redirects-rework-supabase.vercel.app/docs/guides/reports/reports) - [Dynamic path, .md](https://docs-git-kody-devrel-723-redirects-rework-supabase.vercel.app/docs/guides/reports/reports.md) - [Static path, no .md](https://docs-git-kody-devrel-723-redirects-rework-supabase.vercel.app/docs/guides/api/joins-and-nesting) - [Static path, .md](https://docs-git-kody-devrel-723-redirects-rework-supabase.vercel.app/docs/guides/api/joins-and-nesting.md) ## Builds <img width="1128" height="289" alt="image" src="https://github.com/user-attachments/assets/3cbbb111-e7b8-4922-ba8c-23cbc0bb3ddc" /> ## Go-live - [ ] Sign off on restructure from Growth Eng + Docs team. - [ ] Reviewer double-check with agent that a) this contains largely the same set as the current set in www and b) that these resolve to 200s. For a, there are a few small differences due to cleanup + re-ordering redirects that didn't previously work. - [ ] In the docs project, purchase a batch of 25,000 bulk redirects in Vercel (builds fail if you don't have the quota with `Bulk redirects limit exceeded. Attempting to add 1,013 redirects to a deployment, but only 1,000 available. Visit https://vercel.com/supabase/docs/settings/advanced#bulk-redirects to increase bulk redirects capacity.`) - [ ] Move the disabled redirects back into the main folder, and confirm builds work. - [x] Update `write-the-docs` skill to mention redirects --------- Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com> |
||
|
|
038e68b777 |
docs: unify pooler guidance across the docs (#52332)
Closes DOCS-1519 ## Problem DOCS-1519 asks the docs team to do two things: unify the connection recommendations, and remove PgBouncer deprecation notices. PgBouncer isn't deprecated. It runs the dedicated pooler. **Deprecation notices:** no page in `apps/docs` says PgBouncer is deprecated. The last notice was in a 2021 blog post, and #52249 removed it. Two notices remain outside the docs: - **Studio:** the support form's IPv4 alert links to a "PGBouncer and IPv4 Deprecation" discussion. - **Blog:** a September 2023 update says PgBouncer is deprecated as of January 2024. **Recommendations:** Supabase runs two server-side poolers. The shared pooler runs on Supavisor and is on every plan. The dedicated pooler runs on PgBouncer and is on the Pro Plan and above. The docs name the two poolers in many ways, and many pages leave out the dedicated pooler. Some pages contradict the recommendations table in [Connect to your database](https://supabase.com/docs/guides/database/connecting-to-postgres#choose-a-connection-method): - **Prepared statements:** `connecting-to-postgres` says transaction mode doesn't support them. That is true for the shared pooler only. The dedicated pooler supports them on PgBouncer 1.21 and later. - **Migrations:** the restore pages, the quickstart partial, and the RedwoodJS quickstart send migrations and `pg_dump` through session mode. The table says to use the direct connection. - **Dedicated pooler:** `pooling-and-limits` says to use it on any IPv6 network. The table keeps it for high-load apps. ## Solution - **Names:** pages say _shared pooler_ and _dedicated pooler_, in lowercase. Each page names Supavisor or PgBouncer once, after the pooler name. _Session pooler_ and _Transaction pooler_ stay only where a page quotes the Connect dialog. - **Plans:** pooler and connection pages say _Pro Plan and above_ instead of _paid plans_. - **Recommendations:** every page above now matches the table. The shared pooler in session mode is the fallback for IPv4-only networks. - **Dedicated pooler coverage:** Managing connections and the IPv4 add-on page now cover the dedicated pooler. - **Word list:** `WORD_LIST.md` gets `dedicated pooler`, `shared pooler`, and `paid plan` entries. **Also fixed:** - The direct connection examples in both restore pages had the wrong username and `.supabase.com`. - The Managing connections heading changed. It keeps the `#configuring-supavisors-pool-size` anchor, because Studio links to it. **Not changed:** billing and usage pages that say _paid plans_, self-hosting pages, `apps/www`, and Studio. The Postgres and Render migration guides moved to `apps/kb` on `master` while this PR was open, so their edits are no longer in this diff. **Troubleshooting articles:** production redirects `/docs/guides/troubleshooting/` to `/kb/troubleshooting/`, which builds from the troubleshooting repo. The troubleshooting edits move there under DOCS-1521. **Size:** 25 files, 115 lines added and 97 removed. ## Preview links | Page | Live | Preview | Search for | | ---- | ---- | ------- | ---------- | | /connecting-to-postgres | [Live](https://supabase.com/docs/guides/database/connecting-to-postgres) | [Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/database/connecting-to-postgres) | A high-load application on the Pro Plan and above | | /pooling-and-limits | [Live](https://supabase.com/docs/guides/database/connecting-to-postgres/pooling-and-limits) | [Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/database/connecting-to-postgres/pooling-and-limits) | Use it for high-load applications | | /connection-management | [Live](https://supabase.com/docs/guides/database/connection-management) | [Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/database/connection-management) | The pool size applies to both the shared pooler | | /ipv4-address | [Live](https://supabase.com/docs/guides/platform/ipv4-address) | [Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/platform/ipv4-address) | When using the dedicated pooler in an IPv6-incompatible network | | /backup-restore | [Live](https://supabase.com/docs/guides/platform/migrating-within-supabase/backup-restore) | [Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/platform/migrating-within-supabase/backup-restore) | Use the direct connection string. If your network | | /dashboard-restore | [Live](https://supabase.com/docs/guides/platform/migrating-within-supabase/dashboard-restore) | [Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/platform/migrating-within-supabase/dashboard-restore) | Use the direct connection string. If your ISP | | /redwoodjs | [Live](https://supabase.com/docs/guides/getting-started/quickstarts/redwoodjs) | [Preview](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/getting-started/quickstarts/redwoodjs) | This quickstart uses two connection strings | ## Review instructions 1. Open [Connect to your database](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/database/connecting-to-postgres). The table and the **Dedicated pooler** section say _Pro Plan and above_. 2. Open [Connection pooling and limits](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/database/connecting-to-postgres/pooling-and-limits). It recommends the dedicated pooler for high-load apps only. 3. Open [Managing connections](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/database/connection-management). The pool size section covers both the shared pooler and the dedicated pooler. 4. Open [Backup and restore](https://docs-git-docs-unify-pooler-guidance-supabase.vercel.app/docs/guides/platform/migrating-within-supabase/backup-restore). Step 3 says to use the direct connection string. ## Checklist Check all before review: - [ ] 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) |
||
|
|
e79496d5cf |
refactor: Point the search_v2 fn to global supabase project (#52382)
## Problem Currently we experience a lot of empty results responses from our new search_v2 experiment. We are improving our search logic on our frontend plus our search functions in the backend ot fix this. ## Solution Improve our search setup to follow this path: 1. Same as before, strict full text search. 1. If that returns zero results, we do prefixes via wild cards, ie: "edge fun" becomes "edge fun|*" so people don't have to type the full term. 1. If that returns zero results, then we run the terms under OR, which will give partial results for individual terms. 1. If that returns zero results then we are most probably under a typo/misspelling scenario, then we use `pg_trgm` extension with a `0.4` tier to return the closest bit, which is good cause it covers missing first letters like "dge functions" too. We will do this migration in three steps to not disrupt current users under the experiments, I will be posting the PRs here: 1. First, we will create a new search_v2 table on `supabase.com [LIVE]` project where production parts of our monorepo go + already implement the improvements I just mentioned. 1. Re-route the ingest script to populate once per day the database table in this new project. At this point we will have the data and the search function ready. 1. Update the API search_v2 function to query from this new project, so users will experience no down time. 👈 **this PR is here** <!-- ## 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 preview of docs 1. Make sure you are on the search_v2 experiment or open it on an incognito window 1. Open the search modal and run a query like "edge fun" 1. Search should return results, confirming it's using the new database table ## 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) |
||
|
|
e646c430d7 |
refactor(docs) - tidy Mgmt API heading props (#52392)
## What changed Follow-up to #52340, addressing the review comments left after it merged: - Removed the redundant `headingTag="h2"` on the Management API intro section. `h2` is the default, and the intro header is hidden on pages with `hideTitle`. - Exported a `HeadingTag` type from `Reference.ui.tsx` and used it in the section prop types. - Renamed the `headingTag` prop to `tag` to match the `tag` prop on the shared `Heading` component. Manually poked around at pages like the following and behavior seems to be the same: - https://docs-git-kody-docs-mgmt-api-heading-cleanup-supabase.vercel.app/docs/reference/cli/global-flags - https://docs-git-kody-docs-mgmt-api-heading-cleanup-supabase.vercel.app/docs/reference/javascript/typescript-support https://docs-git-kody-docs-mgmt-api-heading-cleanup-supabase.vercel.app/docs/reference/api/v1-get-security-advisors Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com> |
||
|
|
a9f56b3c4a |
feat(ui): mobile nav drawer (#52177)
## Problem on mobile docs pages with a sidebar have two menu buttons: the burger opens the global menu, and a second bar opens the sidebar while kb has its own full-screen accordion menu making two apps sharing no mobile nav code ## Solution - adds `MobileNavDrawer`, `MobileNavTabs` and `MobileNavThemeButton` to `packages/ui-patterns/src/MobileNav` - makes docs and kb use the same three parts - adds a full-width drawer in `MobileNavDrawer` under `--header-height`. It sets `inert` while it is closed - adds a tab row in `MobileNavTabs`, with a dropdown below `@xl` to avoid multiple tab lines - adds a theme button in `MobileNavThemeButton`. Each tap moves to the next theme in `singleThemes` - shows the group tabs, the theme button and the links of the selected group above the sidebar | before | after | | -------|------| | <img width="619" height="802" alt="image" src="https://github.com/user-attachments/assets/09d441c6-b4f3-4768-bb29-1e1d4f23fad1" /> | <img width="619" height="802" alt="image" src="https://github.com/user-attachments/assets/53043083-f05f-45aa-b30e-3db6fccdd443" /> | <!-- ## Preview links If relevant, include links to changed pages for easy review access. Copy the preview base URL from the Vercel bot comment on this PR. Use the following table as an example template. | Site | Live | Preview | Search for | | -------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------- | | WWW | [/blog/your-post](https://supabase.com/blog/your-post) | [/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post) | unique phrase from the change | | Docs | [/docs/guides/your-page](https://supabase.com/docs/guides/your-page) | [/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page) | unique phrase from the change | | Studio | [/dashboard](https://supabase.com/dashboard) | [/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard) | unique phrase from the change | | Design system | [/design-system](https://supabase.com/design-system) | [/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system) | unique phrase from the change | | UI library | [/library](https://supabase.com/library) | [/library](https://ui-library-git-branch-name-supabase.vercel.app/library) | unique phrase from the change | | Knowledge base | [/kb/guides/your-page](https://supabase.com/kb/guides/your-page) | [/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page) | unique phrase from the change | --> <!-- ## Additional context Optionally add any other context or screenshots. --> ## Review instructions Provide a clear numbered procedure that the PR reviewer can walk through. 1. For example, `Open the live and preview links side-by-side.` 2. For example, `See the issue is fixed.` ## Checklist Check all before review: - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [ ] 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) |
||
|
|
94e0e1e7d2 |
chore: Move ingest to new table while pointing the search_v2 fn to the experiment one (#52370)
## Problem Currently we experience a lot of empty results responses from our new search_v2 experiment. We are improving our search logic on our frontend plus our search functions in the backend ot fix this. ## Solution Improve our search setup to follow this path: 1. Same as before, strict full text search. 1. If that returns zero results, we do prefixes via wild cards, ie: "edge fun" becomes "edge fun|*" so people don't have to type the full term. 1. If that returns zero results, then we run the terms under OR, which will give partial results for individual terms. 1. If that returns zero results then we are most probably under a typo/misspelling scenario, then we use `pg_trgm` extension with a `0.4` tier to return the closest bit, which is good cause it covers missing first letters like "dge functions" too. We will do this migration in three steps to not disrupt current users under the experiments, I will be posting the PRs here: 1. First, we will create a new search_v2 table on `supabase.com [LIVE]` project where production parts of our monorepo go + already implement the improvements I just mentioned. 1. Re-route the ingest script to populate once per day the database table in this new project. At this point we will have the data and the search function ready. 👈 **this PR is here** 1. Update the API search_v2 function to query from this new project, so users will experience no down time. <!-- ## 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 _Make sure ingest runs correctly after merge._ ## 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) |
||
|
|
2f59892ac6 |
fix(docs) - Mgmt API functions as h1 instead of h2 (#52340)
## Problem Current Mgmt API docs have no h1's, which is bad for AEO/SEO. ## Solution Updates the headingTag component to accept optional h1 input value + removed dupe header from top-level mgmt api page. ## Preview links ### Current https://supabase.com/docs/reference/api/v1-get-performance-advisors <img width="1778" height="947" alt="Screenshot 2026-10-26 at 3 43 02 PM" src="https://github.com/user-attachments/assets/871aad3c-049d-468c-9672-8bcb58ebe3bc" /> ### Proposed [mgmt api landing](https://docs-git-kody-devrel-769-supabase.vercel.app/docs/reference/api/introduction) (removed dupe header of `Introduction`) https://docs-git-kody-devrel-769-supabase.vercel.app/docs/reference/api/v1-get-performance-advisors <img width="1328" height="795" alt="image" src="https://github.com/user-attachments/assets/02bedc9e-f131-4e59-b495-ed9c54b98be8" /> --------- Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com> |
||
|
|
49aab4b835 |
Add Santos Flores de Leon to humans.txt (#52343)
Adding myself to humans.txt per the onboarding process. ## Problem N/A ## Solution N/A ## Review instructions 1. Go to humans.txt 2. Confirm `Santos Flores de Leon` is in the right row. Alphabetical sort. ## 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) |
||
|
|
5bdb7399e8 |
docs: add "The Supabase way to build" getting started guide (#50283)
## 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? A getting-started page that sits between the architecture overview (what the pieces are) and the existing guides (how to build one). Explains which product features to add, and when, as you are building. ## What is the current behavior? - Architecture lists the services. Quickstarts show one setup. Nothing says which block to add next. ## What is the new behavior? The page tells you which Supabase piece to add next. The links open the guide that shows you how. A short table at the top maps a need to a piece: store data, know who is calling, keep rows private, handle files, run server logic, show live updates, go to production. Under that are the same seven pieces, in the order most apps grow. Stop at the last one your app needs. Every section has the same four parts: - The situation that means you need this piece - The idea to remember - The mistake to avoid - A few links to the existing guide One warning sits in the database section. The Next.js quickstart leaves its sample table public so the page can load. Come back here before that table holds private data. ## Additional context - Page: `the-supabase-way-to-build.mdx`. Tiles: `the-supabase-way-to-build.data.ts`. Nav: second item under Build with AI tools. - Explainer only. It links out for the how. - Needs an SME read. Placement is interim. ### [The Supabase way to build (Preview)](https://docs-git-nikrichers-docs-1389-experimental-the-9beaf4-supabase.vercel.app/docs/guides/getting-started/the-supabase-way-to-build) <img width="2222" height="15924" alt="Image2026-10-26_01-54-16_PM" src="https://github.com/user-attachments/assets/caf02275-6c7e-4b35-be7f-659953e86bd6" /> ### Test plan - [ ] Preview renders, and the sidebar entry is second under Build with AI tools. - [ ] Each section has a Build it group of links. - [ ] Database stage points at API keys and says the quickstart's public read is temporary. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added the “The Supabase Way to Build” guide, covering Database, Auth, RLS, Realtime, Storage, Edge Functions, and production hardening. - Added curated “Build it” links for each section to help readers find relevant guides. - Included guidance on securing data, files, credentials, and browser-accessible resources. - **Documentation** - Updated the Getting Started navigation to link to the new guide. - Clarified Storage policies, RLS behavior, public buckets, and secure secret management. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Nik Richers <nik@validmind.ai> Co-authored-by: Miranda Limonczenko <miranda.limonczenko@supabase.io> |
||
|
|
2e63060c59 |
fix(docs): serve markdown 404s for guessed .md urls (#52293)
Coding agents guess docs URLs that don't exist: markdown variants of pages that have no markdown (`/docs/reference/<sdk>/<fn>.md`, `/docs/guides/<slug>.md`) and `/docs/llms.txt`. Reference guesses get an empty-body 404 from the crawler renderer for bot user agents and the full HTML reference for browsers, and the rest get the HTML 404 page, so the agent never learns where the content lives. Reference `.md` guesses are about half of coding-agent docs 4xx, and guide `.md` guesses about a tenth. **Changed:** - **Reference `.md` guesses**: the docs proxy answers every `/docs/reference/**.md` request itself, for any user agent and before the crawler rewrite, with a markdown 404 (`no-store`) linking the HTML page and the SDK's full markdown reference (`/llms/js.txt`, `/llms/dart.txt`, and so on), or `/llms.txt` for references without one. - **Unknown guide `.md` guesses**: guide `.md` requests whose slug has no markdown variant get the same markdown 404 instead of the HTML 404. The body says there is no markdown version of the page, because a few real guide pages (CLI config, self-hosting config, troubleshooting indexes) are TSX-only. Known guides and Accept-negotiated requests without `.md` are unchanged. - **`/docs/llms.txt`**: I added a permanent www redirect to `/llms.txt`, next to the existing `/docs/reference/llms.md` redirect. **Note:** the `.md` check in `proxy.ts` catches every reference `.md` URL, so it has to be narrowed when per-function reference markdown ships, or it will 404 those files. ## To test Tested on the PR previews (docs deployment for the 404s, www deployment for the redirect): - [x] `curl -sD - -A 'curl/8.7.1' <docs-preview>/docs/reference/javascript/select.md`: expect 404, `content-type: text/markdown`, `cache-control: no-store`, and a body linking `https://supabase.com/docs/reference/javascript/select` and `https://supabase.com/llms/js.txt` - [x] Repeat for `dart/select.md`, `python/select.md`, `cli/supabase-init.md` and `api/v1-list-all-projects.md`: expect the matching `/llms/<sdk>.txt` - [x] Repeat `javascript/select.md` with a browser user agent: expect the same markdown 404 - [x] `curl -sD - <docs-preview>/docs/guides/doesnotexist.md`: expect 404 markdown with `no-store`, linking `https://supabase.com/llms.txt` - [x] `curl -s <docs-preview>/docs/guides/local-development/cli/config.md`: expect 404 markdown linking `https://supabase.com/docs/guides/local-development/cli/config` - [x] `curl -sD - <docs-preview>/docs/guides/database/overview.md`: expect 200 markdown, unchanged - [x] Open `<docs-preview>/docs/guides/doesnotexist` in a browser: expect the branded HTML 404, unchanged - [x] `curl -sIL -o /dev/null -w '%{num_redirects} %{http_code}\n' <www-preview>/docs/llms.txt`, once with a browser user agent and once with `Googlebot/2.1`: expect `1 200` ## Linear - fixes GROWTH-1325 |
||
|
|
9084e8181b |
docs(ai): add Fireworks AI integration guide (#52193)
## I have read the CONTRIBUTING.md file. YES ## What kind of change does this PR introduce? **New docs page: Fireworks AI integration guide.** This adds `guides/ai/integrations/fireworks-ai` and covers two tasks. The first calls a Fireworks chat model from an Edge Function. The second stores Fireworks embeddings in a pgvector table and searches them from an Edge Function. Fireworks exposes an OpenAI-compatible API, so the page uses the OpenAI SDK with a Fireworks base URL. That matches the existing pattern in `guides/functions/ai-models`. Base for this stacked PR: https://github.com/supabase/supabase/pull/52246 ## What is the current behavior? - The docs have no Fireworks content. `git grep -i fireworks` across the repo returns no docs, examples, or templates. ## What is the new behavior? | File | Change | | --- | --- | | `apps/docs/content/guides/ai/integrations/fireworks-ai.mdx` | New guide covering API key secrets, **Generate text**, and **Search with embeddings** (table, RLS policy, HNSW index, `match_documents`, plus embed and search functions) | | `apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts` | Adds **Fireworks AI** under AI > Third-Party Tools, after Amazon Bedrock | | `apps/docs/content/guides/ai.mdx` | Adds a Fireworks AI card to the Integrations grid | ## Additional context - Worktree: `~/GitHub/supabase/supabase-worktrees/docs/fireworks-ai-integration` - Style: written against `apps/docs/style-guide/`, with a clean-context critic pass. Placement and page shape follow `guides/ai/integrations/amazon-bedrock.mdx`. - Fireworks facts (base URL, `FIREWORKS_API_KEY`, `accounts/fireworks/models/glm-5p3-flash`, `fireworks/qwen3-embedding-8b`, the `dimensions` parameter, unnormalized Qwen3 vectors) were checked against `docs.fireworks.ai` on 2026-10-22. | Check | Result | | --- | --- | | Page SQL on `pgvector/pgvector:pg17` (extension, table, RLS policy, HNSW index, `match_documents`) | Pass | | `match_documents` called as `authenticated` with RLS on | Pass, returns rows ranked by similarity | | Prettier on all 3 files | Pass | | Internal link targets exist | Pass (6 of 6) | | Edge Functions against the live Fireworks API | **Not run**, no Fireworks API key available | ### Needs review - **Edge Function code is untested end to end.** It follows the `withSupabase` and `jsr:@openai/openai@^6` patterns from `guides/functions/auth` and `guides/functions/ai-models`, but nobody has deployed it or called Fireworks with it yet. - **Model choices are inferred.** `glm-5p3-flash` is the model in the Fireworks quickstart. `qwen3-embedding-8b` is the serverless embedding default their docs recommend. The 1,024 dimension is my pick: it stays under the pgvector HNSW limit of 2,000 and is a supported Qwen3 output size. - **One page, two tasks.** The critic flagged `03-page-structure.md#one-unit-per-page`. I kept a single page to match the other integration pages in this folder. Splitting it is a reasonable alternative. - **Product owner sign-off.** No product spec exists for this page. Scope (inference plus embeddings) is limited to features that have already shipped. ### Proof: the guide renders on the preview and appears in the AI nav **Verified:** `Vercel – docs` check (pass) · preview page returns 200 · Fireworks AI card links from `/docs/guides/ai` (pass) [Fireworks AI guide (PR preview)](https://docs-git-nikrichers-fireworks-ai-integration-supabase.vercel.app/docs/guides/ai/integrations/fireworks-ai)  ### Test plan - [ ] Deploy `fireworks-chat`, `fireworks-embed`, and `fireworks-search` with a real `FIREWORKS_API_KEY` and confirm each returns the documented response - [x] Confirm the page renders and appears under AI > Third-Party Tools in the preview - [x] Confirm the Fireworks AI card renders on `/docs/guides/ai` 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Nik Richers <nik@validmind.ai> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Jordan Lee <jordan.lee@supabase.io> |
||
|
|
59eb42594a |
Add Meg Corren to humans.txt (#52203)
Meg Corren is a new Product Manager covering branching! ## Problem The problem is Meg didn't used to work here, and therefore wasn't on `humans.txt`. ## Solution The solution was bringing Meg onto the team and therefore, adding her to `humans.txt` <!-- ## Preview links If relevant, include links to changed pages for easy review access. Copy the preview base URL from the Vercel bot comment on this PR. Use the following table as an example template. | Site | Live | Preview | Search for | | -------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------- | | WWW | [/blog/your-post](https://supabase.com/blog/your-post) | [/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post) | unique phrase from the change | | Docs | [/docs/guides/your-page](https://supabase.com/docs/guides/your-page) | [/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page) | unique phrase from the change | | Studio | [/dashboard](https://supabase.com/dashboard) | [/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard) | unique phrase from the change | | Design system | [/design-system](https://supabase.com/design-system) | [/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system) | unique phrase from the change | | UI library | [/library](https://supabase.com/library) | [/library](https://ui-library-git-branch-name-supabase.vercel.app/library) | unique phrase from the change | | Knowledge base | [/kb/guides/your-page](https://supabase.com/kb/guides/your-page) | [/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page) | unique phrase from the change | --> <!-- ## Additional context Optionally add any other context or screenshots. --> ## 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) |
||
|
|
fe599e8c0e |
docs(auth): add guide for testing auth flows without email and SMS limits (#52118)
Found during my dogfooding project :) ## Problem Testing magic-link sign-in on a hosted project can hit the built-in email limit after two sign-ins. A quick workaround is to turn off **Confirm email**, which is risky if it stays off at launch. The docs that would help are spread out: Mailpit appears only in the Passwords guide and the CLI pages, and test phone numbers appear only in the self-hosted phone MFA guide. Resolves [DOCS-1460](https://linear.app/supabase/issue/DOCS-1460/document-how-to-test-auth-flows-without-hitting-email-rate-limits) and [FDBKIN-16338](https://linear.app/supabase/issue/FDBKIN-16338/clarify-built-in-email-rate-limits-and-custom-smtp-requirement-for). The second is feedback from a user who hit the built-in email limit during sign-up testing and didn't know custom SMTP was needed. ## Solution A new guide, **Test auth flows**, explains how to test each sign-in method without real email or SMS limits. It opens with a link to the Supabase CLI setup that the local steps need: - **Test email flows locally:** Mailpit captures every email from local Auth, so the hosted email limit and address restriction don't apply. The steps have the reader copy the Project URL, publishable key, and Mailpit URL from `supabase status`, then swap the app's environment variables from the hosted project to the local stack. The guide also covers turning on email confirmation locally to test that flow. - **Test email flows on a hosted project:** the built-in email service's limits and the error it returns, how custom SMTP or the Send Email hook raises them, and a caution that turning off **Confirm email** also removes the hourly email limit, so it needs to be back on before launch. - **Test phone sign-in with test numbers:** fixed one-time passwords for chosen phone numbers, set in the Dashboard, `config.toml`, or the Management API. The local steps include the SMS provider settings that test numbers need, with placeholder credentials. The guide covers what test numbers skip, what still applies, and the risk of leaving them in production. The page sits under **Auth > Configuration** in the navigation. The magic link, passwords, email templates, phone sign-in, and rate limits guides link to it. The Production checklist gains an item to remove test phone numbers. The Passwords guide's Mailpit section becomes a link to the new page and keeps its heading, so existing links to it still work. ## Verification Local behavior was tested against a local stack with Supabase CLI 2.114.0: - 10 magic links to 10 addresses all arrived in Mailpit. A second request for the same address within one second returned `429 over_email_send_rate_limit`. - A test number signed in with its fixed code, and the code worked again without a new request. A second request within the wait returned `429 over_sms_send_rate_limit`. - With the project SMS limit set to 1, four requests for a test number all succeeded. - Test numbers failed with `phone_provider_disabled` until an SMS provider was enabled. With a provider enabled, Auth sent nothing to test numbers. - A key without the country code didn't match a number sent with `+1`, and the request went to the SMS provider. - A phone MFA challenge for a test number went to the SMS provider. Hosted behavior was tested on a Free plan project through the Dashboard, and the project's settings were restored afterward: - The Phone provider form doesn't save test numbers until the SMS provider's required fields and **Test OTPs Valid Until** are filled in. - With test number `14155552671=123456` saved, the number signed in with its fixed code and no SMS was sent. The same code worked a second time. - A second request for the test number right after the first returned `429 over_sms_send_rate_limit` with "after 4 seconds", so the hosted wait between codes is 5 seconds. - With the Phone provider turned off again, the test number returned `phone_provider_disabled`. Hosted projects require email confirmation by default. A `supabase config push` diff against a new project showed `enable_confirmations = true` on the remote, and the platform source sets `MAILER_AUTOCONFIRM` to `false` by default. On a second Free plan project, `supabase config push` with one `[auth.sms.test_otp]` entry stored the number as `14155552671=123456`, with **Test OTPs Valid Until** set 10 years ahead. The Management API spec defines `sms_test_otp` and `sms_test_otp_valid_until` on `PATCH /v1/projects/{ref}/config/auth`, with `sms_test_otp` limited to `<digits>=<digits>` pairs. Three magic links to a team member's address all sent within two minutes, with no `429`. The test project had **Confirm email** turned off. In the Auth source, `sendEmail` in `internal/api/mail.go` checks the hourly email limit only when `Mailer.Autoconfirm` is false, that is, when **Confirm email** is on. A comment there marks this behavior for deprecation. With **Confirm email** on, the built-in service returns `429` with `over_email_send_rate_limit` after two emails, which matches the original dogfooding report. The page states the limit applies while **Confirm email** is on, and the caution says turning it off removes the limit. The guide's `config.toml` snippet was run as written on a local stack, with `placeholder` Twilio credentials. The test number got `test-otp`, signed in with its code, and could request again after 5 seconds. The page renders on the local docs server, the navigation entry appears, and the section anchors that other guides link to resolve. `pnpm build:guides-markdown` generates the page with its admonitions and tabs. ### Self-review A `review-the-docs` pass covered the new guide and the six linked pages against the style guide and word list. While testing, the `config.toml` template's test OTP example turned out to be missing a country code. That's tracked for the CLI team in [CLI-2820](https://linear.app/supabase/issue/CLI-2820/fix-the-authsmstest-otp-example-in-configtoml-to-include-the-country). ## Follow-up The [Phone sign-in guide](https://supabase.com/docs/guides/auth/phone-login) says a user can request an OTP once every 60 seconds. The hosted test showed a 5-second wait for SMS codes. This PR leaves that sentence as is. |
||
|
|
ca34c49cf5 |
chore(docs): add Avinash Sajjanshetty to humans.txt (#52300)
## Summary - Adds Avinash Sajjanshetty (i.e. me @avinassh) to `apps/docs/public/humans.txt` |
||
|
|
ffe3f35a42 |
Add Robert Vojta to humans.txt (#52303)
Onboarding task. |
||
|
|
ce393db239 |
feat: update mgmt api docs (#52280)
This PR updates Management API docs automatically. This regenerates: - Management API specs and sections - Personal Access Tokens permission-to-endpoint table - Personal Access Tokens MCP tool permissions table Sources include the live Management API specs, MCP permission map, and Studio's shared permission catalog. Co-authored-by: antlio <14966155+antlio@users.noreply.github.com> |
||
|
|
b123d74008 |
chore(kb,docs) - migrate migration pages (#52243)
## Problem Don't want dupe entries of migration pages. Consolidation + redirects. ## Solution Went ahead and kept the listing on the docs homepages and docs resource pages b/c those links are good for general discoverability (for people, bots). Also migrated over the existing Vercel Postgres guide that got missed in the first pass of this. Updates relevant links elsewhere w/in the app too. ## Preview links [KB](https://kb-git-kody-devrel-764-remove-migration-guides-docs-supabase.vercel.app/) [KB Vercel Postgres](https://kb-git-kody-devrel-764-remove-migration-guides-docs-supabase.vercel.app/kb/guides/migrate-from-vercel-postgres) [Docs homepage](https://docs-git-kody-devrel-764-remove-migration-guides-docs-supabase.vercel.app/docs) [Docs resources page](https://docs-git-kody-devrel-764-remove-migration-guides-docs-supabase.vercel.app/docs/guides/resources) [www neon migration](https://zone-www-dot-com-git-kody-devrel-764-remove-mig-a4e53a-supabase.vercel.app/solutions/switch-from-neon) |
||
|
|
38915f19be |
chore(www,kb) - add cross links to hosted-postgres page (#52242)
## Problem We want to do more to promote this page. ## Solution Adds relevant cross links from other sources. ## Preview links n/a, atomic changes, not helpful to have preview links |
||
|
|
f4d6d90527 |
chore: Open new search on ctrl+k and not-found page (#52233)
## Problem When user press `ctrl` + `k` on docs, with the search v2 experiment active, the old search opens instead of the new one. Also, search v2 doesn't open on 404 page. ## Solution Add missing key handler. <!-- ## Preview links If relevant, include links to changed pages for easy review access. Copy the preview base URL from the Vercel bot comment on this PR. Use the following table as an example template. | Site | Live | Preview | Search for | | -------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------- | | WWW | [/blog/your-post](https://supabase.com/blog/your-post) | [/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post) | unique phrase from the change | | Docs | [/docs/guides/your-page](https://supabase.com/docs/guides/your-page) | [/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page) | unique phrase from the change | | Studio | [/dashboard](https://supabase.com/dashboard) | [/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard) | unique phrase from the change | | Design system | [/design-system](https://supabase.com/design-system) | [/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system) | unique phrase from the change | | UI library | [/library](https://supabase.com/library) | [/library](https://ui-library-git-branch-name-supabase.vercel.app/library) | unique phrase from the change | | Knowledge base | [/kb/guides/your-page](https://supabase.com/kb/guides/your-page) | [/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page) | unique phrase from the change | --> <!-- ## Additional context Optionally add any other context or screenshots. --> ## Review instructions 1. Open docs preview with new search experiment enabled 2. Press `ctrl` + `k`, the new search modal should appear 3. Then open a 404 page 4. Make sure that the "Search the page" button opens the new modal too ## 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) |
||
|
|
e0e6a01905 |
chore: Remove custom ids from md headings (#52230)
## Problem Markdown for agents hold the custom IDs, which leak into search embeddings. <img width="701" height="231" alt="Screenshot 2026-10-23 at 15 07 17" src="https://github.com/user-attachments/assets/1e79e282-b954-4bf5-850c-8f0074e5b094" /> ## Solution Update markdown generation scripts to remove them. <img width="399" height="297" alt="Screenshot 2026-10-23 at 15 07 11" src="https://github.com/user-attachments/assets/af5183b8-8585-450b-a624-9127e4babfe8" /> <!-- ## Preview links If relevant, include links to changed pages for easy review access. Copy the preview base URL from the Vercel bot comment on this PR. Use the following table as an example template. | Site | Live | Preview | Search for | | -------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------- | | WWW | [/blog/your-post](https://supabase.com/blog/your-post) | [/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post) | unique phrase from the change | | Docs | [/docs/guides/your-page](https://supabase.com/docs/guides/your-page) | [/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page) | unique phrase from the change | | Studio | [/dashboard](https://supabase.com/dashboard) | [/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard) | unique phrase from the change | | Design system | [/design-system](https://supabase.com/design-system) | [/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system) | unique phrase from the change | | UI library | [/library](https://supabase.com/library) | [/library](https://ui-library-git-branch-name-supabase.vercel.app/library) | unique phrase from the change | | Knowledge base | [/kb/guides/your-page](https://supabase.com/kb/guides/your-page) | [/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page) | unique phrase from the change | --> <!-- ## Additional context Optionally add any other context or screenshots. --> ## Review instructions 1. Open docs preview link. 1. Go to a page that has a custom id in their headings 1. Open the corresponding markdown file by adding .md extension to the URL 1. Markdown version of the page should have deleted custom IDs in headings. ## 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) |
||
|
|
fa9f1baeb4 |
fix: Trim query texts. Prevent searches with less than two characters (#52220)
## Problem Currently we are firing searches too early and too often. Analyzing data, most common cases are people adding spaces while typing, and not so meaningful two character searches _(see screenshot below)_. <img width="419" height="460" alt="Screenshot 2026-10-23 at 13 23 17" src="https://github.com/user-attachments/assets/ead60c12-e558-4584-9108-1b4326846ce0" /> This first, makes unnecessary calls to our search function, but second pollutes data. ## Solution - Trim queries before sending them to the search callbacks - Avoid searches with only two characters, this is configurable on the consumable side of the components via a `minCharacters` prop which default is `0`. <!-- ## 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 Open both docs and kb previews, and open the new search experience in both. - Write combinations like " au", "au ", or "au" these strings shouldn't trigger a search call in the network tab - Once you add a third character that is not a space, a search call should happen ## 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) |
||
|
|
8cce0e4ce4 |
feat(docs): update AWS Marketplace purchase path (#52199)
## Problem The platform AWS Marketplace guide still sends readers only to the raw AWS listing. Self-serve Pro/Team and the canonical landing page are easy to miss. ## Solution Point the guide at [supabase.com/aws-marketplace](https://supabase.com/aws-marketplace) while keeping a direct link to the AWS Marketplace listing. That link will go live when this stack is merged as it is implemented one PR down, in #52198. ## Review instructions 1. Open the docs preview for `/docs/guides/platform/aws-marketplace` 2. Confirm the intro links to the Supabase AWS Marketplace page and the AWS listing |
||
|
|
7e866ef83e |
docs: warn against subscribing to publish from servers (#51466)
## Problem Subscribing in Edge Functions opens a connection per worker, inflating Peak Connections and billed recipients. Point server-side senders to httpSend()/REST, and clarify that self-send messages are billed as well. ## Solution Explain where possible that httpSend is an option from a server. <!-- ## 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 Read the docs! ## 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) |
||
|
|
07e69b9737 |
docs: fix broken anchor links (#52181)
## Problem A full docs E2E run with the anchor check from #52174 found 58 broken anchor links on 53 guide pages. Most point to renamed or removed headings. Fixing them sets a baseline of zero for the IA restructure. Closes DOCS-1516 ## Solution - Retarget each link to the section that covers it today, verified on production. - Add a custom id where links already use a hand-written slug, such as `#phx_join`. - Drop the anchor where no section fits. ## Preview links Rows with an anchor link straight to a new custom id, which is broken on live and works on the preview. For the rest, search the page for the phrase to find the changed link. | Live | Preview | Search for | Change | | --- | --- | --- | --- | | [with-react](https://supabase.com/docs/guides/getting-started/tutorials/with-react) | [with-react](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/getting-started/tutorials/with-react) | Row Level Security | `auth#row-level-security` → `database/postgres/row-level-security` (20 links, 15 files) | | [nextjs](https://supabase.com/docs/guides/auth/quickstarts/nextjs) | [nextjs](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/quickstarts/nextjs) | Supabase Auth docs | `auth#authentication` → `auth` | | [astrojs](https://supabase.com/docs/guides/auth/quickstarts/astrojs) | [astrojs](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/quickstarts/astrojs) | Supabase Auth docs | `auth#authentication` → `auth` | | [custom-domains](https://supabase.com/docs/guides/platform/custom-domains) | [custom-domains](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/custom-domains) | Owner or Admin permissions | `access-control#manage-team-members` → `#manage-organization-members` | | [network-restrictions](https://supabase.com/docs/guides/platform/network-restrictions) | [network-restrictions](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/network-restrictions) | Owner or Admin permissions | `access-control#manage-team-members` → `#manage-organization-members` | | [postgres-connection-logging](https://supabase.com/docs/guides/platform/postgres-connection-logging) | [postgres-connection-logging](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/postgres-connection-logging) | Owner or Admin permissions | `access-control#manage-team-members` → `#manage-organization-members` | | [ssl-enforcement](https://supabase.com/docs/guides/platform/ssl-enforcement) | [ssl-enforcement](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/ssl-enforcement) | Owner or Admin permissions | `access-control#manage-team-members` → `#manage-organization-members` | | [with-expo-react-native-social-sign-in](https://supabase.com/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in) | [with-expo-react-native-social-sign-in](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in) | copied earlier | `#get-the-api-keys` → `#get-api-details` | | [with-expo-react-native-social-sign-in](https://supabase.com/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in) | [with-expo-react-native-social-sign-in](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in) | Apple Developer Console | `auth-apple#configuration-web` → `#configuration-web-oauth` | | [with-expo-react-native-social-sign-in](https://supabase.com/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in) | [with-expo-react-native-social-sign-in](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in) | Google Sign In | Dropped `#react-native`, a non-default tab | | [with-flutter](https://supabase.com/docs/guides/getting-started/tutorials/with-flutter) | [with-flutter](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/getting-started/tutorials/with-flutter) | copied earlier | `#get-the-api-keys` → `#get-api-details` | | [going-to-prod](https://supabase.com/docs/guides/ai/going-to-prod#hnsw-understanding-efconstruction--efsearch--and-m) | [going-to-prod](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/ai/going-to-prod#hnsw-understanding-efconstruction--efsearch--and-m) | HNSW, understanding | Custom id matching the links from `ai/choosing-compute-addon` | | [rag-with-permissions](https://supabase.com/docs/guides/ai/rag-with-permissions) | [rag-with-permissions](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/ai/rag-with-permissions) | query plan analyzer | `platform/performance#optimizing-poor-performing-queries` → `database/query-optimization#analyze-the-query-plan` | | [ivf-indexes](https://supabase.com/docs/guides/ai/vector-indexes/ivf-indexes) | [ivf-indexes](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/ai/vector-indexes/ivf-indexes) | Distance operators | `#distance-operators` → `ai/vector-indexes#distance-operators` | | [custom-claims-and-role-based-access-control-rbac](https://supabase.com/docs/guides/api/custom-claims-and-role-based-access-control-rbac) | [custom-claims-and-role-based-access-control-rbac](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/api/custom-claims-and-role-based-access-control-rbac) | local development | `auth-hooks#local-development` → `#developing` | | [native-mobile-deep-linking](https://supabase.com/docs/guides/auth/native-mobile-deep-linking) | [native-mobile-deep-linking](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/native-mobile-deep-linking) | password reset | `passwords#resetting-a-users-password-forgot-password` → `#resetting-a-password` | | [mcp-authentication](https://supabase.com/docs/guides/auth/oauth-server/mcp-authentication) | [mcp-authentication](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/oauth-server/mcp-authentication) | authorization UI | `getting-started#build-your-authorization-endpoint` → `#build-your-authorization-ui` | | [passwords](https://supabase.com/docs/guides/auth/passwords) | [passwords](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/passwords) | implicit flow | `sessions#implicit-flow`, `sessions#pkce-flow` → `sessions/implicit-flow`, `sessions/pkce-flow` | | [redirect-urls](https://supabase.com/docs/guides/auth/redirect-urls) | [redirect-urls](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/redirect-urls) | third-party providers | Dropped the `auth-signinwithoauth` example anchor | | [users](https://supabase.com/docs/guides/auth/users) | [users](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/users) | User Identity | `auth-identity-linking#the-user-identity` → `identities#the-user-identity-object` | | [upgrading](https://supabase.com/docs/guides/platform/upgrading#upgrading-to-pg_graphql-160) | [upgrading](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/upgrading#upgrading-to-pg_graphql-160) | Upgrading to pg_graphql | Custom id matching the link from `database/extensions/pg_graphql` | | [import-data](https://supabase.com/docs/guides/database/import-data) | [import-data](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/database/import-data) | disk management | `database-size#disk-management` → `#disk-size` | | [multigres](https://supabase.com/docs/guides/database/multigres) | [multigres](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/database/multigres) | Private Alpha | Dropped the link. `getting-started/features` redirects to `/features` | | [data-deletion](https://supabase.com/docs/guides/database/postgres/data-deletion) | [data-deletion](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/database/postgres/data-deletion) | Check for blocked queries | `#monitoring-locks` → `#check-for-blocked-queries` | | [postgres-log-config](https://supabase.com/docs/guides/database/postgres/postgres-log-config) | [postgres-log-config](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/database/postgres/postgres-log-config) | Supavisor | `connecting-to-postgres#poolers` → `pooling-and-limits#shared-pooler` and `#dedicated-pooler` | | [partner-catalog](https://supabase.com/docs/guides/integrations/partner-catalog) | [partner-catalog](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/integrations/partner-catalog) | Project GraphQL API | `api#graphql-api-overview` → `graphql` | | [vercel-marketplace](https://supabase.com/docs/guides/integrations/vercel-marketplace) | [vercel-marketplace](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/integrations/vercel-marketplace) | How your Vercel team maps | `#permissions` → `#how-your-vercel-team-maps-to-supabase` | | [managing-config](https://supabase.com/docs/guides/local-development/managing-config) | [managing-config](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/local-development/managing-config) | Managing secrets for branches | `branching#managing-secrets-for-branches` → `branching/configuration#managing-secrets-for-branches` | | [reports](https://supabase.com/docs/guides/observability/reports) | [reports](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/observability/reports) | Query Performance Advisory | `performance#examine-query-performance` → `#examining-query-performance` | | [backups](https://supabase.com/docs/guides/platform/backups) | [backups](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/backups) | legacy logical backup | `backup-restore#backup-database-using-the-cli` → `#back-up-database-using-the-cli` | | [backups](https://supabase.com/docs/guides/platform/backups#pitr-restoration-process) | [backups](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/backups#pitr-restoration-process) | Restoration process | Custom id matching the link from `read-replicas/getting-started` | | [branching](https://supabase.com/docs/guides/platform/manage-your-usage/branching) | [branching](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/manage-your-usage/branching) | persistent branches | `branching#persistent-branches` → `#how-branching-works` | | [point-in-time-recovery](https://supabase.com/docs/guides/platform/manage-your-usage/point-in-time-recovery) | [point-in-time-recovery](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/manage-your-usage/point-in-time-recovery) | backup frequency | `backups#frequency-of-backups` → `backups` | | [read-replicas](https://supabase.com/docs/guides/platform/read-replicas) | [read-replicas](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/read-replicas) | IPv4 add-on | `ipv4-address#read-replicas` → `#read-replicas-and-ipv4-add-on` | | [protocol](https://supabase.com/docs/guides/realtime/protocol#access-token) | [protocol](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/realtime/protocol#access-token) | access_token | Custom id matching the link from `realtime/authorization` | | [postgres-changes](https://supabase.com/docs/guides/realtime/postgres-changes#negating-a-filter-not) | [postgres-changes](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/realtime/postgres-changes#negating-a-filter-not) | Negating a filter | Custom id matching the existing in-page link | | [protocol](https://supabase.com/docs/guides/realtime/protocol#phx_join) | [protocol](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/realtime/protocol#phx_join) | phx_join | Custom id matching the existing in-page link | | [reports](https://supabase.com/docs/guides/realtime/reports) | [reports](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/realtime/reports) | Broadcast via REST API | `broadcast#broadcast-via-rest-api` → `#broadcast-using-the-rest-api` | <details> <summary>The 15 files with Row Level Security links</summary> - `_partials/quickstart_intro.mdx`, used by the framework tutorials - `auth/phone-login` - `auth/quickstarts/with-expo-react-native-social-sign-in` - `database/postgres/column-level-security` - `getting-started/tutorials/`: `with-flutter`, `with-ionic-angular`, `with-ionic-react`, `with-ionic-vue`, `with-kotlin`, `with-nuxt-3`, `with-redwoodjs`, `with-solidjs`, `with-svelte`, `with-swift`, `with-vue-3` </details> ## Review instructions 1. Open a few live and preview links side by side, and click the changed link on each to confirm the preview lands on the right section. 2. From a checkout of `docs/e2e-anchor-links`, run the anchor check against the preview with the changed pages, as described in `e2e/docs/README.md`: `DOCS_E2E_PAGE_PATHS=<changed /docs/... paths> PLAYWRIGHT_BASE_URL=https://docs-git-docs-fix-broken-anchors-supabase.vercel.app pnpm exec playwright test --grep-invert @a11y` 3. Confirm the anchor check reports no failures. ## 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) |
||
|
|
839406ca4f |
docs: fix JS syntax errors in the setRoleCustomClaim example in firebase-auth (#35203)
## 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: in an example (setRoleCustomClaim), fix some small JS syntax errors, and one Firebase Auth type error. ## What is the current behavior? Copy-pasting the example code currently doesn't give a working JS script/function. ## What is the new behavior? / ## Additional context / --------- Co-authored-by: Nik Richers <nrichers@gmail.com> |
||
|
|
7f9d4cd7c6 |
docs: add Vault secret deletion example (#52004)
## Problem The Vault guide explains creating, viewing, and updating secrets but has no deletion example. Addresses https://github.com/supabase/vault/issues/32. ## Solution Add a “Deleting secrets” section with an ID-filtered SQL example. Use `returning id, name` to show the deleted entry and explain its removal from `vault.decrypted_secrets`. ## Review instructions 1. Check that “Deleting secrets” appears after “Updating secrets.” 2. Create two dummy secrets and record their IDs. 3. Run the example using one secret’s ID. Confirm the returned row identifies that secret and the other remains readable. 4. Clean up the remaining dummy secret. Manually verified on hosted Vault 0.3.1 using the `postgres` role. Prettier passed with the repository configuration. Full docs build not run. Docker sandbox verification deferred because Docker is unavailable in the review environment. ## Checklist - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md). - [x] I used the docs authoring skills and applied the documentation style guide. |
||
|
|
7e76ef25f7 |
fix(docs): link to Database Settings for SSL certificate download (#51327)
## Problem On the psql guide, the "Connecting with SSL" section says "Download your [SSL certificate](#connecting-with-ssl)", but that link points back to the same section. It never says where the certificate is, so readers can't find the download. Reported in the issue linked below. ## Solution Point the link at the Dashboard's Database Settings page (`/dashboard/project/_/database/settings`), where the SSL certificate download lives. This is the same link other database guides already use (for example the DBeaver and Beekeeper Studio guides). One line changed in `apps/docs/content/guides/database/psql.mdx`. ## Review instructions 1. Open `apps/docs/content/guides/database/psql.mdx`, "Connecting with SSL". 2. Check that "Database Settings" now links to `/dashboard/project/_/database/settings` instead of the same page. --------- Co-authored-by: hallidayo <22655069+Hallidayo@users.noreply.github.com> Co-authored-by: Nik Richers <nrichers@gmail.com> |
||
|
|
3232bbb3e4 |
docs: fix four typos across docs pages (#50755)
Doc-only typo fixes (no behavior affected): - `content/guides/database/json.mdx`: `indentity` -> `identity` - `content/guides/database/postgres/cascade-deletes.mdx`: `INITIALLY DEFFERED` -> `INITIALLY DEFERRED` (SQL keyword) - `docs/ref/csharp/v0/release-notes.mdx`: `futher` -> `further` - `docs/ref/self-hosting-analytics/introduction.mdx`: `environement` -> `environment` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Corrected spelling and wording errors across database, PostgREST, and self-hosting analytics documentation. * Clarified the Dashboard instruction for automatically generating identity values. * Corrected terminology in guidance for deferred actions and encryption-key rotation. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Dextheking1 <4175097+Dextheking1@users.noreply.github.com> |