Skip to content

Releases: becem-gharbi/nuxt-auth

v3.0.2

01 Oct 11:36
Compare
Choose a tag to compare

compare changes

🔥 Performance

  • Migrate from bcryptjs to bcrypt-edge (22% server bundle decrease) (8e12b80)

🏡 Chore

  • package.json: Update packageManager (c1d164c)
  • playground: Use memory storage with unstorage (f8458e3)

❤️ Contributors

v3.0.1

16 Aug 14:32
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Avoid params sanitization on login redirection (72113e7)
  • Automatically revoke expired sessions (6be46b1)

❤️ Contributors

v3.0.0

13 Jul 16:45
cce57bd
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • oauth: Allow adding custom query params on authorization request (#60)
  • Allow compatibility with nuxt v4 (8a73aa1)

🩹 Fixes

  • Correctly import from nitropack (eb8965d)

💅 Refactors

🏡 Chore

❤️ Contributors

v3.0.4-rc

17 Jun 14:57
Compare
Choose a tag to compare

compare changes

(No significant change)

❤️ Contributors

v3.0.3-rc

17 Jun 13:23
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Remove encoding of redirect query param (c1d964b)

💅 Refactors

  • useAuthSession: Avoid access to private runtimeConfig (1b8a318)

📖 Documentation

  • Migrate to vitepress (#56)

❤️ Contributors

v3.0.2-rc

10 Jun 08:50
03c1e1d
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Solve potential infinite redirections on Vercel (#54)
  • Prioritize guest middleware over global auth middleware (bde3091)

💅 Refactors

  • unstorage: Rename token to session (9d8f649)
  • config: Make registration.defaultRole optional (fb9013d)

📖 Documentation

❤️ Contributors

v3.0.1-rc

07 Jun 18:54
Compare
Choose a tag to compare

compare changes

Version 3

This is the first release candidate of version 3. Please check the migration guide for breaking changes.

❤️ Contributors

v3.0.0-beta.5

06 Jun 16:54
Compare
Choose a tag to compare
v3.0.0-beta.5 Pre-release
Pre-release

compare changes

🩹 Fixes

  • Allow overwriting adapter Source (#47)

💅 Refactors

  • Rename adapter Options to Source (5780b45)
  • ⚠️ Change event.context definition (#45)
  • ⚠️ Rename #auth to #auth_utils (d9d1bcc)
  • ⚠️ Change path of session endpoints (#48)
  • Add max length validation for email & name (ff5b4ad)

🌊 Types

  • Fix utils types & refactor (b8412df)
  • Rename #build/types/auth_adapter to #auth_adapter (#46)

⚠️ Breaking Changes

  • ⚠️ Change event.context definition (#45)
  • ⚠️ Rename #auth to #auth_utils (d9d1bcc)
  • ⚠️ Change path of session endpoints (#48)

❤️ Contributors

v3.0.0-beta.4

05 Jun 19:45
Compare
Choose a tag to compare
v3.0.0-beta.4 Pre-release
Pre-release

v3.0.0-beta.4

compare changes

🚀 Enhancements

  • Add Email action timeout (#43)

🔥 Performance

  • Skip refresh token verification when undefined (5bf7521)

🩹 Fixes

  • Reset requestedPasswordReset to false on login (1deca27)
  • Allow overwriting ID type (#44)

💅 Refactors

  • Code review (b5739ad)
  • Rename filename of #auth type definition (8b636a3)

📖 Documentation

  • Update JSDOC of composables (#42)

🏡 Chore

  • Change setup files location (a3c2514)

✅ Tests

❤️ Contributors

v3.0.0-beta.3

04 Jun 19:25
Compare
Choose a tag to compare
v3.0.0-beta.3 Pre-release
Pre-release

compare changes

🚀 Enhancements

  • Add auth:fetchError hook (ab89ac9)
  • Feat: add emailValidationRegex for email validation on registration (#37)
  • Add prisma adapter (#38)
  • Add unstorage adapter (#39)
  • Allow augmenting adapter types e.g User (#40)

🩹 Fixes

  • Disallow token refresh when account not verified (5672407)

💅 Refactors

  • Ensure auth refresh flow runs at the end (#36)

🌊 Types

  • Define types of route middlewares auth and guest (#35)
  • Add known oauth options for google and github (06b9f82)
  • Resolve provider from User (68a357f)

🏡 Chore

  • ⚠️ Do not convert createdAt updatedAt to Date on user state (82fc63c)
  • playground: Add adapter selection (580b821)
  • playground: Avoid editing runtime config (b48e24c)

⚠️ Breaking Changes

  • ⚠️ Do not convert createdAt updatedAt to Date on user state (82fc63c)

❤️ Contributors