Commit Graph
7532 Commits
Author SHA1 Message Date
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
Charis d122f289df feat(api gateway logs): add error code explanation (#36315)
Add the ability to look up error code explanation in API Gateway logs.
Also a bunch of GraphQL-related utilities and generated types for
calling the Content API.
2025-06-24 13:18:12 -04:00
Ziinc a7b0cbef7d docs: improve metrics endpoint docs (#36594) 2025-06-24 13:05:56 +08:00
Kevin Grüneberg 04c5484bcd docs: fix links (#36595) 2025-06-23 14:40:39 +08:00
Charis 7cc64d3bd1 docs(edge functions): document that sentry needs to be manually flushed before main function returns (#36537)
docs(edge functions): document that sentry needs to be manually flushed before
main function returns

Resolves #36489
2025-06-19 14:14:29 -04:00
Charis 5cc2617b5f fix(docs): add more descriptive error message (#36536) 2025-06-19 14:54:43 +00:00
Tristan Smith 380a55e9bf docs: clarify that migrations must be applied manually after starting local DB (#36511)
docs: clarify manual migration step after starting local database (fix supabase#35078)
2025-06-19 13:53:53 +00:00
Han Qiao f95c5e6c31 docs: bump branching product stage to beta (#36508) 2025-06-18 22:11:23 +08:00
Han Qiao 8ccc03d6a8 docs: clarify backup restore for paused project (#36502) 2025-06-18 22:11:05 +08:00
Han Qiao 45485b294c docs: clarify local dev dependency on docker (#36501) 2025-06-18 22:10:33 +08:00
Charis 68cb1a1870 feat(content api): add management api references to semantic search (#36289)
* docs: add cursor rule for embedding generation process

Add documentation for cursor IDE about how docs embeddings are generated,
including the workflow for creating and uploading semantic search content.

* feat: improve API reference metadata upload with descriptive content

- Add preembeddings script to run codegen before embedding generation
- Enhance OpenApiReferenceSource to generate more descriptive content including
  parameters, responses, path information, and better structured documentation

* feat: add Management API references to searchDocs GraphQL query

- Add ManagementApiReference GraphQL type and model for API endpoint search results
- Integrate Management API references into global search results
- Update test snapshots and add comprehensive test coverage for Management API search

* style: format
2025-06-18 09:12:03 -04:00
Cemal Kılıç aa1d904f4d feat: list allowed symbols for password security (#36470)
* feat: list allowed symbols for password security

* fix: formatting
2025-06-18 11:57:50 +02:00
Etienne Stalmans b914d10870 docs: self-hosted and HIPAA (#36485) 2025-06-18 09:38:18 +02:00
Charis a2e8882d96 docs(mcp): recommend read-only, project-scoped mode by default (#36496) 2025-06-17 22:49:03 +00:00
Stojan DimitrovskiandCharis Lam 518d3c278f docs: new api keys (#36331)
* docs: new api keys

* edits

* final touches

* fix suggestions from code review

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-06-17 20:20:32 +02:00
Copple 985304e5ed chore: update cli reference doc (#36454) 2025-06-17 13:58:20 -04:00
Charis 0c04c17bdf fix(docs): sentry errors do not get sent from vercel edge (#36377)
Sentry errors captured on routes run on Edge are not getting properly
sent. This is apparently a known issue where Vercel closes the process
before Sentry can flush, so the exceptions need to be manually flushed:

https://github.com/getsentry/sentry-javascript/issues/9626
2025-06-17 12:49:09 -04:00
Etienne Stalmans c1791759d5 chore: document new MFA enforcement on organization option (#35564)
* chore: document new MFA enforcement on organization option

* chore: multi-factor

* review suggestions and navigation item

* note that feature is opt-in atm

* chore: note about PATs

* fix: spelling

* fix: links
2025-06-17 16:28:23 +02:00
Ronan Lehane 7acdc5dd8b Update humans.txt (#36476)
Added Ronan Lehane to humans.txt
2025-06-17 11:45:12 +00:00
Alexkane 4f85284178 Update setup-replication-external.mdx (#36412) 2025-06-16 16:32:10 +00:00
Chandrajeet MauryaandCharis Lam 985733f523 Update auth-apple.mdx (#36389)
* Update auth-apple.mdx

Add notes on to add all custom identifier for expo development build

* fix lint error

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-06-16 16:12:54 +00:00
Tomas Pozo f96922b218 docs: fix wrappers assets (images) (#36365)
* Load wrappers assets with external url

* Refactor assets url transformer as rehype plugin
2025-06-16 12:04:51 -04:00
Charis b95c759f25 fix(content api): restrict vercel edge function regions (#36405) 2025-06-16 09:19:38 -04:00