Commit Graph
39 Commits
Author SHA1 Message Date
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
Kody JacksonandClaude Sonnet 5.5 647717417e chore(www) - Update 301 destinations to final resolution + fix some 404s (#53556)
## What

Updates links in `apps/www` that pointed at redirecting URLs so they
point at the final destination, and fixes a few broken links:

## Testing

- Every replacement destination was requested and returns 200 with no
further redirect
- Prettier passes on all changed files
- Content and data changes only, apart from the one-line `/vector` fix
in `MagnifiedProducts.tsx`

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:17:57 -06: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
Kody Jackson 38915f19be chore(www,kb) - add cross links to hosted-postgres page (#52242)
## Problem

We want to do more to promote this page.

## Solution

Adds relevant cross links from other sources.

## Preview links

n/a, atomic changes, not helpful to have preview links
2026-10-26 08:08:08 -05:00
Alexis Aguilar 831d6302c7 chore: use social sign-in on the marketing site, Dashboard, UI library, and KB (#52109)
## Problem


[supabase/supabase#52102](https://github.com/supabase/supabase/pull/52102)
renames *social login* to *social sign-in* in the docs, so every sign-in
method follows the same pattern: social sign-in, phone sign-in,
anonymous sign-in, and passwordless email sign-in. The marketing site,
the Dashboard, the UI library docs, the knowledge base, and the Docker
configuration still say "social login". Keeping one name per feature
across every surface matters: readers and AI agents moving between the
Dashboard, the docs, and the marketing site see the same term, and
search finds one name.

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

## Solution

"Social login" is "social sign-in" in visible text on:

- **Marketing site:** the Auth product page, including an icon grid's
`aria-label`, the home page's frameworks section, the social sign-in
feature page's title, subtitle, and description, the Markdown versions
of the Auth and home pages, and the Supabase vs Firebase comparison.
- **Dashboard:** the command menu entry for Auth providers, "Auth:
Providers (Social Sign-in, SSO)".
- **UI library docs:** the link to the docs on six social auth block
pages, and one sentence on the React Router page.
- **Knowledge base:** the link text in the Auth0 migration guide.
- **Docker configuration:** the comments in `docker-compose.yml` and
`.env.example`.

Intentionally unchanged:

- **URLs, code names, and file names:** `/features/social-login`, links
to `/docs/guides/auth/social-login/...`, `handleSocialLogin` in the UI
library blocks, and image files such as `social-login.png`. A separate
PR moves the URLs to `social-sign-in` with redirects.
- **Dated and quoted content:** blog posts, an event page, a customer
story, and a quoted user tweet.

## Review notes

- **Dashboard search:** the command menu's `value` is also its search
text, so typing "social login" no longer matches the Auth providers
entry. "Social", "providers", and "SSO" still match.
- **UI library block names:** the blocks are named `social-auth` (for
example, `social-auth-nextjs`), and the name is part of their install
commands. Renaming a block breaks those commands, so that's a decision
for the UI library's owners.

## Preview links

- [Auth product
page](https://zone-www-dot-com-git-alexisa-docs-1459-surfaces-supabase.vercel.app/auth)
- [Home
page](https://zone-www-dot-com-git-alexisa-docs-1459-surfaces-supabase.vercel.app/)
- [Social sign-in feature
page](https://zone-www-dot-com-git-alexisa-docs-1459-surfaces-supabase.vercel.app/features/social-login)
- [Supabase vs
Firebase](https://zone-www-dot-com-git-alexisa-docs-1459-surfaces-supabase.vercel.app/alternatives/supabase-vs-firebase)
- [UI library: Social auth
(Next.js)](https://ui-library-git-alexisa-docs-1459-surfaces-supabase.vercel.app/ui/docs/nextjs/social-auth)
- [Knowledge base: Migrate from
Auth0](https://kb-git-alexisa-docs-1459-surfaces-supabase.vercel.app/kb/guides/migrate-from-auth0)
2026-10-22 17:31:04 +00:00
Miranda Limonczenko 23a5bd4707 fix: update inbound links to the pooling guide (#50187)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Bug fix. Link string changes only, no content changes.

## What is the current behavior?

Nine inbound links in `apps/www` and `apps/studio` point at anchors on
the connecting to Postgres guide that don't exist. All nine are already
broken on production today: `#connection-pooler`, `#connection-pool`,
`#how-connection-pooling-works`, `#serverside-poolers`, and
`#connecting-with-drizzle` are all missing from the live page.

#49869 moves the pooling content to a child page, so these links need
current destinations either way.

## What is the new behavior?

Point each link at the page that holds the content now.

- **Studio, 3 links.** The Connect sheet's Drizzle link goes to the
Drizzle guide. The connection pooling and pooling modes links go to
`pooling-and-limits#how-connection-pooling-works`.
- **www, 6 links.** Three blog posts, the Heroku comparison page, and
the Dedicated poolers feature entry go to `pooling-and-limits`. The
feature entry uses `#shared-pooler`.

## Additional context

Split out of #49869. These paths belong to `@supabase/marketing` and
`@supabase/Dashboard` in CODEOWNERS, and pulling both teams into a
docs-only restructure for nine link strings isn't a good trade.

Merge after #49928. The destinations don't exist on production until the
docs pages land.

## Manual testing

1. Open [Supavisor: Scaling Postgres to 1 Million
Connections](https://zone-www-dot-com-git-fix-pooler-docs-links-supabase.vercel.app/blog/supavisor-1-million).
The "connection pooling" link in the opening paragraph resolves to
`connecting-to-postgres/pooling-and-limits#how-connection-pooling-works`.
2. Open [Dedicated
poolers](https://zone-www-dot-com-git-fix-pooler-docs-links-supabase.vercel.app/features/dedicated-poolers).
The docs link resolves to `pooling-and-limits#shared-pooler`.
3. Open [Supabase vs Heroku
Postgres](https://zone-www-dot-com-git-fix-pooler-docs-links-supabase.vercel.app/alternatives/supabase-vs-heroku-postgres).
Both connection pooling links resolve to
`pooling-and-limits#how-connection-pooling-works`.
4. Open [Connection pooling and
limits](https://docs-git-docs-connecting-to-postgres-technical-supabase.vercel.app/docs/guides/database/connecting-to-postgres/pooling-and-limits)
on the #49928 docs preview. The `how-connection-pooling-works` and
`shared-pooler` headings both render with those IDs.
5. Open the Connect dialog on any project. Under Drizzle, the docs link
opens the Drizzle guide.
6. Open Database settings, then Connection pooling. The pooler link
opens Connection pooling and limits.


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

## Summary by CodeRabbit

* **Documentation**
* Updated connection pooling links across Studio, product pages, blogs,
and comparison content to point to the relevant pooling guidance.
* Refined links for Drizzle ORM, dedicated poolers, direct connections,
and shared poolers.
* Improved navigation to specific documentation sections explaining
connection pooling modes and behavior.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-09-09 17:10:55 -07:00
Prashant Sridharan 1ce55d35fb Removed Convex pages (#42314)
## 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?

Removes Convex comparison pages from www

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

## Summary by CodeRabbit

* **Documentation**
  * Removed Supabase vs Convex comparison guide
  * Removed Convex from available migration solutions
  * Removed Convex solution information page

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-30 09:37:07 +00:00
Prashant Sridharan fdf8df09d4 Fixed some typos in the Convex post (#42303)
## 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?

Fixed some references to PostgreSQL. Force of habit.

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

* **Documentation**
* Standardized terminology in the Supabase vs. Convex comparison:
replaced instances of "PostgreSQL" with "Postgres" across headings,
narrative text, and tables for consistent wording. No user-facing
functionality, APIs, or behavior were changed.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-30 01:34:52 +00:00
Prashant Sridharan 184b288d18 Add new blog posts and a new webinar (#42260) 2026-01-29 05:14:38 +00:00
Prashant SridharanandFrancesco Sansalvadore 3c20bb8ade Add two new blog posts (#37752)
* New blog posts, still need images

* New blog posts, still need og images

* Added Firebase form to Firebase migration guides

* move blog post to alternatives page

* revert linkgs

* add og image

* add soshi logo

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2025-08-12 09:54:12 +01:00
Francesco Sansalvadore 69ce2d8004 update www content (#36191)
change positioning
2025-06-10 12:40:55 +02:00
Wen Bo XieandKevin Grüneberg f1541878a9 fix: singularize and capitalize Supabase plans (#28052)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-07-18 04:49:00 +00:00
Charis 5d8cef6040 fix: update all examples and snippets to use select for auth rls func… (#22632)
fix: update all examples and snippets to use select for auth rls functions
2024-04-11 12:56:11 -04:00
Tyler 23a5b59eae fix: Update pgbouncer mentions to supavisor and add warning to pgbouncer article (#20387)
* Update pgbouncer mentions to supavisor and add warning to pgbouncer article

* run prettier

* minor text update
2024-01-13 08:15:26 +09:00
bdf6b6968b Feat/auth0 vs (#19197)
* feat: adds auth0 vs page

Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>
Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2023-11-25 08:16:48 +08:00
Greg Richardson 1bac934859 Merge branch 'master' into chore/change-dashboard-links 2023-06-29 13:54:26 -06:00
André Pereira d9f65a73c3 fix(docs): update broken anchor hash links 2023-06-22 15:05:50 -03:00
Greg Richardson 26be8af745 chore: change dashboard links to new url 2023-06-22 09:32:18 -06:00
Kevin Grüneberg c088132064 chore: change tier <> plan terminology 2023-05-31 12:17:39 +02:00
dannykng b41031c0c3 Update links 2023-01-12 11:53:10 -08:00
Long Hoang 5de4e2f675 Update links to contacts/enterprise to point to new form 2022-12-16 14:37:20 +07:00
Ramiro Nuñez Dosio 6a56887bdb Merge pull request #8714 from supabase/linking
Link to vs page.
2022-09-01 10:53:52 +01:00
dng be86bb6466 Update copy 2022-08-30 12:05:56 -07:00
dng 34e30bed91 Update Postgres tools 2022-08-30 12:01:04 -07:00
Ramiro Nuñez Dosio 3fa2cbff8c Added links to Firebase guides. 2022-08-30 10:55:25 +01:00
Ramiro Nuñez Dosio 1e806317ad New links.
Added links to Heroku announcement and heroku migration guide.
2022-08-30 09:37:43 +01:00
dannykng 53ab7842b2 Clean up blog post links 2022-08-16 15:19:20 -07:00
Jonathan Summers-Muir 7e03ae76ad fix: issue with blog urls 2022-08-10 10:21:05 -03:00
awalias 08cc98aaef chore: update page descriptions 2022-06-07 19:56:42 +08:00
awalias 185d642f8a fix: missed one 2022-06-06 21:40:19 +08:00
awalias 9f205185ff fix: fix broken page build 2022-06-06 21:14:18 +08:00
awalias 83d136d2eb fix: removed old og images 2022-06-06 18:09:26 +08:00
awalias c18343ddeb chore: feedback edits 2022-06-06 17:45:32 +08:00
Ant WilsonandCopple b7616b5902 Update apps/www/_alternatives/supabase-vs-firebase.mdx
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2022-06-06 09:56:31 +08:00
Ant WilsonandCopple 8803063568 Update apps/www/_alternatives/supabase-vs-firebase.mdx
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2022-06-06 09:56:18 +08:00
Ant WilsonandCopple 42f0abbc54 Update apps/www/_alternatives/supabase-vs-firebase.mdx
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2022-06-06 09:56:08 +08:00
Ant WilsonandCopple ea6ccc219a Update apps/www/_alternatives/supabase-vs-firebase.mdx
Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
2022-06-06 09:55:47 +08:00
awalias 4fa3c538c6 fix: copy for firebase comparison 2022-06-03 18:32:19 +08:00
Jonathan Summers-Muir e26c1772ff chore: add initial changes to support new content 2022-06-03 15:09:23 +08:00