Upgrade to v3
✨ New features
- Add
auth:errorandauth:registrationnitro hooks - source. - Add Email action timeout - source.
- Allow usage of custom data layer - source.
- Add
unstoragedatabase adapter - source. - Add
prismadatabase adapter - source. - Add
emailValidationRegexfor email validation on registration - source. - Define types of known OAuth options for
googleandgithub- source. - Add
auth:fetchErrornuxt hook - source. - Define types of route middleware
authandguest- source.
⚠️ Breaking changes
- Rename the
RefreshTokendata model toSession- source. - Change response of GET sessions endpoint - source.
- Change the return value of
useAuthSession().getAllSessions- source. - Change path of session endpoints - source.
- Rename
#authto#auth_utils- source. - Change
event.context.authdefinition - source. - Set default email provider to
hook- source. - Change types
createdAtupdatedAtof User state fromDatetostring- source. - Avoid registration of server handlers when respective configuration missing - source.
- Change server response error messages - source.
- Only accept
.htmlcustom email templates - source. - Rename
registration.enabletoregistration.enabled- source. - Remove purge of expired sessions - source.
- Remove
customemail provider - source. - Remove internal prisma instantiation - source.
- Remove
useAuthFetchcomposable - source.
