Commit Graph
8214 Commits
Author SHA1 Message Date
Charis 36f75c5f68 docs(api keys): remove outdated location and video (#36226) 2025-06-06 15:48:53 -02:30
Aaron Byrne fdcf54b6c7 Update humans.txt - Aaron Byrne (#36217) 2025-06-06 15:31:04 -02:30
Taryn King db44d6e3e9 chore: add "Taryn King" to humans.txt (#36179) 2025-06-05 21:24:43 -05: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
388de330f4 [bot] sync troubleshooting guides to db (#36202)
* ci(docs): fix sync process

GraphQL codegen needs to be run before sync because otherwise the types
are missing. Missed this in local testing because codegen had already
been run for other reasons.

* fix(troubleshooting sync): unresolved import

* ci(docs lint): fix commenting workflow

* [bot] sync troubleshooting guides to db

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-06-05 17:31:59 +00:00
Charis 4b9662b21e ci(docs lint): fix commenting workflow (#36062)
* ci(docs): fix sync process

GraphQL codegen needs to be run before sync because otherwise the types
are missing. Missed this in local testing because codegen had already
been run for other reasons.

* fix(troubleshooting sync): unresolved import

* ci(docs lint): fix commenting workflow
2025-06-05 13:16:36 -04:00
Charis 3158807579 ci(docs): sync script (#36001)
Add a script for syncing error codes from the repo to the database. This
is part of the newly created rootSync script, where all sync scripts
should be moved eventually.
2025-06-05 12:28:45 -04:00
Ivan Vasilov 7e9076e3ad chore: Bump the rest of the apps to Nextjs 15 (#35475)
* Bump nextjs in the ui-library.

* Bump the nextjs in design-system.

* Bump nextjs to v15 in www.

* Bump the next version in the pnpm catalog.

* Switch all apps to using the catalog version of next.

* Fix ui-lib and design-system to build with next 15.

* Fix some prettier errors.

* Bump the next-eslint package.

* Fix a lint issue about a component starting with underscore.

* Use the catalog version of next in cms app.

* Disable turbo for dev command in www. Remove obsolete experimental flags.

* Return some of the experimental flags.
2025-06-05 12:41:28 +02:00
Stojan Dimitrovski 73e6f97c65 docs: add web3 cli instructions (#36188) 2025-06-05 09:24:19 +00:00
Ziinc 671aea0a4a fix: use LOGFLARE_PRIVATE_ACCESS_TOKEN for querying, LOGFLARE_PUBLIC_… (#36169)
* fix: use LOGFLARE_PRIVATE_ACCESS_TOKEN for querying, LOGFLARE_PUBLIC_ACCESS_TOKEN for ingestion

* chore: prettier

* chore: remove logging

* chore: remove unused import
2025-06-05 14:52:29 +08:00
Charis cf3ecc93eb chore(docs): turn on strictNullChecks (#36180)
strictNullChecks was off for docs, which lets errors slip through and
leads to incorrect required/optional typing on Zod-inferred types. This
PR enables strictNullChecks and fixes all the existing violations.
2025-06-04 17:05:37 -04:00
Charis a1376940c9 docs(troubleshooting): add soft delete article (#36121)
This article was missed in the original sync between GitHub and repo,
adding in now.
2025-06-04 12:47:45 -04:00
Monica Khoury 2181fed2cd Docs: clarify how to enable column level privileges (#36161) 2025-06-04 12:17:35 -04:00
Prashant Sridharanandgithub-actions[bot] 10b5402d1c Added new blog post and modified some docs for SEO (#36171)
* Added new blog post and modified some docs for SEO

* ci: Autofix updates from GitHub workflow

* Fixed some linter errors

* Update apps/docs/content/guides/database/connecting-to-postgres.mdx

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

* Update apps/docs/content/guides/database/connecting-to-postgres.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-04 14:53:58 +01:00
Copple ade0e400fa chore: update cli reference doc (#36126) 2025-06-03 11:59:03 +08:00
Charis 0e28054772 docs(self-hosted env): fix odd format for example .env file (#36120) 2025-06-02 17:50:48 -04:00
Filippo BrigatiandCharis 83947491f3 Add user token initialization in auth.mdx (#32997)
* Add user token in auth.mdx

I added the part of the code responsible for initializing the Supabase client with the token passed via the header, to ensure compliance with RLS (Row-Level Security).

As shown on this page:
https://github.com/supabase/supabase/blob/master/examples/edge-functions/supabase/functions/select-from-table-with-auth-rls/index.ts

Otherwise authentication will not be completed.

* make js compatible

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-06-02 16:02:49 -04:00
hallidayo 14fd307392 fix: auth docs - removed example line (#36078)
removed example line
2025-06-02 16:21:42 +00:00
Lawrence Wang 069c899168 Improve supabase link documentation (#36083)
Show that its setting is persisted in the filesystem at `supabase/.temp/project_ref`, so developers have a way of seeing what project is currently linked. 

This appears to be otherwise undocumented, and only mentioned in one Github issue and one Reddit comment as far as I can tell.
2025-06-02 15:46:49 +00:00
Jyotirmoy Roy 2f4faecb4a fixed breaking of replication link in doc (#36093)
Signed-off-by: ItsRoy69 <jyotirmoyroy649@gmail.com>
2025-06-02 15:10:55 +00:00
Maxwell Mandela c31ac2501d Update auth-send-email-hook-react-email-resend.mdx - typo (#36103)
Update auth-send-email-hook-react-email-resend.mdx

Fix a small typo from '...needs to be send' to '...needs to be sent'
2025-06-02 14:37:44 +00:00
Tyler 8f2993dc0c docs: Add JSON type support for generated typescript types (#36013)
* docs: Add JSON type support for generated typescript types

* run formatter

* update heading format
2025-06-01 20:44:47 +09:00
Ivan Vasilov 181f15752c chore: Move the files in ui-patterns under src folder (#36032)
* Move all components in ui-patterns into src folder. Add exports field for all files.

* Fix all apps to use the new ui-patterns.

* Fix the design-system build.

* Remove all unused rexports from ui-patterns index. Apps should use direct imports instead.

* Change the tailwind content property to include src folder of ui-patterns.

* Remove autoprefixer from the tailwind configs.

* Remove autoprefixer as a dependency.

* Fix the CVA conditions in FormLayout.
2025-05-30 12:46:22 +03:00
Charis f58eead769 chore(docs): clean up environment variables (#36036)
Our environment variables are a bit of a mess, so cleaning them up:

- We have duplicate environment variables that resolve to the same thing
but just have different names, deduplicating all of these
- We have a .env.development (for publicly safe variables) and a
.env.example, we
really only need one
- Privately, we have a .env (for running scripts) and a .env.local (for
Next.js). Changing the dotenv source for scripts, so again we only need
one
2025-05-29 16:35:26 -04:00
Charis 33b9e1ed29 chore(docs): convert all scripts to esm (#35996)
Scripts currently use CJS, which is causing a bit of a mess when trying
to use shared utilities from the app. Converting everything to ESM so
there are fewer conflicts when adding new scripts going forward.
2025-05-29 15:44:55 -04:00
Charis aba0095bd7 feat(content api): add error endpoint (#35941)
* feat(content api): add error endpoint

Add an endpoint to return the details of a Supabase error, given the
error code and service.

Schema additions:

```graphql
type RootQueryType {
  "...previous root queries"

  """Get the details of an error code returned from a Supabase service"""
  error(code: String!, service: Service!): Error
}

"""An error returned by a Supabase service"""
type Error {
  """
  The unique code identifying the error. The code is stable, and can be used for string matching during error handling.
  """
  code: String!

  """The Supabase service that returns this error."""
  service: Service!

  """The HTTP status code returned with this error."""
  httpStatusCode: Int

  """
  A human-readable message describing the error. The message is not stable, and should not be used for string matching during error handling. Use the code instead.
  """
  message: String
}

enum Service {
  AUTH
  REALTIME
  STORAGE
}
```

* test(content api): add tests for top-level query `error`
2025-05-29 15:39:47 -04:00
CoppleandCharis a61a39ff15 docs: compliance (#36016)
* Compliance docs

* lint spelling

* fixes headings

* Update apps/docs/content/guides/database/hardening-data-api.mdx

* ci: Autofix updates from GitHub workflow

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-05-29 19:35:25 +02:00
Andrew Smith a2342c4207 docs(python): update realtime docs with async methods and notes (#36015)
* docs(python): update realtime docs with async methods and notes

* chore(docs): update with admonitions
2025-05-29 15:45:54 +00:00
Kevin Grüneberg 25cea567b5 docs: shared pooler egress (#36009) 2025-05-29 22:03:41 +08:00
Cemal Kılıç f6b316e1cf chore(docs): update required claims for access token (#36021)
docs: update required claims for access token
2025-05-29 15:35:15 +02:00
Charis bf45616ada chore(docs): refine sentry filter (#36002)
Right now we're filtering out third-party extensions by looking for
stack traces that don't touch 'app:///_next'. However, third-party stack
traces do include the Sentry code that sends the error, and that
originates in 'app:///_next'. We need to filter out any events that do
not have 'app:///_next' events beyond that one Sentry frame.
2025-05-28 17:55:40 -04:00
Charis 0e2183f5b1 feat(docs): add github link to troubleshooting articles (#36000) 2025-05-28 16:06:50 -04:00
Charis 8aea2cd6c7 seo(docs): canonical links for reference pages (#35977)
To avoid content duplication warnings, direct all canonical links for
reference pages to the newest library version.
2025-05-28 10:51:32 -04:00
Chris GwilliamsandCharis Lam 34022bd570 Docs: Add section on logical replication for setting up CDC from Supabase to a destination (#27087)
* add replication section with instructions for services

* address comments and neturalise tone

* formalised overview and simplified faq

* reviewdog silenced (mostly)

* move individual tools into tab group and reduce mention of subscriptions

* fix tab components

* correct postgres typos and others

* removed individual service pages and added section for monitoring slots

* update nav menu and add information for monitoring

* update monitoring docs

* added example queries for tracking replication and removed overview

* added spelling rules for Xmin and cleaned up CDC format

* edits & reorganization

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-05-28 11:28:48 +03:00
Charis 75567e4075 chore(docs): remove unnecessary toml package (#35970)
We have two packages for handling toml, which is a bit unnecessary.
Settle on smol-toml as it is under more active maintenance.
2025-05-27 11:57:27 -04:00
github-actions[bot]andgithub-docs-sync-bot de300669ac [bot] sync troubleshooting guides to db (#35954)
Co-authored-by: github-docs-sync-bot <github-docs-sync-bot@supabase.com>
2025-05-27 15:20:38 +00:00
felipe stival cade7f136f chore: add "Felipe Stival" on humans.txt (#35962) 2025-05-27 11:56:17 -03:00
CharisandTerry Sutton 37d92e81c3 refactor(docs): turn auth error codes table into data file (#35857)
* refactor(docs): turn auth error codes table into data file

Take the Markdown error codes table and turn it into a data file
instead. This makes it easy to parse and reuse in other places besides
Markdown documents.

* Update apps/docs/content/errorCodes/authErrorCodes.toml

Co-authored-by: Terry Sutton <saltcod@gmail.com>

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2025-05-27 14:10:40 +00:00
Charis bf3bada7fd test: run supabase locally during test (#35947)
Alter the docs test script so it spins up Supabase locally. Will allow
for end-to-end tests against the local DB.

Also small alteration to one of the test files to silence an annoying
(but intended) error.
2025-05-27 10:00:21 -04:00
Charis adb851206b docs(troubleshooting): make docs on server-side admin clearer (#35815)
The "required properties" that need to be disabled are actually listed
in the code block, but it's not entirely clear from the way that it's
written that it's the case, leading to user confusion. Added a line to
make that explicit.

Fixes DOCS-233
2025-05-26 21:49:47 -02:30
Hieu 5abafd7954 feat: improve org vs project scopes roles definition (#35920) 2025-05-26 15:43:52 +07:00
Han Qiao 4c91016d6d docs: default cli installation guide to npm (#35833)
* chore: default cli installation guide to npm

* Update getting-started.mdx
2025-05-26 13:02:07 +08:00
Charis 17efbe1964 chore(docs): loosen overly strict sentry filter (#35882)
Should've double-checked this before applying the filter =_=""" but
apparently filtering out `app:///` also filters out legitimate events,
since those files are prefixed by `app:///` as well.

Instead let's keep only `app:///_next` since that should include all our
static JS assets.
2025-05-23 14:53:05 -04:00
Han Qiao 806e6e92c5 docs: update cli installation step for pnpm (#35877) 2025-05-24 00:10:02 +08:00
Kamil Ogórek e71fa28aae docs(api): Remove beta from build-a-supabase-integration.mdx (#35878) 2025-05-23 16:08:21 +00:00
GaryAustin1andCharis 9ff0a635ad Adding note to broadcast_changes that is uses a private channel. (#35856)
* Adding note to broadcast_changes that is uses a private channel.

2 customers confused so far on need for RLS and private flag set to use this function.

* Update apps/docs/content/guides/realtime/subscribing-to-database-changes.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-05-23 14:20:45 +00:00
Charis b4fb59b9ab chore(docs): drop sentry errors from extensions and user apps (#35854) 2025-05-23 10:01:54 -04:00
James b1060751b9 Add rel=edit attribute to GitHub docs edit link (#35678)
Update GuidesMdx.template.tsx
2025-05-23 10:59:29 +00:00
654484408a docs: add web3 docs (#35650)
* docs: add web3 docs

* docs: prettifier for auth-web3

* apply suggestion from @cemalkilic

Co-authored-by: Cemal Kılıç <cemalkilic@users.noreply.github.com>

* apply suggestion from @charislam

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

* more docs updates

* more fixes

---------

Co-authored-by: Cemal Kilic <cemalkilic96@gmail.com>
Co-authored-by: Cemal Kılıç <cemalkilic@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-05-23 10:28:59 +02:00
Stephen Morgan 9fa1b66826 Fix: slack integration and sample code (#35862)
* fix:issue with slack integration

* fix: open redirect in sample code
2025-05-23 16:30:36 +12:00