Commit Graph

67 Commits

Author SHA1 Message Date
Chris Chinchilla
8b01d388b9 docs: Remove leftover auth-ui components (#45931)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Updated authentication guide for Kotlin Compose Multiplatform with
revised dependency configuration.
* Enhanced user-management example README with improved project
structure, deployment steps, and resources.

* **Chores**
* Refactored example applications to use custom authentication forms
instead of pre-built Auth UI components.
* Removed unused authentication UI dependencies from multiple example
projects.

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/45931)

<!-- review_stack_entry_end -->

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Cemal Kılıç <cemalkilic@users.noreply.github.com>
2026-05-14 15:42:09 +00:00
Chris Chinchilla
d8bd6b047c docs: Examples Key changes (#45170)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Documentation**
* Updated examples and guides to use Supabase publishable (client) keys
instead of anon keys for client-side usage across frameworks and
platforms.
* Renamed environment variable examples and .env templates to reflect
publishable key naming.
* Adjusted sample requests and client-init examples to send/use the
publishable key via the apikey header where applicable.
* Updated references from service_role to secret for server-side
credential guidance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: fadymak <fady@fadymak.com>
2026-05-04 12:58:16 +02:00
Laurence Isla
08e9cdde5e docs: data api docs functions (#44412)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Replaces "stored procedures" with "functions" for everything related to
the Data API.

## Additional context

It's not accurate to call database functions "stored procedures". It may
have been that way before Postgres 11, but now it causes confusion
because PostgREST allows functions and not stored procedures.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Documentation**
* Standardized terminology across docs, SDK guides, CLI/config specs,
examples, UI, and config comments to use "database functions" instead of
"stored procedures".
* Updated API docs, CLI/config descriptions, Studio UI labels, help
text, empty-state and navigation copy, RPC documentation, and example
text for consistency.
* Adjusted explanatory text and error/help messages to reflect the
revised terminology.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-04-21 11:54:27 +10:00
Katerina Skroumpelou
a7563e9fe6 docs(examples): use latest v2 of supabase-js and remove lock files (#44704)
* Use latest 2.x version of `@supabase/supabase-js` in all examples
* Use `latest` version of `@supabase/ssr` in all examples
* Remove lock files from examples
* Add examples lock files in .gitignore

The rationale is:
- Lock files are not actively maintained/updated (or the versions in the
package.json files for that matter)
- They pin an arbitrary version (from the end-user perspective)
- Removes the need to manually update the versions and reinstall
- Consistency

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

* **Chores**
* Broadened Supabase SDK dependency version constraints across example
projects for greater flexibility with compatible updates
  * Updated some SSR package dependencies to track latest releases
* Added gitignore rules for dependency lock files in example directories

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-04-14 09:24:46 +03:00
Ivan Vasilov
d07e78a616 chore: Run prettier on examples folder (#43851)
This PR runs `prettier` on the `examples` folder.

Depends on https://github.com/supabase/supabase/pull/43849.
2026-03-18 10:51:10 +01:00
samrose
26dd8ca958 fix: update slack clone deps (#43364)
Updating dependabot alerts on examples
2026-03-04 08:54:09 +01:00
Stojan Dimitrovski
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
Peter
1e28f4e9f0 Update dotenvx in example commands to be the correct package name (#35292) 2025-04-28 10:05:22 +02:00
Andrew Valleteau
7ce0038156 chore(docs): add dotenvx example (#31213)
* wip

* wip

* wip

* remove seeds

* wip

* add branching memento

* remove triple dots

* proofread

* chore: mention direct secret usage

* chore: update README.md

* chore: update docs

* fix: .env.local to .env.developemnt

* chore: fix typo

* chore: fix commands

* chore: update README.md

* chore: apply PR comments

* chore: rename .env.local to .env

* chore: simplify dotenvx setup (#32824)

* chore: bump cli

* chore: disable unused seed

---------

Co-authored-by: Han Qiao <sweatybridge@gmail.com>
Co-authored-by: Qiao Han <qiao@supabase.io>
2025-01-17 14:33:15 +08:00
Andrew Valleteau
5f0a8ef618 chore(docs): update nextjs slack clone (#30894)
* chore(docs): wip update nextjs slack

* chore: polish configtoml

* chore: add next.config.js

* chore: setup for valid nextjs deploy
2024-12-05 21:36:13 +08:00
Joel Lee
7547c52e4f fix: revoke role on public for hooks (#27077)
* fix: revoke role on public for hooks

* fix: update SQL editor queries

* fix: update examples

* fix: update RBAC doc

* fix: update description to describe why we revoke public

* fix: correct use of we

* fix: run prettier

* fix: remove unintentionally added files
2024-06-07 22:03:12 +02:00
cyluss
bfa54a2ca1 docs: Fix incorrect RLS original word in examples (#26937)
Fix incorrect RLS original word

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 01:08:30 +00:00
Inian
66a51bf817 remove live slack clone demo (#22644)
Example doesn't work already. Got Thor's confirmation [here](https://supabase.slack.com/archives/CS7RWBQ8K/p1712822464678959?thread_ts=1712668278.893099&cid=CS7RWBQ8K)
2024-04-12 12:55:36 +10:00
Han Qiao
5f11d81630 chore: create .env.example for bootstrap nextjs (#22309) 2024-03-28 21:17:16 +08:00
Vojtech Novak
5215a993af docs: remove unused user_id param (#21939)
* docs: remove unused user_id param

* mark fn STABLE not IMMUTABLE

* chore: update throughout.

---------

Co-authored-by: thorwebdev <thor@supabase.io>
Co-authored-by: Thor 雷神 Schaeff <5748289+thorwebdev@users.noreply.github.com>
2024-03-27 09:11:11 +00:00
Thor 雷神 Schaeff
7ce6958030 feat: add rbac claim auth hook. (#21263)
* feat: add rbac claim auth hook.

* feat: get user role from jwt.

* chore: update full-schema.

* feat: add RBAC guide.

* feat: use plpgsql.

* Apply suggestions from code review

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

* chore: make top level claim.

* chore: set search_paths.

* chore: accessing custom claims.

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-04 14:24:32 +00:00
Jon Meyers
a750896a34 Docs: remove outdated section from Slack Clone example (#18600)
remove outdated section from Slack Clone example
2023-11-01 00:26:37 +00:00
Thomas Eckl
1d2dc39cc4 fix: prevent error during local startup
Bump of supabase-js brought warning concerning not provided session storage option.
Therefore switched to SupabaseClient creation via auth-helpers-nextjs which means switching from localStrage to cookieStorage.
2023-07-03 00:10:11 +02:00
Greg Richardson
26be8af745 chore: change dashboard links to new url 2023-06-22 09:32:18 -06:00
Alaister Young
fc22963f16 Merge pull request #11334 from btoo/nextjs-slack-clone-fixes
fix several issues with nextjs-slack-clone:
2023-04-20 12:40:53 +10:00
Alaister Young
480d5cefef fix: use existing channel variables 2023-04-20 12:29:27 +10:00
dependabot[bot]
c1d3cf6998 chore(deps): bump postcss and tailwindcss
Bumps [postcss](https://github.com/postcss/postcss) to 8.4.5 and updates ancestor dependency [tailwindcss](https://github.com/tailwindlabs/tailwindcss). These dependencies need to be updated together.


Updates `postcss` from 6.0.23 to 8.4.5
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/6.0.23...8.4.5)

Updates `tailwindcss` from 1.9.6 to 3.3.1
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v1.9.6...v3.3.1)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
- dependency-name: tailwindcss
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 07:55:53 +00:00
btoo
137032684c fix several issues with nextjs-slack-clone:
- fix session restoration in nextjs-slack-clone (setUser needs to be called from not only onAuthStateChange but also getSession)

- fix message listener unmounting (supabase.removeChannel expects a RealtimeChannel, not a string)

- fix fetchMessages order (ascending option must be provided within an options object)
2022-12-29 01:49:53 -05:00
Andrew Smith
fe917faf46 Update examples with latest supabase-js
Update schema file to work with latest supabase-js
2022-10-26 21:45:37 +00:00
thorwebdev
d4ee3473c8 chore: update examples supabase-js v2 2022-10-19 23:18:59 +08:00
dannykng
9370244537 Revert "chore: remove examples"
This reverts commit 05b96de142.
2022-09-16 10:13:18 -07:00
Isaiah Hamilton
05b96de142 chore: remove examples 2022-09-08 22:55:22 -04:00
Chris Bautista
e8d1dd33a6 fix: vercel deploy button for slack clone 2022-07-28 11:15:13 -07:00
Jonathan Summers-Muir
5a38bd3d51 chore: update app.supabase.io links to app.supabase.com 2022-05-30 14:52:54 +08:00
Wen Bo Xie
ceeb5e0038 chore: version bump supabase-js to 1.35.3 in nextjs slack clone 2022-05-19 22:25:01 -07:00
Amin
c3fa66de18 update more slack clone links 2022-05-19 10:53:29 +07:00
Copple
e053fe7dc4 updates the deploy buttons 2022-04-27 17:28:35 +02:00
Copple
1b1bce93da organises the examples by function 2022-04-27 15:20:41 +02:00
Paul Copplestone
ede962481f chore: I'm settling on the example structure: {framework}-{app-description}
This is more likely how people will search - looking first for the framework which they are familiar with
2020-11-17 19:54:22 +08:00
Paul Copplestone
3d2c8c7ee9 Reverts back to the old supabase-js (for now) and resolves sidebar styling issues 2020-11-16 10:21:15 +08:00
Bobbie Soedirgo
550be3a9cb chore(slack clone): update to latest supabase-js (#288)
Also minor fixes, mostly related to using filters after `select` and
some auth API changes.
2020-11-15 11:59:29 +08:00
Duncan Healy
c870fdd252 catch error, change body to data 2020-11-05 16:02:04 +00:00
Duncan Healy
0148176bad fix package json to latest version of supabase-js 2020-11-05 11:03:50 +00:00
Duncan Healy
1767ec6e6e fix signOut 2020-11-04 12:28:17 +00:00
Duncan Healy
f2fe1b0a9c change to signIn signUp 2020-11-04 12:21:39 +00:00
Pham Hieu
2befe81a1a fix: slack-clone example to use a single supabase client in order to prevent access-token out of sync 2020-08-18 16:19:10 +08:00
Thorsten Schaeff
fed822f48c examples(slack-clone): Sync changes with next.js repo. (#139)
Co-authored-by: Thorsten Schaeff <thorsten@stripe.com>
2020-08-13 15:14:34 +08:00
awalias
274b413293 Update README.md
slight clarification to slack clone docs
2020-08-09 13:12:22 +08:00
Paul Copplestone
55a0aa5b7f docs: Adds the schema for people to get an idea of RLS 2020-07-30 20:28:19 +08:00
Paul Copplestone
1c4e6c91c9 docs: Left align gif 2020-07-30 20:10:05 +08:00
Paul Copplestone
83467cf86f docs: adds a link to a loom video 2020-07-30 20:04:32 +08:00
Paul Copplestone
91ec9cd339 docs: removes link to giphy 2020-07-30 19:17:53 +08:00
Paul Copplestone
158418504a chore: small formating on slack clone 2020-07-30 19:15:25 +08:00
Paul Copplestone
05addad410 chore: Bumps the supabase version to the most updates Auth 2020-07-30 13:35:44 +08:00
Paul Copplestone
7e24010f60 docs: Flesh out some instructions 2020-07-29 18:12:46 +08:00