Releases: adonisjs/auth
Install missing dependencies
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
- chore: allow lucid@20 in peer range 6061e08
Full Changelog: v9.2.2...v9.2.3
Update dependencies and update lucid peer range
Do not cache models when running in hot mode
- 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
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
- fix(mixins): remove withAuthFinder from root export by @RomainLanz in #239
- chore: add Basic auth guard by @parker-codes in #243
New Contributors
- @parker-codes made their first contribution in #243
Full Changelog: v9.1.1...v9.2.0
Update peer dependencies range
- chore(package): update dependencies 7a0045b
Full Changelog: v9.1.0...v9.1.1
Add basic auth guard
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
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
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
- fix: throw error when uid or password is missing 8950749
- refactor: do not flash password fields and _method d92068f
- chore: update dependencies d883337
Full Changelog: v9.0.0...v9.0.1