All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
3.3.1 (2024-06-05)
- base64safe regex (3b2d3b1)
3.3.0 (2024-06-04)
3.2.2 (2024-05-29)
- unreachable code for directories (128f945)
3.2.1 (2022-11-11)
3.2.0 (2021-11-11)
- hash uniformity for base digests (451858b)
3.1.3 (2021-11-04)
3.1.2 (2021-11-04)
3.1.1 (2021-11-04)
- base64 and unicode characters (02b1f3f)
3.1.0 (2021-10-29)
- added
md4
(wasm version) andmd4-native
(crypto
module version) algorithms (cbf9d1d)
3.0.0 (2021-10-20)
- minimum supported Node.js version is
12.13.0
(93a87ce) - use
xxhash64
by default for[hash]
/[contenthash]
andgetHashDigest
API [emoji]
was removed without replacements, please use custom function if you need this- removed
getOptions
in favorloaderContext.getOptions
(loaderContext
isthis
inside loader function), note - special query parameters like?something=true
is not supported anymore, if you need this please do it onloader
side, but we strongly recommend avoid it, as alternative you can use?something=1
and handle1
astrue
- removed
getRemainingRequest
in favorloaderContext.remainingRequest
(loaderContext
isthis
inside loader function) - removed
getCurrentRequest
in favorloaderContext.currentRequest
(loaderContext
isthis
inside loader function) - removed
parseString
in favorJSON.parse
- removed
parseQuery
in favornew URLSearchParams(loaderContext.resourceQuery.slice(1))
whereloaderContext
isthis
in loader function - removed
stringifyRequest
in favorJSON.stringify(loaderContext.utils.contextify(loaderContext.context || loaderContext.rootContext, request))
(loaderContext
isthis
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
- allowed the
interpolateName
API works without options (862ea7d)
2.0.0 (2020-03-17)
- minimum required
Node.js
version is8.9.0
(#166) (c937e8c) - the
getOptions
method returns empty object on empty query (#167) (b595cfb) - Use
md4
by default
1.4.0 (2020-02-19)
1.3.0 (2020-02-19)
1.2.3 (2018-12-27)
1.2.2 (2018-12-27)
1.2.1 (2018-12-25)
1.2.0 (2018-12-24)
- interpolateName: support
[contenthash]
- urlToRequest: empty urls are not rewritten to relative requests
- urlToRequest: don't rewrite absolute urls
- isUrlRequest: ignore all url with
extension
(likemoz-extension:
,ms-browser-extension:
and etc) - isUrlRequest: ignore
about:blank
- interpolateName: failing explicitly when ran out of emoji
- interpolateName:
[hash]
token regex in interpolate string to capture any hash algorithm name - interpolateName: parse string for emoji count before use