Commit Graph

30 Commits

Author SHA1 Message Date
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
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
Han Qiao b0abf4e580 chore: simplify config for edge functions (#30850)
* chore: simplify config for caching examples

* chore: simplify config for edge functions

* chore: upload example images to storage
2024-12-04 16:53:52 +08:00
dependabot[bot] 1b442b318e chore(deps): bump next from 14.0.3 to 14.2.10 in /examples/caching/with-react-query-nextjs-14 (#29351)
chore(deps): bump next in /examples/caching/with-react-query-nextjs-14

Bumps [next](https://github.com/vercel/next.js) from 14.0.3 to 14.2.10.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.0.3...v14.2.10)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-20 16:33:19 +02:00
Jonathan Summers-Muir 6d760a1a99 Feat/deep dark (#27026)
* chore: move to deeper dark

* tidy up boxes on www

* update deep-dark colors

* fix homepage product cards

* toned down pricing page a little

* update

* lots of color changes

* Update grid.scss

* Update EntityListItem.tsx

* Update EntityListItem.tsx

* fix partners page icon

* fix partners page colors

* update theme

* Update global.css

* combined dark theme so classic-dark does not break on other sites

* Update package-lock.json

* updated color tokens pipeline to support combined dark theme

* smol updates

* Update FeaturedThumb.tsx

* Update BlogFilters.tsx

* Update BlogListItem.tsx

* Update BlogListItem.tsx

* Update UserSettingsDropdown.tsx

* Update NavigationBar.tsx

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-07-30 21:34:28 +08:00
Thor 雷神 Schaeff 34a016b4c2 feat(blog): Add React Query post. (#20254)
* feat(blog): Add React Query post.

* feat(examples): Add React Query example.

* Apply suggestions from code review

Thank you 💚

Co-authored-by: Philipp Steinrötter <philipp@steinroetter.com>

* chore: update og image.

---------

Co-authored-by: Philipp Steinrötter <philipp@steinroetter.com>
2024-01-12 10:30:48 +00:00
dependabot[bot] a5672cf3a9 chore(deps-dev): bump wrangler from 2.0.16 to 2.20.1 in /examples/caching/with-cloudflare-workers-kv (#17080)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-25 14:46:07 +08:00
Greg Richardson 5d457bdc75 Merge pull request #15892 from supabase/dependabot/npm_and_yarn/examples/caching/with-nextjs-13/word-wrap-1.2.4
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 in /examples/caching/with-nextjs-13
2023-07-19 10:56:31 -06:00
dependabot[bot] 4f64ee071e chore(deps-dev): bump word-wrap in /examples/caching/with-nextjs-13
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 09:46:16 +00:00
dependabot[bot] e983153081 chore(deps): bump word-wrap
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 09:46:14 +00:00
dependabot[bot] 628eb498ce build(deps): bump semver
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 17:15:56 +00:00
Alaister Young 9cdeb4fddb chore: switch to /dashboard 2023-05-11 22:34:22 +10:00
Ollie Halliday 26ee772564 changed missing references 2023-05-02 16:07:06 +01:00
dependabot[bot] 5d555474e5 chore(deps): bump undici and miniflare
Bumps [undici](https://github.com/nodejs/undici) and [miniflare](https://github.com/cloudflare/miniflare/tree/HEAD/packages/miniflare). These dependencies needed to be updated together.

Updates `undici` from 5.9.1 to 5.20.0
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.9.1...v5.20.0)

Updates `miniflare` from 2.11.0 to 2.13.0
- [Release notes](https://github.com/cloudflare/miniflare/releases)
- [Changelog](https://github.com/cloudflare/miniflare/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/cloudflare/miniflare/commits/v2.13.0/packages/miniflare)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
- dependency-name: miniflare
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 07:55:50 +00:00
dependabot[bot] c2ae3ad540 chore(deps): bump json5
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 07:05:38 +00:00
Terry Sutton 2fdecdd7f9 Merge pull request #10092 from ib-ahmed/fix/with-next-readme-api
fix: update with-next example readme
2023-01-20 10:11:49 -03:30
Jon Meyers 0e3b20d847 run prettier over next.js 13 server components example 2023-01-20 13:42:32 +11:00
Jon Meyers 454c32cd90 add next.js server components example 2023-01-20 13:33:01 +11:00
supastore ba36541551 Merge branch 'supabase:master' into fix/with-next-readme-api 2023-01-11 17:13:45 -05:00
dependabot[bot] b56515fa5a Bump json5 from 1.0.1 to 1.0.2 in /examples/caching/with-nextjs-13
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 17:20:36 +00:00
supastore 6ea892db7a added hello.ts api 2022-12-22 23:29:54 -05:00
supastore be58318868 Merge remote-tracking branch 'origin/master' into fix/with-next-readme-api 2022-12-22 23:18:11 -05:00
dependabot[bot] 07921918fc chore(deps): bump undici and miniflare
Bumps [undici](https://github.com/nodejs/undici) and [miniflare](https://github.com/cloudflare/miniflare/tree/HEAD/packages/miniflare). These dependencies needed to be updated together.

Updates `undici` from 5.5.1 to 5.9.1
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.5.1...v5.9.1)

Updates `miniflare` from 2.5.1 to 2.11.0
- [Release notes](https://github.com/cloudflare/miniflare/releases)
- [Changelog](https://github.com/cloudflare/miniflare/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/cloudflare/miniflare/commits/v2.11.0/packages/miniflare)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
- dependency-name: miniflare
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 15:26:56 +07:00
supastore f67d531ba6 Update README.md
Removed comment about api folder
2022-11-04 12:28:40 -04:00
thorwebdev ec4159067c fix: nextjs13 edge ISR not yet supported. 2022-11-01 09:54:06 +08:00
thorwebdev fe454f82fe feat: nextjs 13 edge cache example. 2022-10-28 18:16:23 +08:00
thorwebdev 690dd38890 feat: cloudflare kv cache example. 2022-10-28 13:19:42 +08:00