Releases: adonisjs/auth
Releases · adonisjs/auth
Add deleteAll method on TokensProvider
10.0.0-next.6 (2026-01-27)
Features
What's Changed
- feat: add deleteAll method on access token provider by @radiumrasheed in #260
New Contributors
- @radiumrasheed made their first contribution in #260
Full Changelog: v10.0.0-next.5...v10.0.0-next.6
Add deleteAll method on TokensProvider
Add user.validatePassword via the AuthMixin
10.0.0-next.5 (2026-01-22)
Features
- add validatePassword method to throw error when password is invalid (ce6b53b)
Full Changelog: v10.0.0-next.4...v10.0.0-next.5
Flash error message using the error key
10.0.0-next.4 (2026-01-21)
Features
- flash error using error property (83bb92d)
Full Changelog: v10.0.0-next.3...v10.0.0-next.4
Update dependencies
10.0.0-next.3 (2025-12-19)
Full Changelog: v10.0.0-next.2...v10.0.0-next.3
Simplify usage of `withAuthFinder` mixin
10.0.0-next.2 (2025-10-27)
Not a big change, but small things matter too. The withAuthFinder mixin also accepts the hash manager and will use the default driver. Also, the config has been made optional to use sane defaults.
FROM
const AuthFinder = withAuthFinder(() => hash.use('scrypt'), {
uids: ['email'],
passwordColumnName: 'password',
})
export default class User extends compose(
BaseModel,
AuthFinder,
) {
}TO
export default class User extends compose(
BaseModel,
withAuthFinder(hash),
) {
}Features
- make withAuthFinder mixin accept hash manager and make options optional (7ebc10e)
Full Changelog: v10.0.0-next.1...v10.0.0-next.2
Make sure the user is defined in the session logout event
10.0.0-next.1 (2025-10-20)
Bug Fixes
- emit event session logout before update local data (46d19f6)
What's Changed
New Contributors
Full Changelog: v10.0.0-next.0...v10.0.0-next.1
Make sure the user is defined in the session logout event
9.5.1 (2025-10-20)
Bug Fixes
- emit event session logout before update local data (028945c)
Full Changelog: v9.5.0...v9.5.1
Add checkUsing method that accepts multiple guards to check for authenticated user
Pre-release
10.0.0-next.0 (2025-09-22)
Features
What's Changed
- feat: allow to pass custom guard to check method by @adamcikado in #257
Full Changelog: v9.4.2...v10.0.0-next.0
Add checkUsing method that accepts multiple guards to check for authenticated user
9.5.0 (2025-09-22)
Features
What's Changed
- feat: allow to pass custom guard to check method by @adamcikado in #257
Full Changelog: v9.4.2...v9.5.0