Skip to content

Releases: adonisjs/auth

Add verifyPassword to the AuthFinder mixin

16 Dec 19:31
Compare
Choose a tag to compare

The verifyPassword can be used to verify the plain text password against the password hash.

Features

  • add verifyPassword method to user for verifying password against hash (5dbe70f)

Full Changelog: v9.2.4...v9.3.0

Install missing dependencies

07 Nov 22:08
Compare
Choose a tag to compare

This release addresses missing dependencies needed for strict package managers like Yarn and pnpm.

We've also updated several development dependencies and automated the release process using GitHub Actions.

Full Changelog: v9.2.3...v9.2.4

Update peer range to work with Lucid 20 and 21

19 Jun 02:50
Compare
Choose a tag to compare
  • chore: allow lucid@20 in peer range 6061e08

Full Changelog: v9.2.2...v9.2.3

Update dependencies and update lucid peer range

19 Jun 02:49
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v9.2.1...v9.2.2

Do not cache models when running in hot mode

26 Apr 04:31
Compare
Choose a tag to compare
  • refactor: do not cache models import when running in hot mode 950ee51
  • chore: update dependencies 7a2540d

Full Changelog: v9.2.0...v9.2.1

Configure basic auth guard and export authFinder mixin from its own subpath

02 Apr 09:11
Compare
Choose a tag to compare

The @adonisjs/auth can be used with Lucid if someone creates a guard that does not use Lucid under the hood.

However, we were exporting the withAuthFinder mixin from the main entrypoint of the package and this mixin relies on Lucid. Therefore Lucid becomes a hard dependency of the Auth package.

After this release, we have moved the mixin to its own sub module and you can import it as follows.

- import { withAuthFinder } from '@adonisjs/auth'
+ import { withAuthFinder } from '@adonisjs/auth/mixins/lucid'

Commits

  • refactor: export Lucid mixins from its own subpath with descriptive name 15d3761
  • Merge pull request #243 from parker-codes/chore/add-basic-auth-guard c61ccb1
  • Merge pull request #239 from adonisjs/fix/hard-dependency d53cb84
  • chore: add Basic auth guard c58e683
  • fix(mixins): update deprecation status f8a5715
  • fix(mixins): ensure we do not lose type of withAuthFinder 96663d3
  • fix(mixins): rewrite broken imports 19d7042
  • fix(mixins): add mixins file to tsup entry e4df074
  • fix(mixins): remove withAuthFinder from root export 5d04dde

What's Changed

New Contributors

Full Changelog: v9.1.1...v9.2.0

Update peer dependencies range

30 Jan 05:17
Compare
Choose a tag to compare
  • chore(package): update dependencies 7a0045b

Full Changelog: v9.1.0...v9.1.1

Add basic auth guard

29 Jan 05:39
Compare
Choose a tag to compare

This release adds back the basic auth guard. The documentation will follow by the EOD.

Commits

  • fix: typing issues 7eb5278
  • feat: finish basic auth guard implementation b02f8c2
  • feat: implement user provider for basic auth guard bd285e7
  • feat: add basic auth guard 9ed04af

Full Changelog: v9.0.3...v9.1.0

Fix cross DB issues with the tokens and the users providers

25 Jan 05:56
Compare
Choose a tag to compare

Fixes adonisjs/road-to-v6#91

Commits

  • fix: mysql port in .env file a8d7e58
  • ci: install playwright browser 7352f93
  • ci: commit .env and update db name in workflow file da690c2
  • fix: issues related to cross db with tokens and user providers 1c92ff7

Full Changelog: v9.0.2...v9.0.3

Correct definition of withAuthFinder

24 Jan 09:38
1c74e34
Compare
Choose a tag to compare

What's Changed

  • fix(mixins): receive a function instead of the hash module directly by @RomainLanz in #230

Full Changelog: v9.0.1...v9.0.2