## Problem
CLI 3.3.0 added `supabase config convert --to toml` (supabase/cli#7741),
a supported way to go from `config.jsonc` / `config.json` back to
`config.toml`. The docs only cover converting to JSONC. The Branching
troubleshooting page only offers a manual git restore for going back.
## Solution
- `config-formats.mdx`: a new "Convert back to TOML" section. It covers
what the command carries over, the `.bak` backup, the refusal when
`config.toml` already exists, `--dry-run` and undo, and the optional
reason prompt / `--reason` flag that's sent as telemetry.
- `deployment/branching/troubleshooting.mdx`: "Wrong config file used"
now points at `--to toml` first and keeps the git restore for CLIs
earlier than 3.3.0.
## Review instructions
1. Open the Config formats and Branching troubleshooting pages on the
preview.
2. Check the "Convert back to TOML" section and the link to it from the
troubleshooting 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)
We want more customers to upgrade their instances to Micro on paid
plans.
- Only dismiss for 7 days at a time per project
- Render it if available, not only when there's a performance related
reason
## Context
Final piece to the housekeeping for removing the deprecated `PageLayout`
component.
Moves off the organization and project home routes to the new layout
components and deletes the `PageLayout` component within studio
## 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>
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>
## Context
Just some housekeeping to move off old layout components - this PR
targets the branching pages, specifically
Branching
Branching -> Merge requests
Branching -> Merge
Just need to make sure that these pages still render fine
## Context
Just some housekeeping to move off old layout components - this PR
targets the database + advisor pages, specifically
Advisor -> Settings (Rules), this is behind a feature preview
Database -> Tables
Database -> Publications
Just need to make sure that these pages still render fine
## Context
Just creating a separate PR cause I messed up the [previous
one](https://github.com/supabase/supabase/pull/53453) with a bad merge 🫠
Also changed the implementation to no longer use `@deno/eszip`.
For edge functions, functions which exceed 5MB cannot be fetched and
displayed in the dashboard editor (API will return a 507). The CTA we
give to users is to download the function via the CLI, but this PR
explores allowing users to download their edge functions via the browser
still, by calling `/v1/functions/slug/body` without the
`multi-part/data` header. This returns the function in a raw eszip
stream which we're then parsing using a custom reader
We'll do this via the "Download as ZIP" CTA here - but this way of
downloading only kicks in if the GET Edge Function body endpoint returns
a 507. Otherwise it'll just be status quo where we bundle the files that
were already fetched to render in the browser into a ZIP file.
<img width="343" height="186" alt="image"
src="https://github.com/user-attachments/assets/4ffc9fee-7e6d-46a6-bdbe-294610abc802"
/>
Also updated the warning for 507s:
- To use a normal admonition instead of `AlertError` since its
technically not an issue
- To avoid rendering the API error message in this case specifically as
the API message contains "Use multipart instead" which isn't relevant to
the dashboard from a user's POV
<img width="500" alt="image"
src="https://github.com/user-attachments/assets/8242a875-f142-419d-81f0-0dbc30807f87"
/>
## To test
- [ ] Upload an edge function of size larger than 5MB to a staging
project via the CLI
- [ ] Verify that there's an Admonition for the large function instead
of an error
- [ ] Verify that you can still download the edge function via the
Download button (Which triggers a POST /body request without multipart)
## Context
Just some housekeeping to move off old layout components - this PR
targets the Storage + Edge Function + Wildcard pages, specifically:
Project wildcard route (/project/_)
Organization wildcard route (/org/_)
Storage -> Analytics Buckets
Storage -> Vector Buckets
Edge Function -> New function
Just need to make sure that these pages still render fine
## Context
Just some housekeeping to move off old layout components - this PR
targets Auth and Settings pages, specifically
- Auth -> Emails
- Auth -> Providers
- Settings -> API Keys
- Settings -> JWT Keys
- Settings -> Log Drains
- Settings -> Read Replica/id
The only visual change is just that navigation tabs take the full width
of the viewport now
Just need to make sure that these pages still render fine
## Context
We've got a `useUrlState` hook that was written a long time ago, which
is now deprecated and can be replaced with nuqs' `useQueryState` - so
this PR cleans that up and deletes the hook.
## To test
Just 2 surfaces in the dashboard that's affected
- Project -> Settings -> Addons
- [ ] Verify that opening/closing the addon panels toggle the panel URL
param accordingly
- Table Editor filters and sorts
- [ ] Verify that landing on the editor with `?create=table` URL param
opens the new table panel + removes the URL param
- [ ] Verify that filter and sorts still work + including refreshing the
browser should land back on the same state
- [ ] Verify that renaming a column while there's a filter/sort applied
for that column will also update the URL param
## Problem
The Laravel quickstart has drifted from what `composer create-project
laravel/laravel` generates today. Closes#53795.
- Steps 2 and 4 link to the Laravel `12.x` docs. Laravel 13 is current.
- Step 6 shows `'sslmode' => 'require'` hardcoded, but the generated
`config/database.php` has read `sslmode` from `DB_SSLMODE` since
[laravel/laravel#6727](https://github.com/laravel/laravel/pull/6727).
- Step 5 says Laravel takes `sslmode` as a config option "rather than a
URL parameter". A `?sslmode=` query on `DB_URL` works and overrides the
config value.
- The Laravel "Copy prompt" text never sets `sslmode`.
## Solution
- Link to the unversioned Laravel docs so the links follow the current
release.
- Set `DB_SSLMODE=require` in the step 5 `.env` block and show the
generated `sslmode` line unchanged in step 6. Step 6 is now a one-line
`search_path` edit.
- Remove the inaccurate sentence, and the paragraph that repeated the
`prefer` and `require` guidance already given by the
`quickstart_connection_string.mdx` partial.
- Add `DB_SSLMODE=require` to the Laravel AI prompt.
Tested on a fresh Laravel 13.43 app (PHP 8.5, Breeze 2.4.2) against
Postgres 18 with SSL on: with the revised steps, `php artisan migrate`
created all tables in the `laravel` schema, `pg_stat_ssl` showed the
connection encrypted, and register and sign in worked. I tested against
a local Postgres, not through the Supabase pooler. `prettier --check`
passes on both files. I did not run the full docs build locally.
## Review instructions
1. Open the Laravel quickstart in the docs preview.
2. Check that the two Laravel docs links in steps 2 and 4 open the
installation and authentication pages.
3. Run `composer create-project laravel/laravel example-app` and compare
the `pgsql` block in `config/database.php` with step 6. Only
`search_path` differs.
4. Click the AI prompt button and check that step 3 mentions
`DB_SSLMODE=require`.
## 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)
Checked against the style guide (voice, `WORD_LIST.md`, timeless
documentation).
Replace Circuit with Annsa and update its link to https://annsa.ai in
the State of Startups 2026 participant list. Keep the list in
alphabetical order.
I'm the founder. We took part in the survey as Circuit and have since
renamed the company to Annsa. The old address, https://withcircuit.com,
already redirects to https://annsa.ai.
## 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?
Content correction.
## What is the current behavior?
The participant list displays Circuit and links to
https://withcircuit.com.
## What is the new behavior?
The participant list displays Annsa and links to https://annsa.ai.
## Additional context
Same kind of change as #50583. It is a one-line data change in
`apps/www/data/surveys/state-of-startups-participants.ts`. Prettier
passes on the file with the repo's settings and the file type-checks.
The Vercel check for zone-www-dot-com needs a team member to authorize
the preview.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-authored-by: hallidayo <22655069+Hallidayo@users.noreply.github.com>
Co-authored-by: Nik Richers <nrichers@gmail.com>
i18n/languages.md lists Nepali twice. This removes the duplicate entry
(the one after Hungarian, out of alphabetical order), keeping the
correctly placed entry after Malay.
Co-authored-by: hallidayo <22655069+Hallidayo@users.noreply.github.com>
Co-authored-by: Nik Richers <nrichers@gmail.com>
## Problem
The light and dark connection pooling diagrams spell “serverless” as
“severless” in both client labels.
## Solution
Correct all four labels to “SERVERLESS” in the two existing PNG assets.
Preserve the original lettering, colors, layout, and 1851 × 907
dimensions.
## Self-review
Visually checked both images and compared decoded pixels against the
originals. All changed pixels are confined to the client labels; the
rest of each diagram is unchanged. `git diff --check` passes. No code or
documentation references changed, so build and unit tests were not run.
Co-authored-by: Nik Richers <nrichers@gmail.com>
## Problem
The Realtime Authorization guide creates `public.rooms_users`, but two
paragraphs call it `public.room_users`, and the six example policies on
`realtime.messages` use the bare name `rooms_users`. Someone copying
from the page sees two table names and has to guess which one is right.
## Solution
- Fix the name in the two paragraphs (`room_users` to `rooms_users`).
- Write `public.rooms_users` in the six example policies, the same name
the `create table` at the top of the page uses. Qualifying the table is
also one of the first things suggested when debugging a private-channel
policy in supabase/realtime#1111, so the examples now match that advice.
Docs only, no behavior change.
This PR was prepared with AI assistance and reviewed before opening.
Co-authored-by: Nik Richers <nrichers@gmail.com>
Closes#53584
## Problem
Two Realtime guides attach `realtime.broadcast_changes` triggers that
fire on `DELETE`:
- `apps/docs/content/guides/realtime/broadcast.mdx` —
`your_table_changes`, used by a trigger declared `AFTER INSERT OR UPDATE
OR DELETE`
- `apps/docs/content/guides/realtime/getting_started.mdx` —
`broadcast_message_changes`, used by a trigger declared `AFTER INSERT OR
UPDATE OR DELETE`
Both build the broadcast topic from the new row only:
```sql
'topic:' || NEW.id::text
'room:' || NEW.room_id::text || ':messages'
```
On `DELETE`, `NEW` is `NULL`, so the concatenation produces a `NULL`
topic. `realtime.broadcast_changes` passes that to `realtime.send`,
which inserts into `realtime.messages`. In `supabase/realtime`,
`realtime.messages.topic` is `text not null`, and `realtime.send` wraps
its insert in an exception handler that downgrades the failure to a
warning:
```sql
EXCEPTION WHEN OTHERS THEN
RAISE WARNING 'WarnSendingBroadcastMessage: %', SQLERRM;
```
So the trigger succeeds, logs only a warning, and no `DELETE` message
reaches subscribers. The sibling guide already handles this correctly:
`subscribing-to-database-changes.mdx` uses `coalesce(NEW.id, OLD.id)`.
## Fix
Use `coalesce(NEW.id, OLD.id)` in `broadcast.mdx` and
`coalesce(NEW.room_id, OLD.room_id)` in `getting_started.mdx`, matching
`subscribing-to-database-changes.mdx` so all three guides teach the same
pattern.
The `realtime.send` example in `getting_started.mdx` is unchanged
because its trigger is `AFTER INSERT` only, where `NEW` is always
present.
One caveat: `coalesce` falls back to `OLD` whenever `NEW` is null,
including an `UPDATE` that clears a nullable `room_id`. That broadcasts
to the former room, where the `CASE` form would emit a null topic and
send nothing. The example reads as if a message always belongs to a
room; for a schema where `room_id` can be cleared, use `CASE WHEN TG_OP
= 'DELETE' THEN OLD.room_id ELSE NEW.room_id END`.
## Verification
I tested the exact edited SQL blocks against
`supabase/postgres:17.6.1.143`, using the real
`realtime.broadcast_changes` and `realtime.send` definitions from
`supabase/realtime` and a `realtime.messages` table that keeps the
production `topic text not null` constraint.
Before the fix, running `INSERT`, `UPDATE`, then `DELETE` on the
`getting_started.mdx` snippet:
```text
WARNING: WarnSendingBroadcastMessage: syntax error at or near "NULL"
event | topic | op
--------+-----------------+--------
INSERT | room:7:messages | INSERT
UPDATE | room:7:messages | UPDATE
(2 rows)
```
After the fix, running insert, update body, update `room_id` to `NULL`,
move to room 9, then delete:
```text
event | topic | op | new_room | old_room
--------+-----------------+--------+----------+----------
INSERT | room:7:messages | INSERT | 7 |
UPDATE | room:7:messages | UPDATE | 7 | 7
UPDATE | room:7:messages | UPDATE | | 7
UPDATE | room:9:messages | UPDATE | 9 |
DELETE | room:9:messages | DELETE | | 9
(5 rows)
```
The `room_id` to `NULL` update follows the caveat above; `INSERT`, a
normal `UPDATE`, a room move, and `DELETE` all use the expected topic.
The `broadcast.mdx` snippet produces `INSERT`/`UPDATE`/`DELETE` messages
with `topic:<id>`.
Prettier passes on both files.
## Authorship and review
This PR is written by me. AI assisted with drafting and with setting up
the test harness, but I reviewed and audited every change myself and I
stand behind it.
## Checklist
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
---------
Co-authored-by: Nik Richers <nrichers@gmail.com>
## Problem
The User sessions guide explains what refreshing the session means, but
not who does it. Readers building browser apps can't tell whether they
need to write their own refresh logic for when the access token expires.
Related to
[FDBKIN-12783](https://linear.app/supabase/issue/FDBKIN-12783/provide-clear-documentation-and-examples-for-jwt-refresh-in-react)
Closes
[DOCS-1718](https://linear.app/supabase/issue/DOCS-1718/explain-that-supabase-js-refreshes-the-session-automatically-in-the)
## Solution
The "What is a session?" section of `/guides/auth/sessions` now says,
right after the refreshing-the-session sentence, that `supabase-js`
refreshes the session on its own (`autoRefreshToken` defaults to
`true`), so a browser app needs no refresh code. It notes that auto
refresh pauses while the tab is hidden and checks the session again when
the tab is visible. It shows a minimal `onAuthStateChange` listener for
the `TOKEN_REFRESHED` event and points to `refreshSession()` for a
forced refresh. Timing is described qualitatively, so the text stays
true if the client's intervals change.
## Checks
The facts come from `@supabase/auth-js` 2.117.3: the default
`autoRefreshToken: true` in `GoTrueClient.ts`, the visibility handling
in `_onVisibilityChanged`, and the tick and expiry-margin constants in
`lib/constants.ts`. The code block on the page, with its hidden setup
above `// ---cut---`, passes `tsc --strict` against
`@supabase/supabase-js` 2.117.3. Also ran `pnpm turbo run typecheck
--filter='...[origin/master]'`, `pnpm turbo run lint
--filter='[origin/master]'` and Prettier on the changed file, and all
passed. The reference link slugs `auth-onauthstatechange` and
`auth-refreshsession` come from
`apps/docs/spec/common-client-libs-sections.json`. A second reader
reviewed the change against the style guide.
### How to verify
1. On the preview, `/docs/guides/auth/sessions` shows the new paragraphs
under "What is a session?", directly after "This process is called
refreshing the session."
2. The note says `supabase-js` refreshes the session automatically with
`autoRefreshToken` defaulting to `true`, says auto refresh pauses while
the tab is hidden, and names `TOKEN_REFRESHED` and `refreshSession()`.
3. The code block shows only the `onAuthStateChange` listener; the
client setup is hidden.
4. The `onAuthStateChange` and `refreshSession()` links open their
JavaScript reference entries.
## Checklist
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
---------
Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
## Problem
Step 4 of "Get your connection string" in the Postgres connection guide
tells readers to put their database password in the connection string.
It doesn't say that the dashboard stops showing the password after the
project is created, or how to get a new one.
Related to
[FDBKIN-4770](https://linear.app/supabase/issue/FDBKIN-4770/improve-documentation-and-navigation-for-finding-the-database-password)
Closes
[DOCS-1717](https://linear.app/supabase/issue/DOCS-1717/say-where-to-reset-the-database-password-in-the-connection-guide)
## Solution
A new paragraph, indented under step 4 of
`/guides/database/connecting-to-postgres`, says that the dashboard
doesn't show the database password after you create the project. It
points readers to the **Reset database password** option in the Connect
dialog and to the Database Settings section (`#database-password`), and
warns that a reset breaks existing connections that use the old
password. The wording matches the quickstart connection-string partial
and the dashboard's own copy. Step 4's own text, including the
percent-encoding guidance, is unchanged, and no other section changes.
## Checks
I ran `pnpm turbo run typecheck --filter='...[origin/master]'`, `pnpm
turbo run lint --filter='[origin/master]'`, and Prettier on the changed
file. All of them pass. I checked the facts against the Studio code: the
`database-password` section and its copy in `ResetDbPassword.tsx`, and
the **Reset database password** button in the Connect sheet's connection
step. The `docs` tests were skipped because they need Docker.
On the preview, step 4 of "Get your connection string" should:
- keep its original text, with a second paragraph that stays inside step
4
- say in that paragraph that the Supabase Dashboard doesn't show the
database password after you create the project
- name **Reset database password** and say that a reset breaks existing
connections
- link Database Settings to the dashboard's database settings page, at
`#database-password`
## Checklist
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
---------
Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
## Problem
The signing keys guide explains how to verify asymmetric JWTs with the
JWKS discovery endpoint and its caches. It doesn't help readers whose
backend can't make outbound requests to that endpoint.
Related to
[FDBKIN-21659](https://linear.app/supabase/issue/FDBKIN-21659/improve-guidance-on-verifying-ecc-jwts-in-environments-with-network)
Closes
[DOCS-1716](https://linear.app/supabase/issue/DOCS-1716/explain-how-to-verify-jwts-when-the-backend-cant-reach-the-jwks)
## Solution
A note at the end of "Public key discovery and caching" on
`/guides/auth/signing-keys` explains how to copy the public keys into
the app and load them at startup. It names the two ways to get the keys:
request the discovery endpoint from a machine that can reach it, or copy
each key's key set from the dashboard. Because copied keys are a cache
that never expires, the note asks readers to copy every asymmetric key
that isn't revoked (including a previously used key, which stays trusted
after a rotation), to add a standby key before rotating to it, and to
remove a revoked key by hand. Existing text in the section is unchanged.
"Verifying a JWT from Supabase" on `/guides/auth/jwts` gets one sentence
that links to the note, right after its advice not to cache the key set
for longer, so readers who start from JWT verification find the option.
Existing text on that page is unchanged.
## How to verify
1. On the docs preview, open `/docs/guides/auth/signing-keys`.
2. The note is the last content of "Public key discovery and caching",
just before "Choosing the right signing algorithm".
3. The dashboard steps use the Studio labels **More options**, **View
key details**, and **Public key set (JSON Web Key Set format)**, and the
JWT signing keys link opens the dashboard's JWT settings.
4. The note says to add a standby key to the app before rotating to it
and to remove a revoked key by hand.
5. On the docs preview, open `/docs/guides/auth/jwts`. In "Verifying a
JWT from Supabase", the paragraph after "Make sure that you do not cache
this data for longer" links to "Public key discovery and caching", and
the link scrolls to that heading on the signing keys page.
## Checks
Ran `pnpm turbo run lint` and `pnpm turbo run typecheck` filtered to the
branch's changes, and Prettier on the changed files; all pass. UI labels
and the single-key key set were checked against
`apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/key-details-dialog.tsx`
and `signing-key-row.tsx`. Key trust across rotation was checked against
the key lifetime table on the same page. The link's anchor was checked
against the heading slug that `getAnchor` in `packages/ui` generates.
## Checklist
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
---------
Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
## Problem
The User Management guide shows a trigger that copies new users into
`public.profiles`, but it doesn't say why the function sets `search_path
= ''` and writes `public.profiles` in full. A reader who drops the
schema from a table name breaks every sign-up, and the page doesn't
connect that to the `Database error saving new user` response.
Related to
[FDBKIN-40810](https://linear.app/supabase/issue/FDBKIN-40810/document-best-practices-for-security-definer-triggers-on-authusers)
Closes
[DOCS-1715](https://linear.app/supabase/issue/DOCS-1715/explain-why-the-signup-trigger-must-schema-qualify-tables)
## Solution
A caution admonition right after the trigger example on
`/guides/auth/managing-user-data` tells readers to schema-qualify every
non-built-in name in the function, such as `public.profiles`. It
explains that the function sets `search_path = ''`, so Postgres can't
find an unqualified name, the trigger fails, and every sign-up fails
with `Database error saving new user`. The note leaves out the Auth
role's own search path, because it doesn't apply once the function sets
an empty one. For why the search path stays empty, it links to the
"Security `definer` vs `invoker`" section of the database functions
guide instead of repeating it. The SQL example and the rest of the page
are unchanged.
## How to verify
1. On the preview, open `/docs/guides/auth/managing-user-data`.
2. Right after the `handle_new_user` / `on_auth_user_created` SQL
example, a caution note says to schema-qualify names such as
`public.profiles`, says the function's `search_path = ''` is why an
unqualified name fails, and gives the `Database error saving new user`
error.
3. The note's link opens the "Security `definer` vs `invoker`" section
of `/docs/guides/database/functions`.
4. No other text on the page changed.
## Checks
Ran `pnpm turbo run typecheck --filter='...[origin/master]'`, `pnpm
turbo run lint --filter='[origin/master]'` (0 errors), and Prettier
`--check` on the changed file. The error string was checked against
`supabase/auth` `internal/api/signup.go` (`signupNewUser` returns
`Database error saving new user` when the user insert fails). The docs
tests were skipped because they need Docker. A second reader reviewed
the change against the style guide.
## Checklist
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
---------
Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
## Problem
The Firebase Auth third-party guide shows Kotlin readers how to set
`accessToken` on a supabase-kt client, but it doesn't say that the
client then can't install the Auth plugin. A reader who adds
`install(Auth)` gets an error when the client is created, and can't tell
from the page that Supabase Auth sign-in methods aren't part of this
setup.
Related to
[FDBKIN-7469](https://linear.app/supabase/issue/FDBKIN-7469/improve-documentation-for-using-firebase-jwts-with-supabase-auth)
Closes [DOCS-1713](https://linear.app/supabase/issue/DOCS-1713)
## Solution
The Kotlin (Android) and Kotlin (Multiplatform) tabs of the client setup
section on `/docs/guides/auth/third-party/firebase-auth` now each end
with the same short note: leave out the Auth plugin on a client that
sets `accessToken`. A paragraph after the tabs covers every SDK: a
client that sets `accessToken` can't use Supabase Auth methods, so users
sign in and out with Firebase Auth on that client, and a second client
without `accessToken` serves Supabase Auth when the app uses both. Each
user's requests go through the client that matches how they signed in.
The code samples and the TypeScript, Flutter, and Swift tabs are
unchanged.
## Checks
Ran `pnpm turbo run typecheck --filter='...[origin/master]'`, `pnpm
turbo run lint --filter='[origin/master]'`, and Prettier on the changed
file. All pass. The Kotlin note was checked against supabase-kt at
commit `1ea6e8e`: the Auth plugin's `init` in
`Auth/src/commonMain/kotlin/io/supabase/auth/AuthImpl.kt` (line 148)
throws when the client has a custom access token provider. The paragraph
after the tabs was checked against the `auth` accessor guards in
supabase-js (`packages/core/supabase-js/src/SupabaseClient.ts`),
supabase-flutter (`packages/supabase/lib/src/supabase_client.dart`), and
supabase-swift (`Sources/Supabase/SupabaseClient.swift`, whose doc
comment recommends a separate client without `accessToken` for Supabase
Auth). The token each client sends was checked in the same files and in
supabase-kt's `AccessToken.kt`: a client with `accessToken` sends that
token, and a client without it sends its Supabase Auth session. The
change adds no code, so there is nothing to run. Docs tests were skipped
because they need Docker.
## How to verify
1. Open `/docs/guides/auth/third-party/firebase-auth` on the docs
preview.
2. In the client setup tabs, select **Kotlin (Android)**: a note below
the code sample says to leave out the Auth plugin (`install(Auth)`) on a
client that sets `accessToken`.
3. Select **Kotlin (Multiplatform)**: the same note appears below its
code sample.
4. Below the tabs, before "Add a new Third-Party Auth integration to
your project", a paragraph says a client that sets `accessToken` can't
use Supabase Auth methods, that users sign in and out with Firebase Auth
on that client, that a second client without `accessToken` can use
Supabase Auth, and that each user's requests go through the client that
matches how they signed in. It shows whichever tab is selected.
5. The TypeScript, Flutter, and Swift tabs and all code samples match
production.
## Checklist
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
---------
Co-authored-by: supabase-vercel-tedd[bot] <336548405+supabase-vercel-tedd[bot]@users.noreply.github.com>
Co-authored-by: Alexis Aguilar <98043211+alexisintech@users.noreply.github.com>
## Problem
The docs contributor guide presents the JavaScript v2 YAML file as the
library-specific authoring example.
JavaScript v2 uses the TypeDoc reference pipeline, so that example sends
contributors to a file the active generator skips.
Fixes#51208.
## Solution
Explain the JavaScript v2 TypeDoc workflow and link to its
reference-pipeline README.
Identify SDK source comments, tracked `config.json` and partials,
downloaded TypeDoc JSON, and generated reference output as separate
parts of the workflow.
Keep the legacy YAML guidance and change its example to the Python SDK,
which still uses that pipeline.
## Review instructions
1. Read the Reference structure section in `apps/docs/CONTRIBUTING.md`.
2. Confirm that JavaScript v2 points to
`apps/docs/spec/reference/README.md` and its tracked authoring paths.
3. Confirm that the legacy section no longer points contributors to
`supabase_js_v2.yml`.
## Self-review
- This is a docs-tooling change limited to contributor instructions.
- The linked README, JavaScript v2 configuration file, and partials
directory exist in the repository.
- No generated files were edited.
- The change does not add runnable documentation snippets, so the
Docker-based docs sandbox is not applicable.
## Validation
- `pnpm exec prettier --config prettier.config.mjs --check
apps/docs/CONTRIBUTING.md` passed.
- `pnpm --filter docs lint:ratchet` passed.
- `git diff --check` passed.
## Checklist
- [x] Read the repository contribution instructions.
- [x] Read the docs authoring and review instructions.
- [x] Checked the docs terminology list.
- [x] Linked the related issue with `Fixes #51208`.
---------
Co-authored-by: Alexis Aguilar <98043211+alexisintech@users.noreply.github.com>
Publish the generated sidebar for the CLI reference. The published
command spec already matches stable CLI v3.2.0, so this PR leaves the
YAML unchanged.
The sidebar exposes five additional command pages and lists commands
alphabetically within each category, with no nested command groups. The
old `role-connections` URL permanently redirects to `role-stats`, and
the inspect guide links to the new URL.
[CLI-3176](https://linear.app/supabase/issue/CLI-3176)
## Problem
The OAuth apps consent screen does not allow users to change the
selected org. If the calling app didn't provide the org slug, we select
the first available org from the users orgs.
## Solution
Add an organization selector:
<img width="436" height="570" alt="image"
src="https://github.com/user-attachments/assets/a5579f2c-ff54-4d02-9d4a-ac75ed245719"
/>
## Review instructions
Requirements:
- have multiple orgs
- have a published app that needs projects selection and at least one
authorization already granted
- have the oauth example app ready
Tests:
- authorizing the app again on the same org it was before should
preselect the projects
- you should be able to select another org and if you do, that should
clear the selected projects and you should see only this org projects in
the options
- reselecting the initially granted org should reselect the projects it
had in the existing grant
## Problem
Rewrite apps/docs/content/guides/platform/project-transfer.mdx so
readers can answer their own transfer questions. Support sees a steady
stream of tickets on project transfers, and most of the questions aren’t
answered by the current page.
Preview:
https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer
## Solution
The guide is seven pages. The four task pages follow the [how-to guide
template](https://github.com/supabase/supabase/blob/master/apps/docs/style-guide/templates/how-to-guide.md),
applied the way #53650 applies it. The other three have no template yet,
so they follow the document types in `03-page-structure.md`.
<img width="275" height="239" alt="CleanShot 2026-11-20 at 14 32 51"
src="https://github.com/user-attachments/assets/bdbf7d39-df13-4418-a5c3-32a4ae1b9e3d"
/>
| Page | Type | What it holds |
| ------------------------------------------------ | --------------- |
---------------------------------------------------------------------------------------------------
|
| `project-transfer.mdx` | How-to | Transfer a project with the
Dashboard or the Management API, then verify it |
| `project-transfer/transfer-ownership.mdx` | How-to | Move a project to
another person's organization, or hand over the whole organization |
| `project-transfer/vercel-marketplace.mdx` | How-to | Move projects out
of an organization managed through the Vercel Marketplace |
| `project-transfer/pause-project.mdx` | How-to | Pause a project from
the Pro Plan or Team Plan by transferring it to a Free Plan organization
first |
| `project-transfer/requirements.mdx` | Reference | Every check a
transfer runs, what blocks it, and partner-managed projects |
| `project-transfer/what-changes.mdx` | Explainer | What stays the same,
downtime, billing, access and tokens, notifications, what the Free Plan
removes |
| `project-transfer/troubleshooting.mdx` | Troubleshooting | Each
Dashboard and API message with its cause and fix |
Corrections to existing claims (downtime, log drains, target
organization role, free project limit).
New content
- Requirements checklist, including SSO accounts, usage restrictions
between Free Plan organizations, and overdue invoices
- Dashboard steps and a Management API path
(/v2/projects/{ref}/transfers and /previews)
- What stays the same (data, ref, URL, keys, connection strings) and
when apps need an update
- Downtime per direction, billing, access tokens, timing, notifications,
and audit log
- What a move to the Free Plan removes, and how to pause a project from
the Pro Plan or above
- Handing a project or an organization to another person, lost access to
the Owner account
- Vercel Marketplace, AWS Marketplace, Stripe Projects, and a pointer
for Lovable backends
- Troubleshooting tables that quote each Dashboard message with its
cause and fix
- New updated screenshots
The six pages under `project-transfer/` are new, so they have no live
version.
| Site | Live | Preview | Search for |
| ---- |
--------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------------------------------------------------------------------
| ---------------------------------- |
| Docs | [Project
Transfers](https://supabase.com/docs/guides/platform/project-transfer) |
[Transfer a
project](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer)
| `Transfer a project` |
| Docs | Not on `master` | [Project transfer
requirements](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/requirements)
| `Account requirements` |
| Docs | Not on `master` | [Changes after a project
transfer](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/what-changes)
| `What stays the same` |
| Docs | Not on `master` | [Transfer project
ownership](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/transfer-ownership)
| `Hand over the whole organization` |
| Docs | Not on `master` | [Transfer a Vercel-managed
project](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/vercel-marketplace)
| `Vercel-managed organization` |
| Docs | Not on `master` | [Pause a Pro or Team Plan
project](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/pause-project)
| `Pause the project` |
| Docs | Not on `master` | [Troubleshoot a project
transfer](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer/troubleshooting)
| `Role and membership messages` |
## Review instructions
Provide a clear numbered procedure that the PR reviewer can walk
through.
**Note:** The changes were made based on all support tickets related to
project transfers; all statements were cross-checked in the code and
tested on a hosted project.
1. Please check if the structure of the pages meets docs standards.
2. Please confirm "Project transfers" is a valid title; let me know if
it should be capitalized.
3. Please confirm if the table with error messages fits into this
documentation under troubleshooting
([preview](https://docs-git-docs-project-transfer-rewrite-supabase.vercel.app/docs/guides/platform/project-transfer?queryGroups=method&method=dashboard#troubleshooting)).
Done this way so that customers can find the full message in the search.
## Checklist
Check all before review:
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
## Problem
Edge Function CPU limits in docs are described as applying per request
but this doesn't hold true for how functions have worked.
## Solution
Update CPU limits to be described as per worker.
<!--
## 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 |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| Docs |
[/docs/guides/functions/limits](https://supabase.com/docs/guides/functions/limits)
|
[/docs/guides/functions/limits](https://correct-edge-functions-limits-supabase.vercel.app/docs/guides/your-page)
| Amount of actual time spent on the CPU per worker |
-->
## 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)
## Problem
Unified Logs had saved views behind a dropdown in the toolbar. The
dropdown couldn't show more than a name per row, had no room for
grouping, and gave new projects nothing to start from — an empty list
until you built and saved a filter combination yourself.
## Solution
Moved saved views into the filter sidebar as a second level, following
the Explorer notebooks/chats pattern: a Saved views button in the
sidebar header swaps the filters out for a Views panel, with a
breadcrumb back to Logs.
Key choices:
- **`FilterSideBar` stays generic.** It takes `section`, `headerAction`
and `onReset` slots; all saved-views specifics live in `LogsViewsPanel`.
- **Presets are virtual, not seeded.** Three built-in views (Errors,
Failed requests, Database health) render from a constant with `preset:`
ids. No per-project write, so they work for read-only members and can't
be deleted into oblivion. They can be duplicated into a real saved view,
but not renamed, edited or deleted.
- **One dialog for naming.** `ViewNameDialog` backs create, rename and
duplicate.
- **Clicking a modified view opens the update prompt** instead of
re-applying it, which previously discarded unsaved filter edits with no
warning.
Also fixed two pre-existing alignment issues in the sidebar: filter
options sat 4px left of their section heading, and the User filter — a
hand-copied clone of the filter row markup — had drifted from the shared
one.
## Review instructions
1. Enable the Unified Logs feature preview and the `logsSavedViews`
flag, then open **Logs**.
2. Click the layers button in the sidebar header. The filters swap for
the Views panel, with **Preset views** above **Saved views**.
3. Click **Errors**. The filter applies and the row highlights; the
layers icon turns green.
4. Change a filter. The row reads **Modified** and the update prompt
appears. Go back to Logs and return — the prompt is still available.
5. Open the ⋮ menu on a preset: only **Duplicate** is offered. Duplicate
it and confirm it lands under Saved views with rename/delete available.
6. Click **+** in the Views header to save the current filters, then
rename and delete it.
7. Hit the reset button in the header and confirm the active view clears
along with the
filters.
## What
Storage settings showed "Reduced max upload file size limit due to spend
cap" to every Pro org with spend cap on, telling them to disable it to
get 500 GB uploads. The `storage.max_file_size` entitlement for Pro is
already 500 GB regardless of spend cap, so the banner was wrong and
confusing.
- The banner now only shows when the entitlement returns a known value
below 500 GB (it no longer relies on the 50 GB fallback). The check
lives in `isFileSizeReducedBySpendCap` with unit tests.
- When it does show, the banner states the current reduced limit (e.g.
"Max upload file size limit reduced to 5 GB due to spend cap") instead
of a generic message.
Fixes FE-5063
## Problem
The CLI reads `supabase/config.jsonc` (and `config.json`) since v3.1.0,
but every docs page still shows `config.toml` only. There's also no page
explaining the formats, how to switch, the `$schema` / `#:schema`
declaration, or editor setup, and no reference pages for the new
`supabase config convert` and `supabase config validate` commands.
Linear: CLI-2871
## Solution
- **Dual-format examples from one source.** A new directive
(`features/directives/ConfigFormats.ts`) picks up any ```` ```toml ````
fence with `name=supabase/config.toml` and renders it as
`supabase/config.toml` / `supabase/config.jsonc` tabs. The JSONC is
generated at build time with `convertCliConfigTomlToJsonc` from
`@supabase/config`, the same converter `supabase config convert` uses,
so authors only write TOML and the JSONC matches what the CLI would
produce (comments included). Inside `<$CodeTabs>` the JSONC is added as
an extra tab.
- **The format choice sticks.** `ConfigCodeTabs` keeps the selected
format in `localStorage`, so choosing JSONC switches every config
example on the page and on later pages.
- **Config reference.** The `usage` examples on
`/guides/local-development/cli/config` use the same tabs (they were
highlighted as Python before), and the intro mentions `config.jsonc`.
The `remotes.<branch_name>` example now uses `[remotes.staging]`, since
`<branch_name>` isn't a valid TOML key.
- **New guide, "Config file formats"**
(`/guides/local-development/cli/config-formats`): which file wins,
minimum CLI version, `convert` and `validate`, schema declaration and
versioning, and editor setup (VS Code trusted domains, Even Better TOML,
Tombi, SchemaStore).
- **CLI reference.** Adds `supabase-config-convert` and
`supabase-config-validate` to the CLI reference nav.
`cli_v1_commands.yaml` is the generated v3.2.0 reference, identical to
the release bot's update in #53463, so the two PRs don't conflict.
- **Content.** About 60 existing config examples across the guides,
including the Branching configuration page, are tagged
`name=supabase/config.toml`. Branching reads `config.json` and
`config.jsonc` as well, and the Branching configuration page now says
so. Non-Supabase TOML (`pyproject.toml`, `bunfig.toml`) and the v2-era
`[inbucket]` before/after snippet stay TOML-only.
- **Format-neutral prose.** Sentences that described the config as
`config.toml` now say "your config file", naming `supabase/config.toml`
and `supabase/config.jsonc` once per page. TOML section syntax in prose
(`max_frequency` under `[auth.email]`) is written as key paths
(`auth.email.max_frequency`), which read the same in both formats.
Headings that named `config.toml` keep their old anchors. Sentences
about what `supabase init` creates still say `config.toml`.
- **Markdown export for agents.**
`internals/generate-guides-markdown.ts` runs the same transform, so the
`.md` pages served to AI agents include the JSONC example after each
TOML one.
- A test converts every tagged example under `content/`, so a broken
TOML example fails tests instead of the build.
New dependencies for `apps/docs`: `@supabase/config` (^1.8.0) and
`effect` (the same `effect` version Studio pins).
`config convert` and `config validate` ship in CLI v3.2.0, which is now
stable.
## Review instructions
1. Open `/docs/guides/local-development/seeding-your-database` on the
preview. Switch an example to `supabase/config.jsonc` and check the
other examples on the page switch too.
2. Open `/docs/guides/local-development/cli/config` and check the usage
examples open on JSONC.
3. Read `/docs/guides/local-development/cli/config-formats`.
4. Open `/docs/reference/cli/supabase-config-convert` and
`/docs/reference/cli/supabase-config-validate`.
## Self-review
Ran the `review-the-docs` local self-review (content, pipeline, and
component checks) over the 54 changed pages.
- No blockers. Fixed the nits it found: leftover TOML section syntax in
prose (diff engines, declarative schemas, Branching, the common settings
table on Local and hosted projects), a few long or ungrammatical
sentences, and the conversion follow-up steps on Config file formats,
now a list.
- Links, custom anchors, nav wiring, and frontmatter check out.
- The `.md` export on the preview shows each TOML example followed by
its JSONC version.
- `test-the-docs` deferred: the changed fences are config snippets, and
`ConfigFormats.test.ts` already converts every tagged example. No
procedural steps changed apart from the `config convert` and `config
validate` commands on the new page.
## 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)
## Problem
Browser translation (e.g. Chrome Translate) and some extensions rewrite
DOM text nodes, which makes React throw `insertBefore` / `removeChild`
errors. We drop all of these via `ignoreErrors`, so we have no signal on
how often they still happen after the dynamic-text ESLint rule (#52949).
Linear:
[FE-5008](https://linear.app/supabase/issue/FE-5008/sample-sentry-events-for-browser-translation-crashes-instead-of),
from the investigation in
[FE-5013](https://linear.app/supabase/issue/FE-5013/investigate-how-we-currently-hide-browser-translation-insertremove).
## Solution
Stop ignoring these errors in Studio and send a 5% sample, tagged so
they are easy to find in Sentry.
- Move the insert/remove node messages from
`BROWSER_NOISE_IGNORE_ERRORS` into a new
`BROWSER_TRANSLATION_DOM_ERRORS` list in `packages/common/sentry.ts`.
`docs` and `www` add it to `ignoreErrors`, so their behavior is
unchanged.
- In Studio's `beforeSend`, tag matching events with
`browser_translation`, `page_translated` and `sample_rate`. The existing
`shouldDropForSampleRate` applies the rate.
- `page_translated` is best effort: it checks for the `translated-ltr` /
`translated-rtl` class on `<html>` and Google Translate `<font>`
wrappers. Firefox and Edge are less reliable, so `false` is not proof.
- `filterSentryEvent` skips its 1% non-crash sampling for tagged events.
Without this the rates would multiply and 5% would really be 0.05%.
- The generic `parentNode` / `removeChild` null reads stay ignored. They
have many unrelated causes, so tagging them as translation would
mislead.
Not in this PR:
- The `text content does not match` and hydration ignores. They are
related symptoms and should be a follow-up.
- The user-facing fallback in `InsertBeforeRemoveChildErrorHandler`.
## Review instructions
1. Check that `docs` and `www` still ignore the five DOM messages, via
`BROWSER_TRANSLATION_DOM_ERRORS` in their `instrumentation-client.ts`.
2. Run `pnpm exec vitest run lib/sentry-client-options.test.ts` from
`apps/studio`, and `pnpm exec vitest run sentry.test.ts` from
`packages/common`.
3. After merge, filter Sentry for `browser_translation:true` on the
production Studio project and compare `page_translated` true against
false.
## Before merging
Sentry also has server-side inbound filters on the production Studio
project. Someone with project access should confirm the `error-message`
filter doesn't match these messages. If it does, the sampled events will
be dropped on arrival.
## 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)
## Problem
The OAuth apps consent screen may show an empty _Already granted_
section in the permissions diff
<img width="802" height="474" alt="image"
src="https://github.com/user-attachments/assets/f49bca9e-20da-4554-83dd-98b93b752a0a"
/>
## Solution
Hide it when empty
## Review instructions
- Publish an oauth app with only the _Database Read_ permission
- Use the oauth example to authorize it
- Update the published app to add the _Database Write_ permission
- Use the oauth example to authorize it again
You shouldn't see an _Already granted_ button
## Problem
The Code configuration page (`ConfigDrift`) hard-codes `config.toml` in
its copy. The GitHub connection config endpoint (`GET
/platform/integrations/github/connections/{id}/config`) now also reads
`supabase/config.json` and `supabase/config.jsonc` and returns the file
it read in `path`, so a project with a JSON config sees wording about a
file it doesn't have.
Linear: CLI-2954
## Solution
- `useSelectedGitHubConfigDrift` returns `configFileName`, the basename
of the response's `path`.
- The drift page uses it in the column header, drift banner, decode
error title, overwrite warning and the Matching / Not tracked sections.
Where no file is known (the no-connection empty state) it says "config
file".
- `formatGitHubConfigDecodeMessage` takes the file name, falling back to
"The config file".
- The `config-toml` error source is renamed to `config-file`.
- Small copy fix in the warning: "redeploys … and overwrites changes
made here".
TOML projects see the same text as before, since `path` resolves to
`config.toml`.
## Review instructions
1. Open the Code configuration page for a project connected to a repo
with `supabase/config.toml` and confirm the copy is unchanged.
2. Repeat for a repo with only `supabase/config.jsonc` and confirm the
page names `config.jsonc` throughout.
3. `pnpm --filter studio exec vitest run
components/interfaces/ConfigDrift` covers both cases, including a JSONC
decode error.
## Checklist
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
## Problem
#51257 added Unity to the Connect panel, but the docs have no Unity
quickstart to go with it.
## Solution
New page at `quickstarts/unity.mdx`, built from `_template.mdx`. It uses
the same setup as the Connect panel: NuGetForUnity for the install and a
`SupabaseManager` script for the client.
I also added the nav entry, the `ai-prompts.data.ts` entry, and two
notes in `_template.mdx` on where Unity differs (the key goes in the
script, IL2CPP code stripping).
Tested on Unity 6.3 with the `Supabase` NuGet package 8.11.0, in the
editor and in an IL2CPP Windows build.
Not changed: the Connect link in the shared `api_settings` partial
doesn't pass `using=unity`, so it opens the default .NET variant.
## Review instructions
1. Open the docs preview at
`/docs/guides/getting-started/quickstarts/unity`.
2. Optional: follow the guide in a new Unity 6.3 project. The Console
should print `violin`, `viola` and `cello`.
## Checklist
- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
## Problem
The organization provided by its slug in the URL isn't selected unless a
project ref was also provided.
## Solution
Always select the org provided in URL
## Review instructions
- Publish an oauth app
- Use the oauth example and provide an org slug in the form
- Check the consent screen selected this org
Do check this with multiple different orgs to ensure you weren't lucky
with the org array sorting
## Problem
Three code blocks in the docs guides use the wrong language tag, so they
are highlighted and type-checked as JavaScript or TypeScript instead of
what they are:
- `guides/database/arrays.mdx`: a SQL query is tagged `js`
- `guides/database/import-data.mdx`: the `pgloader config.load` command
is tagged `jsx`
- `guides/ai/hybrid-search.mdx`: a cURL command is tagged `tsx`
The docs style guide says JavaScript and TypeScript blocks get type
hints and are formatted by Prettier, which does not apply to these
blocks.
## Solution
Retag the blocks: `sql` for the query and `bash` for the two shell
commands (`bash` is the most common shell tag in the guides).
For the SQL block I also lowercased the keywords, per the style guide's
"Prefer lowercase for SQL". Prettier's SQL plugin rewrites
`textarray[1]` to `textarray as [1]`, which is not valid Postgres, so
the block is preceded by `{/* prettier-ignore */}`, the same convention
already used in `guides/ai/engineering-for-scale.mdx` and
`guides/api/query-plans.mdx`.
Earlier PRs fixed the same kind of problem: #11870, #19033, #14856,
#11235.
## Review instructions
1. Open the diff: only the language tags change, plus the lowercase SQL
and the `prettier-ignore` comment in `arrays.mdx`.
2. Check the three pages in the preview: the SQL block in the SQL tab of
"Working with arrays", the `pgloader` step in "Import data into
Supabase", and the cURL block in "Hybrid search".
3. Run `pnpm test:prettier`. It passes for these files with the repo's
`prettier.config.mjs`.
## 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).
(Not run: this edit only changes code fence languages, and I applied the
style guide's code block rules by hand.)
Co-authored-by: Santhosh-x23 <185920429+Santhosh-x23@users.noreply.github.com>