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 11 updates:
9.1.1
9.2.0
6.3.1
6.5.0
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.12
20.11.30
20.12.5
18.2.69
18.2.74
18.2.22
18.2.24
5.4.3
5.4.4
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
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.12Changelog
Sourced from
@swc/core
's changelog.... (truncated)
Commits
0a76e16
chore: Publish1.4.12
withswc_core
v0.90.27
c3b750d
chore: Publish 1.4.12-nightly-20240404.1dc25df1
chore: Bump crates47714c5
feat(es/minifier): Evaluate spread of arrays (#8811)ff5f69f
chore: Bump crates730ded2
fix(es/minifier): Abort fn inliner if there's a spread arg (#8809)d1eb7b8
chore: Bump crates207582f
chore(deps): Update dependencies (#8810)9e28254
chore: Bump crates9ffcd18
fix(es): Change default value ofinputSourceMap
totrue
(#8801)Updates
@types/node
from 20.11.30 to 20.12.5Commits
Updates
@types/react
from 18.2.69 to 18.2.74Commits
Updates
@types/react-dom
from 18.2.22 to 18.2.24Commits
Updates
typescript
from 5.4.3 to 5.4.4Release notes
Sourced from typescript's releases.
Commits
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 (#...1c25c7f
🤖 Pick PR #57968 (Normalize slashes for paths in watc...) into release-5.4 (#...3caec2c
Cherry pick PR 57887 into release-5.4 (#57898)896947e
🤖 Pick PR #57938 (Directories dont check modified tim...) into release-5.4 (#...521d3fb
🤖 Pick PR #57950 (Watch events enhancements) into release-5.4 (#57967)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