fix crash in filesystem snapshotting when trying to snapshot a non-existing directory
fix some context-dependent logic in concatenated modules and source url handling
v5.51.0
Bugfixes
correctly keep chunk loading state when the chunk loading logic is HMR updated
This fixes some edge cases that e. g. occur when using lazy compilation for entrypoints. It is now able to HMR update that instead of needing a manual reload. Also see fixes in webpack-dev-server@4.
track and resolve symlinks for filesystem snapshotting
This fixes some cases of circular yarn linking of dependencies.
It also fixes some problems when using package managers that use symlinks to deduplicate (e. g. cnpm or pnpm)
pass the resulting module in the callbacks of Compilation.addModuleChain and Compilation.addModuleTree
disable cache compression by default as it tend to make performance worse
I could still be enabled again for specific scenarios
reduce the number of allocations during cache serialization
This improves performance and memory usage
v5.49.0
Features
add experiments.buildHttp to build http(s):// imports instead of keeping them external
keeps a webpack.lock file with integrity and webpack.lock.data with cached content that should be committed
Automatically upgrades lockfile during development when remote resources change
(might be disabled with experiments.buildHttp.upgrade: false)
Lockfile is frozen during production builds and usually no network requests are made
(exception: Cache-Control: no-cache).
The webpack.lock.data persisting can be disabled with experiments.buildHttp.cacheLocation: false.
That will will introduce a availability risk.
(webpack cache will be used to cache network responses)
Bugfixes
fix HMR infinite loop (again)
fix rare non-determinism with splitChunks.maxSize introduces in the last release
optional modules no longer cause the module to fail when bail is set
fix typo in records format: chunkHashs -> chunkHashes
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 webpack from 4.43.0 to 5.51.1.
Release notes
Sourced from webpack's releases.
... (truncated)
Commits
d3da48e
5.51.1e73864c
Merge pull request #14031 from webpack/bugfix/concatenated-contextifyc76be4d
make some things context-independent5239f26
Merge pull request #14030 from webpack/bugfix/crash-fsinfoff69a4a
Merge pull request #13997 from yujunjung/main0088d55
fix crash when trying to snapshot not existing directorybd7cb37
5.51.01a06a45
update lazy-compilation example for webpack-dev-server@44e5e0ac
Merge pull request #14009 from henryqdineen/hqd-module-creation-callbackc61466e
Merge pull request #14019 from webpack/bugfix/symlink-snapshotDependabot 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)