This repository was archived by the owner on Dec 17, 2025. It is now read-only.
v3.0.0
3.0.0 (2021-10-20)
⚠ BREAKING CHANGES
- minimum supported Node.js version is
12.13.0(93a87ce) - use
xxhash64by default for[hash]/[contenthash]andgetHashDigestAPI [emoji]was removed without replacements, please use custom function if you need this- removed
getOptionsin favorloaderContext.getOptions(loaderContextisthisinside loader function), note - special query parameters like?something=trueis not supported anymore, if you need this please do it onloaderside, but we strongly recommend avoid it, as alternative you can use?something=1and handle1astrue - removed
getRemainingRequestin favorloaderContext.remainingRequest(loaderContextisthisinside loader function) - removed
getCurrentRequestin favorloaderContext.currentRequest(loaderContextisthisinside loader function) - removed
parseStringin favorJSON.parse - removed
parseQueryin favornew URLSearchParams(loaderContext.resourceQuery.slice(1))whereloaderContextisthisin loader function - removed
stringifyRequestin favorJSON.stringify(loaderContext.utils.contextify(this.context, request))(loaderContextisthisinside loader function), also it will be cachable and faster isUrlRequestignores only absolute URLs and#hashrequests,data URIand root relative request are handled as requestable due webpack v5 support them
Bug Fixes
- allowed the
interpolateNameAPI works without options (862ea7d)