Commit Graph
81 Commits
Author SHA1 Message Date
Filipe CabaçoandChris Chinchilla 0e861a24fc fix: correct the trigger function to make sense for the given example (#41079)
---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-12-05 13:50:47 +00:00
BenandEduardo Gurgel 4ad48b750d docs: add presence overview section and example payload (#40635)
Adds a brief overview explaining Presence behavior and includes an example presenceState() payload.


---------

Co-authored-by: Eduardo Gurgel <eduardo@gurgel.me>
2025-12-01 02:38:48 +00:00
Eduardo Gurgel 639d2c06df fix(docs): update user broadcast push docs (#40850) 2025-11-27 09:57:30 +13:00
Eduardo Gurgel 897678caa1 feat(docs): rewrite realtime protocol including version 2.0.0 (#40600) 2025-11-25 09:53:43 +13:00
0df17be6a4 Docs/improve broadcast guide (#39526)
* clarify how the private/public flags work in Realtime Broadcast

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

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

* quick fixes on documentation

* Apply suggestions from code review

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

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

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

* fix format

* the lost them

---------

Co-authored-by: Monica <monicakhprivate@hotmail.com>
Co-authored-by: Monica Khoury <99693443+monicakh@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-03 18:13:57 +01:00
Filipe Cabaço 7f31118db0 fix: correct settings documentation and screenshots (#39776) 2025-10-22 16:30:59 +01:00
Filipe Cabaço 1418fc9af6 realtime: add more settings to Realtime (#39566)
* Enable / Disable Realtime for tenant
* Set max payload size in kb
* Set max presence events per second
2025-10-22 12:43:15 +01:00
25fd22a7d8 docs(realtime): Document broadcast replay (#39580)
* fix: broadcast from database admonition

This feature is not in Public Alpha anymore

* docs(realtime): Document broadcast replay

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

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

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

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

* Apply suggestion from @github-actions[bot]

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

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

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

* docs(realtime): format

* chore: format again

* fix swift example

* fix python example

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Guilherme Souza <guilherme@supabase.io>
2025-10-22 11:39:45 +00:00
Filipe Cabaço ce8eacdc73 docs: realtime authorization bad link on setting docs (#39406)
fix: realtime authorization bad link on setting docs
2025-10-10 15:41:51 +01:00
Filipe CabaçoandJoshen Lim ad7c66a642 fix: add messages per second limit to realtime settings (#39235)
---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-10-08 17:50:17 +01:00
Filipe CabaçoandChris Chinchilla 3d10ea31ab realtime: clarify number of connections used by realtime (#38980)
---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-10-07 15:07:52 +01:00
ea19e56e8a fix: Protocol documentation for Realtime with bad heartbeat message (#39299)
---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-10-07 15:07:23 +01:00
Filipe CabaçoandJoshen Lim a8a5e68512 realtime: remove feature preview flag (#38864)
* realtime: remove feature preview flag

* Fix TS

* Smol fix

* NIt

* add back proper link in docs

* Neeeet

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-09-22 17:56:38 +07:00
Chris ChinchillaandCharis Lam 9795b76431 docs: Add further toggles to content (#38870)
* Implement futher changes for Nimbus

* fixes

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-09-19 16:53:20 +00:00
Filipe Cabaçoandgithub-actions[bot] 2b3abd79f5 realtime: improve getting started guide (#38562)
---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-17 14:31:58 +01:00
CharisandChris Chinchilla 47705a8968 chore: replace all supabase urls with relative urls (#38537)
* fix: rewrite relative URLs when syncing to GitHub discussion

Relative URLs back to supabse.com won't work in GitHub discussions, so
rewrite them back to absolute URLs starting with https://supabase.com

* fix: replace all supabase urls with relative urls

* chore: add linting for relative urls

* chore: bump linter version

* Prettier

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-09-09 12:54:33 +00:00
Chris ChinchillaandCharis Lam 6821c07811 docs: feature toggle tests (#38282)
* Docs feature toggle tests

* Prettier

* Types fix

* Hide unsupported languages

* Fix import

* Add unsupported code warning

* Further SDK toggling

* Temp intro text

* Auth toggles

* clean up conditional visibility code

* fix: typecheck, tests, tiny bug

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-09-04 16:46:08 +02:00
William LP 6b947675a2 typo (#38334) 2025-09-01 16:03:18 +00: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
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