Skip to content

Releases: becem-gharbi/nuxt-auth

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

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