Skip to content

Releases: nuxt-modules/supabase

v1.2.1

18 Apr 08:32
Compare
Choose a tag to compare

What's Changed

Improvements

Performance improvements by @vinceglb in #352

Chore

Move to eslint v9 using @nuxt/eslint package

💚 Thanks for the help from:

@vinceglb

Full changelog

v1.2.0

29 Mar 09:33
Compare
Choose a tag to compare

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 🙏

Full changelog

v1.1.7

07 Mar 09:33
Compare
Choose a tag to compare

What's Changed

Features

  • auth-middleware: add include to RedirectOptions (#336) (f9aad55), closes #268

💚 Thanks for the help from

@jojomatik

Full changelog

v1.1.6

26 Jan 15:22
Compare
Choose a tag to compare

What's Changed

Bug Fixes

  • deps: set resolution (db8c102)
  • playground: watch on confirm page (0caf5c1)

Features

  • app: added redirect path cookie for use after signin (#327) (1b78a05)

💚 Thanks for the help from

@Matthewenderle

Full changelog

v1.1.5

28 Dec 14:29
Compare
Choose a tag to compare

What's Changed

Bug Fixes

  • server: fetch user from session (7a3b73c)

Improvements

  • app: use module-builder stub mode for more accurate types #315

Docs

  • get-started: bun command #317
  • readme: typo in #dev section #316

💚 Thanks for the help from

@danielroe
@joshuabyler
@hafizjavaid
@relisora

Full changelog

v1.1.4

17 Nov 14:42
Compare
Choose a tag to compare

What's Changed

Bug Fixes

  • client: prevent useCookie usage outside of effect scope (#309) (bb55bed)

💚 Thanks for the help from 💚
@AlbertBrand

v1.1.3

06 Oct 07:51
Compare
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
Compare
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
Compare
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
Compare
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 💚