Commit Graph
32 Commits
Author SHA1 Message Date
Miranda Limonczenko 45b5235705 docs: pass Postgres Changes eval (#54332)
Closes DOCS-1815

## Problem

The Postgres Changes page is failing. 

The reason is this:
The Postgres Changes quick start sets up the `anon` role only. A reader
who secures the table for signed-in users gets no events and no error.
The publication step and replica identity sit in separate sections, so a
reader can miss either.

I have verified that this change fixes the issue in the Eval. 

This additionally breaks out many unused Eval lines into another topic.

## Solution

- **Prepare a table:** a new section that lists the three requirements,
how to set each, and what a reader sees without it.
- **Signed-in users:** a policy that sends each user only their own
rows.
- **Filters page:** the operator reference moves to its own page.
`#available-filters` still resolves.
- **Corrections:** the publication step names `todos`, and the old
record section says what `UPDATE` and `DELETE` carry.
- **Style and structure:** imperative headings, a description, and Next
steps.

| Site | Live | Preview | Search for |
| ---- | ---- | ------- | ---------- |
| Docs |
[/docs/guides/realtime/postgres-changes](https://supabase.com/docs/guides/realtime/postgres-changes)
|
[/docs/guides/realtime/postgres-changes](https://docs-git-docs-realtime-table-requirements-supabase.vercel.app/docs/guides/realtime/postgres-changes)
| Prepare a table |
| Docs | New page |
[/docs/guides/realtime/postgres-changes-filters](https://docs-git-docs-realtime-table-requirements-supabase.vercel.app/docs/guides/realtime/postgres-changes-filters)
| Combining filters with `AND` |

## Manual testing

1. Open the preview of `/docs/guides/realtime/postgres-changes` and go
to **Prepare a table**. The table lists three requirements.
2. Open `/docs/guides/realtime/postgres-changes#receiving-old-records`.
The page lands on **Receive old records**.
3. In the sidebar, click **Postgres Changes filters**. The page lists
all 13 operators.
2026-12-01 10:26:52 -08:00
soreavisandNik Richers 8f76606683 docs(kotlin): fix outdated API names and ack wording in guides (#53282)
## Problem

Some Kotlin snippets in the guides use names supabase-kt renamed in 2.0,
so they don't compile with current supabase-kt (3.9.0). The Apple
sign-in page also asks for `gotrue-kt`, which has no 3.x release (3.0.0
replaced it with `auth-kt`). And the Kotlin tab of "Acknowledge
messages" in the Broadcast guide says `acknowledgeBroadcasts` sends
messages back to the sender, which is what `receiveOwnBroadcasts` does.

Closes #53281

## Solution

- `passwords.mdx`: `supabase.gotrue.sendRecoveryEmail` →
`supabase.auth.resetPasswordForEmail` in the PKCE flow, the same rename
#33564 made in the Implicit flow copy.
- `auth-apple.mdx`: `gotrue.signInWith(Apple)` →
`auth.signInWith(Apple)`, `install(GoTrue)` → `install(Auth)`,
`gotrue-kt` → `auth-kt`.
- `postgres-changes.mdx`: `realtime.createChannel` → `channel`, and
`connect()` + `join()` → `subscribe()`, which connects on its own. That
matches the other Kotlin snippets on the page. `connect()` still exists,
it just isn't needed here.
- `broadcast.mdx`: the Kotlin ack tab now says the servers acknowledge
each message, and that on a subscribed channel `broadcast()` doesn't
wait for or return the acknowledgment. `acknowledgeBroadcasts`
serializes to `ack` in `RealtimeJoinPayload.kt`, while `broadcast()`
returns `Unit` and the server's reply is only logged.

The renames come from supabase-kt's MIGRATION.md, and I checked each new
name against the 3.9.0 source and the Kotlin reference. `/test-the-docs`
doesn't run `kotlin` fences, so nothing was executed.

The compose-auth snippet on the Apple page has three more compile errors
that aren't renames: `result.error` (`NetworkError` only has `message`),
`scope`, which is never declared, and `fullName` on `SignInResultData`,
which only exposes `credential` on Apple targets. I left those out and
can send them separately.

## Review instructions

1. Open the Kotlin tab of each changed snippet on the preview: passwords
(PKCE flow, step 3), Apple sign-in, Postgres Changes `neq` filter,
Broadcast "Acknowledge messages".
2. Compare the names with the 2.0 and 3.0 sections of supabase-kt's
MIGRATION.md and with the Kotlin reference for `resetPasswordForEmail`,
`subscribe` and installing.

## 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: Nik Richers <nrichers@gmail.com>
2026-11-24 22:24:01 +00:00
Kody JacksonandClaude Sonnet 5.5 8d6d27ae4a docs: add cross-links in guides (getting started, platform, storage, and others) (#53561)
Adds internal cross-links to docs guides

## Testing

- Prettier passes on the changed lines.
- Docs build passes (`pnpm build --filter=docs`).
- Docs link e2e run locally against the production build for every
changed page across this PR.

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:56:46 -06:00
ec11e10d35 chore(docs) -- add in relevant crosslinks over to /kb troubleshooting pages (#52503)
## Problem

relevant cross-links missing to KB articles.

## Solution

Claude pass with an attempt to inline these where possible. Some were a
new sentence, but spot check felt like they were mostly appropriate.

## Preview links

N/A b/c too many atomic changes to help that much.

---------

Co-authored-by: Claude Haiku 5.5 <noreply@anthropic.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-10-29 10:30:15 -05:00
Miranda Limonczenko 07e69b9737 docs: fix broken anchor links (#52181)
## Problem

A full docs E2E run with the anchor check from #52174 found 58 broken
anchor links on 53 guide pages. Most point to renamed or removed
headings. Fixing them sets a baseline of zero for the IA restructure.

Closes DOCS-1516

## Solution

- Retarget each link to the section that covers it today, verified on
production.
- Add a custom id where links already use a hand-written slug, such as
`#phx_join`.
- Drop the anchor where no section fits.

## Preview links

Rows with an anchor link straight to a new custom id, which is broken on
live and works on the preview. For the rest, search the page for the
phrase to find the changed link.

| Live | Preview | Search for | Change |
| --- | --- | --- | --- |
|
[with-react](https://supabase.com/docs/guides/getting-started/tutorials/with-react)
|
[with-react](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/getting-started/tutorials/with-react)
| Row Level Security | `auth#row-level-security` →
`database/postgres/row-level-security` (20 links, 15 files) |
| [nextjs](https://supabase.com/docs/guides/auth/quickstarts/nextjs) |
[nextjs](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/quickstarts/nextjs)
| Supabase Auth docs | `auth#authentication` → `auth` |
| [astrojs](https://supabase.com/docs/guides/auth/quickstarts/astrojs) |
[astrojs](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/quickstarts/astrojs)
| Supabase Auth docs | `auth#authentication` → `auth` |
|
[custom-domains](https://supabase.com/docs/guides/platform/custom-domains)
|
[custom-domains](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/custom-domains)
| Owner or Admin permissions | `access-control#manage-team-members` →
`#manage-organization-members` |
|
[network-restrictions](https://supabase.com/docs/guides/platform/network-restrictions)
|
[network-restrictions](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/network-restrictions)
| Owner or Admin permissions | `access-control#manage-team-members` →
`#manage-organization-members` |
|
[postgres-connection-logging](https://supabase.com/docs/guides/platform/postgres-connection-logging)
|
[postgres-connection-logging](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/postgres-connection-logging)
| Owner or Admin permissions | `access-control#manage-team-members` →
`#manage-organization-members` |
|
[ssl-enforcement](https://supabase.com/docs/guides/platform/ssl-enforcement)
|
[ssl-enforcement](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/ssl-enforcement)
| Owner or Admin permissions | `access-control#manage-team-members` →
`#manage-organization-members` |
|
[with-expo-react-native-social-sign-in](https://supabase.com/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in)
|
[with-expo-react-native-social-sign-in](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in)
| copied earlier | `#get-the-api-keys` → `#get-api-details` |
|
[with-expo-react-native-social-sign-in](https://supabase.com/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in)
|
[with-expo-react-native-social-sign-in](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in)
| Apple Developer Console | `auth-apple#configuration-web` →
`#configuration-web-oauth` |
|
[with-expo-react-native-social-sign-in](https://supabase.com/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in)
|
[with-expo-react-native-social-sign-in](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/quickstarts/with-expo-react-native-social-sign-in)
| Google Sign In | Dropped `#react-native`, a non-default tab |
|
[with-flutter](https://supabase.com/docs/guides/getting-started/tutorials/with-flutter)
|
[with-flutter](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/getting-started/tutorials/with-flutter)
| copied earlier | `#get-the-api-keys` → `#get-api-details` |
|
[going-to-prod](https://supabase.com/docs/guides/ai/going-to-prod#hnsw-understanding-efconstruction--efsearch--and-m)
|
[going-to-prod](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/ai/going-to-prod#hnsw-understanding-efconstruction--efsearch--and-m)
| HNSW, understanding | Custom id matching the links from
`ai/choosing-compute-addon` |
|
[rag-with-permissions](https://supabase.com/docs/guides/ai/rag-with-permissions)
|
[rag-with-permissions](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/ai/rag-with-permissions)
| query plan analyzer |
`platform/performance#optimizing-poor-performing-queries` →
`database/query-optimization#analyze-the-query-plan` |
|
[ivf-indexes](https://supabase.com/docs/guides/ai/vector-indexes/ivf-indexes)
|
[ivf-indexes](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/ai/vector-indexes/ivf-indexes)
| Distance operators | `#distance-operators` →
`ai/vector-indexes#distance-operators` |
|
[custom-claims-and-role-based-access-control-rbac](https://supabase.com/docs/guides/api/custom-claims-and-role-based-access-control-rbac)
|
[custom-claims-and-role-based-access-control-rbac](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/api/custom-claims-and-role-based-access-control-rbac)
| local development | `auth-hooks#local-development` → `#developing` |
|
[native-mobile-deep-linking](https://supabase.com/docs/guides/auth/native-mobile-deep-linking)
|
[native-mobile-deep-linking](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/native-mobile-deep-linking)
| password reset |
`passwords#resetting-a-users-password-forgot-password` →
`#resetting-a-password` |
|
[mcp-authentication](https://supabase.com/docs/guides/auth/oauth-server/mcp-authentication)
|
[mcp-authentication](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/oauth-server/mcp-authentication)
| authorization UI | `getting-started#build-your-authorization-endpoint`
→ `#build-your-authorization-ui` |
| [passwords](https://supabase.com/docs/guides/auth/passwords) |
[passwords](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/passwords)
| implicit flow | `sessions#implicit-flow`, `sessions#pkce-flow` →
`sessions/implicit-flow`, `sessions/pkce-flow` |
| [redirect-urls](https://supabase.com/docs/guides/auth/redirect-urls) |
[redirect-urls](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/redirect-urls)
| third-party providers | Dropped the `auth-signinwithoauth` example
anchor |
| [users](https://supabase.com/docs/guides/auth/users) |
[users](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/auth/users)
| User Identity | `auth-identity-linking#the-user-identity` →
`identities#the-user-identity-object` |
|
[upgrading](https://supabase.com/docs/guides/platform/upgrading#upgrading-to-pg_graphql-160)
|
[upgrading](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/upgrading#upgrading-to-pg_graphql-160)
| Upgrading to pg_graphql | Custom id matching the link from
`database/extensions/pg_graphql` |
| [import-data](https://supabase.com/docs/guides/database/import-data) |
[import-data](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/database/import-data)
| disk management | `database-size#disk-management` → `#disk-size` |
| [multigres](https://supabase.com/docs/guides/database/multigres) |
[multigres](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/database/multigres)
| Private Alpha | Dropped the link. `getting-started/features` redirects
to `/features` |
|
[data-deletion](https://supabase.com/docs/guides/database/postgres/data-deletion)
|
[data-deletion](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/database/postgres/data-deletion)
| Check for blocked queries | `#monitoring-locks` →
`#check-for-blocked-queries` |
|
[postgres-log-config](https://supabase.com/docs/guides/database/postgres/postgres-log-config)
|
[postgres-log-config](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/database/postgres/postgres-log-config)
| Supavisor | `connecting-to-postgres#poolers` →
`pooling-and-limits#shared-pooler` and `#dedicated-pooler` |
|
[partner-catalog](https://supabase.com/docs/guides/integrations/partner-catalog)
|
[partner-catalog](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/integrations/partner-catalog)
| Project GraphQL API | `api#graphql-api-overview` → `graphql` |
|
[vercel-marketplace](https://supabase.com/docs/guides/integrations/vercel-marketplace)
|
[vercel-marketplace](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/integrations/vercel-marketplace)
| How your Vercel team maps | `#permissions` →
`#how-your-vercel-team-maps-to-supabase` |
|
[managing-config](https://supabase.com/docs/guides/local-development/managing-config)
|
[managing-config](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/local-development/managing-config)
| Managing secrets for branches |
`branching#managing-secrets-for-branches` →
`branching/configuration#managing-secrets-for-branches` |
| [reports](https://supabase.com/docs/guides/observability/reports) |
[reports](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/observability/reports)
| Query Performance Advisory | `performance#examine-query-performance` →
`#examining-query-performance` |
| [backups](https://supabase.com/docs/guides/platform/backups) |
[backups](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/backups)
| legacy logical backup | `backup-restore#backup-database-using-the-cli`
→ `#back-up-database-using-the-cli` |
|
[backups](https://supabase.com/docs/guides/platform/backups#pitr-restoration-process)
|
[backups](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/backups#pitr-restoration-process)
| Restoration process | Custom id matching the link from
`read-replicas/getting-started` |
|
[branching](https://supabase.com/docs/guides/platform/manage-your-usage/branching)
|
[branching](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/manage-your-usage/branching)
| persistent branches | `branching#persistent-branches` →
`#how-branching-works` |
|
[point-in-time-recovery](https://supabase.com/docs/guides/platform/manage-your-usage/point-in-time-recovery)
|
[point-in-time-recovery](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/manage-your-usage/point-in-time-recovery)
| backup frequency | `backups#frequency-of-backups` → `backups` |
|
[read-replicas](https://supabase.com/docs/guides/platform/read-replicas)
|
[read-replicas](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/platform/read-replicas)
| IPv4 add-on | `ipv4-address#read-replicas` →
`#read-replicas-and-ipv4-add-on` |
|
[protocol](https://supabase.com/docs/guides/realtime/protocol#access-token)
|
[protocol](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/realtime/protocol#access-token)
| access_token | Custom id matching the link from
`realtime/authorization` |
|
[postgres-changes](https://supabase.com/docs/guides/realtime/postgres-changes#negating-a-filter-not)
|
[postgres-changes](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/realtime/postgres-changes#negating-a-filter-not)
| Negating a filter | Custom id matching the existing in-page link |
|
[protocol](https://supabase.com/docs/guides/realtime/protocol#phx_join)
|
[protocol](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/realtime/protocol#phx_join)
| phx_join | Custom id matching the existing in-page link |
| [reports](https://supabase.com/docs/guides/realtime/reports) |
[reports](https://docs-git-docs-fix-broken-anchors-supabase.vercel.app/docs/guides/realtime/reports)
| Broadcast via REST API | `broadcast#broadcast-via-rest-api` →
`#broadcast-using-the-rest-api` |

<details>
<summary>The 15 files with Row Level Security links</summary>

- `_partials/quickstart_intro.mdx`, used by the framework tutorials
- `auth/phone-login`
- `auth/quickstarts/with-expo-react-native-social-sign-in`
- `database/postgres/column-level-security`
- `getting-started/tutorials/`: `with-flutter`, `with-ionic-angular`,
`with-ionic-react`, `with-ionic-vue`, `with-kotlin`, `with-nuxt-3`,
`with-redwoodjs`, `with-solidjs`, `with-svelte`, `with-swift`,
`with-vue-3`

</details>

## Review instructions

1. Open a few live and preview links side by side, and click the changed
link on each to confirm the preview lands on the right section.
2. From a checkout of `docs/e2e-anchor-links`, run the anchor check
against the preview with the changed pages, as described in
`e2e/docs/README.md`:
`DOCS_E2E_PAGE_PATHS=<changed /docs/... paths>
PLAYWRIGHT_BASE_URL=https://docs-git-docs-fix-broken-anchors-supabase.vercel.app
pnpm exec playwright test --grep-invert @a11y`
3. Confirm the anchor check reports no failures.

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-10-23 12:24:57 -07:00
Kody JacksonandCodesmith 2d7e5f57ed chore(docs / www) - update video links to latest DevRel videos where applicable (#51606)
## Problem

Several outdated (or missing) video references across docs and www apps.

## Solution

Updates these links (and adds where appropriate) to link out to the
newer series on Supabase by @dshukertjr and individual videos by
@dijonmusters

## Preview links


[docs](https://docs-git-kody-devrel-708-update-video-links-supabase.vercel.app/docs)

[www](https://zone-www-dot-com-git-kody-devrel-708-update-vid-8e2d6a-supabase.vercel.app/)

## Review instructions

For marketing folks specifically, sanity check on the
[changes](https://github.com/supabase/supabase/pull/51606/changes#diff-1fb413a22e16c9b7b200e47aa9661c8be240a52a06276ed04c450e3d92c9a12a)
to the features.tsx file, which render to:



Page | Before (live) | After (preview)
-- | -- | --
vector-database | https://supabase.com/features/vector-database |
https://zone-www-dot-com-git-kody-devrel-708-update-vid-8e2d6a-supabase.vercel.app/features/vector-database
realtime-postgres-changes |
https://supabase.com/features/realtime-postgres-changes |
https://zone-www-dot-com-git-kody-devrel-708-update-vid-8e2d6a-supabase.vercel.app/features/realtime-postgres-changes
realtime-broadcast | https://supabase.com/features/realtime-broadcast |
https://zone-www-dot-com-git-kody-devrel-708-update-vid-8e2d6a-supabase.vercel.app/features/realtime-broadcast
realtime-presence | https://supabase.com/features/realtime-presence |
https://zone-www-dot-com-git-kody-devrel-708-update-vid-8e2d6a-supabase.vercel.app/features/realtime-presence
deno-edge-functions | https://supabase.com/features/deno-edge-functions
|
https://zone-www-dot-com-git-kody-devrel-708-update-vid-8e2d6a-supabase.vercel.app/features/deno-edge-functions
cli | https://supabase.com/features/cli |
https://zone-www-dot-com-git-kody-devrel-708-update-vid-8e2d6a-supabase.vercel.app/features/cli
role-based-access-control |
https://supabase.com/features/role-based-access-control |
https://zone-www-dot-com-git-kody-devrel-708-update-vid-8e2d6a-supabase.vercel.app/features/role-based-access-control

---------

Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
2026-10-14 08:27:19 -05:00
Eduardo Gurgel 66a4a0b32d fix(docs): realtime deletes can be surfaced and filtered (#48785) 2026-08-07 10:00:53 +12:00
Filipe CabaçoandAli Waseem 4a9b5a538b chore: update pg changes to add python to the code blocks (#47793)
## 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 code blocks for Python and new pg changes features

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

## Summary by CodeRabbit

* **Documentation**
* Updated Python code examples for Realtime Postgres Changes to use
cleaner, working subscription syntax.
* Fixed a missing comma in a multi-change example so the sample code is
valid.
  * Added a missing Python example for selecting specific columns.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Ali Waseem <waseema393@gmail.com>
2026-08-04 10:26:26 -06:00
Guillaume Faas 94bc3f8d07 docs(csharp): add C# snippets (#48537)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Documentation**
* Added C# examples across API, authentication, database, Realtime, and
Storage guides.
* Expanded authentication coverage for passwordless, phone, anonymous,
identity linking, SSO, sign-out, and social login providers.
* Added database examples for queries, functions, joins, JSON, arrays,
search, PostGIS, and custom schemas.
* Added Realtime examples for broadcasts, presence, subscriptions, and
database changes.
* Added Storage examples for buckets, uploads, downloads,
transformations, CDN purging, and resumable transfers.
  * Included C# error-handling guidance and relevant reference links.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-08-03 13:13:55 +02:00
Miranda Limonczenko 0d465e7b5f chore(ui): Remove 'tip' from Admonition (#48419)
Closes FE-3966

## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## Problem

- The admonition uses both 'tip' and 'note', but the visual distinction
has long-ago collapsed.
- 'Note' is used far more frequently than 'tip'
- The two are very similar and it is confusing to know which one to use
when they are visually identical

## Solution

Collapse 'tip' and 'note' into one by removing all places where there is
'tip' and updating all references to 'tip' into 'note'.

**Note:** This PR also resolves new broken links flagged by the E2E docs
checker. It may move to another PR since E2Es keep erroring.

### Specific changes

See below for an AI-generated list of changes:

- **Type system** — removed `'tip'` from `AdmonitionType`, its
`TYPE_TO_VARIANT`/`TYPE_LABEL` entries, and the test case in
[`packages/ui-patterns/src/Admonition/](packages/ui-patterns/src/Admonition/)
- **Remark plugin** —
[remarkAdmonition.ts](apps/docs/lib/mdx/plugins/remarkAdmonition.ts) now
maps mkdocs `tip` → `note`
- **Lint allowlist** — `tip` dropped from `supa-mdx-lint.config.toml`
- **Content migration** — all 109 files with `type="tip"` (across
`apps/docs`, `apps/www`, `apps/studio`) converted to `type="note"`; zero
remaining hits confirmed by repo-wide grep
- **Style guide** — `CONTRIBUTING.md` and `contributing/content.mdx`
updated to describe 4 admonition types instead of 5

### Usage before implementation

See the usage table that points toward 'note' as being dominant across
all apps:

Here's the usage table:

| Location | `note` | `tip` |
|---|---|---|
| apps/docs | ~480 | ~143 |
| apps/studio | 34 | 6 |
| apps/www (blog) | 19 | 3 |
| packages/ui-patterns (tests) | 3 | 1 (parametrized) |
| design-system / ui-library / packages/ui / packages/common | 0–1 (test
fixture only) | 0 |

## Preview links


| App | Page | Search text (Ctrl+F) | Verify |
|---|---|---|---|
| docs |
[/docs/guides/ai-tools/byo-mcp](https://docs-git-admonition-collapse-note-tip-supabase.vercel.app/docs/guides/ai-tools/byo-mcp)
| official MCP TypeScript SDK | callout's aria-label="Note" |
| docs |
[/docs/guides/ai-tools/mcp](https://docs-git-admonition-collapse-note-tip-supabase.vercel.app/docs/guides/ai-tools/mcp)
| MCP server is available at | callout's aria-label="Note" |
| docs |
[/docs/guides/ai/python-clients](https://docs-git-admonition-collapse-note-tip-supabase.vercel.app/docs/guides/ai/python-clients)
| Click Connect at the top of any project page | callout's
aria-label="Note" |
| docs |
[/docs/guides/auth/audit-logs](https://docs-git-admonition-collapse-note-tip-supabase.vercel.app/docs/guides/auth/audit-logs)
| Disabling Postgres storage reduces your database storage costs |
callout's aria-label="Note" |
| docs |
[/docs/guides/database/tables](https://docs-git-admonition-collapse-note-tip-supabase.vercel.app/docs/guides/database/tables)
| access a custom schema through the Supabase Data API | callout's
aria-label="Note" |
| docs |
[/docs/guides/troubleshooting/edge-function-404-error-response](https://docs-git-admonition-collapse-note-tip-supabase.vercel.app/docs/guides/troubleshooting/edge-function-404-error-response)
| Always configure an appropriate time frame | callout's
aria-label="Note" (was single-quoted type='tip') |
| www | [blog:
cli-v2-config-as-code](https://zone-www-dot-com-git-admonition-collapse-note-tip-supabase.vercel.app/blog/cli-v2-config-as-code)
| Detecting config drift | callout's aria-label="Note" |
| www | [blog:
cli-v2-config-as-code](https://zone-www-dot-com-git-admonition-collapse-note-tip-supabase.vercel.app/blog/cli-v2-config-as-code)
| Setting Edge Function secrets | callout's aria-label="Note" |
| www | [blog:
nosql-mongodb-compatibility-with-ferretdb-and-flydotio](https://zone-www-dot-com-git-admonition-collapse-note-tip-supabase.vercel.app/blog/nosql-mongodb-compatibility-with-ferretdb-and-flydotio)
| If your network supports IPv6 connections | callout's
aria-label="Note" |

Note: the `www` rows use the `zone-www-dot-com` preview host, not the
`docs` one you gave — since blog pages are served from the www app, not
docs.


## Manual testing

1. Open preview links for affected pages.
2. Inspect. Open console.
3. Paste the following in and see there is no 'Tip' on the page:
```
document.querySelectorAll('[role="alert"]').forEach(el => console.log(el.getAttribute('aria-label'), el.textContent.slice(0,60)))
```



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

* **Documentation**
* Standardized informational callouts across docs and tutorials from
**“Tip”** to **“Note”**, updating multiple examples and guidance blocks.
* Updated a few related doc references/links and conditional “Next
steps” content.
* **UI Updates**
* Switched various in-app banners and notices to the **“Note”** style
variant.
* **Bug Fixes / Improvements**
* Removed support for the retired **“Tip”** callout type and aligned
docs linting, component behavior, and aria labeling to the remaining
admonition types.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-07-29 09:26:50 -07:00
Filipe Cabaçoandgithub-actions[bot] 0a9a0eec92 chore: update pg changes documentation (#47593)
## 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?

update pg changes documentation

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

* **Documentation**
* Updated the Realtime Postgres Changes guide with a new, generalized
“Listening to specific events” section (including INSERT/UPDATE/DELETE/*
examples) and standardized `event` usage.
* Refreshed “Available filters” with a unified filter builder approach,
expanded operator reference, consistent Filter-string/tab patterns,
`not.` and `AND` guidance, and clearer limitations (including
delete-event filtering).
* Updated “Selecting specific columns” examples to match the latest
payload/subscription guidance.
* **Refactor**
* Simplified the Realtime limits estimator by removing filter-based
throughput inputs and related UI/table columns; throughput is now based
on compute add-on, RLS, and concurrency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-06 10:34:28 +01:00
0aa7b4965f chore(docs) Remove instances of let's to resolve mdx lint warnings (#47013)
Contributes to DOCS-1052

Contributes to DOCS-1057

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

Resolves linting warning for "let's" and adds an exception for product
name.

## Tophatting

1. Read the diff and see if changes make sense in context.
2. Run `pnpm lint:mdx`, search for "let's" and see no instances. 


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

* **Documentation**
* Updated instructional copy across multiple AI, authentication,
database, functions, realtime, storage, and troubleshooting guides to
improve clarity and consistency.
* Replaced conversational phrasing (for example, “Let’s…/Let’s see…”)
with direct imperatives, tightened example lead-ins, and adjusted a few
step explanations for readability.
* Refreshed some tutorial text and code-sample presentation in guides
(no behavioral changes).
  * Added/adjusted minor MDX lint guidance in a couple of documents.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nik Richers <nrichers@gmail.com>
2026-06-17 11:24:59 -07:00
Chris ChinchillaandCopilot 0e736457c8 docs: update docs to reflect new permission models for data api (#45288)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

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

* **Documentation**
* Instructed granting least-privilege table permissions for anon,
authenticated, and service roles prior to enabling Row Level Security
across multiple guides and quickstarts.
* Clarified SQL examples and inline comments, added explicit GRANT steps
and RLS SELECT policies, rephrased policy guidance, and adjusted example
ordering and section numbering for clearer setup and testing.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-29 06:54:49 +00:00
b847c8dd69 docs: Key updates for realtime (#45130)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

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

* **Documentation**
* Rewrote realtime guides to recommend new publishable and secret API
keys instead of legacy key guidance.
* Updated code examples (TypeScript, Flutter, Swift, Python, Dart) to
use publishable key naming.
* Simplified REST examples by removing the service-role Authorization
header and standardizing the apikey header to use a secret key.
* Improved Dashboard/API Keys navigation links and added connect dialog
query parameters.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: fadymak <dev@fadymak.com>
Co-authored-by: fadymak <fady@fadymak.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-27 11:20:50 +02:00
fadymak 0939174a92 feat(docs): use publishable keys instead of anon keys in Auth guides (#44851)
With the upcoming deprecation of the anonymous and service role keys,
this PR updates the Auth guides to use the publishable key instead of
the soon-to-be-deprecated anonymous key.

It also standardizes the example strings to be:
`'https://your-project-id.supabase.co'` and `'sb_publishable_...'` for
consistency.

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

* **Documentation**
* Standardized client initialization examples to use a consistent
publishable-key placeholder (`sb_publishable_...`) and full project URL
format.
* Replaced "anon key" wording with "publishable key" across auth and API
guides and examples.
* Minor formatting and import-order/whitespace improvements in code
samples for clarity and consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-04-15 14:13:23 +02:00
CharisandChris Chinchilla 47705a8968 chore: replace all supabase urls with relative urls (#38537)
* fix: rewrite relative URLs when syncing to GitHub discussion

Relative URLs back to supabse.com won't work in GitHub discussions, so
rewrite them back to absolute URLs starting with https://supabase.com

* fix: replace all supabase urls with relative urls

* chore: add linting for relative urls

* chore: bump linter version

* Prettier

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-09-09 12:54:33 +00:00
Chris ChinchillaandCharis Lam 6821c07811 docs: feature toggle tests (#38282)
* Docs feature toggle tests

* Prettier

* Types fix

* Hide unsupported languages

* Fix import

* Add unsupported code warning

* Further SDK toggling

* Temp intro text

* Auth toggles

* clean up conditional visibility code

* fix: typecheck, tests, tiny bug

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-09-04 16:46:08 +02:00
Stojan DimitrovskiandChris Chinchilla 93ba2a312c docs: indicate publishable key instead of anon in many examples (#37411)
* docs: indicate publishable key instead of anon in many examples

* replace your-anon-key to string indicating publishable or anon

* fix your_...

* apply suggestion from @ChrisChinchilla

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>

* Update keys in code examples

* Prettier fix

* Update apps/docs/content/guides/functions/schedule-functions.mdx

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-18 13:47:48 +02:00
Charis db38e8ca63 docs(postgres changes): add sql method for adding tables (#37877) 2025-08-13 11:37:24 -04:00
Srinivas A 47019c7f01 docs: fix typo and improve clarity in realtime/postgres-changes.mdx (#37229)
Update postgres-changes.mdx
2025-07-18 14:41:13 +00:00
Charis 258bc37919 docs: add type hints (#34678) 2025-04-08 13:25:46 -04:00
Guilherme Souza da7facdfc1 chore(docs): update Swift Realtime filter to use new filter type (#33748) 2025-02-21 19:22:41 -03:00
Charis a820c56ed0 chore: docs linting (#33574) 2025-02-21 14:13:00 -05:00
Charis 2d55512553 chore: activate spelling and admonitions lints for docs (#33292) 2025-02-04 13:18:31 -05:00
Charis d69902da94 chore(docs): lint all sections with linter v2 (#31110)
lint(docs): heading capitalization
2024-12-16 14:33:25 -05:00
Guilherme Souza f2ab50ea45 docs(python): add reference docs for python realtime (#28680)
* docs(python): add reference docs for python realtime

* python realtime guides

* remove $ref
2024-08-16 06:56:51 -03:00
Tyler 7891f9a569 docs: Update Realtime guide to use supabase instead of client for variable names for Supabase client. (#28056)
docs: Update  to Supabase CLI 1.163.2

Usage:
  supabase [command]

Quick Start:
  bootstrap            Bootstrap a Supabase project from a starter template

Local Development:
  db                   Manage Postgres databases
  gen                  Run code generation tools
  init                 Initialize a local project
  inspect              Tools to inspect your Supabase project
  link                 Link to a Supabase project
  login                Authenticate using an access token
  logout               Log out and delete access tokens locally
  migration            Manage database migration scripts
  start                Start containers for Supabase local development
  status               Show status of local Supabase containers
  stop                 Stop all local Supabase containers
  test                 Run tests on local Supabase containers
  unlink               Unlink a Supabase project

Management APIs:
  branches             Manage Supabase preview branches
  domains              Manage custom domain names for Supabase projects
  encryption           Manage encryption keys of Supabase projects
  functions            Manage Supabase Edge functions
  network-bans         Manage network bans
  network-restrictions Manage network restrictions
  orgs                 Manage Supabase organizations
  postgres-config      Manage Postgres database config
  projects             Manage Supabase projects
  secrets              Manage Supabase secrets
  services             Show versions of all Supabase services
  snippets             Manage Supabase SQL snippets
  ssl-enforcement      Manage SSL enforcement configuration
  sso                  Manage Single Sign-On (SSO) authentication for projects
  storage              Manage Supabase Storage objects
  vanity-subdomains    Manage vanity subdomains for Supabase projects

Additional Commands:
  completion           Generate the autocompletion script for the specified shell
  help                 Help about any command

Flags:
      --create-ticket                     create a support ticket for any CLI error
      --debug                             output debug logs to stderr
      --dns-resolver [ native | https ]   lookup domain names using the specified resolver (default native)
      --experimental                      enable experimental features
  -h, --help                              help for supabase
  -v, --version                           version for supabase
      --workdir string                    path to a Supabase project directory

Use "supabase [command] --help" for more information about a command. for realtime guides
2024-07-19 14:34:13 +09:00
ec86bbc4fe feat: new auth ia (#22812)
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2024-05-07 20:15:06 +00:00
Jonathan Summers-MuirandIvan Vasilov c59141f83c chore: Reorder database links (#22835)
* chore: move column priv

* update docs

* Minor fixes for column privileges. Add an explanation alert.

* Add a right icon to productMenuItem component.

* Rename the database replication into publications.

* Change the order for the database menu.

* Fix various links to db publications.

* Remove duplicate entry.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-04-18 09:38:24 -02:30
Guilherme Souza 6006619c2a chore(docs): add Swift guides (#22625)
* chore(docs): add Swift guides

* chore(docs): add Swift guides for postgres changes

* chore: fix link identity swift method

* chore(docs): add Swift guides for realtime and storage

* chore: run npm run format

* chore(docs): add Swift example for passing params to `rpc` function
2024-04-10 10:57:27 -04:00
Filipe Cabaço d62eadd630 fix: Add limitation to Postgres Changes docs regarding Delete events ignoring filtering (#21412) 2024-02-22 15:57:37 +00:00
Charis 42723d8232 refactor: move ai, realtime, functions, remaining auth docs to content directory (#21259) 2024-02-14 17:39:05 +00:00