minimum supported Node.js version is 12.13.0 (93a87ce)
use xxhash64 by default for [hash]/[contenthash] and getHashDigest API
[emoji] was removed without replacements, please use custom function if you need this
removed getOptions in favor loaderContext.getOptions (loaderContext is this inside loader function), note - special query parameters like ?something=true is not supported anymore, if you need this please do it on loader side, but we strongly recommend avoid it, as alternative you can use ?something=1 and handle 1 as true
removed getRemainingRequest in favor loaderContext.remainingRequest (loaderContext is this inside loader function)
removed getCurrentRequest in favor loaderContext.currentRequest (loaderContext is this inside loader function)
removed parseString in favor JSON.parse
removed parseQuery in favor new URLSearchParams(loaderContext.resourceQuery.slice(1)) where loaderContext is this in loader function
removed stringifyRequest in favor JSON.stringify(loaderContext.utils.contextify(this.context, request)) (loaderContext is this inside loader function), also it will be cachable and faster
isUrlRequest ignores only absolute URLs and #hash requests, data URI and root relative request are handled as requestable due webpack v5 support them
Bug Fixes
allowed the interpolateName API works without options (862ea7d)
minimum supported Node.js version is 12.13.0 (93a87ce)
use xxhash64 by default for [hash]/[contenthash] and getHashDigest API
[emoji] was removed without replacements, please use custom function if you need this
removed getOptions in favor loaderContext.getOptions (loaderContext is this inside loader function), note - special query parameters like ?something=true is not supported anymore, if you need this please do it on loader side, but we strongly recommend avoid it, as alternative you can use ?something=1 and handle 1 as true
removed getRemainingRequest in favor loaderContext.remainingRequest (loaderContext is this inside loader function)
removed getCurrentRequest in favor loaderContext.currentRequest (loaderContext is this inside loader function)
removed parseString in favor JSON.parse
removed parseQuery in favor new URLSearchParams(loaderContext.resourceQuery.slice(1)) where loaderContext is this in loader function
removed stringifyRequest in favor JSON.stringify(loaderContext.utils.contextify(this.context, request)) (loaderContext is this inside loader function), also it will be cachable and faster
isUrlRequest ignores only absolute URLs and #hash requests, data URI and root relative request are handled as requestable due webpack v5 support them
Bug Fixes
allowed the interpolateName API works without options (862ea7d)
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 ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps loader-utils from 2.0.0 to 3.0.0.
Release notes
Sourced from loader-utils's releases.
Changelog
Sourced from loader-utils's changelog.
Commits
e1e9f89
chore(release): 3.0.0862ea7d
fix: allowinterpolateName
works without optionsf37156e
test: fixf2ce2ca
refactor!: usexxhash64
by default for[hash]
/[contenthash]
and `getHas...10503d6
refactor!: addedisUrlRequest
again, but now it ignores only absolute URLs ...46b032d
chore: deps updatee31e8b5
refactor!:parseString
was removed in favor `new URLSearchParams(loaderCont...246e345
refactor!:parseString
was removed in favorJSON.parse
f8ff090
ci: fix name of github action0d89522
refactor!:stringifyRequest
was removed in favor `JSON.stringify(loaderCont...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 ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)