Commit Graph
6093 Commits
Author SHA1 Message Date
Joshen Lim f18a0c20b5 Bump supabase js to 2.44.3 (#27898)
Bump supabase js to 22.4.3
2024-07-10 17:30:46 +08:00
Alaister Young 9d06a27e91 chore: update supabase-js (2.44.2) (#27768) 2024-07-10 10:23:05 +02: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
Duncan 2fc37fe1e4 Update supabase_js_v2.yml (#27871)
Fix subscription destructuring
2024-07-09 22:29:53 +00:00
Wen Bo Xie b7d4d64fee fix: update Realtime AuthZ policies in docs/demo (#27863) 2024-07-08 18:23:03 -04:00
Trevor Dobbertin 9956f195f5 move code snippet above tip that references it (#27581)
* move code snippet above tip that references it

* change wording
2024-07-08 19:16:33 +00:00
github-actions[bot]andphamhieu 8aef4a08bf feat: update mgmt api docs (#27851)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-07-08 19:13:11 +00:00
Andrew Smith b79a138055 fix(docs): update ssr guides and examples for nextjs and svelte (#27834)
[Summary by Charis]
Update SSR guides and examples for Next.js and Svelte:
- New `@supabase/ssr@0.4.0` API
- Misc. Svelte fixes
2024-07-08 15:06:59 -04:00
Charis b50c657e51 chore(docs): add link (#27829) 2024-07-08 13:12:48 -04:00
Charis 9fb97becb9 fix: revalidate fetches every day (#27828)
The Vercel Data Cache caches data across deployments, and we want to
check for updates in federated content, so let's revalidate the data
once a day.

It may be more efficient to revalidate on-demand, since we don't change
most of these sources once a day, but that requires setting up an API
endpoint (and figuring out how to authenticate it), so this is
quick-and-easy for now.
2024-07-08 13:12:19 -04:00
heocoi 66e6e0dca0 Update Inbucket repository URL (#27845) 2024-07-08 03:50:08 +00:00
548a3d03d3 fix: Update ssl-enforcement.mdx (#27827)
* Update ssl-enforcement.mdx

* Update apps/docs/content/guides/platform/ssl-enforcement.mdx

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

* update ssl enforcement to GA

---------

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com>
2024-07-05 22:00:56 +00:00
Charis 2f6328ea3c fix: erroring table of contents (#27826)
Table of Contents errored in some cases because I forgot to check for
the case where the value can be null.
2024-07-05 16:42:52 +00:00
Etienne Stalmans 0c34787f9e docs: update shared responsibility diagrams (#27813)
* docs: update shared responsibility diagrams

Update existing diagram to use new renderings by the design team.
Introduces dark and light versions

* docs: change from img to Image for shared responsibility diagram

* docs: fix typo
2024-07-05 16:53:37 +02:00
Chandana Anumula dadd2aa8c1 Update okta.mdx (#27798) 2024-07-05 17:15:07 +05:30
Chandana Anumula 8a1c5b40a7 Update gsuite.mdx (#27797) 2024-07-05 17:14:53 +05:30
Chandana Anumula 2239e39e6e Update azure.mdx (#27796) 2024-07-05 17:08:38 +05:30
Etienne Stalmans 56b88ef1a5 docs: update HIPAA shared responsibility (#27805)
* docs: update HIPAA shared responsibility

Highlight some additional restrictions on HIPAA enabled orgs

* docs: fix typo

* docs: clarify usage of branching
2024-07-05 08:51:15 +02:00
Monica KhouryandCharis b744553af6 Docs: Add CLI Command for Configuring statement_timeout in Postgres (#27778)
* Docs: add the cli command for configuring statement timeout in postgres

* Update apps/docs/content/guides/platform/custom-postgres-config.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-04 21:40:28 +00:00
Richard Kavanagh 9dd25cd377 Update auth-hooks.mdx (#27785)
minor typos
2024-07-04 16:55:51 +00:00
Meet VyasandCharis 1781431e37 docs: correct responses for file upload methods corrected (#27795)
* docs: responses for file upload methods corrected

* fix: json formatting

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-04 16:41:16 +00:00
Charis 282bd2c73f enhance: move not-found data fetch to client side (#27781)
Fetching recommendations on the server takes too long before the first
load, so it's faster to load the basic not-found page and generate the
recommendations on the client side.
2024-07-04 15:23:19 +00:00
Francesco Sansalvadore 0d657df42e feat: docs global top nav (#26917)
Docs global top nav
2024-07-04 11:51:13 +02:00
Etienne Stalmans 31130fed4c docs: update shared responsibility model (#27746)
* docs: update shared responsiblity model

Adds a basic matrix of shared responsibility.
Outlines a few more security responsibilities held by the customer.
Links to the Supabase production readiness checklist.

* fix-typo: americanize spelling

* typo: run prettier over new content

* fix typo

* switch to graphic for shared responsibility model

* rerun prettier
2024-07-04 08:28:59 +02:00
Ziinc 200481b7a0 docs: log drains documentation (#26370)
* docs: log drains documentation

* docs: pricing update for log drains

* docs: more datadog forwarding behaviour

* docs: move log drains to separate page

* docs: fix naming of provider

* dosc: us spelling

* Revert "docs: pricing update for log drains"

This reverts commit cb5f6ceb5f.

* docs: update links in admonition

* docs: tweak wording

* docs: fix typo

* docs: remove pricing page link

* docs: add elastic filebeat docs

* docs: add generic webhook drain
2024-07-04 09:56:51 +08:00
Charis 4b9817cba9 chore: remove data cache from not-found docs page (#27780) 2024-07-03 12:10:01 -04:00
Long HoangandCharis dbd19c8f61 chore: update http error codes (#27775)
* chore: update http error codes

* chore: add note about dashboard access

* chore: mention status code 402 explicitly to not leave ambiguity

* Update apps/docs/content/guides/platform/http-status-codes.mdx

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

* Update apps/docs/content/guides/platform/http-status-codes.mdx

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

* Update apps/docs/content/guides/platform/http-status-codes.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/http-status-codes.mdx

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

* fix: correct typo

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-03 23:17:11 +08:00
Charis f4779d4844 refactor: migrate guides to app router (#23101)
Migrate guides to App Router.
2024-07-03 10:25:06 -04:00
Charis 161ba3da32 docs: document more ways to secure the data api (#27756)
Document ways to increase the security of Data API, including:

- Disabling it entirely
- Exposing a custom schema instead of the `public` schema

Also found a duplicated link in the nav for CLS, so removed it.
2024-07-03 12:32:16 +00:00
Francesco Sansalvadore efc5ee6ec4 global image component (#27410)
* global ui Image component

* migrate docs images to new global component

* use Image component in www mdx components

* update Image description

* remove redundant props

* better ZoomContent types

* remove ThemeImage

* remove ZommableImg component

* add use client to Image component
2024-07-03 13:02:13 +02:00
Thor 雷神 Schaeff 0dbb5e5225 docs: update deno deps to jsr. (#27766)
docs: update deno desp to jsr.
2024-07-03 18:06:55 +08:00
Charis 484393f666 fix: catch errors on setall in rscs (#27762) 2024-07-03 08:56:56 +02:00
Etienne StalmansandCharis 361adf9f7c docs: add note about ssl modes (#27679)
* docs: add note about ssl modes

Postgres supports multiple SSL modes for clients. Each mode provides a
different level of protection. Add a note describing how to use the
strongest mode (`verify-full`) when SSL enforcement is enabled.

* docs: fix typo

* Update apps/docs/content/guides/platform/ssl-enforcement.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-03 08:35:38 +02:00
ce808954df docs: init Realtime authz docs (#22803)
* chore: init Realtime authz docs

* fix: some Vale fixes

* fix: run Prettier

* fix: Prettier

* fix: add note to contact us with placeholder link

* fix: swap rules for policies

* fix: lots of changes

* fix: update for latest Authz model

* fix: nits

* fix: more nits

* fix: nit

* edits

* fix: remove realtime.channel names and fix `in` filters

* fix: caps

* fix: moar

* fix: change h3 to h4

* fix: clarify interaction with postgres_changes

* fix: added simple steps to enable

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

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

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

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

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

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

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

Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>

* fix: add clarity to how it works

* fix: `features` to `extensions`

* fix: clarity

* fix: spelling

* fix: add detail about the test query.

* updates

* updates

* updates

* fix: update schema

* fix: prettier

* fix: rewrite section

* fix: create tables sql

* fix: shorten policy names

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <5532241+w3b6x9@users.noreply.github.com>
Co-authored-by: Wen Bo Xie <wenbo.xie3@gmail.com>
2024-07-02 14:46:29 -04:00
Steve Xu 9f1030c4b1 fix(docs): example storage debugging query (#27640)
* fix(docs): example storage debugging query

* fix(docs): format SQL code
2024-07-02 18:01:59 +00:00
Charis 53afaae9a5 fix: prevent overflow in mobile for inline code (#27739) 2024-07-02 13:04:19 +02:00
lollipopkit🏳️‍⚧️andHan Qiao da21986a5d doc: rootless docker (#27515)
* doc: rootless docker

* Update apps/docs/content/guides/self-hosting/docker.mdx

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
2024-07-02 04:13:58 +00:00
Nil Gàllego 5336920c64 docs: Add crypto package for Apple sign-in functionality (#27664) 2024-07-02 03:46:03 +00:00
TylerandJan Tennert 42f76def90 docs: Kotlin docs misc updates (#27655)
* simplify installation instruction of supabase-kt

* add response parsing sample to edge functions code on Kotlin

* docs: update realtime kotlin sample code to launch flow in another coroutine

* Update apps/docs/spec/supabase_kt_v2.yml

Co-authored-by: Jan Tennert <jan.m.tennert@gmail.com>

* Add note to invoke

---------

Co-authored-by: Jan Tennert <jan.m.tennert@gmail.com>
2024-07-02 10:46:06 +09:00
Andrew Smith 8124dcae54 update sveltekit guides with the latest ssr setup (#27641)
* update sveltekit guides with the latest ssr setup

* update style formatting
2024-07-01 19:39:43 -04:00
Jitesh Yadav 0a1476024f Update joins-and-nesting.mdx (#27311)
I have changed the text description of the ON clause  section and added the code for kotlin and  GraphQL.
2024-07-01 23:32:08 +00:00
GaryAustin1 85de650034 Invalid SQL syntax in rls bypass section (#27738)
Unless there is some new SQL I'm not familiar the code shown:
`grant bypassrls on "table_name" to "role_name";`
Will not work and instead should be:
`alter role "role_name" with bypassrls;`
2024-07-01 17:54:54 -04:00
Erik Petersen 862f6075fb docs: fix Next.js create client docs to match fix in ssr auth docs (#27659)
* docs: fix nextjs create client docs to match fix in ssr auth docs

* Fix bug by also making the auth route public
2024-07-01 21:35:49 +00:00
Vojtech NovakandCharis 6f9b470da3 docs: document testing with higher-level tools (#26924)
* docs: document testing with higher-level tools

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-01 19:25:57 +00:00
Richárd HrubyandCharis Lam 9697715825 update code snippet in nextjs server-side auth guide step 7 (#26281)
* update code snippet in nextjs server-side auth guide step 7

* format

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-07-01 19:23:11 +00:00
Erwin AIandCharis c53141de2a Just changing 'assword' to 'password'.. (auth-error-codes.mdx) (#27670)
Title says it all. Funny, but probs better to change it to 'password'

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-07-01 18:47:40 +00:00
TheOtherBrian1 d4719af05c Added warning about vacuum full (#27683) 2024-07-01 14:08:47 -04:00
github-actions[bot]andphamhieu a54aecd089 feat: update mgmt api docs (#27665)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2024-07-01 17:49:22 +00:00
Long HoangandCharis 05dfbec846 docs: add fair use to billing faq (#27580)
* docs: service restrictions

* fix: typo in fair use policy

* fix: correct some vale errors

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

* Update apps/docs/content/guides/platform/billing-faq.mdx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-30 23:07:15 +08:00
Guilherme Souza c72fa5d373 chore(docs): add params for swift methods (#27008) 2024-06-29 06:11:32 -03:00