Commit Graph
63 Commits
Author SHA1 Message Date
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
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
Charis db38e8ca63 docs(postgres changes): add sql method for adding tables (#37877) 2025-08-13 11:37:24 -04: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
Plaetorius afd8874ee3 Fix broken link to Broadcast using the REST API (#37319) 2025-07-31 18:57:57 +00:00
Plaetorius d80e09474a Fix variable name in self-send messages (#37382)
Fix name: FROM "channelC" (never declared) to "myChannel", the name of the channel in the example
2025-07-31 18:55:06 +00:00
Plaetorius 843b9a2e3c Fix plural (#37323) 2025-07-31 17:22:04 +00:00
43c0c25918 realtime: improve protocol docs; move settings to a guides (#37280)
* realtime: improve protocol docs; move settings to a guides

* fix GH action feedback

* Update apps/docs/content/guides/realtime/protocol.mdx

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

* Update apps/docs/content/guides/realtime/protocol.mdx

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

* fix image and protocol

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <wenbox323@gmail.com>
2025-07-18 21:28:06 +00:00
Srinivas A 47019c7f01 docs: fix typo and improve clarity in realtime/postgres-changes.mdx (#37229)
Update postgres-changes.mdx
2025-07-18 14:41:13 +00:00
Filipe Cabaçoandgithub-actions[bot] 29756da21f realtime: Add settings documentation (#37182)
---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-16 12:55:07 +01: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
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
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
Eduardo Gurgel 9fde328770 docs(realtime): include DatabaseLackOfConnections error code (#35824) 2025-05-22 13:15:50 +12:00
Tyler 87ce4bb886 docs: Make the broadcast from database functions security definer (#35760)
Make the broadcast from database functions security definer
2025-05-20 00:46:00 +09:00
Charis 258bc37919 docs: add type hints (#34678) 2025-04-08 13:25:46 -04:00
50e3012563 mamba d3 (#34663)
* chore: lw14 d3 init

* chore: add d3 title

* d3 images

* introducing

* realtime: Launch week blogpost (#34639)

* realtime: Launch week blogpost

* fix prettier

* change authorization and broadcast from database to public beta

* Update apps/www/_blog/2025-04-02-realtime-database-broadcast.mdx

* change filename to fit expected ur

* change youtube link

* change video title

* fix: blog post images

* updates

* og image

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com>
Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* restore rss

* smol nit

* realtime: broadcast from database

* updates

---------

Co-authored-by: Filipe Cabaço <filipe@supabase.io>
Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com>
Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
2025-04-02 14:08:21 +00:00
Filipe Cabaço 5bdd8605fc realtime: fix code example on trigger (#34485) 2025-03-27 17:59:12 +00:00
b2d3ce4e9b realtime: improve documentation (#34393)
Improve realtime documentation
---------

Co-authored-by: Copple <10214025+kiwicopple@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-26 17:30:16 +00: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
Saxon Fletcher 45f276c444 Update realtime broadcast docs (#34177)
* update realtime broadcast docs

* slight styling fix

* prettier
2025-03-13 15:04:58 +01:00
Guilherme Souza da7facdfc1 chore(docs): update Swift Realtime filter to use new filter type (#33748) 2025-02-21 19:22:41 -03:00
Charis a820c56ed0 chore: docs linting (#33574) 2025-02-21 14:13:00 -05:00
Pamela Chia b3763b190a fix: clients to connections (#33582) 2025-02-14 00:41:35 +08:00
df9f410c50 docs(billing): complete rewrite
* deleted all old pages except from FAQs
* added pricing section to feature docs pages
* adjusted all links to new pages (on Dashboard, in docs, on Pricing page)
* configured redirects from old billing docs pages to new pages
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2025-02-12 21:05:18 +01:00
Jan Tennert 95594570b0 docs: Add Kotlin broadcasting via REST and Realtime authorization docs (#33234)
* Add broadcasting via REST

* add realtime authorization docs
2025-02-05 00:44:57 +00:00
Charis 2d55512553 chore: activate spelling and admonitions lints for docs (#33292) 2025-02-04 13:18:31 -05:00
Wen Bo Xie f9a5394f43 fix: remove warning about realtime broadcast alpha (#33306) 2025-02-04 09:12:22 +00:00
Wen Bo Xie a135920bce fix: Realtime Broadcast docs typo (#33299) 2025-02-04 07:41:26 +00:00
Kevin RockerandCharis d15ae65316 docs: add async/await JS example to message broadcasting (#31232)
* docs: add async/await JS example to message broadcasting

* Update Documentation

* Make async example more async

* Channel name update

* Run formatter

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-01-23 20:43:32 +00:00
Filipe Cabaço 61ed78e61e realtime: Fix broken link (#31310) 2024-12-23 16:57:15 +00:00
Filipe Cabaço c198dd8b45 realtime: Fix image broken link (#31248) 2024-12-19 15:15:20 +00:00
Filipe Cabaço 0affb7c31e realtime: Broadcast Changes documentation (#31222) 2024-12-19 13:50:44 +00:00
bfc691268e [bot] fix lint errors (#31180)
* [bot] fix lint errors

* Apply suggestions from code review

---------

Co-authored-by: github-docs-bot <github-docs-bot@supabase.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-12-16 22:54:08 +00:00
Charis d69902da94 chore(docs): lint all sections with linter v2 (#31110)
lint(docs): heading capitalization
2024-12-16 14:33:25 -05:00
egor bb0542749f docs: add realtime benchmarks docs (#31032)
* docs: add realtime benchmarks docs
2024-12-16 16:36:11 +00:00
Guilherme Souza 00150f68b7 chore(docs): add example for swift and python on realtime RLS (#29684)
* chore(docs): add example for swift and python on realtime RLS

* add await
2024-10-04 10:31:50 -04:00
Brayden 38d7d938bc fix: update link in authorization.mdx (#29433)
fix link in authorization.mdx

Was linking to https://supabase.com/docs/guides/realtime/docs/guides/realtime/protocol#access-token which does not exist.
2024-09-23 15:16:39 +00:00
Brice Suazo 004502dcee docs(realtime): remove duplicate tab for dart (#28969)
docs: remove repeated tab for dart
2024-08-29 12:33:05 +00:00
Chase Granberry 9fbba7c657 fix: update Enterprise quotas (#28880) 2024-08-26 13:04:57 +00:00
Guilherme Souza f2ab50ea45 docs(python): add reference docs for python realtime (#28680)
* docs(python): add reference docs for python realtime

* python realtime guides

* remove $ref
2024-08-16 06:56:51 -03:00
Thor 雷神 Schaeff a2b9f79791 docs: realtime broadcast typos. (#28182) 2024-07-26 15:53:07 +08:00
karloandCharis a86639e56b Added Flutter guides for Realtime (#28192)
* Added Flutter guides for Realtime

* Update apps/docs/content/guides/realtime/realtime-user-presence.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-26 01:41:01 +08:00
Tyler 7891f9a569 docs: Update Realtime guide to use supabase instead of client for variable names for Supabase client. (#28056)
docs: Update  to Supabase CLI 1.163.2

Usage:
  supabase [command]

Quick Start:
  bootstrap            Bootstrap a Supabase project from a starter template

Local Development:
  db                   Manage Postgres databases
  gen                  Run code generation tools
  init                 Initialize a local project
  inspect              Tools to inspect your Supabase project
  link                 Link to a Supabase project
  login                Authenticate using an access token
  logout               Log out and delete access tokens locally
  migration            Manage database migration scripts
  start                Start containers for Supabase local development
  status               Show status of local Supabase containers
  stop                 Stop all local Supabase containers
  test                 Run tests on local Supabase containers
  unlink               Unlink a Supabase project

Management APIs:
  branches             Manage Supabase preview branches
  domains              Manage custom domain names for Supabase projects
  encryption           Manage encryption keys of Supabase projects
  functions            Manage Supabase Edge functions
  network-bans         Manage network bans
  network-restrictions Manage network restrictions
  orgs                 Manage Supabase organizations
  postgres-config      Manage Postgres database config
  projects             Manage Supabase projects
  secrets              Manage Supabase secrets
  services             Show versions of all Supabase services
  snippets             Manage Supabase SQL snippets
  ssl-enforcement      Manage SSL enforcement configuration
  sso                  Manage Single Sign-On (SSO) authentication for projects
  storage              Manage Supabase Storage objects
  vanity-subdomains    Manage vanity subdomains for Supabase projects

Additional Commands:
  completion           Generate the autocompletion script for the specified shell
  help                 Help about any command

Flags:
      --create-ticket                     create a support ticket for any CLI error
      --debug                             output debug logs to stderr
      --dns-resolver [ native | https ]   lookup domain names using the specified resolver (default native)
      --experimental                      enable experimental features
  -h, --help                              help for supabase
  -v, --version                           version for supabase
      --workdir string                    path to a Supabase project directory

Use "supabase [command] --help" for more information about a command. for realtime guides
2024-07-19 14:34:13 +09:00
Wen Bo XieandKevin Grüneberg f1541878a9 fix: singularize and capitalize Supabase plans (#28052)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-07-18 04:49:00 +00:00
Tyler f6f9df667d docs: Update JS code sample for Realtime authz channel (#27977)
* docs: Add Dart code sample to the realtime authorization guide

* run formatter

* docs: Convert code samples into Javascript
2024-07-16 02:01:13 +00:00
Tyler a0b9b22a3d docs: Add Dart code sample to the realtime authorization guide (#27976)
* docs: Add Dart code sample to the realtime authorization guide

* run formatter
2024-07-16 10:42:40 +09:00
Will McBride 9b7314c4f2 docs(lint): Fix indentation for JS REST call example in broadcast.mdx (#20393)
docs(lint): Fix indentation for REST call JS example in broadcast.mdx
2024-07-10 05:21:39 +00:00
Wen Bo Xie b7d4d64fee fix: update Realtime AuthZ policies in docs/demo (#27863) 2024-07-08 18:23:03 -04:00