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
Added a new onHttpServerMessage hook that can be used to intercept the message sent by your HTTP Server. This hook must be defined in the adonisrc.ts file, like other hooks.
import { defineConfig } from '@adonisjs/core/app';
The DevServer class now accepts a new onHttpServerMessage hook that will be called when the HTTP child process sends a message to the parent process ( the assembler ).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the minor-upgrades group with 12 updates:
9.1.1
9.2.0
6.3.1
6.5.0
0.0.18
0.0.22
5.1.3
5.1.4
0.2.1
0.2.2
7.2.3
7.4.0
3.0.0
3.0.1
1.4.8
1.4.13
20.11.30
20.12.7
18.2.69
18.2.78
18.2.22
18.2.25
5.4.3
5.4.5
Updates
@adonisjs/auth
from 9.1.1 to 9.2.0Release notes
Sourced from
@adonisjs/auth
's releases.Commits
014a6dd
chore(release): 9.2.015d3761
refactor: export Lucid mixins from its own subpath with descriptive namec61ccb1
Merge pull request #243 from parker-codes/chore/add-basic-auth-guardd53cb84
Merge pull request #239 from adonisjs/fix/hard-dependencyc58e683
chore: add Basic auth guardf8a5715
fix(mixins): update deprecation status96663d3
fix(mixins): ensure we do not lose type of withAuthFinder19d7042
fix(mixins): rewrite broken importse4df074
fix(mixins): add mixins file to tsup entry5d04dde
fix(mixins): remove withAuthFinder from root exportUpdates
@adonisjs/core
from 6.3.1 to 6.5.0Release notes
Sourced from
@adonisjs/core
's releases.Commits
be5d01a
chore(release): 6.5.082ecae3
feat: pass onHttpServerMessage hook from rcFile to assembler DevServer8fb5b6f
chore(release): 6.4.0b49f28f
chore: remove support for VineJS 2.00c9216d
chore: switch to release-it2d2bac7
chore: update dependenciese1d0325
chore: allow to use new VineJS major release071254f
chore: allow to use new VineJS major releasedf6466d
refactor: pass flags and arguments as array inace
commandUpdates
@matstack/remix-adonisjs
from 0.0.18 to 0.0.22Commits
Updates
isbot
from 5.1.3 to 5.1.4Changelog
Sourced from isbot's changelog.
Commits
b245678
Recognise search providers inapp browsers, analyzer bots (#251)850fcd7
Edit readmeUpdates
reflect-metadata
from 0.2.1 to 0.2.2Commits
Updates
@adonisjs/assembler
from 7.2.3 to 7.4.0Release notes
Sourced from
@adonisjs/assembler
's releases.Commits
e53086a
chore(release): 7.4.0e9d78ee
fix: windows flakky test516a1fb
feat: add onHttpServerMessage hookf77bca3
chore(release): 7.3.0b573ce2
chore: migrate to release-it3d75537
chore: migrate to release-it5589087
chore: bump node version00b4217
chore: update dependenciesUpdates
@japa/plugin-adonisjs
from 3.0.0 to 3.0.1Release notes
Sourced from
@japa/plugin-adonisjs
's releases.Commits
e58dcdd
chore(release): 3.0.106e3c29
chore: update dependenciesUpdates
@swc/core
from 1.4.8 to 1.4.13Changelog
Sourced from
@swc/core
's changelog.... (truncated)
Commits
1a5b2f7
chore: Publish1.4.13
withswc_core
v0.90.30
487992d
chore: Bump cratesebb68db
fix(es/minifier): Abort IIFE invoker in function parameters (#8828)7fcfc74
chore: Publish 1.4.13-nightly-20240409.1bc9c903
chore: Bump crates9ed93c1
fix(es/decorators): Fix capacity overflow with decorators (#8818)8f9aadd
chore: Bump cratesdc04657
fix(visit): ImproveMap
implementation forBox
(#8819)aa4ed06
chore: Allow gist.github.com for reprose63b39b
chore: Bump cratesUpdates
@types/node
from 20.11.30 to 20.12.7Commits
Updates
@types/react
from 18.2.69 to 18.2.78Commits
Updates
@types/react-dom
from 18.2.22 to 18.2.25Commits
Updates
typescript
from 5.4.3 to 5.4.5Release notes
Sourced from typescript's releases.
Commits
27bcd4c
Update LKG9f33bf1
🤖 Pick PR #58098 (Fix constraints of nested homomorph...) into release-5.4 (#...71b2f84
Bump version to 5.4.5 and LKG892936f
🤖 Pick PR #58083 (Don't propagate partial union/inter...) into release-5.4 (#...38a7c05
release-5.4: Always set node-version for setup-node (#58117)b754fc3
🤖 Pick PR #57778 (fix type import check for default-i...) into release-5.4 (#...8eb3367
Bump version to 5.4.4 and LKGde9096b
🤖 Pick PR #57871 (Divide-and-conquer strategy for int...) into release-5.4 (#...06aae98
🤖 Pick PR #57973 (Compare package.json paths with cor...) into release-5.4 (#...6d8134e
🤖 Pick PR #57637 (Fixed a regression related to deter...) into release-5.4 (#...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show