Commit Graph
6451 Commits
Author SHA1 Message Date
Chris StocktonandChris Stockton 97a447ac5c docs(auth-hooks): clarify webhook status codes and document email_change quirk (#38141)
* docs(auth-hooks): clarify webhook status codes and document email_change quirk

- Clarify hook response handling:
  - Note that some hooks do not support 204 responses if they require a body
  - Update retry-able error behavior for 429/503 with explicit 5s budget
  - Add note that Retry-After header is only checked for non-empty value, not parsed

- Expand send-email-hook docs:
  - Add detailed section on `email_change` behavior
  - Explain secure vs non-secure modes and when two emails must be sent
  - Document long-standing quirk where `token_hash` and `token_hash_new`
    are swapped relative to expected naming
  - Extend enum to include `reauthentication`
  - Improve confirmation URL example using URLSearchParams and projectRef

* fix: fix linter error

* fix: pr feedback

* fix: pnpm format

* fix: pr feedback

---------

Co-authored-by: Chris Stockton <chris.stockton@supabase.io>
2025-08-26 08:41:13 -07:00
David WeitzmanandDavid Weitzman 39df774af6 Add David Weitzman to humans.txt (#38199)
Add myself to humans.txt

Co-authored-by: David Weitzman <weitzman@Davids-MacBook-Pro-2.local>
2025-08-26 12:45:49 +00:00
Kanishk Dudeja 895239881e Adds Kanishk to humans.txt (#38210)
Add Kanishk to humans.txt
2025-08-26 14:23:03 +02:00
Copple 2b3a79374f chore: update cli reference doc (#38202) 2025-08-26 12:50:24 +08:00
Guilherme SouzaandClaude 687667c095 docs: add missing Swift client functions to specification (#37928)
* docs: add missing Swift client functions to specification

Add comprehensive documentation for 26 previously undocumented Swift functions:

- feat: add 17 database filter functions (eq, neq, gt, gte, lt, lte, like, ilike, is, in, contains, containedBy, overlaps, range functions, textSearch)
- feat: add 5 Admin API functions (getUserById, listUsers, createUser, updateUserById, inviteUserByEmail)
- feat: add 2 session management functions (startAutoRefresh, stopAutoRefresh)
- feat: add 2 storage signed URL functions (createSignedUploadUrl, uploadToSignedUrl)

These functions exist in the Swift library but were missing from the documentation spec,
causing a perceived gap compared to the JavaScript client. All additions include proper
Swift syntax examples, async/await patterns, and comprehensive usage documentation.

Closes alignment gap between Swift and JavaScript client documentation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix params

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-25 11:00:09 -03:00
Beng Eu 281a29e904 fix: switch to SSO-based supa-dev AWS profile instead of IAM-based supabase-dev AWS profile (#38179) 2025-08-25 10:37:50 +00:00
72a94af814 Clarify extension docs that custom extensions are not supported (#38070)
* clarified extension support and linked to github discussion

* Update apps/docs/content/guides/database/extensions.mdx

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

* Update apps/docs/content/guides/database/extensions.mdx

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

* add dbdev reference

* add dbdev reference

* Update extensions.mdx

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

* Update extensions.mdx

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

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-23 12:57:51 +01:00
Raúl Barroso 29ee6a2992 style: use GitHub's right product name (#38099)
* style: use GitHub's right product name

* fix: use correct kotlin provider
2025-08-22 13:43:47 +02:00
Eduardo Gurgel 1296692591 docs(realtime): add more examples (#38050) 2025-08-21 18:57:05 +12:00
Eduardo Gurgel 07dfb9a542 docs(realtime): JWT claims can be accessed when authorising channels (#38049) 2025-08-21 11:05:51 +12:00
Filipe CabaçoandChris Chinchilla 032647aca6 realtime: Improve documentation about message storage (#38039)
Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-20 10:29:08 +01:00
Raúl Barroso f551668d01 doc: add Raúl Barroso (#38032) 2025-08-20 09:27:58 +02:00
Tyler Hillery f8d14f473f docs: fix jwt signing key cli ref (#38018) 2025-08-19 17:48:48 +08:00
Terry Sutton ff23c1fe84 fix jwt link (#38016) 2025-08-18 16:02:41 -02:30
Cameron Blackwood 7144d88cdd Add Cameron Blackwood to humans.txt (#38004) 2025-08-18 15:35:28 +00: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
Ivan VasilovandChris Chinchilla a63e91255c Update the docs for domains on google oAuth screens (#37942)
* Update the docs for google domains.

* Apply suggestion from @ChrisChinchilla

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

* Apply suggestion from @ChrisChinchilla

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

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-15 08:44:18 +00:00
Guilherme SouzaandChris Chinchilla b6b906cff4 docs: add flutter phone factor reference doc and example (#37828)
* docs: add flutter phone factor reference doc and example

* Update apps/docs/spec/supabase_dart_v2.yml

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

* Update apps/docs/spec/supabase_js_v2.yml

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

* Update apps/docs/spec/supabase_dart_v2.yml

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

* Update apps/docs/spec/supabase_dart_v2.yml

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

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
2025-08-14 15:03:01 -03:00
Chris Chinchilla 7f50ee9dd2 docs: Improve the steps for NextJS quickstart (#37929)
* Improve the steps for NextJS quickstart

* Update apps/docs/content/guides/getting-started/quickstarts/nextjs.mdx
2025-08-14 15:43:06 +02:00
shusank8 cec5c95381 Update websockets.mdx (#36603)
Comparing lower case
2025-08-14 07:07:36 +00:00
Andrew Valleteau c3298d8ca7 docs: add admonition for retrieving branch project id (#37861) 2025-08-13 18:14:15 -03:00
Charis 9551315f6a fix: search sync + sentry errors issues (#37912)
* fix: search sync + sentry errors issues

Fixes two issues:
1. Search sync: The embedded content now includes denormalized examples,
   so the examples codegen needs to be run before embeddings are
   created. Otherwise, the GitHub Action will fail because it cannot
   find the examples to use for content inclusion.
2. Sentry errors on pages that fail to load: Sentry errors were being
   sent for genuine 404s because the check for FileNotFoundErrors was
   wrong. The error that is caught is wrapped in a new Error by
   Result.unwrap(), so it's the child of this error, error.cause, that
   is potentially a FileNotFoundError, not the error itself.

* fix: remove double processing of mdx
2025-08-13 16:50:30 -04:00
Charis db38e8ca63 docs(postgres changes): add sql method for adding tables (#37877) 2025-08-13 11:37:24 -04:00
Charis e46ab9c1a2 refactor: reading markdown docs files (#37774)
* refactor: reading markdown docs files

Refactor how Markdown docs files are read:
- Reuses the same logic across search index generation & page generation
- Improves the indexed content for search:
  - Stops removing MDX components, which often contain useful
    information like Admonitions
  - Denormalizes Partials and CodeSamples for more complete content

This is a prerequisite step for implementing the "Copy docs as Markdown"
functionality.

Only touches regular guides for now, not federated ones.

* fix: tailwind build error (#37728)

We changed to default to ESM imports a while ago, which means local
builds are now breaking because the Tailwind uses a require. Changed to
CJS for Tailwind config file. (I have no idea how this has been working
on Vercel all this time.)

* style: prettier
2025-08-13 11:37:14 -04:00
Matt Rossman 3635bc1fec Add Matt Rossman to humans.txt (#37906) 2025-08-13 15:36:19 +00:00
TheOtherBrian1andChris Chinchilla b36315e62c Update broadcast.mdx | add security definer to example (#33533)
* Update broadcast.mdx | add security definer to example

* Run prettier

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-08-13 12:56:48 +02:00
Kevin Grüneberg d60b3e3b9e feat: cached egress rollout (#37827) 2025-08-13 17:36:48 +08:00
Pamela Chia 42e2e88fba update fair use policy (#37889) 2025-08-13 17:28:32 +08:00
Douglas J Hunley 5e6362e88b chore(doc): Update humans.txt (#37884)
Add myself, a human, to humans.txt
2025-08-12 20:14:49 +00:00
HEXXT 4ade836032 fixed missing async keyword (#37882) 2025-08-12 19:51:02 +00:00
Kevin Frost 6b4683946e Update sveltekit.mdx to remove VITE_ prefix from env vars. (#37808)
`VITE_` prefix is deprecated and caused errors in my setup, which is node 24.2.0 / vite 7.1.1.  Sample app works fine once I change the vars to just be `PUBLIC_*`

ChatGPT explains: https://chatgpt.com/share/68973c0f-3114-8009-9d5f-6dcdb3f823c3
2025-08-12 18:40:34 +00:00
GaryAustin1 f9e5e25a64 Fix security definer RLS example (#37800)
Seems like at some point surrounding the security definer function private.has_good_role() with a select (like all functions should have for RLS) was changed.   I can't find the PR doing it though.
2025-08-12 14:29:39 -04:00
Andrew Smith 61237605c1 docs(python): add get_claims method (#37549) 2025-08-12 18:15:15 +00:00
Andrew Smith 3e8152cff6 docs(flutter): update the verifyOtp to mention deprecated types (#36393) 2025-08-12 18:11:12 +00:00
TheOtherBrian1 b540bb2f96 Update upgrading.mdx | added pgjwt to deprecation list (#37846)
Update upgrading.mdx
2025-08-12 18:03:08 +00:00
Copple d0c94df957 chore: update cli reference doc (#37859) 2025-08-12 13:42:49 -04:00
wheredoesyourmindgo 465600fc92 Update nextjs.mdx (#37420)
Public error route
2025-08-12 16:02:20 +00:00
4b2705f0ba fix(docs): update SvelteKit tutorial to use Svelte 5 syntax (#31229)
* docs: Update SvelteKit auth tutorial project creation syntax (#31114)

* docs: Update link to SvelteKit docs (#31114)

* Update +layout.svelte to Svelte 5 syntax (#31114)

* Update +page.svelte to use Svelte 5 syntax (#31114)

* Update account +page.svelte to use Svelte 5 syntax (#31114)

* Update account Avatar.svelte to use Svelte 5 syntax (#31114)

* Update SvelteKit example to Svelte 5 syntax (#31114)

* docs: Update npm dependencies (#31114)

* Start review

* Finish review

* Update code for SvelteKit 5

* Convert to codesamples

---------

Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-08-12 16:38:06 +02:00
Han Qiao c32c74e34c fix: diff all schemas on branch merge (#37754)
* fix: diff all schemas on branch merge

* chore: remove branching limitation on schema and extensions

* chore: remove limitation from blog post

* chore: remove limitation from docs
2025-08-12 21:18:24 +08:00
Rendy Febry 7abbcebd9c Fix LinkedIn Developer URL (#37855) 2025-08-12 09:03:30 +00:00
Prashant SridharanandFrancesco Sansalvadore 3c20bb8ade Add two new blog posts (#37752)
* New blog posts, still need images

* New blog posts, still need og images

* Added Firebase form to Firebase migration guides

* move blog post to alternatives page

* revert linkgs

* add og image

* add soshi logo

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2025-08-12 09:54:12 +01:00
Chris Chinchilla b350d94fc6 docs: Add Xcode isntructions to Swift ref docs (#37839)
Add Xcode isntructions to Swift ref docs
2025-08-12 08:38:31 +02:00
Chris Chinchilla 20d2289154 docs: Make Swift client initialization variable consistent (#37838)
Make client initialization variable consistent
2025-08-12 08:37:49 +02:00
Jordi Enric 87292512b9 upgrade sentry (#37830)
* upgrade sentry

* bump docs sentry/nextjs

* add error button

* rm sentry test
2025-08-11 15:47:28 +02:00
28768b1872 feat: reference for the self referencing view error (#37560)
* feat: reference for the self referencing view error

* feat: adding format

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

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

* Update backups.mdx

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

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

* feat: linter

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

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

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

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

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

Co-authored-by: Div Arora <darora@users.noreply.github.com>

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

---------

Co-authored-by: andres.suarez <andres.suarez@supabase.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Div Arora <darora@users.noreply.github.com>
2025-08-11 13:12:16 +02:00
Eduardo Gurgel 1e10ee6844 fix: specify that 3rd party JWTs must have kid header parameter (#37778) 2025-08-09 13:45:46 +12:00
Han Qiao 3f8db287d3 chore: add missing env vars to workflow (#37779) 2025-08-08 23:13:17 +08:00
Charis a99f86cd67 docs: remove supabase-js release notes (#37772)
Remove the Release Notes section from the JS reference docs, since no
one maintains them.
2025-08-08 10:21:41 -04:00
Andrew Valleteau 9e6cbe6c9d docs: add direct links to the dashboard for some settings (#37767) 2025-08-08 12:44:02 +02:00
d52e2c252b Update AI SDK 5 (#37656)
* attempt to update packages and useChat

* update endpoints

* update zod

* zod

* update to v5

* message update

* Revert "zod"

This reverts commit ec39bac6b6.

* revert zod

* zod i

* fix complete endpoints

* remove async

* change to content

* type cleanup

* Revert the package bumps to rebuild them.

* Bump zod to 2.25.76 in all packages.

* Bump openai in all packages.

* Bump ai and ai-related packages.

* Remove unneeded files.

* Fix the rest of the migration stuff.

* Prettier fixes.

* zod

* v4 again

---------

Co-authored-by: Jordi Enric <jordi.err@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-08-08 14:15:39 +07:00