webpack/webpack
### [`v5.61.0`](https://togithub.com/webpack/webpack/releases/v5.61.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.60.0...v5.61.0)
### Bugfixes
- use a wasm md4 implementation for node 17 support
- include the `path` submodules in the node.js default externals
### Performance
- improve string to binary conversion performance for hashing
### Contribution
- CI runs on node.js 17
### [`v5.60.0`](https://togithub.com/webpack/webpack/releases/v5.60.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.59.1...v5.60.0)
### Features
- Allow to pass more options to `experiments.lazyCompilation`. e. g. port, https stuff
### Bugfixes
- fix `output.hashFunction` used to persistent caching too
- Initialize `buildDependencies` Set correctly when loaders are added in `beforeLoaders` hook
### [`v5.59.1`](https://togithub.com/webpack/webpack/releases/v5.59.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.59.0...v5.59.1)
### Bugfixes
- fix regexp in managedPaths
- fix hanging when trying to write lockfile for `experiments.buildHttp`
### [`v5.59.0`](https://togithub.com/webpack/webpack/releases/v5.59.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.58.2...v5.59.0)
### Features
- add `/*#__PURE__*/` for `Object()` in generated code
- add RegExp and function support for `managed/immutablePaths`
- add hooks for multiple phases in module build
- improvements to `experiments.buildHttp`
- allow to share cache
- add allowlist
- add `splitChunks.minSizeReduction` option
### Bugfixes
- fix memory caching for Data URLs
- fix crash in `waitFor` when modules are unsafe cached
- fix bug in build cycle detection
### [`v5.58.2`](https://togithub.com/webpack/webpack/releases/v5.58.2)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.58.1...v5.58.2)
### Bugfixes
- fix serialization context passed
- fix a bug which caused module duplication when using persistent caching, unsafe cache and memory cache with GC
- fix validation of snapshots of non-existing directories
### Performance
- store a hash in first bits of bigint to workaround v8 hashing: https://github.com/v8/v8/blob/b704bc0958e2e26305a68e89d215af1aee011148/src/objects/bigint.h#L192-L195
### [`v5.58.1`](https://togithub.com/webpack/webpack/releases/v5.58.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.58.0...v5.58.1)
##### Bugfixes
- fix `.webpack[]` suffix to not execute rules
- revert performance optimization that has too large memory usage in large builds
### [`v5.58.0`](https://togithub.com/webpack/webpack/releases/v5.58.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.57.1...v5.58.0)
### Features
- add hook for readResource
- add `diagnostics_channel` to node builtins
### Performance
- improve chunk graph creation performance
- add cacheUnaffected cache support
- remove some caching that makes not difference
- improve splitChunks performance
- improve chunk conditions performance
### [`v5.57.1`](https://togithub.com/webpack/webpack/releases/v5.57.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.57.0...v5.57.1)
### Bugfix
- fix experiments.cacheUnaffected which broke by last release
### [`v5.57.0`](https://togithub.com/webpack/webpack/releases/v5.57.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.56.1...v5.57.0)
### Performance
- reduce number of hash.update calls
- allow ExternalModules to be unsafe cached
- improve hashing performance of module lists (StringXor)
### Bugfixes
- experiments.cacheUnaffected
- handle module/chunk id changes correctly
- cache modules with async blocks
- show errors when using incompatible options
### [`v5.56.1`](https://togithub.com/webpack/webpack/releases/v5.56.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.56.0...v5.56.1)
### Bugfix
- DefinePlugin: fix conflict with older variants of the plugin
### [`v5.56.0`](https://togithub.com/webpack/webpack/releases/v5.56.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.55.1...v5.56.0)
### Performance
- make DefinePlugin rebuild check more efficient performance and memory wise
### [`v5.55.1`](https://togithub.com/webpack/webpack/releases/v5.55.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.55.0...v5.55.1)
### Bugfixes
- fixes for `experiments.cacheUnaffected`
- fix accidentically shared mem caches
- avoid RuntimeSpecMap in favor of directly setting on memCache
- compare references modules when restoring mem cache
### [`v5.55.0`](https://togithub.com/webpack/webpack/releases/v5.55.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.54.0...v5.55.0)
### Performance
- `experiments.cacheUnaffected`
- reduce cache memory usage
- make memCache per module
- cache ESM reexport computation
- `module.unsafeCache`
- make it faster by moving it to Compilation-level instead of in NormalModuleFactory
- omit tracking resolve dependencies since they are not used when unsafe cache is enabled
- module graph
- lazy assign ModuleGraphConnections to Dependencies since that is only accessed when uncached
### [`v5.54.0`](https://togithub.com/webpack/webpack/releases/v5.54.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.53.0...v5.54.0)
### Features
- improve constant folding to allow to skip more branches for `&&` `||` and `??`
- allow all hashing using in webpack to be configured with `output.hashFunction`
- no longer bailout completely from inner graph analysis when `eval` is used in a module
### Bugfixes
- force bump enhanced-resolve for bugfixes
### Performance
- reduce number of allocation when creating snapshots
- add `output.hashFunction: "xxhash64"` for a super fast wasm based hash function
- improve utf-8 conversion when serializing short strings
- improve hashing performance for dependencies
- add `experiments.cacheUnaffected` which caches computations for modules that are unchanged and reference only unchanged modules
### [`v5.53.0`](https://togithub.com/webpack/webpack/releases/v5.53.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.52.1...v5.53.0)
### Features
- add `node.__dirname/__filename: "warn-mock"` which warns on usage (will be enabled in webpack 6 by default)
### Bugfixes
- add `stream/web` to Node.js externals
- fix IgnorePluginSchema
- fix builds with persistent caching taking 1 minute to build at least
### Experiments
- add `experiments.futureDefaults` to enable defaults for webpack 6
### [`v5.52.1`](https://togithub.com/webpack/webpack/releases/v5.52.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.52.0...v5.52.1)
### Performance
- split fresh created persistent cache files by time to avoid creating very large files
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
5.52.0
->5.61.0
Release Notes
webpack/webpack
### [`v5.61.0`](https://togithub.com/webpack/webpack/releases/v5.61.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.60.0...v5.61.0) ### Bugfixes - use a wasm md4 implementation for node 17 support - include the `path` submodules in the node.js default externals ### Performance - improve string to binary conversion performance for hashing ### Contribution - CI runs on node.js 17 ### [`v5.60.0`](https://togithub.com/webpack/webpack/releases/v5.60.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.59.1...v5.60.0) ### Features - Allow to pass more options to `experiments.lazyCompilation`. e. g. port, https stuff ### Bugfixes - fix `output.hashFunction` used to persistent caching too - Initialize `buildDependencies` Set correctly when loaders are added in `beforeLoaders` hook ### [`v5.59.1`](https://togithub.com/webpack/webpack/releases/v5.59.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.59.0...v5.59.1) ### Bugfixes - fix regexp in managedPaths - fix hanging when trying to write lockfile for `experiments.buildHttp` ### [`v5.59.0`](https://togithub.com/webpack/webpack/releases/v5.59.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.58.2...v5.59.0) ### Features - add `/*#__PURE__*/` for `Object()` in generated code - add RegExp and function support for `managed/immutablePaths` - add hooks for multiple phases in module build - improvements to `experiments.buildHttp` - allow to share cache - add allowlist - add `splitChunks.minSizeReduction` option ### Bugfixes - fix memory caching for Data URLs - fix crash in `waitFor` when modules are unsafe cached - fix bug in build cycle detection ### [`v5.58.2`](https://togithub.com/webpack/webpack/releases/v5.58.2) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.58.1...v5.58.2) ### Bugfixes - fix serialization context passed - fix a bug which caused module duplication when using persistent caching, unsafe cache and memory cache with GC - fix validation of snapshots of non-existing directories ### Performance - store a hash in first bits of bigint to workaround v8 hashing: https://github.com/v8/v8/blob/b704bc0958e2e26305a68e89d215af1aee011148/src/objects/bigint.h#L192-L195 ### [`v5.58.1`](https://togithub.com/webpack/webpack/releases/v5.58.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.58.0...v5.58.1) ##### Bugfixes - fix `.webpack[]` suffix to not execute rules - revert performance optimization that has too large memory usage in large builds ### [`v5.58.0`](https://togithub.com/webpack/webpack/releases/v5.58.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.57.1...v5.58.0) ### Features - add hook for readResource - add `diagnostics_channel` to node builtins ### Performance - improve chunk graph creation performance - add cacheUnaffected cache support - remove some caching that makes not difference - improve splitChunks performance - improve chunk conditions performance ### [`v5.57.1`](https://togithub.com/webpack/webpack/releases/v5.57.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.57.0...v5.57.1) ### Bugfix - fix experiments.cacheUnaffected which broke by last release ### [`v5.57.0`](https://togithub.com/webpack/webpack/releases/v5.57.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.56.1...v5.57.0) ### Performance - reduce number of hash.update calls - allow ExternalModules to be unsafe cached - improve hashing performance of module lists (StringXor) ### Bugfixes - experiments.cacheUnaffected - handle module/chunk id changes correctly - cache modules with async blocks - show errors when using incompatible options ### [`v5.56.1`](https://togithub.com/webpack/webpack/releases/v5.56.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.56.0...v5.56.1) ### Bugfix - DefinePlugin: fix conflict with older variants of the plugin ### [`v5.56.0`](https://togithub.com/webpack/webpack/releases/v5.56.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.55.1...v5.56.0) ### Performance - make DefinePlugin rebuild check more efficient performance and memory wise ### [`v5.55.1`](https://togithub.com/webpack/webpack/releases/v5.55.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.55.0...v5.55.1) ### Bugfixes - fixes for `experiments.cacheUnaffected` - fix accidentically shared mem caches - avoid RuntimeSpecMap in favor of directly setting on memCache - compare references modules when restoring mem cache ### [`v5.55.0`](https://togithub.com/webpack/webpack/releases/v5.55.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.54.0...v5.55.0) ### Performance - `experiments.cacheUnaffected` - reduce cache memory usage - make memCache per module - cache ESM reexport computation - `module.unsafeCache` - make it faster by moving it to Compilation-level instead of in NormalModuleFactory - omit tracking resolve dependencies since they are not used when unsafe cache is enabled - module graph - lazy assign ModuleGraphConnections to Dependencies since that is only accessed when uncached ### [`v5.54.0`](https://togithub.com/webpack/webpack/releases/v5.54.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.53.0...v5.54.0) ### Features - improve constant folding to allow to skip more branches for `&&` `||` and `??` - allow all hashing using in webpack to be configured with `output.hashFunction` - no longer bailout completely from inner graph analysis when `eval` is used in a module ### Bugfixes - force bump enhanced-resolve for bugfixes ### Performance - reduce number of allocation when creating snapshots - add `output.hashFunction: "xxhash64"` for a super fast wasm based hash function - improve utf-8 conversion when serializing short strings - improve hashing performance for dependencies - add `experiments.cacheUnaffected` which caches computations for modules that are unchanged and reference only unchanged modules ### [`v5.53.0`](https://togithub.com/webpack/webpack/releases/v5.53.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.52.1...v5.53.0) ### Features - add `node.__dirname/__filename: "warn-mock"` which warns on usage (will be enabled in webpack 6 by default) ### Bugfixes - add `stream/web` to Node.js externals - fix IgnorePluginSchema - fix builds with persistent caching taking 1 minute to build at least ### Experiments - add `experiments.futureDefaults` to enable defaults for webpack 6 ### [`v5.52.1`](https://togithub.com/webpack/webpack/releases/v5.52.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.52.0...v5.52.1) ### Performance - split fresh created persistent cache files by time to avoid creating very large filesConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.