Commit Graph
138 Commits
Author SHA1 Message Date
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
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
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
Chris ChinchillaandCharis e6e24aadad docs: Update user management docs for next JS (#37664)
* Draft

* Update text for guide

* Update text for guide

* Update code for newer next js versions

* Final small change

* Update apps/docs/content/_partials/project_setup.mdx

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

* Changes from review

* Use project name in tutorial text

* Fix up inclusion

* Fix inclusion

* Prettier

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-08-07 08:45:39 +00:00
Chris Chinchilla 74a1cd8dfe docs: Update User management quickstart to Svelte 5 (#37646)
* General updates and switch to Svelte 5

* Update code example to Svelte 5

* Update some examples to use codesamples component

* Add Svelte to codesample component

* Final code updates

* Add more CodeSample components
2025-08-05 13:40:50 +00:00
Taryn King dfe26d802c Update Postgres MCP server reference link (#36604)
The resource has been moved to an archived repo named `servers-archived`
2025-08-04 10:24:26 -05:00
Danny WhiteandJoshen Lim d914b81f47 feat: consolidate settings (#37580)
* feat: move storage settings

* feat: redirect

* feat: database settings in service area

* feat: move data api settings

* fix: revert data API placement

* feat: minor UX touches

* fix: simplify configuration group

* feat: references to database settings

* feat: references to storage settings

* fix: redirects and formatting

* fix: Import StorageMenu dynamically to avoid SSR issues with useLocalStorage

* fix: move Data API closer to semantic siblings

* fix: revert smart comma

* Shift bucket sort logic into storage explorer store

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-08-04 16:21:54 +10:00
Chris ChinchillaandChris Chinchilla 0e2bd38457 Update Angular tutorial to use v20 (#37380)
* Add Chris Ward to humans

Signed-off-by: Chris Chinchilla <christopher.ward@supabase.io>

* Update Angular tutorial for Angular 20

* Update Angular doc

* Revert "Add Chris Ward to humans"

This reverts commit c45ea9d213.

* Update tsconfig

* Add note about CLI defaults

* Prettier fix

---------

Signed-off-by: Chris Chinchilla <christopher.ward@supabase.io>
Co-authored-by: Chris Chinchilla <christopher.ward@supabase.io>
2025-07-28 16:27:50 +02:00
Greg Richardson ec454c5e32 docs(mcp): production data clarification (#37033) 2025-07-11 09:56:13 -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
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
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
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
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
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
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
Han Qiao f95c5e6c31 docs: bump branching product stage to beta (#36508) 2025-06-18 22:11:23 +08:00
Charis a2e8882d96 docs(mcp): recommend read-only, project-scoped mode by default (#36496) 2025-06-17 22:49:03 +00:00
de3afc5394 Update mcp docs local scope (#36345)
* docs: add locally-scoped MCP server instructions for Claude Code

- Add CLI-based configuration option alongside existing .mcp.json method
- Include environment variable setup for Supabase access token
- Explain precedence and scope behavior for local vs project servers
- Use 'supabase' as server name instead of 'supabase-mcp'
- Include environment variable directly in command examples

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

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

* Update apps/docs/content/guides/getting-started/mcp.mdx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2025-06-13 01:11:20 +00:00
Burke HollandandCharis Lam 3a22696508 feat: add installation buttons for VS Code MCP server (#36146)
* feat: add installation buttons for VS Code MCP server

* fix: mdx parsing and spacing

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-06-05 22:02:36 +00:00
Balazs Hevesi 9a60d83cd2 Fix indentation for solid.js quickstart docs (#35619) 2025-05-12 18:25:03 +00:00
hallidayo 19a04fbd87 docs: env in quickstarts (#35533)
* react quickstart env

* nuxt quickstart env

* vue quickstart env

* solid quickstart env
2025-05-07 19:27:00 +00:00
Max Holmberg 9016b84657 Remove + character from code blocks (#35414) 2025-05-02 15:44:56 +00:00
PeterandTyler 6a812a04b6 Update docs for new connection strings and disk/compute pages in the dashboard (#35128)
* Update all docs that make references to the database settings to find the connection strings.

Update all docs that references the database settings for the compute and disk page

* run prettier

* run pnpm format instead of prettier directly.

* first run through, fix grammar and reword awkward sentences

* Fix typos and remove unnecessary whitespace

* Apply suggestions from code review

Co-authored-by: Tyler <dshukertjr@gmail.com>

---------

Co-authored-by: Tyler <dshukertjr@gmail.com>
2025-04-21 08:59:43 -05:00
hallidayoandCharis Lam fbc48bf8f2 docs: ionic vue update (#35103)
* initial app without storage

* code tab typo

* format

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-04-17 22:53:28 +00:00
Greg Richardson 3c7c76dcbe docs(mcp): vscode setup instructions (#34917) 2025-04-11 07:45:11 -06:00
Charis 258bc37919 docs: add type hints (#34678) 2025-04-08 13:25:46 -04:00
Yuko Murayama 43c156cfd7 removed typescript specific code from javascript code snippet (#34814) 2025-04-08 14:45:15 +00:00
Greg Richardson 894f692e1a docs(mcp): update to use the supabase mcp server (#34683)
* docs(mcp): update to use the supabase mcp server

* docs: grammar
2025-04-03 18:46:50 +00:00
Charis c4afb75461 fix: code blocks (#34427) 2025-03-31 12:15:22 -04:00
CharisandGreg Richardson ef247b8f5f feat(docs): fetch conn string (#34492)
* feat(docs): fetch conn string

Add option to ProjectConfigVariables to fetch the Supavisor session mode connection string, for setting up MCP server

* docs(mcp): reminder to replace password placeholder in connection string

* fix: display helpful message if project paused

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2025-03-28 13:17:29 -04:00
James Rodewig 727e34e3b1 docs: MCP queries are read-only (#34482) 2025-03-27 17:38:16 +00:00
Greg Richardson 077682171d Docs: Adds MCP instructions for Claude code (#34452)
* docs: add mcp instructions for claude code

* docs: fix grammar
2025-03-26 17:23:40 -06:00
Charis 311232b3e1 feat(docs): ts hover annotations on code blocks (#34327) 2025-03-21 15:48:32 -04:00
Greg Richardson 944adfa8f6 Docs: adds MCP instructions based on OS (#34210)
docs(mcp): add instructions per os
2025-03-18 10:46:36 -06:00
Charis 2709fa4a3e feat: pre-compile-time partials (#34028)
Partials are currently defined via MDX includes. This PR switches to pre-compile-time partials, which have a new syntax:

```
<$Partial path="path/to/file.mdx" />
```

## Rationale

This produces two improvements:

1. Partial substitution can occur in pipelines that don't use MDX compilation. For example, we can now do partial substitution before building the search index, so partial content will also be indexed.
2. After the App Router migration, the MDXProviders should've been deprecated, but were kept around for the sole reason of making partials work, and leading to us shipping unnecessary client-side code. We get a minor decrease in overall client bundle size (5.74 MB to 5.6 MB) by getting rid of the Providers.

## Breaking changes

Besides the change to partial syntax, the arguments are also less powerful than before because we are doing string substitution and don't have the full power of JS. Defining string variables is still possible (documented in the Contributing guide), and since that's all we actually do in practice, this shouldn't be too cumbersome. There is always the escape hatch of making a custom component for more complex content reuse cases.
2025-03-18 10:37:39 -04:00
Marcin Wozniak ae94176e25 Update with-expo-react-native.mdx (#34206) 2025-03-17 17:37:24 +00:00
Vinzent 75a0d8fac7 docs: add deep link reference to quickstart (#34220) 2025-03-17 15:57:47 +00:00
Greg Richardson b26b35fdcb Docs: WSL note for MCP (#34124)
docs(mcp): wsl note
2025-03-11 12:59:21 +01:00
Thor 雷神 SchaeffandIvan Vasilov 99f1d1fc16 Thor/add elevenlabs streaming example n docs (#33989)
* feat: add TTS & STT docs.

* feat: add examples.

* fix: docs.

* code review nits.

* chore: format.

* Fix mdx-lint errors.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-03-07 09:08:56 +01:00
Tyler 02fe57e8b9 docs: Update MCP docs for connecting to Cursor (#33952)
* docs: Update MCP docs for connecting to Cursor

* minor fix
2025-03-04 07:05:49 +09:00
3e1cd0aac4 Laravel documentation addition to explain schema needs to be created (#33973)
* Add a note that schema needs to exist on Supabase before running
migrate. Otherwise one will receivie a following error

$ php artisan migrate

   INFO  Preparing database.

  Creating migration table ........................................................................................................... 599.73ms FAIL

   Illuminate\Database\QueryException

  SQLSTATE[3F000]: Invalid schema name: 7 ERROR:  no schema has been selected to create in at character 14 (Connection: pgsql, SQL: create table "migrations" ("id" serial not null
primary key, "migration" varchar(255) not null, "batch" integer not null))

  at vendor/laravel/framework/src/Illuminate/Database/Connection.php:823
    819▕                     $this->getName(), $query, $this->prepareBindings($bindings), $e
    820▕                 );
    821▕             }
    822▕
  ➜ 823▕             throw new QueryException(
    824▕                 $this->getName(), $query, $this->prepareBindings($bindings), $e
    825▕             );
    826▕         }
    827▕     }

      +41 vendor frames

  42  artisan:16
      Illuminate\Foundation\Application::handleCommand()

* Apply suggestions from code review

---------

Co-authored-by: Vladimir Vuksan <vuksan-github@vuksan.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-03-03 16:15:44 +00:00
Charis a820c56ed0 chore: docs linting (#33574) 2025-02-21 14:13:00 -05:00
Fabian Hagen 54326d55b8 Update with-vue-3.mdx to match import and actual code (#33103)
Update with-vue-3.mdx

Imported `watch` from Vue but used `watchEffect`.

Changed the import to match the actual code.
2025-02-20 16:45:50 +00:00
CharisandCraig Cannon 5729d394bf feat: add behind the scenes video (#33696)
Co-authored-by: Craig Cannon <cannon.craig@gmail.com>
2025-02-19 18:43:43 +00:00