Skip to content

Releases: nuxt-modules/supabase

v1.5.0

04 Mar 10:48
Compare
Choose a tag to compare

1.5.0 (2025-03-04)

Bug Fixes

This release addresses multiple inconsistencies with cookie handling x customization that might fix several issues:

  • Setting persistSession: false still persists auth session (#390)
  • The module doesn't recognize supabase.clientOptions.auth.flowType key (#449)
  • Detecting session in URL is not working when sending "Password recovery" email manually from Supabase dashboard (#397)
  • Static Hosting: Client side only rendering gives error when signing in with email - pw (#138)

Features

  • Added useSsrCookies option (default: true) → Resolves #186

This new option controls whether the module uses cookies to share session info between server and client. You must enable this option if you need to access session or user info from the server. It will use the SSR client from the @supabase/ssr library.

When disabled, the module will use the default Supabase client from the @supabase/supabase-js library which stores session info in local storage. This is useful in certain cases, such as statically generated sites or mobile apps where cookies might not be available.

Breaking Changes?

No. useSsrCookies default value keep the old behaviour and deprecated options (cookieName, cookieRedirect) maintain backward compatibility.

Contributor 💚

A massive thanks to @Jordan-Ellis for this improvement.

v1.4.6

20 Jan 12:42
Compare
Choose a tag to compare

What's Changed

Bug Fixes

  • serverSupabaseServiceRole: Pass H3Event into useRuntimeConfig (#450) (2de1c08)

Full changelog (2025-01-20)

Contributors 💚

@blackburn32

v1.4.5

18 Dec 11:04
Compare
Choose a tag to compare

What's Changed

Fix

  • deps: Update supabase-js to fix #442 and #264

Full changelog (2024-12-18)

v1.4.4

10 Dec 14:54
Compare
Choose a tag to compare

What's Changed

Feature

  • deps: Update supabase-js to fix realtime issue (#436)

Full changelog (2024-12-10)

Contributors 💚

@felixgabler

v1.4.3

20 Nov 10:32
Compare
Choose a tag to compare

What's Changed

Refactor

Full changelog (2024-11-20)

Contributors 💚

@felixgabler

v1.4.2

07 Nov 09:13
Compare
Choose a tag to compare

What's Changed

Full changelog (2024-11-07)

Contributors 💚

@felixgabler

v1.4.1

11 Oct 07:57
Compare
Choose a tag to compare

What's Changed

Bug Fixes

  • session: ssr getSession warning (#418) (95d905b)
  • types: added explicit types annotations for serverSupabaseClient and serverSupabaseServiceRole (#411) (3f98640)

Full changelog (2024-08-30)

Contributors 💚

@th1m0

v1.4.0

30 Aug 12:31
Compare
Choose a tag to compare

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 💚

@felixgabler
@th1m0

v1.3.5

15 Jul 12:59
Compare
Choose a tag to compare

What's Changed

Bug Fixes

Full changelog

v1.3.4

10 Jul 07:00
Compare
Choose a tag to compare

What's Changed

Bug Fixes