Skip to content

Releases: adonisjs/auth

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

Throw error when uid or password is missing via verifyCredentials

22 Jan 14:35
Compare
Choose a tag to compare
  • fix: throw error when uid or password is missing 8950749
  • refactor: do not flash password fields and _method d92068f
  • chore: update dependencies d883337

v9.0.0...v9.0.1

Full Changelog: v9.0.0...v9.0.1

Small Improvements

26 Dec 08:17
Compare
Choose a tag to compare
Small Improvements Pre-release
Pre-release
  • ci: update node versions c9398e3
  • refactor: pass HttpContext with all auth events d13572b
  • refactor: use session.flashError method to flash auth errors 7275fd4
  • refactor: use preset for configure hook 24dedf7

Full Changelog: v9.0.0-9...v9.0.0-10

Implement withGuard method on browser client plugin

27 Nov 11:28
Compare
Choose a tag to compare
  • fix: implement withGuard method on browser client plugin e41c421
  • chore: update dependencies 6534a98

Full Changelog: v9.0.0-8...v9.0.0-9

Remove loginRoute option from config

30 Oct 11:40
Compare
Choose a tag to compare
Pre-release
  • chore: fix breaking build d9a7aa7
  • refactor: remove loginRoute from auth config 722ae47

Full Changelog: v9.0.0-7...v9.0.0-8