Commit Graph
6304 Commits
Author SHA1 Message Date
Andrew Smith 298bcc535c docs(python): add params to the update_user method (#36871) 2025-07-10 15:06:34 +00:00
Lydia HallieandCharis a26c01217d Update Edge Functions docs (#36798)
* Update Environment Variables docs

* Update Dependencies docs

* Add Function Configuration d ocs

* Add custom Configuration section in Navigation

* Add Error Handling section

* Add new HTTP Methods section

* Update Deno 2 Guide

* Update nav

* Rm deno2 nav

* Update Deploy section

* Update CI/CD section

* Update Logging

* Update Testing

* Update Local Debugging

* Update Troubleshooting

* Update Nav

* Update CLI Quickstart

* Update Dashboard Quickstart

* Update Development Environment

* Update Nav

* Fix links

* Update apps/docs/content/guides/functions/quickstart-dashboard.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/functions/development-environment.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/functions/development-environment.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/functions/quickstart.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Use $CodeSample for multi-root example

* Use tocVideo instead of video embed

* Rm typo

* Switch Quickstart ordering

* Rephrase Docker requirement for deployment

* Add Project Structure section

* style: fix docs lint issues

* Update Regional Invocations

* Update Error Handing

* Fix linting

* Fixes

* Remove duplicate sections

* Update Auth integration

* Update Storage

* Update Database/Postgres

* Update Nav

* Update Background Tasks

* Update Ephemeral Storage

* Update Websockets

* Update Routing

* Update wasm

* Update AI models

* Fix linting issues

* Update apps/docs/content/guides/functions/ai-models.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/functions/ai-models.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/functions/ai-models.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/functions/storage-caching.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/functions/websockets.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/functions/websockets.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/docs/content/guides/functions/ai-models.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Rm unnecessary lines

* Rm wrong example

* Fix typo

* Rm deno2

* Move CICD to deployment and rename routing

* Fix whitespace

* rm unnecessary spelling

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-07-10 14:18:01 +00:00
Beng Eu 6504a8460f chore: enable prettier cache, speeds up subsequent runs ~6.5x (#37005) 2025-07-10 20:32:12 +08:00
Eric KharitonashviliandPamela Chia 80fc25ea01 Shared Responsibility Remove OpenAI Section (#36996)
* remove OpenAI sharing data from shared responsibility model as we use bedrock now.

* Update shared-responsibility-model.mdx

---------

Co-authored-by: Pamela Chia <pamelachiamayyee@gmail.com>
2025-07-10 20:12:48 +08:00
Tomas PozoandCharis Lam ec1c534013 New GuideTemplate with composable components (#36893)
* Add db wrappers open in dashboard cta

* Restore getLatestRelease return to null

* Add guide template components with flexible content positioning

* Add Guide components with composition pattern

* Remove default branch on tag value

* Add GuideTemplate component and do some clean up

* Restore original GuideTemplate

* Clean up code and unused props

* Remove displayName

* Remove unwanted export

* Refactor EditLink to its own helper file

* Apply several fixes

* Fix underline on cta button

* Remove default main tag

* More descriptive button cta label

* fix(docs): add iceberg_wrapper dashboard integration

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-07-09 16:42:54 +00:00
Bo LuandCharis Lam 6e84bd1d72 docs: add Iceberg and DuckDB FDW docs (#36965)
* docs: add Apache Iceberg FDW docs

* docs: add DuckDB FDW docs

* fix(tests): fix docs tests erroring in CI

GitHub Auth was enabled in our supabase config.toml, which causes the supabase startup to try finding GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET in env. We don't actually need these for tests, so we can just mock them.

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-07-09 11:00:54 -04:00
Greg Richardson f1c3e7f502 docs: mcp security best practices (#36966)
* docs: mcp security best practices

* fix: docs lint
2025-07-09 03:31:56 +00:00
Stephen Morgan 8756deb3b1 chore: external svg scripts (#36905) 2025-07-09 14:21:15 +12:00
Eric Tucker 56211b5d80 Update monthly-active-users-sso.mdx (#36082)
* Update monthly-active-users-sso.mdx

Fix formatting in docs

* Fix formatting monthly-active-users-sso.mdx

* format
2025-07-08 21:37:11 +00:00
Sean Oliver 3d699e7517 add Sean Oliver to humans.txt as part of onboarding (#36964)
docs: add Sean Oliver to humans.txt as part of onboarding
2025-07-08 17:23:15 -04:00
Stojan Dimitrovski a19769440e feat: update docs, ui-library to use supabase.auth.getClaims() (#36933) 2025-07-08 19:11:57 +02:00
Francesco Sansalvadore 2afa8ba4f6 lw15 ticketing (#36916)
lw15 ticketing site
2025-07-08 17:43:04 +02:00
Danny White 8708effddb add Danny White to humans.txt (#36911)
Update humans.txt

Add myself to humans.txt!
2025-07-07 07:03:58 +00:00
Charis 677e6a8b08 o11y(docs): more descriptive errors (#36892)
Provide more descriptive error messages when fetching a collection fails
so it's easier to debug in Sentry
2025-07-04 20:44:16 +00:00
Charis f107437ae0 docs(realtime error codes) (#36891)
Convert realtime error codes to the new format. This makes them available
through the shared ErrorCode component and via the Content API.
2025-07-04 16:07:58 -04:00
Charis a3c77cd060 fix(docs): feedback form note (#36835)
We've noticed some support-like requests being submitted through the feedback
form, so adding a note that that feedback form is not for technical
support.
2025-07-04 11:43:11 -04:00
Chemsdine 9ec32d68df Changed -an List- to -a List- (#36856)
* Changed -an List- to -a List-

* Changed an List to an array
2025-07-04 15:19:29 +00:00
d3ffbe0999 [bot] fix lint errors (#36872)
* [bot] fix lint errors

* Update apps/docs/content/guides/auth/auth-hooks/before-user-created-hook.mdx

---------

Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-07-04 15:18:16 +00:00
Supun Sudaraka d3ef8bf2b8 docs: update auth email template variables (#36865)
* updated the auth email templates doc with .Email and .NewEmail template variables

* fixed a minor detail on the variable description text

* fixed a typo
2025-07-04 07:16:28 +05:30
Victor f5287860c0 doc typo nextjs.config.js -> next.config.js (#36869)
Update image-transformations.mdx

`nextjs.config.js` isn't a thing but `next.config.js` is
2025-07-03 19:24:18 +00:00
CharisandTerry Sutton 801c2c7ca1 fix(docs): studio feature stages update (#36864)
* fix(docs): studio feature stages update

* Add auth hooks

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2025-07-03 16:52:36 +00:00
Charis e2fecc0f5d chore(docs linter): bump version (#36715)
* chore(docs linter): bump version

* style: format
2025-07-03 14:46:29 +00:00
Magnuti f6a8e36bf8 docs: fix documentation for seed file (#36805)
Fix documentation for seed file
2025-07-02 23:28:18 +00:00
Copple b8193041ea chore: update cli reference doc (#36790) 2025-07-02 19:18:40 -04:00
Burke Holland 84c4bbb32e Update installation links for VS Code and VS Code Insiders in MCP guide (#36812)
* fix: update installation links for VS Code and VS Code Insiders in MCP guide

* Add insiders quality param
2025-07-02 23:11:23 +00:00
Chris StocktonandChris Stockton 8a4bca34a7 feat: add documentation and UI integration for Before User Created hook (#36567)
* feat: add documentation and UI integration for Before User Created hook

- Added new guide: `before-user-created-hook.mdx`, documenting usage, inputs,
  outputs, and multiple complete examples for HTTP and SQL.
- Updated navigation menu and hook index table to include the new hook.
- Hook is now listed as available on Free and Pro plans.

Studio changes:
- Registered `Before User Created` hook in `hooks.constants.ts` with proper
  title, slug, and configuration keys.
- Enabled Docs button linking to hook guide in both `CreateHookSheet` and `HookCard` components.
- Extended hook listing page to support docs access via `secondaryActions`.

This hook allows developers to intercept and reject user creation across all
flows (email/password, OAuth, SSO, SAML, anonymous) - enabling custom signup
logic like domain allowlists, geofencing, or account gating.

* fix: add subnet to mdx lint allowed list

* fix: incorporate feedback and spelling changes

* feat: add allow/deny domain and CIDR examples to before-user-created hook

This commit enhances the documentation for the before-user-created auth hook:
- Adds production-ready SQL examples for blocking or allowing signups by email domain (signup_email_domains) and IP address or CIDR (signup_networks)
- Introduces enum-based classification (allow vs deny) for both domain and network restrictions
- Adds full migration-style snippets for easy copy/paste into Supabase SQL Editor
- Includes updated HTTP examples that delegate to Postgres functions via Supabase client rpc()
- Adds environment setup guidance and edge function scaffolding

* fix: pnpm format

---------

Co-authored-by: Chris Stockton <chris.stockton@supabase.io>
2025-07-02 14:54:07 -07:00
Tilman Vogel 121f1314a5 backup-restore.mdx: Fix storage migration (#36842)
The specification of the `storage` schema seems to have been outdated.
2025-07-02 21:18:21 +00:00
Lakshan Perera 66c6ca89db chore: update regional invocations guide (#36843) 2025-07-02 21:15:56 +00:00
hallidayo bf9a779868 docs: pgjwt admonition (#36615)
pgjwt admonition
2025-07-02 19:23:33 +00:00
hallidayoandCharis Lam 39c27103d9 docs: svelte kit quickstart update (#35265)
* svelte kit quickstart update

* fix environment variable naming

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-07-02 15:07:09 -04:00
Connor Molz feb5a57b32 Update with-ionic-react.mdx to run in current verison (#36833)
* Update with-ionic-react.mdx to run in current verison

* fix prettier test failing
2025-07-02 16:32:55 +00:00
bn-nz e2f6f72ce9 add Brent Newson to humans.txt (#36815) 2025-07-02 11:38:07 +12:00
Stephen MorganandCharis 972b4775d1 docs: privatelink feature (#36760)
* docs: privatelink feature

* chore linting fixes

* chore additional linting fixes

* Update apps/docs/content/guides/platform/privatelink.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-07-02 11:11:10 +12:00
Ivan VasilovandAlaister Young 37e44bec9c feat: Add GTM (#35567)
* Add third-parties dependency for GTM. Reexport the GTM from the common package.

* Add the TelemetryTagManager to four of the production apps.

* Add the GOOGLE_TAG_MANAGER_ID env var as a turbo dependency to the 4 apps.

* Skip rendering the tag manager if the env var is not set or not running on the platform.

* Fix the prop type to be extracted from the component.

* Add default values for consent to GTM.

* Another try to mimic gtag function.

* Fix a link in www.

* Try another approach.

* try.

* Remove the data-redaction flag.

* Remove extra code.

* Send a sign-up event if GTM is enabled.

* Send only the email to GTM.

* Minor fixes.

* Remove third-parties from pnpm lockfile.

* Lets try to make studio work again.

* Add CSP rules for img loading for GTM.

* Add event for testing.

* Add www.googletagmanager.com to the CSP rules.

* Add Stape to CSP rules.

* Fix stape CSP.

* Clean up the code.

* Remove extra console.log.

* Fix the stape urls for CORS.

* Fix the wrong category for Stape URL.

* Add google ads urls.

* Bump the timeout.

* Add google.com to the img-src for google ads.

* update csp

* remove comment

* update to use google analytics without signals

* add stape to default-src in csp

* move csp to middleware

* add google ads support and fix middleware base path

* remove google tag manager / google ads references from csp. load via stape proxy instead

* add double click url to image src

* add Google Tag Manager URL to CSP configuration

* add ga4 urls to csp

* remove google urls from CSP

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2025-06-30 10:35:47 +00:00
Aman Pal 699d53e087 docs: update documentation for issue #36705 (#36716) 2025-06-27 18:50:50 +00:00
Andrew Valleteauandgithub-actions[bot] 833eaee716 chore(docs): add link to dotenvx management detail (#36709)
* chore(docs): add link to dotenvx management detail

* Update apps/docs/content/guides/local-development/managing-config.mdx

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-27 20:42:38 +02:00
Andrew Valleteau 226673c12e chore(docs): make clearer link between template and actual email (#36712) 2025-06-27 20:42:18 +02:00
Han Qiao a7d5ed0957 docs: simplify declarative schema usage example (#36698) 2025-06-27 00:44:18 +08:00
skelbon 1e983eb6cf docs(auth) - typo correction (#36701)
Fix wording inconsistency between countries and colors example
2025-06-26 16:26:56 +00:00
Gaurav Deep 6d728885d3 docs: fix RPC example for parameterless calls by adding undefined (#36714)
docs: fix RPC example when using options for parameterless call (#36713)
2025-06-26 16:21:20 +00:00
Charis 5cb2ce10b9 docs(feature stages): update feature matrix with current feature stages (#36671)
* docs(feature stages): update feature matrix with current feature stages

* docs(feature matrix): add third-party auth

* style: format
2025-06-26 13:48:54 +00:00
Charis a62ae515b1 docs: add instructions for using management api as alternative to dashboard ui (#36676) 2025-06-26 09:10:10 -04:00
Han Qiao 94036ceaa0 chore: adjust branching price comms (#36685) 2025-06-26 05:09:53 +00:00
Vangmay SachanandCharis d2b9eee9e9 Wrote docs for JWT Field (#36578)
* Wrote docs

* Update apps/docs/content/guides/auth/jwt-fields.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-06-25 16:30:05 +00:00
f97228be94 Add Amp to MCP getting started page (#36647)
* Add Amp to MCP getting started page

* Update mcp.mdx

* fix indentation for ordered list

* fix lint issuee

---------

Co-authored-by: Rodrigo Mansueli <rodrigo@mansueli.com>
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-06-25 16:26:48 +00:00
Dan O'BrienandDan OBrien 79a73e07be add instructions for MCP server in Qodo Gen (#36056)
Co-authored-by: Dan OBrien <dobrien.nj+git@gmail.com>
2025-06-25 16:07:11 +00:00
vanzan01 90739af4aa docs: fix Claude Code MCP installation command syntax (#36570)
Add missing -- separator in claude mcp add command. Without this separator,
the CLI incorrectly interprets 'npx' as an environment variable instead of
the command to execute, causing installation to fail.

Fixes the command:
claude mcp add supabase -s local -e SUPABASE_ACCESS_TOKEN=token npx -y @supabase/mcp-server-supabase@latest

To work correctly as:
claude mcp add supabase -s local -e SUPABASE_ACCESS_TOKEN=token -- npx -y @supabase/mcp-server-supabase@latest
2025-06-25 15:59:25 +00:00
4b8d5f5502 docs: add workos tpa docs (#36662)
* docs: add workos to 3rd party auth docs

* Commit @charislam's suggestions

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* more explanation of the user_role claim

* drop CLI instructions for now

* add WorkOS to nav menu

* fix typo

* use issuer not client id

* fix prettier

---------

Co-authored-by: Cameron Matheson <cameron@workos.com>
Co-authored-by: Cameron Matheson <cameron.matheson@gmail.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-06-25 17:15:51 +02:00
Bruce Belson 998a7ddcf0 Update features.mdx (#36582)
Fixed typo
2025-06-24 22:11:38 +00:00
Bruce Belson e399c6d5cc fix: Typo in architecture.mdx (#36583)
"We provide tools which make**s** Postgres as easy to use as Firebase."

Remove superfluous **s**
2025-06-24 22:07:11 +00:00