Skip to content

Releases: adonisjs/auth

Update dependencies

19 Dec 07:16

Choose a tag to compare

Update dependencies Pre-release
Pre-release

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

27 Oct 08:50

Choose a tag to compare

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

20 Oct 06:06

Choose a tag to compare

10.0.0-next.1 (2025-10-20)

Bug Fixes

  • emit event session logout before update local data (46d19f6)

What's Changed

  • fix: emit event session logout before update local data by @ad-momo in #259

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

20 Oct 05:58

Choose a tag to compare

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

22 Sep 11:23

Choose a tag to compare

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

22 Sep 10:41

Choose a tag to compare

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

Update dependencies

15 Jul 11:15

Choose a tag to compare

Fix OAT guard to allow case-insensitive value in the Authorization header

15 Jul 11:15

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v9.4.0...v9.4.1

Add createToken and invalidateToken methods to the guard

01 Apr 14:26

Choose a tag to compare

9.4.0 (2025-04-01)

Features

  • allow signing in users directly through the auth token guard (#251) (f1e1941)

What's Changed

  • Allow signing in users directly through the auth token guard by @jeppester in #251

New Contributors

Full Changelog: v9.3.2...v9.4.0

Fix withAuthFinder mixin to not generate duplicate types for the BaseModel

24 Feb 05:27

Choose a tag to compare

9.3.2 (2025-02-24)

Bug Fixes

  • use explicit return type for withAuthFinder mixin (ed2907f)

What's Changed

  • fix: remove duplicate mixin's type declaration by @adamcikado in #250

New Contributors

  • @adamcikado made their first contribution in #250

Full Changelog: v9.3.1...v9.3.2