Changelog
Discover the lastest updates.
v1.4.4 December 10, 2024
What's Changed
Feature
- deps: Update supabase-js to fix realtime issue (#436)
Full changelog (2024-12-10)
Contributors 💚
v1.4.1 October 11, 2024
What's Changed
Bug Fixes
- session: ssr getSession warning (#418) (95d905b)
- types: added explicit types annotations for
serverSupabaseClient
andserverSupabaseServiceRole
(#411) (3f98640)
Full changelog (2024-08-30)
Contributors 💚
v1.4.0 August 30, 2024
What's Changed
Bug Fixes
- types: add explicit type annotations for plugins (#408) (09bff84)
- types: add explicit types for composables & remove
baseUrl
from tsconfig (#404) (596ece2) - types: nullable composable types (#407) (cbbfd86)
Features
Full changelog (2024-08-30)
Contributors 💚
v1.3.1 July 5, 2024
What's Changed
⚠️ You can switch directly to 1.3.1
, since 1.3.0
has been superseded.
Major changes
We're now using the @supabase/ssr library under the hood 🎉 (#357)
There are no breaking changes related to this improvement. However, a non-disruptive warning appears in this release:
Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure.
This warning is related to an issue in the Supabase library itself. Initially, I intended to wait for this fix but since managing updates across two separate branches is challenging I chose to merge it anyway. I could no longer delay the release due to users raising concerns about outdated dependencies and other issues within the module.
You can upvote the issue to encourage the Supabase maintainers to address it.
This improvement might fix:
A big thanks to @felixgabler for initiating this change and helping refactor the module.
Other update
- Automatic database types by @IsraelOrtuno (#336)
v1.2.1 April 18, 2024
What's Changed
Improvements
Performance improvements by @vinceglb in #352
Chore
Move to eslint v9 using @nuxt/eslint package
💚 Thanks for the help from:
v1.2.0 March 29, 2024
What's Changed
Minor version since we have a new composable 🎉
useSupabaseSession and serverSupabaseSession are now available to fetch your session client and server side (#338) (07eb081 & 9dee37e)
Thanks @joeychilson for this feature 🙏
v1.1.5 December 28, 2023
What's Changed
Bug Fixes
- server: fetch user from session (7a3b73c)
Improvements
- app: use module-builder stub mode for more accurate types #315
Docs
💚 Thanks for the help from
v1.1.4 November 17, 2023
v1.1.3 October 6, 2023
What's Changed
- client: clientOptions merge#275 (#277) (c0097a3)
- module: do not warn when using runtimeConfig to set url and key (#281) (8c15173)
💚 Thanks for the help from 💚 @stafyniaksacha @jonesisg1
v1.1.2 September 6, 2023
What's Changed
⚠️ BREAKING CHANGE ⚠️
Breaking change is related to #244 and was first adressed in the v1.1.0
but patch has been necessary to fix the version.
On the confirm page, configured in redirect.callback
option (default to /confirm
), ensure to set the immediate
option in the watch.
Check out the doc: http://supabase.nuxtjs.org/authentication#confirm-page-confirm
Check out the demo code: https://github.com/nuxt-modules/supabase/blob/main/demo/pages/confirm.vue
Bug Fixes
- module: priority of redirect options made by defu (#256) (c4e30bf)
- plugin: retrieve user for client only page (#244) (4a35428)
- useSupabaseUser: add explicit user type (#254) (60d8551)
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v1.0.2...v1.1.0
💚 Thanks for the help from 💚 @52cs @Aietes @AlbertBrand @kiri10ten @xMorthi
v1.0.2 August 4, 2023
v1.0.1 August 2, 2023
I am happy to announce the release of version 1.0.0
of this module. While the module has been production-ready for quite some time, I never had the opportunity to create the first major version until now. Given that this version incorporates significant changes, I believe it is the perfect moment to establish this initial major release.
What's changed
- Supabase introduced a new authentication flow (PKCE) a few months ago, which is now the default behavior of the module. However, you can still revert to the old (and less secure) authentication method through the module configuration. To help you seamlessly integrate this new flow, a dedicated section has been added to the documentation. (#219)
- Building upon the previous point, we have implemented substantial changes to the session management, involving alterations to how Supabase clients are instantiated and how sessions are synchronized between the server and client-side. Consequently, these changes result in some breaking changes, which are listed below.
- A brand new documentation has been built entirely using Nuxt Studio. Feel free to create PRs to suggest fixes or add any necessary changes to further enhance the documentation. (#210 / #221) => https://supabase.nuxtjs.org
Here's documentation that can help you understand the PKCE authentication flow:
- https://supabase.com/blog/supabase-auth-sso-pkce#server-side-and-mobile-auth
- https://supabase.com/docs/guides/resources/glossary#pkce
⚠️ BREAKING CHANGES ⚠️
useSupabaseAuthClient
has been removed in favor ofuseSupabaseClient
in all casesserverSupabaseClient
is now returning a promise (should be called withawait
in anasync
method)redirect
option is enable by default, follow this guide to update your appclient
option becomesclientOptions
with new default value (including the PKCE flow)cookies
options is split incookieName
andcookieOptions
, default values have not changed
Here si the commit done for updating the demo with the last version: 10e0586
A huge thanks to @Aietes for initialising all those changes and help me built it 💚
v0.3.8 July 3, 2023
What's Changed
- feat(session): save provider access/refresh tokens in cookies (
ea8c21f
) in #197 by @mitjans - chore(deps): upgrade to latest (
a52abc8
)
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.3.7...v0.3.8
💚 Thanks for the help from 💚 @mitjans
v0.3.7 June 12, 2023
What's Changed
- fix(client): fix persist session warning for
serverSupabaseServiceRole
(#194) resolves #193 - docs(get-started): remove defineNuxtConfig (
0151901
)
💚 Thanks for the help from 💚 @jawngee
v0.3.5 April 3, 2023
What's Changed
- chore(demo): upgrade on last version (
9bb9e28
) - chore(demo): generate database types from supabase cli (
bca1992
) - docs(links): update nuxt & supabase links and fix typos (
5699dc6
) - chore(app): move to pnpm (
94f7e13
) - chore(module): conditionally add redirect plugin (
0cad0a5
) - docs(get-started): fix typos (
ba437a8
) - docs(composables): correct grammar errors (
034d7df
) - feat(demo): add call from server route(
989a91e
) - perf(useSupabaseAuthClient): avoid declaring unused variables (
8c070b9
) - fix(dev): optimize supabase deps (
d1da3f6
) resolves #172 & #151 - chore(deps): transpile websocket lib prod only (
a1ee40c
) - fix(deps): transpile gotrue only on client (
fcc6823
) resolves #172 on server side
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.3.1...v0.3.5
💚 Thanks for the help from 💚 @kuizuo @tnntwister @yannaufray @DamianGlowala
v0.3.3 March 31, 2023
What's Changed
- perf(useSupabaseAuthClient): avoid declaring unused variables (#166) (
8c070b9
) - feat(demo): add call from server route (
989a91e
) - chore(demo): upgrade deps (
9ebbc77
) - chore(deps): upgrade (
e274a5e
) - docs(composables): correct grammar errors (#162) (
034d7df
) - docs(readme): add nuxt badge (
68271b8
) - docs(demo): fix typo (#125) (
bd33d12
) - docs(get-started): fix typos (#154) (
ba437a8
) - chore(module): conditionally add redirect plugin (#157) (
0cad0a5
) - chore(app): move to pnpm (
94f7e13
) - docs(links): update nuxt & supabase links and fix typos (#126) (
5699dc6
) - chore(demo): generate database types from supabase cli (
bca1992
)
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.3.1...v0.3.3
v0.3.1 February 7, 2023
What's Changed
- chore(app): upgrade deps and fix lint (
68baf68
) - fix(client): unset user before session on logout (
ab574ef
) - chore(demo): update with latest and fix logout
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.3.0...v0.3.1
v0.3.0 November 22, 2022
⚠️ BREAKING CHANGES ⚠️
What's Changed
In order to resolve #114, I have made the choice to separate the useSupabaseClient
in two other composables:
- The
useSupabaseAuthClient
is dedicated to authentification purpose only. It won't be recreate if your token expires, it is used in the client plugin to listen toonAuthStateChange
events. - The
useSupabaseClient
is now only useful for data request.
To avoid regression you just need to use useSupabaseAuthClient
instead of useSupabaseClient
everywhere you use Supabase auth methods.
Documentation has been updated.
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.2.6...v0.3.0
v0.2.6 November 22, 2022
What's Changed
- chore: update to Nuxt 3 stable 🚀 https://nuxt.com/v3
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.2.5...v0.2.6
v0.2.5 November 22, 2022
v0.2.4 November 13, 2022
What's Changed
- fix: handle TOKEN_REFRESHED session event in
bf50302
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.2.3...v0.2.4
v0.2.3 November 11, 2022
What's Changed
- feat: typed supabase client in
b59ff1a
andfd751d7
- chore: upgrade to nuxt rc13
- fix: do not apply token if not exists (#107)
- docs: add roadmap board from https://volta.net in
f8e73b5
Contributors
Thanks to @manniL and @levibe 💚
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.2.0...v0.2.3
v0.2.0 October 17, 2022
What's Changed
⚠️ Breaking Changes
Upgrade to supabase-js v2, check Supabase release notes.
Module documentation has been updated in favor of supabase v2 syntax.
Please feel free to make PR if I missed something 🙏
🚀 Features
- options: redirect user after signout or when user is not authenticated (check documentation)
- session: set refresh token #18
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.28...v0.2.0
v0.1.28 October 7, 2022
What's Changed
- fix: cloudflare workers deployment (#46)
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.27...v0.1.28
Thanks to @kevinmarrec for the fix 🔥
v0.1.27 September 23, 2022
What's Changed
- chore: upgrade to Nuxt rc.11
Stable is coming 🚀
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.26...v0.1.27
v0.2.0 August 16, 2022
What's Changed
⚠️ Breaking Changes
Upgrade to supabase-js v2, check Supabase release notes.
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.22...v0.2.0
v0.1.26 September 16, 2022
What's Changed
- chore: upgrade to Nuxt rc.10
Stable in coming 🚀
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.25...v0.1.26
v0.1.25 September 5, 2022
What's Changed
- docs: new directory architecture + supabase module v2 coming soon in
d48522a
ande69712b
. Check out https://supabase.nuxtjs.org/ - chore: upgrade to rc9 in
3c5220b
and495e0b7
- chore: fix nuxt compatibility (#70)
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.23...v0.1.25
v0.1.23 August 16, 2022
What's Changed
- fix: transpile supabase packages in nuxt-community/supabase-module@
6602020
nuxt-community/supabase-module@237ddf2
and (#62)
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.20...v0.1.23
v0.1.20 August 16, 2022
What's Changed
- chore: upgrade to nuxt rc.8
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.19...v0.1.20
New Contributors
- @josuemartinezz made his first contribution in #59
v0.1.19 July 18, 2022
What's Changed
- chore: upgrade to nuxt rc.5
- doc: add supabase icon in nuxt-community/supabase-module@
c0cce01
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.18...v0.1.19
v0.1.18 June 29, 2022
What's Changed
- doc: update logo & social preview in nuxt-community/supabase-module@
9b0b2fb
(#53) - fix: transpile supabase packages in nuxt-community/supabase-module@
309c137
(#55)
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.17...v0.1.18
v0.1.17 June 17, 2022
What's Changed
- chore: upgrade to nuxt rc.4
- doc: update docus theme in nuxt-community/supabase-module@
64a5add
- doc: add advanced usage with supabase realtime nuxt-community/supabase-module@
8047e31
Checkout the documentation for supabase realtime!
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.16...v0.1.17
v0.1.16 June 1, 2022
What's Changed
- doc: use docus theme (public release coming soon) powered by nuxt content v2 in nuxt-community/supabase-module@
c24a16f
(#41) - feat: service role client to bypass RLS in nuxt-community/supabase-module@
ba70a97
(#43)
Checkout the new documentation !
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.14...v0.1.16
v0.1.14 May 13, 2022
What's Changed
- feat: add playground folder in nuxt-community/supabase-module@
339cf31
- fix: client options in nuxt-community/supabase-module@
4c5595c
- feat: add server routes services in nuxt-community/supabase-module@
696d3e8
(#36)
You can check the documentation updated for the use of services
in server routes.
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.11...v0.1.14
v0.1.11 May 6, 2022
- chore: upgrade deps
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.9...v0.1.11
v0.1.9 April 20, 2022
- fix: use
#imports
instead of#nitro
(nuxt-community/supabase-module@42af598
)
Full Changelog: https://github.com/nuxt-community/supabase-module/compare/v0.1.8...v0.1.9
v0.1.8 April 13, 2022
What's Changed
- fix: update runtime config fetch and override in nuxt-community/supabase-module@
260ebc7
- feat: handle session with defineEventHandler in nuxt-community/supabase-module@
e646b1c
(Check Nuxt doc)
v0.1.7 April 7, 2022
What's Changed
- fix: assert method and use correct key for server middleware in nuxt-community/supabase-module@
8a4d631
- fix: replace #config with #nitro by @psto in nuxt-community/supabase-module#23
New Contributors
- @psto made their first contribution in nuxt-community/supabase-module#23