Commit Graph
702 Commits
Author SHA1 Message Date
Jonathan Summers-MuirandClaude Opus 5.5 4da4e91a9b chore(www): make the launch week 16 rewrite readable (#54476)
Same paths as #54475, with the past launch weeks as named lists instead
of one regex.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 22:42:18 +08:00
anthony lio 99e7de69a2 fix(www): forward lw16 editor steps under /launch-week/ticket/create to the card app (#54475)
## Problem

- a refresh or a link to a lw16 card editor step shows the www 404 page,
for example
[/launch-week/ticket/create/select-material](https://supabase.com/launch-week/ticket/create/select-material)
- the lw16 card app opens its editor steps under
`/launch-week/ticket/create/*`
- the rewrite from #54315 keeps `/launch-week/ticket` and its subpaths
on www, but www has a page only at the exact path

## Solution

- forwards the subpaths of `/launch-week/ticket` to the lw16 card app
while the exact path stays on the lw15 ticket page
- adds an editor step path to the security header tests

## Preview links

| Site | Live | Preview |
| ---- |
--------------------------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------------------------------------------------------------------
|
| WWW |
[/launch-week/ticket/create/select-material](https://supabase.com/launch-week/ticket/create/select-material)
|
[/launch-week/ticket/create/select-material](https://zone-www-dot-com-git-antlio-fix-lw16-ticket-rewrite-supabase.vercel.app/launch-week/ticket/create/select-material)
|
| WWW | [/launch-week/ticket](https://supabase.com/launch-week/ticket) |
[/launch-week/ticket](https://zone-www-dot-com-git-antlio-fix-lw16-ticket-rewrite-supabase.vercel.app/launch-week/ticket)
|

## Review instructions

1. run `pnpm --filter www exec vitest run lib/security-headers.test.ts`
and make sure that all tests pass
2. open the preview
[/launch-week/ticket/create/select-material](https://zone-www-dot-com-git-antlio-fix-lw16-ticket-rewrite-supabase.vercel.app/launch-week/ticket/create/select-material)
and make sure that the lw16 card app loads, not the www 404 page
3. open the preview
[/launch-week/ticket](https://zone-www-dot-com-git-antlio-fix-lw16-ticket-rewrite-supabase.vercel.app/launch-week/ticket)
and make sure that the lw15 ticket page still loads

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-12-02 16:18:30 +02:00
anthony lio b610d677c5 feat(www): lw16 launch week rewrite (#54315)
## Problem

- supabase.com/launch-week shows the lw15 page, and the lw16 card app
runs as a separate vercel app
- a forward rule for all of `/launch-week/*` also covers the www pages
of past launch weeks, and www does not add its security headers to
forwarded paths

## Solution

- moves the lw15 page to `/launch-week/15`
- adds rewrites that forward `/launch-week` and its other paths to the
lw16 card app at `launch-week-16.vercel.app/launch-week/`
- changes the root rule to target `/launch-week/` directly because www
removes the trailing slash and the app adds it, a loop otherwise
- keeps `/launch-week/7`, `/8`, `/15`, `/ticket` and `/tickets/*` on www
with the www security headers
- adds the launch week paths to the security header tests
- adds `/launch-week` to the paths that the redirect checks leave to
other apps

## Preview links

| Site | Live | Preview | Search for |
| ---- | ---- | ------- | ---------- |
| WWW | [/launch-week](https://supabase.com/launch-week) |
[/launch-week](https://zone-www-dot-com-git-antlio-lw16-launch-week-rewrite-supabase.vercel.app/launch-week)
| Claim your card |
| WWW | [/launch-week/15](https://supabase.com/launch-week/15) |
[/launch-week/15](https://zone-www-dot-com-git-antlio-lw16-launch-week-rewrite-supabase.vercel.app/launch-week/15)
| Launch Week 15 |

## Review instructions

1. run `pnpm --filter www exec vitest run lib/security-headers.test.ts`
and make sure that all tests pass
2. open the preview
[/launch-week](https://zone-www-dot-com-git-antlio-lw16-launch-week-rewrite-supabase.vercel.app/launch-week)
and make sure that the lw16 card page loads with no redirect loop
3. open the preview
[/launch-week/](https://zone-www-dot-com-git-antlio-lw16-launch-week-rewrite-supabase.vercel.app/launch-week/)
and make sure that www redirects it to `/launch-week` once

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-12-01 14:45:55 -06:00
Charis fd01db4691 feat(www): send pageview and global crash metrics on preview (#54425)
## Problem

Studio sends pageview and global crash counters to the frontend metrics
endpoint on non-production deployments (#54331), and docs is getting the
same in #54424. The marketing site sends neither.

## Solution

Port the same implementation to `apps/www`:

- **Gate**: the existing `IS_PREVIEW` constant (`NEXT_PUBLIC_VERCEL_ENV
=== 'preview'`). Nothing is sent in production or local dev.
- **Sender**: `lib/frontend-metrics.ts`, the same fire-and-forget
`text/plain` POST as Studio, tagged `app: 'www'`.
- **Pageview**: `usePageviewMetric` sends one count on hydration and on
each pathname change, and skips while the pathname is not yet available.
It is mounted once per router: through a small client component in
`app/layout.tsx`, and directly in `pages/_app.tsx`. A page is served by
only one router, so it is never mounted twice.
- **Crash**: `app/global-error.tsx` sends one `global_crash` per error
object. `pages/_error.tsx` sends one when the status code is unset or
5xx, so 404s and other 4xx responses are not counted.

No CSP change is needed because www does not set a
Content-Security-Policy. No turbo change is needed because the www build
env already passes `NEXT_PUBLIC_*`.

## Additional context

`app/global-error.tsx`, `pages/_error.tsx`, and
`lib/frontend-metrics.ts` use relative imports because the
`sentry-browser` vitest project, which renders the two error files, has
no path-alias resolution.

## Review instructions

1. Open the www preview deployment for this PR with the network tab
open.
2. Load an app-router page and a pages-router page. Confirm each sends
one POST to the metrics endpoint with `metric_name: "pageview"` and
`app: "www"`.
3. Navigate client-side and confirm one more POST per pathname change.
4. In `apps/www`, run `pnpm exec vitest run lib/frontend-metrics.test.ts
hooks/usePageviewMetric.test.tsx` and `pnpm exec vitest run --project
sentry-browser`.
2026-12-01 12:15:58 -05:00
Jeremias Menichelli 9623f958be feat: Produce sitemap and full markdown files for docs (#54069)
## Problem

Agents have no single index of the docs markdown exports, unlike the
KB's `sitemap.md`. www's `/llms.txt` and `/llms-full.txt` also read docs
files from disk, which forces www's build to wait on the docs build.

## Solution

**docs**
- Add `build:markdown-sitemap`, which writes
`public/markdown/sitemap.md`. It scans `public/markdown/**/*.md` and
lists each file as `[title](url.md)`. Guide URLs are
`/docs/guides/<page>.md` and the rest are `/docs/markdown/<page>.md`,
built with the existing `internal-links` helpers.
- Add `build:markdown-full`, which writes `public/markdown/full.md`. It
concatenates the same files.
- Both scripts share one file-list helper
(`internals/markdown-files.ts`), so they always cover the same files and
exclude `sitemap.md` and `full.md`.
- Both tasks depend on `build:markdown` and are wired into `build` in
turbo.
- Search v2 ingestion and the `docs.tar.gz` archive now ignore both
files.

**www**
- `/llms.txt` and `/llms-full.txt` now fetch `sitemap.md` and `full.md`
from `NEXT_PUBLIC_DOCS_URL`, replacing only their docs parts. Pricing,
product overviews, agent resources, the KB link and the customer stories
link are unchanged. If docs is unreachable, the docs section is left out
instead of returning a 404.
- Remove the on-disk docs reads, the `outputFileTracingIncludes`
entries, and the `docs#build:guides-markdown` dependency and docs input
globs from www's turbo config. These routes were the only link between
www and the docs build. `turbo-build.test.ts` is updated to match.
- Add a `/docs.md` → `/docs/markdown/sitemap.md` redirect, next to the
existing `/kb.md` one.

Routes without a markdown export are not patched, they are simply absent
from the sitemap.

## Review instructions

From the Docs preview link:

1. Open /docs/markdown/sitemap.md it should show a file with all links
to the docs pages available in markdown
1. Open /docs/markdown/full.md it should show a file with all the
content from all the pages

Sadly, only after deployed...
1. www project should return the content of both files when:
a. supabase.com/llms.txt is queried should return docs sitemap.md
content
b. supabase.com/llms-full.txt is queried should return docs full.md
content
1. supabase.com/docs.md should return sitemap.md file

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-12-01 09:11:29 +11:00
Mert YEREKAPAN fe8e912993 refactor(www): split redirects into static and dynamic files and add redirect checks (#54194)
## Problem

`apps/www/lib/redirects.js` was a single file with static and dynamic
rules mixed together, and the redirects had no automated checks. `/docs`
redirects already moved to `apps/docs/lib/redirects/`, so www was the
odd one out.

## Solution

I applied the docs layout to www without changing how redirects are
served:

- `apps/www/lib/redirects/static-redirects.json`: 220 one-to-one
entries, including fixed redirects to external `https://` URLs.
- `apps/www/lib/redirects/dynamic-redirects.js`: 14 entries with params,
splats, regex, escapes, or `has`.
- `apps/www/lib/redirects/index.js`: combines both (static first) for
`next.config.mjs` and `scripts/generateMdContent.mjs`.
- `apps/www/lib/redirects/redirects.test.ts`: checks for loops, chains,
duplicate sources, invalid sources and destinations (anchors, missing
`/` or `https://`), dynamic entries in the static file, and internal
destinations that do not exist.
- README for the folder, plus updates to `apps/www/README.md`,
`DEVELOPERS.md`, `CODEOWNERS`, and the `www-tests` path filter and
sparse checkout.

Bulk redirects are not part of this PR: www has 234 redirects, well
under the route limit, so they stay in `next.config.mjs`.

### Missing-destination check

Internal destinations are checked against the same sources the site
serves from:

- `app/` and `pages/` routes, and `public/` files.
- Blog, customer, event, and alternative slugs, derived the way
`lib/posts.tsx` derives them. Events with `disable_page_build` do not
count.
- Feature and `/go` page slugs.
- `.md` destinations must be a page that `generateMdContent.mjs`
publishes. An existing HTML page is not enough.
- `/docs/guides` destinations, against the docs content and guide
routes.

Other zones and build-generated files are not checked. A destination
with params is probed with one sample value, so value-specific loops or
chains are not caught. The README lists these limits.

### Behavior notes

- The rule set matches `master`, with one exception:
`/blog/2021/07/30/1-the-supabase-hackathon` now points at the canonical
slug `/blog/1-the-supabase-hackathon`. The old destination
`/blog/the-supabase-hackathon` also resolves today, because the blog
route matches posts by filename suffix. The check requires canonical
slugs.
- First-match results on `supabase.com` are identical on 241 probe
paths.
- Static entries now precede dynamic ones. On the `supabase.design`
host, 25 static sources that used to sit after its catch-all rule now
come before it. Those paths now take two hops to reach the design system
instead of one.
- Comments on static entries were dropped, because JSON has no comments.

## To test

1. Open the www preview and visit `/about`. It redirects to `/company`.
2. Visit `/buildersday`. It redirects to `/builderday`.
3. Visit `/sign-in`. It redirects to the dashboard sign-in page.
4. Visit `/blog/2021/07/30/1-the-supabase-hackathon`. It lands on the
hackathon post.

## Linear

- fixes GROWTH-1571
2026-11-30 15:52:59 +00:00
Dion Zeneli b6270f4a31 fix(www): redirect /buildersday to /builderday (#54200) 2026-11-27 22:17:27 +08:00
Dion Zeneli ecd959157a feat(www): serve Builder Day at supabase.com/builderday (#54113)
## Problem

We're building the site for Supabase Builder Day: 14 cities, one day, 10
December. It's its own Next.js app on Vercel (on the Supabase team) and
right now it only lives at `builderday.vercel.app`.

We want it at **supabase.com/builderday** so the links on the Luma pages
and in our emails point at a Supabase address, and so builders can sign
in with the Supabase account they already have instead of making a new
one.

## Solution

- `zoneRewrites('/builderday', ...)` in `apps/www/lib/rewrites.js`, the
same way `/library` and `/design-system` are served, so RSC prefetches
go through too.
- The app runs with `basePath: '/builderday'`, so its `/_next` assets
and `/api` routes stay under the prefix and don't collide with www's.
- `/builder-day` redirects to `/builderday`.
- A test next to the InstantDB one in `next.config.test.ts`.

**Depends on:** supabase/Builderday#5, which adds the base path on our
side. Until that's merged, `/builderday` returns 404.

## Review instructions

1. `cd apps/www && pnpm vitest run next.config.test.ts`
2. Once supabase/Builderday#5 is live, open `/builderday` on the www
preview: the Builder Day page loads, with no 404s for `/_next` or `/api`
in the network tab.
3. `/builder-day` redirects to `/builderday`.
4. `/dashboard`, `/docs` and `/library` still work.

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
2026-11-26 11:11:55 +01:00
supabase-vercel-tedd[bot] 1f6ee9e8b9 chore(www): replace markdown-toc with the local TOC helper to drop vulnerable toml (#53879)
## Problem

`markdown-toc@1.2.0` (its latest release) depends on
`gray-matter@2.1.1`, which pins `toml@^2.3.2`. That leaves `toml@2.3.6`
in the lockfile, and `pnpm audit` flags it with several high-severity
advisories (fixed in `>=5.0.1`). Neither parent has a release that moves
off toml 2.x, so a lockfile-only bump or a temporary override can't
remove it.

## Solution

The customer story (`/customers/[slug]`) and alternatives
(`/alternatives/[slug]`) pages built a `toc` prop at build time, but
neither page nor `LayoutComparison` ever read it. This PR removes that
prop, the `markdown-toc` dependency, and `apps/www/lib/toc.ts`, which
had no other callers. With `markdown-toc` gone from
`apps/www/package.json`, `gray-matter@2.1.1` and `toml` leave the
dependency tree. www keeps using `gray-matter@4.0.3` directly. The
lockfile change only removes entries.

## Review instructions

1. Run `pnpm why toml --recursive` and check it finds no `toml`.
2. Run `pnpm tsx scripts/fix-audit-vulnerability.ts --json` and check
`toml` is not in `vulnerabilities`.
3. Open a customer story on the preview, for example
`/customers/asap-work`, and an alternatives page, for example
`/alternatives/supabase-vs-auth0`. Each page builds and renders as it
does on production.

Checks run: `pnpm install --frozen-lockfile`, `pnpm run typecheck` in
`apps/www` (next typegen + tsc), eslint on both changed pages (no
errors), and `oxfmt --check` on the changed files.

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


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

## Feedback for Tedd

To ask Tedd for a change to this PR, reply in Tedd's session on
[FE-5192](https://linear.app/supabase/issue/FE-5192/bump-a-single-vulnerable-dependency).
Tedd doesn't read comments on this PR.

---------

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-11-24 16:44:02 +01:00
anthony lio d885fc7458 feat(www): shared account menu (#53666)
## Problem

- www keeps its own copy of the account menu items separate from the
shared top nav menu in kb and docs
- www header buttons stay hidden until auth loads and the mobile menu
shows no account links during that time
- on app router page such as the home page sign out does not reload the
page

## Solution

- moves the www desktop account menu onto the shared top nav menu so www
docs and kb show the same account items
- fixes "Command Menu" shortcut label to follow the platform, so windows
and linux readers see "Ctrl K"
- changes the header and the mobile menu to read the signed-in mark
while auth loads
- moves the mobile menu account links onto the shared mobile actions, so
www, docs and kb use one component
- changes the desktop "Sign in" links to open the sign-in page, so
desktop and mobile open the same page
- fixes sign out on app router pages so the page reloads after sign out
on every page

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions


1. visit
[homepage](https://zone-www-dot-com-git-antlio-fix-www-shared-account-menu-supabase.vercel.app/)
2. open the browser console, and run this snippet, which stores a fake
dashboard session with no real token:
   ```js
const user = { id: 'test', aud: 'authenticated', email:
'you@example.com', user_metadata: { avatar_url:
'https://github.com/supabase.png' } }
   const key = 'supabase.dashboard.auth.token'
localStorage.setItem(key, JSON.stringify({ access_token: 'a.b.c',
refresh_token: 'r', token_type: 'bearer', expires_in: 3600, expires_at:
Math.floor(Date.now() / 1000) + 3600, user }))
   localStorage.setItem(`${key}-user`, JSON.stringify({ user }))```
3. reload the page

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-24 16:08:54 +02:00
Alaister YoungandAlaister Young fcbdda8107 chore: migrate formatter from Prettier to oxfmt (#53835)
Migrate code formatting across the monorepo from Prettier to `oxfmt`
(`0.79.0`, pinned) for much faster formatting checks locally and in CI
while keeping code churn minimal (78 files total, 0.7% of the repo).

Studio's `@ianvs/prettier-plugin-sort-imports` ordering
(`<BUILTIN_MODULES>`, `<THIRD_PARTY_MODULES>`, blank line, then `@/` and
relative imports) is preserved via `oxfmt`'s native `sortImports`
override for `apps/studio/**/*.{js,jsx,ts,tsx}`.

### Performance (before vs after, uncached)

| Benchmark | Prettier (`3.8.x`) | oxfmt (`0.79.0`) | Speedup |
| --- | ---: | ---: | ---: |
| CI formatting step (`blacksmith-4vcpu-ubuntu-2404`, full repo) | `73s`
| **`7s`** | **~10×** |
| Local `apps/studio` JS/TS (`5,157` files) | `17.74s` | **`0.36s`** |
**~49×** |
| Local full monorepo (`11,131` files) | — | **`2.39s`** | — |

**Added:**

- `.oxfmtrc.jsonc` at repo root with Prettier-matching options,
`sortPackageJson: false`, the Studio `sortImports` override, and ignore
patterns migrated from `.prettierignore`
- `oxfmt` (`0.79.0` exact pin) in `pnpm-workspace.yaml` catalog and
workspace `devDependencies` / `dependencies`
- Shared `.agents/scripts/format_and_lint.sh` hook script and
`.agents/hooks.json` (used by both Claude Code and Antigravity)

**Changed:**

- Replaced `test:prettier` with `format:check` and switched `format` in
root `package.json` to `oxfmt`
- Updated `packages/api-types` (`codegen`,
`verify-production-types.mjs`), `apps/design-system` (`build:registry`),
`apps/docs` (`CodeSample.ts`, `generate-sitemap.ts`, `next.config.mjs`,
`spec/Makefile`), `apps/www` (`generate-sitemap.mjs`), and
`packages/build-icons` (`generateIconFiles.mjs`) from Prettier to
`oxfmt`
- Updated `.github/workflows/prettier.yml` (keeping the `format` job ID
intact), `.github/workflows/autofix_linters.yml`,
`.claude/settings.json`, `AGENTS.md`, `CONTRIBUTING.md`, and
`.github/copilot-instructions.md`
- Applied one-time `oxfmt` formatting pass in a separate commit (78
files: 30 `i18n/README.*.md` trailing spaces, 19 Studio files, 17 other
TS/TSX/generated types, 8 MD/MDX, 3 `package.json`, 2 example CSS files)

**Removed:**

- `prettier`, `@ianvs/prettier-plugin-sort-imports`, and
`prettier-plugin-sql-cst` from `devDependencies` (note: `.sql` files
were not part of the CI formatting glob; `eslint-config-prettier` is
kept for ESLint)
- `prettier.config.mjs`, `.prettierignore`, and
`.claude/scripts/format_and_lint.sh`

## To test

- Run `pnpm run format:check` and confirm it passes cleanly across all
matched files
- Run `pnpm --filter api-types test`, `pnpm --filter docs exec vitest
run features/directives/CodeSample.test.ts`, and `pnpm --filter www exec
vitest run generate-sitemap.test.ts`
- Edit an `apps/studio` file with out-of-order imports and run `pnpm run
format` to confirm builtin/third-party vs `@/`/relative grouping matches
prior behavior
- Check that the `Check Code Formatting` CI workflow passes on this PR

---------

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-11-24 12:51:31 +08:00
9f896fec79 Add blog post: Introducing Supabase Knowledge Base (#53763)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Adds a new `apps/www` blog post, "Introducing Supabase Knowledge Base,"
for the [supabase.com/kb](https://supabase.com/kb) launch. The post
explains why applied answers (migrations, troubleshooting, FAQs,
tutorials, and community guides) now have their own home next to the
docs, how coding agents can read /kb, and how the community can
contribute.

Resolves DOCS-1721.

## What is the current behavior?

No blog post exists for /kb yet. Anthony Lio, Jeremias Menichelli, Kody
Jackson, and Aleksi Immonen don't have author entries in
`apps/www/lib/authors.json`.

## What is the new behavior?

- New post at
`apps/www/_blog/2026-11-23-introducing-supabase-knowledge-base.mdx`
- New author entries for `anthony_lio`, `jeremias_menichelli`,
`kody_jackson`, and `aleksi_immonen` in `apps/www/lib/authors.json`
- New assets under
`apps/www/public/images/blog/2026-11-23-introducing-supabase-knowledge-base/`:
the `og.png`/`thumb.png` hero images (a capture of the /kb landing page,
2400x1260) and `kb-blog-hero.mp4`, a short demo of the landing page and
a search
- "Start here" section uses a two-column layout on desktop (links on the
left, demo video on the right) that stacks on mobile

Check the preview: [Introducing Supabase Knowledge
Base](https://zone-www-dot-com-git-nikrichers-docs-1721-write-045ba3-supabase.vercel.app/blog/introducing-supabase-knowledge-base)

## Remaining work before merge

- [ ] Confirm the publish date with Marketing (MARKET-2253), then rename
the post file and image folder if it changes
- [ ] Marketing +1 review per the Blog Post Process (post in
`#team-marketing`)

## Additional context

- Content is adapted from an internal Notion draft (Product for Docs).
- The post doesn't link the Rundowns topic, which is hidden from /kb
navigation on purpose (#51139).

### Test plan

- [ ] `pnpm run dev:www` and confirm
`/blog/introducing-supabase-knowledge-base` renders: title, description,
all six author bylines/positions, date, hero image, video, the
two-column "Start here" section, og:image meta tag
- [ ] Confirm `/blog` index card shows the new post with the thumb image
- [ ] Confirm `/blog/authors/anthony_lio`,
`/blog/authors/jeremias_menichelli`, `/blog/authors/kody_jackson`, and
`/blog/authors/aleksi_immonen` render

🤖 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: Jeremias Menichelli <jmenichelli@gmail.com>
2026-11-23 16:09:15 -07:00
claude[bot]andClaude 4439db9aa6 fix: broken links from the Web 404 Review, week of 2026-11-09 (#53436)
<!-- claude-slack-attribution -->
_Requested via [Slack
thread](https://supabase.slack.com/archives/C076KTY11DF/p1794794072393559?thread_ts=1794794072.393559&cid=C076KTY11DF)_

## Problem

**Before:** Two URLs returned 404. `/partners/startups` had no page or
redirect, even though the startups program lives at
`/solutions/startups` (and `/startups` already redirects there). In the
Python reference, two "redirect URLs and wildcards" links were written
without a leading slash, so the browser resolved them relative to the
reference page and sent readers to
`/docs/reference/python/docs/guides/auth/redirect-urls`, which doesn't
exist.

**After:** `/partners/startups` permanently redirects to
`/solutions/startups`. Both Python reference links point to
`/docs/guides/auth/redirect-urls#use-wildcards-in-redirect-urls`,
matching the other links to that page in the same spec.

## Solution

One commit per fix, so either can be dropped by reverting its commit:

- `/partners/startups` (www): added a permanent redirect to
`/solutions/startups` in `apps/www/lib/redirects.js`, next to the
existing `/startups` redirect. Redirects run before the
`app/partners/[slug]` route, so that route doesn't intercept it.
- `/docs/reference/python/docs/guides/auth/redirect-urls` (docs): made
the two relative links in `apps/docs/spec/supabase_py_v2.yml` absolute,
in the `sign_in_with_oauth()` and `reset_password_for_email()` entries.

## Review instructions

1. Open each path below on the matching Vercel preview.
2. Confirm it lands where described and tick the box.

## To test

- [ ] Open `/partners/startups` on the www preview: it redirects to
`/solutions/startups`.
- [ ] Open `/docs/reference/python/auth-signinwithoauth` and
`/docs/reference/python/auth-resetpasswordforemail` on the docs preview:
the "redirect URLs and wildcards" links go to
`/docs/guides/auth/redirect-urls#use-wildcards-in-redirect-urls`.

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

## Linear

- fixes GROWTH-1502

---
_Generated by [Claude
Code](https://claude.ai/code/session_011aGhSBbkSPecZj1bHzV9jJ)_

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-23 23:39:39 +08:00
9495de919f Update Kris Talajic title to Growth Lead (#53821)
## Problem

Kris Talajic's title in `authors.json` is "Growth Lead, East". His
correct title is "Growth Lead". It shows up on the Spago dinner go page
and on blog bylines.

## Solution

Changes `position` to "Growth Lead" for `kris_talajic` in
`apps/www/lib/authors.json`.

## Review instructions

1. Open the Vercel preview at `/go/aws-reinvent/spago-dinner`.
2. Confirm the host card reads "Growth Lead, Supabase".

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)

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

Co-authored-by: Wendie Cheung <wendie.cheung@supabase.io>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 17:46:33 +11:00
6b39c131af Update Kris Talajic title to Growth Lead, East (#53817)
Updates Kris Talajic's `position` in `apps/www/lib/authors.json` from
"Sales Lead, East" to "Growth Lead, East". This surfaces on the AWS
re:Invent Spago dinner page (`/go/aws-reinvent/spago-dinner`) hosts
section.

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

Co-authored-by: Wendie Cheung <wendie@Wendies-MacBook-Pro.local>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 17:03:22 +11:00
claude[bot]andClaude c3c049ea53 chore: remove public TIA PDF and point to Trust Center (#53687)
<!-- claude-slack-attribution -->
_Requested by **Ivan Vasilov** · [Slack
thread](https://supabase.slack.com/archives/C0161K73J1J/p1795121287621619)_

## Problem

**Before:** The Studio org Documents page linked directly to
`https://supabase.com/downloads/docs/Supabase+TIA+250314.pdf`, and that
PDF was served publicly from `apps/www/public/downloads/docs/`.
Legal/Security wants people to get the latest TIA from the Trust Center
instead, and the old PDF taken off the public site.

**After:** The Studio TIA section links to https://trust.supabase.io,
and the PDF is deleted from `apps/www`. The old PDF URL permanently
redirects to the Trust Center, so existing links don't 404.

This removes the public TIA PDF and repoints the dashboard to the Trust
Center.

## Solution

- Deleted only `apps/www/public/downloads/docs/Supabase+TIA+250314.pdf`
(the other docs in that folder are untouched).
- `TIA.tsx` in Studio: the button now links to
`https://trust.supabase.io` (the same form already used in the legal
FAQ), reads "View TIA in Trust Center", uses the external-link icon, and
drops the `download` attribute. Description copy mentions the Trust
Center. The existing `document_view_button_clicked` telemetry is
unchanged.
- `apps/www/lib/redirects.js`: added a permanent redirect for
`/downloads/docs/Supabase\\+TIA\\+250314.pdf` to
`https://trust.supabase.io`, following the existing DPA PDF redirect.
This is easy to drop if you'd rather have a hard 404.

No other references to the PDF exist in the repo (checked www, studio,
docs, packages). The legal FAQ already links to the Trust Center.

## Important caveats

- Deleting the file does **not** remove the blob from git history.
`supabase/supabase` is public, so the PDF stays fetchable through the
repo's history. If it must be truly gone, that needs a separate decision
(history rewrite and/or contacting GitHub support).
- A CDN/Vercel cache may serve the PDF briefly after deploy (and the
redirect takes effect once deployed).

## Review instructions

1. In the Studio preview, open an org's Documents page and check the TIA
section: the button opens https://trust.supabase.io in a new tab.
2. On the www preview, request `/downloads/docs/Supabase+TIA+250314.pdf`
and confirm it redirects to the Trust Center.

## Testing

Typecheck, lint and tests were not run: `pnpm install` is partially
blocked in my environment (npm.jsr.io is egress-blocked) and prettier
couldn't load its plugins. I only confirmed `redirects.js` loads in Node
and the entry parses. I couldn't reach supabase.com, so the live URLs
are unverified.

---
_Generated by [Claude Code](https://claude.ai/code)_

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-20 10:30:36 +01:00
Sean OliverandDanny White f9fd4a2a9f feat(www,docs,kb): show Do Not Sell or Share footer link to US visitors (#53490)
## Problem

US visitors need a "Do Not Sell or Share My Personal Information" footer
link, and no site reads the visitor's country
([GROWTH-1369](https://linear.app/supabase/issue/GROWTH-1369)).

## Solution

- The www proxy copies the `x-vercel-ip-country` header into a
`_sb_country` cookie, which the footers read client-side. Docs and kb
route through www, so that covers all three.
- US visitors and unknown countries see the opt-out label. Everyone else
keeps "Privacy Settings". Both open the same modal.
- The link sits on each footer's copyright line, and the label stays
hidden until the cookie is read.
- Out of scope: GPC
([GROWTH-1373](https://linear.app/supabase/issue/GROWTH-1373)) and modal
copy ([GROWTH-1370](https://linear.app/supabase/issue/GROWTH-1370)).
- Tests cover US, non-US, unknown countries, and the cookie write.
Screenshots used a hand-set cookie.

**www**

| | Before | US | DE |
|---|---|---|---|
| 375px | <img
src="https://github.com/user-attachments/assets/1bd8bcb8-6692-4fe9-90a0-5343b0364053"
width="200"> | <img
src="https://github.com/user-attachments/assets/0514a0bd-ad1c-4773-b889-de941f5466b5"
width="200"> | <img
src="https://github.com/user-attachments/assets/328ca1b4-9698-492e-8045-a15d884108f2"
width="200"> |
| 1440px | <img
src="https://github.com/user-attachments/assets/3cb3e7d7-62ab-4d34-841c-23d50d7d1cd5"
width="300"> | <img
src="https://github.com/user-attachments/assets/caf75b29-7286-404a-b1ea-7dfa5022912c"
width="300"> | <img
src="https://github.com/user-attachments/assets/2c067209-39cd-4ad8-9987-4f8763d70660"
width="300"> |

**docs**

| | Before | US | DE |
|---|---|---|---|
| 375px | <img
src="https://github.com/user-attachments/assets/37248b4a-436b-4d2d-b2d3-3966117abf9e"
width="200"> | <img
src="https://github.com/user-attachments/assets/0b109a0d-7618-46f8-ade0-8ba17e390b56"
width="200"> | <img
src="https://github.com/user-attachments/assets/0047b2b8-7047-40df-8d9c-09f51e538fa4"
width="200"> |
| 1440px | <img
src="https://github.com/user-attachments/assets/0a7d6a65-e964-43dc-911e-0ea033cb1e91"
width="300"> | <img
src="https://github.com/user-attachments/assets/27922348-661c-4246-b3fc-44ac054bd084"
width="300"> | <img
src="https://github.com/user-attachments/assets/30afb171-1023-43ff-b77e-89f341128377"
width="300"> |

**kb**

| | Before | US | DE |
|---|---|---|---|
| 375px | <img
src="https://github.com/user-attachments/assets/cd4fb8d1-8827-4b1a-8d13-c2a5d4f97378"
width="200"> | <img
src="https://github.com/user-attachments/assets/2706ae24-3df8-4149-9a51-75abb0456734"
width="200"> | <img
src="https://github.com/user-attachments/assets/7afb8731-b487-4e48-ae83-a3a6bde36bee"
width="200"> |
| 1440px | <img
src="https://github.com/user-attachments/assets/3b2bdc17-fee7-4ec0-bd24-d35a0367a6ca"
width="300"> | <img
src="https://github.com/user-attachments/assets/479b03e6-6890-4714-bbbb-ab122f46e786"
width="300"> | <img
src="https://github.com/user-attachments/assets/252f4e0f-5bcc-4b43-aeda-784df9f000ca"
width="300"> |

## Review instructions

1. From a US IP, click the footer link on the www preview. The modal
opens.
2. From a non-US IP, see "Privacy Settings".

## Checklist

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

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
2026-11-20 16:44:17 +09:00
Etienne StalmansandClaude Opus 5.5 08388eecd6 feat: update headers on www (#43442)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## Problem

www sends no `Content-Security-Policy`, `X-Frame-Options`,
`X-Content-Type-Options`, or `Referrer-Policy` headers on its pages.
Only HSTS is set.

The first version of this PR added these headers on `/(.*)`. That turned
out to be unsafe, because www is the zone router: `lib/rewrites.js`
proxies Studio (`/dashboard`), docs, the UI library, the design system,
the knowledge base, and other apps, and the header rules in
`next.config.mjs` also apply to those proxied responses. A CSP there
would add a second enforced policy on top of each app's own headers, and
`X-Frame-Options: DENY` would break the UI library previews, which
iframe `/library/example/*`.

## Solution

The headers are built in `apps/www/lib/security-headers.js` and spread
into `headers()` in `next.config.mjs`.

**Scope**
- The rules apply only to paths that www serves itself. The proxied path
prefixes come from `lib/rewrites.js`, so a new zone rewrite is excluded
automatically.
- On those paths: `X-Frame-Options: SAMEORIGIN`,
`X-Content-Type-Options: nosniff`, `Referrer-Policy:
strict-origin-when-cross-origin`, and an enforced CSP.

**CSP (script-focused)**
- `script-src` allows `'self'`, `'unsafe-inline'`, and an explicit list
of the third-party script hosts that www pages load: GTM through Stape,
PostHog, Usercentrics, tweet embeds, HubSpot, hCaptcha, Default.com, Buy
with AWS, and a path-scoped jsDelivr entry for unicornstudio. Each entry
has a comment that names its user.
- `'unsafe-inline'` stays, because the Next.js inline scripts need a
nonce otherwise, and a nonce needs dynamic rendering.
- `object-src 'none'`, `base-uri 'self'`, `form-action 'self'`,
`frame-ancestors 'self'`.
- Removed from the earlier version: `unpkg.com` (only used inside a blog
code block, and anyone can publish scripts there), `*.vercel.app` (any
Vercel app), `frontend-assets.supabase.com` (www serves its assets from
the same origin), and the duplicate `script-src-elem`.

**`'unsafe-eval'`**
- Off by default.
- Allowed only on the pages that evaluate MDX on the client with
`next-mdx-remote-client`: `/changelog`, `/customers/[slug]`,
`/events/[slug]`, `/alternatives/[slug]`, and
`/partners/catalog/[slug]`. Removing it there would break those pages.
- Allowed in development, because Next.js needs it there.

**Preview and staging**
- Detection matches Studio's CSP: `NEXT_PUBLIC_VERCEL_ENV === 'preview'`
or `NEXT_PUBLIC_ENVIRONMENT` of `local` or `staging`. It no longer
depends on `NEXT_PUBLIC_IS_PLATFORM`.
- On preview and staging, the Vercel toolbar and the staging PostHog
host are added.
- The PostHog origin also comes from `NEXT_PUBLIC_POSTHOG_HOST`, the
same value the client uses.

**Tests**
`lib/security-headers.test.ts` covers the policy for each environment,
the proxied prefixes from the real rewrites, and the header sources. The
sources are compiled with the same path-to-regexp build and options that
Next.js uses.

## Review instructions

1. Open the preview and accept cookie consent so GTM and PostHog load.
2. Open DevTools → Console and filter on `Content-Security-Policy`.
3. Visit these pages and confirm there are no violations:
   - home
- a blog post with a tweet embed (`/blog/launch-week-5-community-day`)
   - `/changelog`
   - a `/customers/...` page
   - `/state-of-startups`
   - `/contact/sales`
   - `/aws-marketplace`
   - a `/go` page with a HubSpot form
4. Run `curl -sI <preview>/` and check the four headers. Run `curl -sI
<preview>/changelog` and check that the CSP includes `'unsafe-eval'`.
5. Run `curl -sI <preview>/dashboard` and `curl -sI <preview>/library`
and check that they have no www CSP or `X-Frame-Options`.
6. Confirm `/dashboard` and `/library` still load.

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 11:19:07 +01:00
Kody Jackson 3f03e5b0d5 chore(www) - refactor faqs on /partners, /compute, and /pricing to avoid JS + add in LD-JSON entries (#53270)
## Problem

faqs on /partners, /compute, and /pricing use JS, making them invisible
to search / LLM crawlers.

## Solution

Moves them to detail > summary elements in a shared component.

## Preview links

-
[/partners](https://zone-www-dot-lh2wp7c6i-supabase.vercel.app/partners)
- [/compute](https://zone-www-dot-lh2wp7c6i-supabase.vercel.app/compute)
- [/pricing](https://zone-www-dot-lh2wp7c6i-supabase.vercel.app/pricing)

## JSON-LD validation

-
[/partners](https://validator.schema.org/#url=https%3A%2F%2Fzone-www-dot-lh2wp7c6i-supabase.vercel.app%2Fpartners)
-
[/compute](https://validator.schema.org/#url=https%3A%2F%2Fzone-www-dot-lh2wp7c6i-supabase.vercel.app%2Fcompute)
-
[/pricing](https://validator.schema.org/#url=https%3A%2F%2Fzone-www-dot-lh2wp7c6i-supabase.vercel.app%2Fpricing)
2026-11-11 09:59:53 -06:00
Anthony Lio 0daddc4551 feat(docs): agent feedback capabilities (#53115)
## Problem

- an agent that finds a wrong docs page leading to use a different
method gets no report
- mcp server and the cli can send feedback, but no page tells agents to
report docs problems

## Solution

- adds a note for ai agents at the top of each guide's markdown version,
so agents report wrong pages
- adds an agent-only instructions page with a disabled nav entry, so
agents learn how to write and send a report
- adds a "report documentation problems" section to the ai tools guide,
so users can approve, turn off or delete reports
- changes the mcp guide to say that `submit_feedback` takes
documentation feedback, so the tool list matches the new use
- adds the instructions page to `llms.txt`, so agents that start from
supabase.com find it

Linear: DEPR-698

<!--
## 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
[/docs/guides/auth.md](https://docs-git-anthonylio-depr-698-explore-agent-feed-2bdb50-supabase.vercel.app/docs/guides/auth.md),
and make sure that the page starts with the "Note for AI agents"
blockquote
2. make sure that the note links to `agent-feedback.md`, tells the agent
to read it before the final reply, and asks "Send this report to
Supabase?"
3. open the preview
[/docs/guides/ai-tools/agent-feedback.md](https://docs-git-anthonylio-depr-698-explore-agent-feed-2bdb50-supabase.vercel.app/docs/guides/ai-tools/agent-feedback.md),
and make sure that the page has the five-line report template and no
agent note
4. open the preview
[/llms.txt](https://zone-www-dot-com-git-anthonylio-depr-698-explor-a825b7-supabase.vercel.app/llms.txt),
and make sure that it lists "Report documentation problems" with the
`.md` link

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-11 14:38:47 +02:00
shaziya 8b09eff6c6 chore(www): add Expo and Supabase EAS CLI integration blog post (#53193)
## 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 (new blog post)

## What is the current behavior?

There is no blog post announcing the Supabase integration in the EAS
CLI.

## What is the new behavior?

Adds "Set up Supabase for every Expo environment in one command" at
`/blog/set-up-supabase-for-every-expo-environment-in-one-command`, dated
2026-11-10.
2026-11-10 09:19:28 -07:00
supabase-vercel-tedd[bot] c1b32d9596 chore(www): ignore browser-extension noise in Sentry (#53200)
## Problem

The www browser Sentry client reports errors that come from browser
extensions, not from site code. One example is `Invalid call to
runtime.sendMessage(). Tab not found.`, which is raised by the extension
messaging API (`chrome.runtime` / `browser.runtime`). Site code never
calls that API. Studio and docs already ignore known browser noise
through the shared `BROWSER_NOISE_IGNORE_ERRORS` list, but www does not
use that list.

## Solution

- `packages/common/sentry.ts`: add `/Invalid call to
runtime\.sendMessage\(\)/` to `BROWSER_NOISE_IGNORE_ERRORS`, under the
browser-extension section. Studio and docs pick it up too.
- `apps/www/instrumentation-client.ts`: pass
`BROWSER_NOISE_IGNORE_ERRORS` as `ignoreErrors`, the same way docs does.
www now ignores the shared network, extension, non-Error and
cross-origin script noise too.
- `apps/www/lib/sentry-capture.test.tsx`: add a test that an error with
this message is not sent.

## How to verify

This change has no UI. Check it with these commands:

- `pnpm --filter www exec vitest run --config vitest.sentry.config.mts`:
all tests pass, including "does not send browser extension messaging
errors".
- `pnpm --filter common exec vitest run sentry.test.ts` passes.
- `pnpm turbo run typecheck --filter='...[origin/master]'` and `pnpm
turbo run lint --filter='[origin/master]'` pass.

The full typecheck run ran out of memory on `studio#typecheck` once. Run
again on its own with `--filter=studio`, it passed.

Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
2026-11-10 09:05:43 +00:00
edc09b78ae Add go page: aws-reinvent/schedule (#53063)
## Problem

We want a landing page where people can book 1:1 time with the Supabase
team at AWS re:Invent 2026.

## Solution

- Adds a go page at `/go/aws-reinvent/schedule` using the existing
`hubspot-meeting` section, modeled on the Stripe Sessions scheduler
page. Registered in `apps/www/_go/index.tsx` with a removal date of Dec
31, 2026.
- Adds three entries to `apps/www/lib/authors.json` with headshots under
`apps/www/public/images/blog/avatars/`.
- Adds `whitespace-pre-line` to the go hero `<h1>` so a title can
contain a line break. No existing go page title contains a newline, so
other pages should not change.

## Review instructions

1. Open the preview at `/go/aws-reinvent/schedule`.
2. Check the hero copy, including the line breaks in the title and
description.
3. Confirm the scheduler loads and shows availability.
4. Check `HeroSection.tsx` for the `whitespace-pre-line` change.

## Checklist

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

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

---------

Co-authored-by: Wendie Cheung <wendie.cheung@supabase.io>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 17:05:43 +11:00
Anthony Lio 5191874237 fix(www): docs prefetch (#52700)
## Problem

- link prefetch on `supabase.com/docs` returns 404
- a prefetch of `/docs/guides/auth/architecture` returns 404 through www
and 200 on the docs deployment
- the www rewrite forwards the request as
`<page>.segments/_tree.segment.rsc` and keeps the prefetch header, so
docs adds the suffix again
- likely happened after next 16 migrations

## Solution

- adds www rewrites that forward a docs prefetch as the page path, so
docs adds the `.segments` suffix one time
- fixes client navigation to the docs home, because docs serves its root
as `index.rsc` and www asked for `docs.rsc`
- adds a test that fails when a docs prefetch path reaches the generic
`/docs/:path*` rule first

| build | click before the prefetch ends | click after the prefetch ends
|
| --- | --- | --- |
| before (`supabase.com`) | 106 to 146 ms | 102 to 137 ms, the prefetch
returns 404 so the click sends a request |
| after (preview with this fix) | 124 to 169 ms | **14 to 46 ms**, the
click sends no request |


| check | before | after |
| --- | --- | --- |
| segment prefetch of a guide page | 404 | 200 |
| segment prefetch of the docs home | 404 | 200 |
| client navigation to the docs home (`RSC: 1`) | 404 | 200 |
| probe checks that pass | 4 of 8 | 8 of 8 |

each run used a fresh browser profile and started on
`/docs/guides/auth/passwords`. each click went to the same 4 sidebar
links, which start out of view. the time stops when the new `h1` shows.
the after numbers come from a test preview of www with this fix, which
forwards to the same docs deployment

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

the `/docs` rewrites run only in production builds, so steps 4 to 7 use
`supabase.com`

1. run `pnpm --filter www exec vitest run next.config.test.ts` and make
sure that all tests pass
2. run `git checkout origin/master -- apps/www/lib/rewrites.js`, run the
test again and make sure that the new test fails
3. run `git checkout HEAD -- apps/www/lib/rewrites.js` to restore the
fix
4. before the deploy, run the command below and make sure that it prints
`404`
   ```sh
curl -s -o /dev/null -w '%{http_code}\n' -H 'RSC: 1' -H
'Next-Router-Prefetch: 1' -H 'Next-Router-Segment-Prefetch: /_tree'
https://supabase.com/docs/guides/auth/architecture
   ```
5. after the deploy, run the same command and make sure that it prints
`200`
6. after the deploy, run `curl -s -o /dev/null -w '%{http_code}\n' -H
'RSC: 1' https://supabase.com/docs` and make sure that it prints `200`
7. open [/docs/guides/auth](https://supabase.com/docs/guides/auth),
click a sidebar link and make sure that the page opens without a full
reload

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-11-06 10:34:55 +02:00
836296c342 Add go page: aws-reinvent/spago-dinner (#53008)
## Problem

We're hosting a dinner at Spago in Las Vegas on December 1, 2026 (7:30
PM - 10:00 PM) during AWS re:Invent and need an RSVP page. Hosts are
Kris Talajic and Harold Gimenez.

## Solution

Adds two go pages modeled on the Select 2026 VIP dinner page:

- `/go/aws-reinvent/spago-dinner` (RSVP form, details, hosts)
- `/go/aws-reinvent/spago-dinner/thank-you`

Also adds Kris and Harold to `authors.json` with headshots. The
Select-only "Are you attending?" dropdown is removed. RSVPs go to
HubSpot and a new Notion database. Both pages are marked for removal
after December 31, 2026.

## Review instructions

1. Open the Vercel preview at `/go/aws-reinvent/spago-dinner`.
2. Check the date, venue, schedule and host cards.
3. Submit a test RSVP and confirm it redirects to the thank-you page.
4. Confirm the submission appears in HubSpot and in the Notion database
(the Notion integration must have access to the database).

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)

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

---------

Co-authored-by: Wendie Cheung <wendie.cheung@supabase.io>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Wendie Cheung <wendie@Wendies-MBP.localdomain>
2026-11-06 00:32:14 +11:00
Pamela Chia d2d0a9ec8e fix(www): server-render the /events list (#52637)
`/events` showed skeletons until a client-side request to the Luma
events API finished, so the raw HTML had no upcoming events and every
category count read zero. I moved the Luma fetch to the server next to
the Notion and MDX loaders, so the HTML now includes the event list, and
I set the page to revalidate every 5 minutes.

**Changed:**
- **Event list in the HTML**: I built `getLumaEvents` on the upstream
fetch from `/api-v2/luma-events`, which I made shareable and gave a 10 s
timeout, with the same public-only filter and mapping the client used. I
removed the client fetch, the loading state and both skeletons.
- **Luma failures**: on a missing API key, an upstream error or a
timeout, `getLumaEvents` returns no Luma events and reports the error to
Sentry, the same soft fallback the Notion loader uses, so neither the
build nor a regeneration can fail on Luma.
- **Dates without hydration mismatches**: I format each event's date and
time in the event's own time zone on the server and the first client
render (banner times carry the zone name, and the banner always shows
the year). After hydration the page switches to the visitor's time zone,
as before.

**Note:** before JavaScript loads, visitors now see event-local times
labeled with their zone where they used to see skeletons. If Luma is
down during a regeneration, the page shows no Luma events until the next
successful regeneration.

## To test

Tested on the PR preview:
- [x] Fetch `<preview-url>/api-v2/luma-events?after=<now>`, then fetch
`<preview-url>/events` with a Chrome user agent, strip `<script>`,
`<style>` and `<template>` elements and React's `<!-- -->` separators:
expect every returned event name in the HTML, `All (N)` equal to the
number of event cards (`h3.leading-snug`), and no `animate-pulse`
skeletons (5/5 names, `All (5)` with 5 cards, 0 skeletons; a 6 PM Denver
event groups under its own local date)
- [x] Open `/events` in a browser outside UTC: expect no hydration
errors in the console, banner times in local time without a zone label,
and no request to `/api-v2/luma-events` (Asia/Singapore: none of either)
- [x] Click a category filter, then All; search for a title word, then
clear it; toggle On-demand: expect the list to narrow and restore as
before, and the banner to hide on On-demand

## Linear
- part of GROWTH-1416
2026-11-02 21:48:56 +08:00
Pamela Chia f5e3e7f7a2 fix(www): serve /nextjs as a 308 to the Next.js tutorial (#52634)
`/nextjs` was a placeholder page that redirected with a client-side
`router.push`, so without JavaScript it served an indexable 200 with an
empty body and a self-canonical. I replaced it with a permanent redirect
straight to the Next.js tutorial, which also skips the old intermediate
`/docs/guides/with-nextjs` hop. I deleted the page, so `/nextjs` drops
out of the www sitemap, and I pointed the image transformations feature
page's Next.js link at the Next.js loader docs, which is what its text
describes.

## To test

Tested on the PR preview:
- [x] `curl -sI <preview-url>/nextjs`, expect `308` with `location:
/docs/guides/getting-started/tutorials/with-nextjs` (one hop, no request
to `/docs/guides/with-nextjs`)
- [x] Open `/features/image-transformations`, expect the "Next.js
integration" link to point to
`/docs/guides/storage/serving/image-transformations#nextjs-loader` and
no link to `/nextjs` on the page

## Linear
- part of GROWTH-1416
2026-11-02 21:48:44 +08:00
2b85c37aea fix: broken links from the Web 404 Review, week of 2026-10-26 (#52617)
<!-- claude-slack-attribution -->
_Requested via [Slack
thread](https://supabase.slack.com/archives/C076KTY11DF/p1793584471038389?thread_ts=1793584471.038389&cid=C076KTY11DF)_

## Problem

The weekly Web 404 Review found broken URLs that are emitted by links in
this repo, or that a redirect can send to a live page. I fixed the ones
I confirmed in the code. Each fix is its own commit, so any one of them
can be dropped by reverting that commit.

## Solution

| Path that 404s | App | Change |
| --- | --- | --- |
| `/blog/sitemap.xml` | www | Add a permanent redirect to
`/sitemap_www.xml` in `apps/www/lib/redirects.js`, next to the existing
`/blog/rss.xml` redirect. Old supabase.io links still point at this
legacy per-section sitemap. |
| `/partners/sitemap.xml` | www | Add a permanent redirect to
`/sitemap_www.xml` in `apps/www/lib/redirects.js`, next to the other
`/partners/*` redirects. Same legacy supabase.io source. |
| `/design-system/og.jpg` | design-system |
`apps/design-system/config/site.ts`: `ogImage` pointed at a file that
was never added to the app. Point it at
`https://supabase.com/docs/img/supabase-og-image.png`, the shared OG
image that docs, learn, and kb already use. That image is 1200x600, so
`og:image:height` in
`apps/design-system/app/(app)/docs/[[...slug]]/page.tsx` changes from
630 to 600 to match. |
| `/docs/reference/auth/config` | docs |
`apps/docs/spec/supabase_kt_v1.yml`, `supabase_kt_v2.yml`,
`supabase_kt_v3.yml`, `supabase_swift_v1.yml`, `supabase_swift_v2.yml`:
the refresh token rotation and `REFRESH_TOKEN_REUSE_INTERVAL` links now
go to
`/docs/guides/local-development/cli/config#auth.enable_refresh_token_rotation`
and `#auth.refresh_token_reuse_interval`, matching the Dart v2 spec.
Also add a permanent redirect from `/docs/reference/auth/config` to
`/docs/guides/local-development/cli/config` in
`apps/docs/lib/redirects/static-redirects.json`, so external links to
the old URL stop 404ing. |
| `/app/settings/api-keys` | docs |
`elevenlabs-generate-speech-stream.mdx` and
`elevenlabs-transcribe-speech.mdx`: the ElevenLabs API key link was a
relative path that resolved on supabase.com. It now uses
`https://elevenlabs.io/app/developers/api-keys`, the current ElevenLabs
path (`/app/settings/api-keys` 308s there). The code-sample comments on
both pages use the same URL. |

I left out the other lines in the review. They need feature work, live
outside this repo, or come from stale clients with no matching link in
the code.

## To test

- [x] www preview: open `/blog/sitemap.xml`. It should 308 redirect to
`/sitemap_www.xml` and render the sitemap.
- [x] www preview: open `/partners/sitemap.xml`. It should 308 redirect
to `/sitemap_www.xml` and render the sitemap.
- [x] design-system preview: view source on any
`/design-system/docs/...` page. The `og:image` and `twitter:image` meta
tags should be `https://supabase.com/docs/img/supabase-og-image.png`,
and that URL should load an image. `og:image:height` should be `600`.
- [x] docs preview: open `/docs/reference/kotlin/auth-setsession` and
`/docs/reference/swift/auth-setsession`. The "Refresh token rotation"
and `REFRESH_TOKEN_REUSE_INTERVAL` links should open the matching
sections of `/docs/guides/local-development/cli/config`.
- [x] docs preview: open `/docs/reference/auth/config`. It should 308
redirect to `/docs/guides/local-development/cli/config`.
- [x] docs preview: open `/docs/reference/auth`. It should still 308
redirect to `/docs/reference/self-hosting-auth/start`, so the new
`/docs/reference/auth/config` entry doesn't collide with it.
- [x] docs preview: open
`/docs/guides/functions/examples/elevenlabs-generate-speech-stream` and
`/docs/guides/functions/examples/elevenlabs-transcribe-speech`. The "API
key" link under Requirements should go to
`https://elevenlabs.io/app/developers/api-keys`.

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

## Linear

- fixes GROWTH-1409

---
_Generated by [Claude
Code](https://claude.ai/code/session_011aGhSAkL6hxEkWQxXbNazM)_

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
2026-11-02 18:29:52 +08:00
AnaandAna 01a2d1748f fix(www): update rand arete's author title to product (#51362)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

- Updates Rand Arete's `position` in `apps/www/lib/authors.json` from
"Engineering" to "Product"

## What is the current behavior?

Rand Arete's blog byline shows "Engineering".

## What is the new behavior?

- Rand Arete's blog byline shows "Product"

## Additional context

N/A

Co-authored-by: Ana <ana1337x@users.noreply.github.com>
2026-10-30 12:36:56 -04:00
shaziya 2641cd817c chore(www): add Explorer and Notebooks launch blog post (#52543)
## Problem

The Explorer and Notebooks launch blog post (scheduled for 2026-10-30,
9am PT) needs to be added to the www blog.

## Solution

- Adds
`2026-10-30-explorer-and-notebooks-investigations-your-team-can-rerun.mdx`
with the launch copy and the in-body Notebooks screenshot.
- Adds Charis Lam to `authors.json`, since she is a co-author and had no
entry.
- Adds the header (`thumb.png`) and OG (`og.png`) images, and the launch
video embed after the intro.

## Review instructions

1. Open the preview and go to
`/blog/explorer-and-notebooks-investigations-your-team-can-rerun`.
2. Confirm the copy, the Notebooks screenshot, and the four authors
render correctly.
3. Confirm the header shows on the `/blog` index card and the OG image
in the page meta tags.
4. Confirm the YouTube video plays under the intro.

## Checklist

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-30 16:25:13 +00:00
Anthony Lio 9eaae4cd2c feat(www): brand page (#52295)
## Problem

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

## Solution

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

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

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

<!--
## Preview links

If relevant, include links to changed pages for easy review access.

Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.

| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post)
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page)
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard)
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system)
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library)
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page)
| unique phrase from the change |
-->

<!-- ## Additional context

Optionally add any other context or screenshots.

-->

## Review instructions

1. run `pnpm dev:www` and open `http://localhost:3000/brand-assets`
2. in the gallery, copy and download one file of each group, and make
sure that each file opens
3. click "Copy agent prompt", and make sure that the copied text names
`https://supabase.com/brand-assets.md`
4. open `http://localhost:3000/brand-assets.md`, and make sure that it
links each svg and png file
5. right-click the nav logo, hover "Copy logo" and "Copy wordmark", and
make sure that the frame moves to the part that each item copies
6. click "Copy wordmark" in the light theme and in the dark theme, and
make sure that the pasted svg has black and then white lettering
7. run `pnpm --filter www exec vitest run data/brand-assets.test.ts`,
and make sure that the tests pass

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-29 09:57:35 +11:00
AnaandAna 5846d362a1 docs(blog): add authors to orioledb public beta post (#52472)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

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

## What is the current behavior?

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

## What is the new behavior?

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

## Additional context

N/A

Co-authored-by: Ana <ana1337x@users.noreply.github.com>
2026-10-28 14:52:38 -04:00
Kody JacksonandClaude Haiku 5.5 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>
2026-10-27 10:43:07 -05:00
b329508c4f blog(www): add Scope your Personal Access Tokens blog post (#52289)
## Problem

Scoped Personal Access Tokens need a launch blog post for Select Rewind,
publishing 2026-10-26.

## Solution

Adds "Scope your Personal Access Tokens," based on the engineer-authored
draft with light edits.

- Post:
`apps/www/_blog/2026-10-26-scope-your-personal-access-tokens.mdx`
- Images: OG, thumbnail, and six Dashboard screenshots in
`apps/www/public/images/blog/scope-your-personal-access-tokens/`
- Draft source:
https://app.notion.com/p/4025004b775f81ce8cffdaba9941ce56

Needs a marketing +1.

## Preview links

| Site | Live | Preview | Search for |
| ---- | ---- | ------- | ---------- |
| WWW |
[/blog/scope-your-personal-access-tokens](https://supabase.com/blog/scope-your-personal-access-tokens)
| Add from the Vercel bot comment | Scope your Personal Access Tokens |

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

---------

Co-authored-by: Wendie Cheung <wendie.cheung@supabase.io>
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-27 06:56:17 +11:00
Pamela Chia 092b8ff518 fix: repair 404s from legacy dashboard routes, docs links, and the changelog feed (#52292)
Several supabase.com URLs still return a 404 to real browsers every day:
an old Database Hooks route, card icons for brands we never shipped an
image for, two dashboard links to docs pages that miss the `/guides`
prefix, and a few URLs that search engines and feed readers keep
requesting.

**Changed:**
- **Old Database Hooks links land on Webhooks**: #29671 renamed
`/project/:ref/database/hooks` without a redirect, so bookmarks and
older guides hit a 404. I added a redirect to the Integrations Webhooks
page, the same target as the existing `database/webhooks` redirect.
- **Card brands without an icon show a generic card**: payment method
rows built the image URL straight from the card brand name, so UnionPay
and other brands without a PNG rendered a broken image. I added a
`CardBrandIcon` in `CreditCard.tsx`, used by both views, that only
requests the brand images we ship, labels each with its brand name, and
shows a generic card icon for every other brand.
- **Branching "Learn more" links open the right docs**: #51393 linked
the branching empty state to `/docs/deployment/branching/...` without
`/guides`. I fixed both links and added a redirect for the GitHub
integration URL, which search engines already indexed (the dashboard one
already had a redirect).
- **Indexed docs and feed URLs redirect**: I added redirects for
`/docs/guides/mcp`, the old hashed architecture diagram path that other
sites still embed, and `/changelog/rss.xml`. I also added an RSS
`alternate` link to `/changelog` so feed readers find
`/changelog-rss.xml` instead of guessing.

**Note:** Studio and www changes are independent, so either app can
deploy first.

## To test

Tested on the PR preview:
- [x] Open `/dashboard/project/<ref>/database/hooks`, expect a redirect
to `/dashboard/project/<ref>/integrations/webhooks/overview`
(`database/hooks-nope` still 404s)
- [x] Open org billing with a Visa or Mastercard on file, expect the
brand logo as before
- [x] With a card whose brand has no image (e.g. UnionPay), expect a
generic card icon instead of a broken image in the payment methods list
(checked with a mocked UnionPay row: generic icon, no `unionpay.png`
request, Visa rows unchanged)
- [ ] Same check in the plan change payment method select (not
exercised: reaching it starts the plan change flow)
- [x] On a project without branching, open Branches and click both
"Learn more" buttons, expect the dashboard and GitHub integration
branching guides to load
- [x] On the www preview, open `/changelog/rss.xml`, `/docs/guides/mcp`
and `/docs/deployment/branching/github-integration`, expect 308s to
`/changelog-rss.xml`, `/docs/guides/ai-tools/mcp` and
`/docs/guides/deployment/branching/github-integration`
- [x] View source on `/changelog`, expect a `rel="alternate"` RSS link
to `/changelog-rss.xml`

## Linear
- fixes GROWTH-1364
2026-10-26 17:32:06 +00:00
Pamela Chia 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
2026-10-27 01:21:01 +08:00
Kody Jackson 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)
2026-10-26 08:19:26 -05:00
Danny White c5f9403d8a feat(www): add AWS Marketplace landing and pricing FAQ (#52198)
## Problem

Customers with an AWS spend commitment (PPA or EDP) need a clear way to
buy Supabase through AWS Marketplace. Today that path is easy to miss on
marketing surfaces.

## Solution

- Canonical `/aws-marketplace` landing with self-serve (Pro/Team via Buy
with AWS) and private-offer (Enterprise form) paths
- Buy with AWS CTA: our primary `Button`, co-branded procurement URL,
`partner.js`, and `data-awsmp-bwa-*` attributes
- Pricing FAQ item linking to the landing page and public listing
- Older blog post banner pointing at the updated path


| `/aws-marketplace` | `/pricing` | Blog Post |
| --- | --- | --- |
| <img width="1280" height="1323" alt="Supabase on AWS Marketplace"
src="https://github.com/user-attachments/assets/19318bd0-6a07-49e2-8a1f-7c2a827f790a"
/> | <img width="1280" height="1323" alt="Pricing Fees Supabase"
src="https://github.com/user-attachments/assets/7d3278e7-0e5f-4206-8642-d8e8450a2c79"
/> | <img width="1280" height="1323" alt="88266"
src="https://github.com/user-attachments/assets/e0d1b4cc-886e-4858-944a-6792af202e1b"
/> |

## Review instructions

1. Open the [www
preview](https://zone-www-dot-com-git-dnywh-feataws-marketplace-www-supabase.vercel.app/aws-marketplace)
for `/aws-marketplace`
2. Confirm hero **Buy with AWS** (primary green) opens the AWS
procurement URL with product/seller IDs
3. Confirm **Request a private offer** goes to the Enterprise form
4. Open
[`/pricing`](https://zone-www-dot-com-git-dnywh-feataws-marketplace-www-supabase.vercel.app/pricing)
→ FAQ → “Can I purchase Supabase through AWS Marketplace?”
5. Open
[`/blog/supabase-aws-marketplace`](https://zone-www-dot-com-git-dnywh-feataws-marketplace-www-supabase.vercel.app/blog/supabase-aws-marketplace)
and confirm the banner about the updated path
2026-10-26 15:54:14 +11:00
Kody Jackson 0b403e2dd4 chore(docs) - missing redirect (#52247)
## Problem

Missing redirect for
https://supabase.com/docs/guides/auth/quickstarts/with-expo-react-native
which is seeing a fair amount of 404's (~50 in the past 24 hours)
2026-10-23 13:35:47 -05:00
Alexis Aguilar 70fe3de074 docs: move social login URLs to social sign-in (#52111)
## Problem


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

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

## Solution

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

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

Intentionally unchanged:

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

## Related PRs

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

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

## Verification

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

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

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

## Preview links

- [Social
sign-in](https://docs-git-alexisa-docs-1459-urls-supabase.vercel.app/docs/guides/auth/social-sign-in)
- [Sign in with
Google](https://docs-git-alexisa-docs-1459-urls-supabase.vercel.app/docs/guides/auth/social-sign-in/auth-google)
- [Expo
quickstart](https://docs-git-alexisa-docs-1459-urls-supabase.vercel.app/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in)
- [Social sign-in feature
page](https://zone-www-dot-com-git-alexisa-docs-1459-urls-supabase.vercel.app/features/social-sign-in)
2026-10-22 18:23:26 +00:00
AnaandAna 2b3159381f blog: give your supabase app its own mcp server (#52119)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

- Adds the blog post "Give your Supabase app its own MCP server" at
`apps/www/_blog/2026-10-22-give-your-supabase-app-its-own-mcp-server.mdx`
- Adds the OG image, thumbnail, and two inline images under
`apps/www/public/images/blog/give-your-supabase-app-its-own-mcp-server/`
- Adds `raul_barroso` to `apps/www/lib/authors.json`

## What is the current behavior?

N/A

## What is the new behavior?

- New post at `/blog/give-your-supabase-app-its-own-mcp-server`, dated
2026-10-22
- Covers the MCP Server block, `withOAuthProtectedResource()` and
`withSupabase({ auth: 'user' })` from `@supabase/server`, writing tools
that run as the signed-in user under RLS, MCP Apps UI in the chat, and
the OAuth 2.1 server and consent page setup
- Authors: `raul_barroso`, `gregnr`, `saxon_fletcher`

## Additional context

Follow-up to the Supabase Select post
`2026-10-02-select-2026-build-anything.mdx`. The two TypeScript code
blocks use `{/* prettier-ignore */}` to keep their line breaks.
`apps/www/public/rss.xml` is not included because it is gitignored and
generated at build time.

---------

Co-authored-by: Ana <ana1337x@users.noreply.github.com>
2026-10-22 12:31:51 -04:00
Kody JacksonandClaude Haiku 5.5 3526a26063 chore(www) - redirect hygiene pass (#52103)
Does the following:
- Removes duplicate redirect targets (3)
- Fixes one destination with a missing leading `/`
- Removes one unused redirect
(`/blog/2021/03/08/toad-a-link-shorterner-with-simple-apis-for-low-coders`)
- Adds a missing redirect from #52088 (for the main
`/docs/guides/troubleshooting` page)
- Updates many redirect chains to instead point to their final
destination, so consolidates redirect hops.

All new destinations return 200 status codes.

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-22 08:01:31 -05:00
Kody Jackson c80e4279fb chore(kb, docs) - add in redirects for troubleshooting guides (#52088)
## Problem

Having duplicate pages between /docs and /kb is an issue.

## Solution

Easiest solution is to add in redirects covering the relevant paths.
Should eventually remove the generation scripts from docs, but this is a
clearer two-way door.

## Preview links

n/a, can't evaluate redirects at the moment b/c not all apps have them
set on the individual project
2026-10-21 14:06:35 -05:00
9ac3f4d78b docs(blog): publish .NET SDK blog posts on Oct 21 (#51910)
## 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?

- Restores the two .NET SDK blog posts reverted in #51624 and #51625
- Moves both posts to October 21, 2026 (filenames, `date`, and image
folders)
- Re-adds Guillaume Faas to `apps/www/lib/authors.json`
- Points the repo links at `supabase/supabase-csharp`, updates the
upgrade line to the latest v8, and fixes three typos

## What is the current behavior?

Neither .NET SDK blog post is on master.

## What is the new behavior?

- `/blog/introducing-the-unified-supabase-net-sdk` and
`/blog/getting-started-with-the-supabase-dotnet-sdk` publish, dated
October 21, 2026
- Blog URLs are unchanged from the original PRs

## Additional context

Merge on October 21, not before. The blog lists a post as soon as it
merges, regardless of its date. Original PRs: #50001 and #50209.

---------

Co-authored-by: Ana <ana1337x@users.noreply.github.com>
Co-authored-by: Dion Zeneli <101271736+Dionysos288@users.noreply.github.com>
2026-10-21 11:25:16 -04:00
Kody Jackson 5491fb60bc chore(docs, www) - add more redirects (#52046)
## Problem

Adds more redirects for missing paths that have high-ish traffic (above
20 404 responses over the past 24 hours)
2026-10-21 08:58:44 -05:00
Jeremias Menichelli 497cbecfd3 feat: Generate sitemap.md file in kb, fix markdown slug reconciliation, update llms file (#52076)
## Problem

We need a general entry level file for kb discovery for agents.

## Solution

- Generate a sitemap.md file with all relevant links listed within the
project
- Set redirects so supabase.com/kb/sitemap.md and supabase.com/kb.md
lead to that file
 - Add link to the file in the llms.txt file
 - Fix some slug reconciliation issues within troubleshooting suffixes
 - Move scripts to .ts to follow architectural conventions
 
<!--
## 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. Make sure troubleshooting markdown files work correctly, go to the
preview site of kb in this PR, open a troubleshooting guide with a
suffix, add .md at the end, it should return markdown version of the
page
2. Go to the preview site of kb in this PR, add /sitemap.md, a markdown
file with a list of all topics, guides and troubleshooting articles
should appear

(sadly www redirects cannot be tested on preview environments)

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-21 15:40:37 +02:00
Alaister YoungandAlaister Young b8426f1510 [FE-4414] feat(www): serve InstantDB migration app at /migrate/instantdb (#51289)
Proxies `supabase.com/migrate/instantdb` to the InstantDB migration
app's Vercel deployment, so the tool lives on a Supabase-owned URL
instead of `instantdb-to-supabase.vercel.app`.

**Added:**
- Rewrites for `/migrate/instantdb` and `/migrate/instantdb/:path*` in
`apps/www/lib/rewrites.js`
- A `next.config.test.ts` assertion covering both rules

Unlike `/evals`, the destination keeps the `/migrate/instantdb` prefix.
The migration app is a Next.js app that'll run with `basePath:
'/migrate/instantdb'`, so it only answers under that prefix (its
`/_next` assets and `/api` routes included, which would otherwise
collide with www's).

**Depends on:** the migration app shipping with `basePath:
'/migrate/instantdb'`. Until then this route 404s. The app's
`/migrate/instantdb` path currently returns 404 because it serves from
the root.

## To test

- `cd apps/www && pnpm vitest run next.config.test.ts` passes
- Once the app is deployed with the basePath, on the www preview:
`/migrate/instantdb` loads the migration app, with no 404s for `/_next`
assets or `/api` calls in the network tab
- Existing rewrites (`/dashboard`, `/evals`, `/kb`) still work

Co-authored-by: Alaister Young <10985857+alaister@users.noreply.github.com>
2026-10-21 12:57:48 +02:00
Kody Jackson f15391efee fix(www, changelog) - add in canonical URLs for product, blogs, partners, pricing pages (#51859)
## Problem

Missing canonical tags on many `www` pages (blogs, changelog entries,
product pages, etc.).

Part of general AEO / SEO hygiene.

## Solution

Adds these in a similar pattern to `mdAlternates` (#48287)

<img width="984" height="381" alt="image"
src="https://github.com/user-attachments/assets/0a596f7f-b034-451f-9ea1-6804c5184388"
/>


## Preview links

Route type | Live | Preview
-- | -- | --
Home (app router, page-level canonical) | https://supabase.com/ |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/
Blog index (app router) | https://supabase.com/blog |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/blog
Blog post | https://supabase.com/blog/supabase-alpha-april-2020 |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/blog/supabase-alpha-april-2020
Blog tag | https://supabase.com/blog/tags/postgres |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/blog/tags/postgres
Blog author | https://supabase.com/blog/authors/paul_copplestone |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/blog/authors/paul_copplestone
Product page | https://supabase.com/edge-functions |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/edge-functions
Pricing | https://supabase.com/pricing |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/pricing
Features index (pages router, _app) | https://supabase.com/features |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/features
Feature sub-page | https://supabase.com/features/postgres-database |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/features/postgres-database
Page with its own NextSeo canonical (override case) |
https://supabase.com/state-of-startups-2025 |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/state-of-startups-2025
Legal page, no page-level SEO (pages router default) |
https://supabase.com/legal |
https://zone-www-dot-com-git-kody-devrel-730-canonical-309a80-supabase.vercel.app/legal
2026-10-20 08:01:38 -05:00
Pamela Chia 0afbc50aea fix(docs): repair two docs destinations (#51959)
I fixed an Auth troubleshooting link that returned 404 to crawlers and
added a permanent redirect from the readable password-reset guide URL to
its existing canonical page.

## To test

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

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

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

## Linear
- fixes GROWTH-1342
2026-10-19 22:30:28 +02:00
shaziya 0e5753aac7 Add blog post: Sync real-time Stripe data to Supabase with Stripe Data Pipeline (#51775)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Blog post (apps/www)

## What is the current behavior?

There is no blog post announcing Stripe Data Pipeline support for
Supabase as a Postgres destination.

## What is the new behavior?

Adds the launch post for 2026-10-15, with OG and thumbnail images, and a
new author entry for Saba Pochkhua in `authors.json`.

## Additional context

- Draft until the Stripe dev rel video is ready. There is a TODO comment
where the embed goes.
- Author photo for Saba is currently the GitHub avatar and will be
swapped for a different photo.
- Content is shared with Stripe and still in internal review.
2026-10-15 10:02:42 -07:00