Skip to content

Releases: nuxt-modules/supabase

v1.1.3

06 Oct 07:51

Choose a tag to compare

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

06 Sep 17:44

Choose a tag to compare

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: v1.0.2...v1.1.0

πŸ’š Thanks for the help from πŸ’š
@52cs
@Aietes
@AlbertBrand
@kiri10ten
@xMorthi

v1.0.2

04 Aug 15:56

Choose a tag to compare

What's Changed

  • docs(auth): update (df00ffe)
  • fix(client): correct provider_token assignment to cookie (a76df3f)

Full Changelog: v1.0.1...v1.0.2

πŸ’š Thanks for the help from πŸ’š
@blqke
@Aietes

v1.0.1

02 Aug 15:46

Choose a tag to compare

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:


⚠️ BREAKING CHANGES ⚠️

  • useSupabaseAuthClient has been removed in favor of useSupabaseClient in all cases
  • serverSupabaseClient is now returning a promise (should be called with await in an async method)
  • redirect option is enable by default, follow this guide to update your app
  • client option becomes clientOptions with new default value (including the PKCE flow)
  • cookies options is split in cookieName and cookieOptions, 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

03 Jul 08:29

Choose a tag to compare

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: v0.3.7...v0.3.8

πŸ’š Thanks for the help from πŸ’š
@mitjans

v0.3.7

12 Jun 07:51

Choose a tag to compare

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.6

02 Jun 14:33

Choose a tag to compare

What's Changed

  • chore(deps): upgrade to nuxt and supabase latest version
  • fix(client): remove persist session warning on server side in 227113f (Resolves #188)
  • fix(chore): resolve imports (Resolves #190)

v0.3.5

03 Apr 09:50

Choose a tag to compare

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: v0.3.1...v0.3.5

πŸ’š Thanks for the help from πŸ’š
@kuizuo
@tnntwister
@yannaufray
@DamianGlowala

v0.3.3

31 Mar 21:51

Choose a tag to compare

v0.3.3 Pre-release
Pre-release

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: v0.3.1...v0.3.3

v0.3.1

07 Feb 20:18

Choose a tag to compare

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: v0.3.0...v0.3.1