Skip to content

Releases: becem-gharbi/nuxt-auth

v3.0.0-beta.2

03 Jun 19:34
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release

compare changes

🚀 Enhancements

  • Add provider to access token payload (#34)

🔥 Performance

  • ⚠️ Avoid registration of server handlers when respective configuration missing (#33)

🩹 Fixes

  • Convert param id to number if possible (9a88165)
  • Assign role default on registration with credentials (65a9813)

💅 Refactors

  • ⚠️ Change server error messages (#32)

🌊 Types

  • Set accessToken.customClaims values to unknown (242be21)

🏡 Chore

  • playground: Pass prisma client to event context (56e8604)
  • Sync changelog (e474411)

✅ Tests

  • Add render user avatar test (ad503b1)
  • Add request password reset test (454ec0e)

⚠️ Breaking Changes

  • ⚠️ Avoid registration of server handlers when respective configuration missing (#33)
  • ⚠️ Change server error messages (#32)

❤️ Contributors

v3.0.0-beta.1

01 Jun 18:24
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release

v3.0.0-beta.1

compare changes

🚀 Enhancements

  • ⚠️ Allow usage of custom data layer (#30)

🩹 Fixes

  • Avoid delete of non-existant refresh token (#31)

💅 Refactors

  • Change findUser to findUserById and findUserByEmail (7ce97d6)

🏡 Chore

  • Resolve import of nitro utils (8f98519)
  • playground: Change email provider to hook (028697f)

⚠️ Breaking Changes

  • ⚠️ Allow usage of custom data layer (#30)

❤️ Contributors

v3.0.0-beta.0

31 May 19:34
Compare
Choose a tag to compare
v3.0.0-beta.0 Pre-release
Pre-release

compare changes

🏡 Chore

  • lint: Migrate to @nuxt/eslint-config (67a2dcb)
  • lint: Fix issues (687a7b4)
  • Hide node deprecation warnings on build (3c7d27a)
  • ⚠️ Remove useAuthFetch (#24)
  • ⚠️ Remove internal prisma instantiation (#25)
  • ⚠️ Remove Custom email provider (#26)
  • playground: Remove deprecated config options (38c59b3)
  • ⚠️ Remove purge of expired sessions (#27)
  • ⚠️ Rename registration.enable to registration.enabled (#28)
  • ⚠️ Only except .html custom email templates (#29)
  • Change password reset and email verification token's secrets (9125a3f)
  • Resolve @typescript-eslint/ban-ts-comment overrides (bf0ab12)

✅ Tests

⚠️ Breaking Changes

  • ⚠️ Remove useAuthFetch (#24)
  • ⚠️ Remove internal prisma instantiation (#25)
  • ⚠️ Remove Custom email provider (#26)
  • ⚠️ Remove purge of expired sessions (#27)
  • ⚠️ Rename registration.enable to registration.enabled (#28)
  • ⚠️ Only except .html custom email templates (#29)

❤️ Contributors

v2.6.0

16 Apr 11:41
Compare
Choose a tag to compare

compare changes

About

This is the last minor release of version 2.

🚀 Enhancements

  • Support adding custom email templates via relative path (#20)

🔥 Performance

  • Replace uuid with crypto.randomUUID (b045232)

🩹 Fixes

  • registration: Inform user when account not verified (#21)

💅 Refactors

📖 Documentation

  • Mention new starter (a8a4a47)
  • Remove Nuxt version specification (96fbae0)

❤️ Contributors

v2.5.1

07 Apr 16:47
Compare
Choose a tag to compare

compare changes

🔥 Performance

  • Replace mustache with lightweight internal utility (50041c3)
  • Minify default email templates (6f3f7e2)

🏡 Chore

  • playground: Use sqlite instead of mongo db (79b72c0)

❤️ Contributors

v2.5.0

04 Apr 11:56
Compare
Choose a tag to compare

compare changes

⚠️ About

This release introduces 2 new features with deprecation:

  • External prisma client instantiation. This allows the integration of db driver adapters for example Cloudflare D1 which is now supported in preview on Prisma v5.12. Please check [#17] and [docs] for migration.
  • Hook-based email provider. This allows sending emails (email verification/password reset..) via a nitro hook. Please check [#18] and [docs] for migration.

🚀 Enhancements

  • Support custom prisma client instantiation (#17)
  • Add Hook email provider (#18)

❤️ Contributors

v2.4.8

27 Mar 13:03
Compare
Choose a tag to compare

compare changes

💅 Refactors

  • Better concurrent refresh handling (184a62e)
  • Replace process with import.meta (2070c8f)
  • Remove try...catch from flow plugin (92ab51e)
  • Better code readability (ade5fd4)
  • Format import statements (ffb4428)

🏡 Chore

❤️ Contributors

v2.4.7

19 Mar 09:28
Compare
Choose a tag to compare

compare changes

🔥 Performance

  • Avoid extra refresh on oauth login fail (271bc9b)

🌊 Types

🏡 Chore

❤️ Contributors

v2.4.6

11 Mar 11:23
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Auto-revoke active session if refresh fails (67cd505)

💅 Refactors

  • Only avoid auto-logout when page not found (390de02)

❤️ Contributors

v2.4.5

09 Mar 16:44
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Avoid auto-logout on SSR error (921662e)

💅 Refactors

  • Remove extra token check (0391746)

📖 Documentation

🏡 Chore

  • package.json: Set homepage property (1f98370)

❤️ Contributors