webpack/webpack
### [`v5.84.1`](https://togithub.com/webpack/webpack/releases/tag/v5.84.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.84.0...v5.84.1)
#### Bug Fixes
- Fix regression in inner graph for reserved identifiers by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17265](https://togithub.com/webpack/webpack/pull/17265)
#### Dependencies & Maintenance
- Bump [@types/jest](https://togithub.com/types/jest) from 29.5.0 to 29.5.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17027](https://togithub.com/webpack/webpack/pull/17027)
- Bump simple-git from 3.18.0 to 3.19.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17263](https://togithub.com/webpack/webpack/pull/17263)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.84.0...v5.84.1
### [`v5.84.0`](https://togithub.com/webpack/webpack/releases/tag/v5.84.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.83.1...v5.84.0)
#### New Features
- SourceMapDevToolPlugin now supports `append` option as a function by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/17252](https://togithub.com/webpack/webpack/pull/17252)
#### Bugfixes
- Fix multiple bugs referencing class names when shadowed by import name in properties and methods by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17233](https://togithub.com/webpack/webpack/pull/17233)
- Allow DefinePlugin shorthand property by [@shamoilarsi](https://togithub.com/shamoilarsi) in [https://github.com/webpack/webpack/pull/17231](https://togithub.com/webpack/webpack/pull/17231)
- \[CSS] - Fix edge cases in parsing `@import` by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17229](https://togithub.com/webpack/webpack/pull/17229)
#### Developer Experience
- Increase type coverage for serialization classes by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17243](https://togithub.com/webpack/webpack/pull/17243)
- Increase type coverage for `JavascriptParser` and `ModuleDependency` subclasses by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17236](https://togithub.com/webpack/webpack/pull/17236)
- Increase type coverage to `strict`-mode quality for Configuration/Normalization objects by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17247](https://togithub.com/webpack/webpack/pull/17247)
- Refactor duplicate strings by replacing them with constant for **webpack_require** instead of string literal by [@burhanuday](https://togithub.com/burhanuday) in [https://github.com/webpack/webpack/pull/17228](https://togithub.com/webpack/webpack/pull/17228)
- Add test case for `with { type: "json" }` by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17230](https://togithub.com/webpack/webpack/pull/17230)
- Add test case for destructuring by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17248](https://togithub.com/webpack/webpack/pull/17248)
#### Dependencies & Maintenance
- Add GitHub discussions badge in README by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/17251](https://togithub.com/webpack/webpack/pull/17251)
- Bump enhanced-resolve to 5.14.1 by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17257](https://togithub.com/webpack/webpack/pull/17257)
- Bump [@types/node](https://togithub.com/types/node) from 20.1.7 to 20.2.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17219](https://togithub.com/webpack/webpack/pull/17219)
- Bump [@types/node](https://togithub.com/types/node) from 20.2.0 to 20.2.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17226](https://togithub.com/webpack/webpack/pull/17226)
- Bump webpack-cli from 5.1.0 to 5.1.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17164](https://togithub.com/webpack/webpack/pull/17164)
- Bump eslint from 8.39.0 to 8.40.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17148](https://togithub.com/webpack/webpack/pull/17148)
- Bump [@babel/core](https://togithub.com/babel/core) from 7.21.4 to 7.21.8 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17126](https://togithub.com/webpack/webpack/pull/17126)
- Bump [@types/node](https://togithub.com/types/node) from 20.2.1 to 20.2.3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17238](https://togithub.com/webpack/webpack/pull/17238)
- Bump eslint from 8.40.0 to 8.41.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17237](https://togithub.com/webpack/webpack/pull/17237)
#### New Contributors
- [@shamoilarsi](https://togithub.com/shamoilarsi) made their first contribution in [https://github.com/webpack/webpack/pull/17231](https://togithub.com/webpack/webpack/pull/17231)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.83.1...v5.84.0
### [`v5.83.1`](https://togithub.com/webpack/webpack/releases/tag/v5.83.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.83.0...v5.83.1)
#### Bug Fixes
- Fix regression in import/export normailization effecting mini-css-extract-plugin by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17214](https://togithub.com/webpack/webpack/pull/17214)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.83.0...v5.83.1
### [`v5.83.0`](https://togithub.com/webpack/webpack/releases/tag/v5.83.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.82.1...v5.83.0)
#### New Features
- Normalize property access for imports and exports by [@bworline](https://togithub.com/bworline) in [https://github.com/webpack/webpack/pull/17137](https://togithub.com/webpack/webpack/pull/17137)
- Top Level Await is now enabled by default by [@burhanuday](https://togithub.com/burhanuday) in [https://github.com/webpack/webpack/pull/17192](https://togithub.com/webpack/webpack/pull/17192)
#### Bug Fixes
- Correct `chunkgroup.groupsIterable` return type by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17196](https://togithub.com/webpack/webpack/pull/17196)
- Fix bug in Rule Matcher type by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17207](https://togithub.com/webpack/webpack/pull/17207)
- Fixed apply event callback and optimizing callback event type by [@nuintun](https://togithub.com/nuintun) in [https://github.com/webpack/webpack/pull/16094](https://togithub.com/webpack/webpack/pull/16094)
- Fix types in hot module replacement APIs by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17193](https://togithub.com/webpack/webpack/pull/17193)
#### Developer Experience
- Expose `ChunkGroup` to type definitions by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17201](https://togithub.com/webpack/webpack/pull/17201)
- Add `NormalModuleFactory`'s `ResolveData` type to public interface by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17195](https://togithub.com/webpack/webpack/pull/17195)
- Document `compilation.afterChunks` hook by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17202](https://togithub.com/webpack/webpack/pull/17202)
#### Dependencies & Maintenance
- Bump [@webassemblyjs/wasm-edit](https://togithub.com/webassemblyjs/wasm-edit) from 1.11.5 to 1.11.6 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17168](https://togithub.com/webpack/webpack/pull/17168)
- Bump wast-loader from 1.11.5 to 1.11.6 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17163](https://togithub.com/webpack/webpack/pull/17163)
- Bump yarn-deduplicate from 6.0.1 to 6.0.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17184](https://togithub.com/webpack/webpack/pull/17184)
- Fix command by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17154](https://togithub.com/webpack/webpack/pull/17154)
- Bump [@types/node](https://togithub.com/types/node) from 18.16.3 to 20.1.7 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17205](https://togithub.com/webpack/webpack/pull/17205)
#### New Contributors
- [@bworline](https://togithub.com/bworline) made their first contribution in [https://github.com/webpack/webpack/pull/17137](https://togithub.com/webpack/webpack/pull/17137)
- [@nuintun](https://togithub.com/nuintun) made their first contribution in [https://github.com/webpack/webpack/pull/16094](https://togithub.com/webpack/webpack/pull/16094)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.82.1...v5.83.0
### [`v5.82.1`](https://togithub.com/webpack/webpack/releases/tag/v5.82.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.82.0...v5.82.1)
#### Bug Fixes
- \[CSS] - Support nesting in CSS modules and bug fixes by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17133](https://togithub.com/webpack/webpack/pull/17133)
- \[CSS] - Fix crash with `importModule` when CSS enabled by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17140](https://togithub.com/webpack/webpack/pull/17140)
- Fix bug where `output.hashFunction` was failing to generate debug hash by [@ahabhgk](https://togithub.com/ahabhgk) in [https://github.com/webpack/webpack/pull/16950](https://togithub.com/webpack/webpack/pull/16950)
- Reduce the amount of generated code for chunk loading by [@lvivski](https://togithub.com/lvivski) in [https://github.com/webpack/webpack/pull/17151](https://togithub.com/webpack/webpack/pull/17151)
- Use module preload for ESM module output by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17143](https://togithub.com/webpack/webpack/pull/17143)
#### Developer Experience
- Improve module type strictness for Module.prototype.type expand ModuleTypeConstants by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17136](https://togithub.com/webpack/webpack/pull/17136)
#### Dependencies & Maintenance
- Update package.json description by [@JeraldVin](https://togithub.com/JeraldVin) in [https://github.com/webpack/webpack/pull/17145](https://togithub.com/webpack/webpack/pull/17145)
- Bump webpack-cli from 5.0.2 to 5.1.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17146](https://togithub.com/webpack/webpack/pull/17146)
- Bump core-js from 3.30.1 to 3.30.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17149](https://togithub.com/webpack/webpack/pull/17149)
- Bump enhanced-resolve to v5.14.0 by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/17160](https://togithub.com/webpack/webpack/pull/17160)
#### New Contributors
- [@JeraldVin](https://togithub.com/JeraldVin) made their first contribution in [https://github.com/webpack/webpack/pull/17145](https://togithub.com/webpack/webpack/pull/17145)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.82.0...v5.82.1
### [`v5.82.0`](https://togithub.com/webpack/webpack/releases/tag/v5.82.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.81.0...v5.82.0)
#### New Features
- \[CSS] - Add URL dependencies support to consume shared module via module federation by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16945](https://togithub.com/webpack/webpack/pull/16945)
- Allow webpack-cli to be in ESM by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17088](https://togithub.com/webpack/webpack/pull/17088)
- Allow specifying "onPolicyCreationFailure" mode for trusted types by [@Zlatkovsky](https://togithub.com/Zlatkovsky) in [https://github.com/webpack/webpack/pull/16990](https://togithub.com/webpack/webpack/pull/16990)
#### Bug Fixes
- \[CSS] - Respect `media`/`supports`/`layer` from parent CSS module by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17115](https://togithub.com/webpack/webpack/pull/17115)
- \[CSS] - Add warning & support for any [@import](https://togithub.com/import) rules must precede all other rules by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17118](https://togithub.com/webpack/webpack/pull/17118)
- \[CSS] - Support handling `#hash` URL as external (similar to Parcel) by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17116](https://togithub.com/webpack/webpack/pull/17116)
- Optimize numberHash.js performance by removing inner loops by [@alexkuz](https://togithub.com/alexkuz) in [https://github.com/webpack/webpack/pull/17074](https://togithub.com/webpack/webpack/pull/17074)
- Improve template string comparison algorithm by [@An0nie](https://togithub.com/An0nie) in [https://github.com/webpack/webpack/pull/17079](https://togithub.com/webpack/webpack/pull/17079)
#### Tests & Contributor Experience
- \[CSS] - Increase imports external test coverage by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17089](https://togithub.com/webpack/webpack/pull/17089)
- Improve PR reliability via ignoring unstable coverage by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17106](https://togithub.com/webpack/webpack/pull/17106)
- Update webpack types to support extends property in webpack (for webpack-cli) by [@burhanuday](https://togithub.com/burhanuday) in [https://github.com/webpack/webpack/pull/17113](https://togithub.com/webpack/webpack/pull/17113)
#### Developer Experience
- Increase type coverage and documentation for `StringXor` class. by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17070](https://togithub.com/webpack/webpack/pull/17070)
- Increase type coverage & docs for `numberHash` by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17072](https://togithub.com/webpack/webpack/pull/17072)
- Increase type coverage & docs for `JavascriptParser` by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17094](https://togithub.com/webpack/webpack/pull/17094)
- Increase type coverage & docs for `BasicEvaluatedExpression` by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17096](https://togithub.com/webpack/webpack/pull/17096)
- Increase type coverage for CSS module type by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17097](https://togithub.com/webpack/webpack/pull/17097)
- Increase type coverage for JSON module type by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17095](https://togithub.com/webpack/webpack/pull/17095)
- Increase type coverage & docs for multiple utility classes by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17107](https://togithub.com/webpack/webpack/pull/17107)
#### Dependencies & Maintenance
- chore(deps-dev): bump lint-staged from 13.2.1 to 13.2.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17075](https://togithub.com/webpack/webpack/pull/17075)
- chore(deps-dev): bump eslint from 8.38.0 to 8.39.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17052](https://togithub.com/webpack/webpack/pull/17052)
- chore(deps-dev): bump assemblyscript from 0.27.3 to 0.27.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17064](https://togithub.com/webpack/webpack/pull/17064)
- chore(deps-dev): bump assemblyscript from 0.27.4 to 0.27.5 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17109](https://togithub.com/webpack/webpack/pull/17109)
- chore(deps-dev): bump [@types/node](https://togithub.com/types/node) from 18.16.2 to 18.16.3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17112](https://togithub.com/webpack/webpack/pull/17112)
- chore(deps-dev): bump [@types/node](https://togithub.com/types/node) from 18.15.13 to 18.16.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17084](https://togithub.com/webpack/webpack/pull/17084)
- chore(deps-dev): bump webpack-cli from 5.0.1 to 5.0.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17054](https://togithub.com/webpack/webpack/pull/17054)
- chore(deps-dev): bump date-fns from 2.29.3 to 2.30.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17111](https://togithub.com/webpack/webpack/pull/17111)
#### New Contributors
- [@An0nie](https://togithub.com/An0nie) made their first contribution in [https://github.com/webpack/webpack/pull/17079](https://togithub.com/webpack/webpack/pull/17079)
- [@burhanuday](https://togithub.com/burhanuday) made their first contribution in [https://github.com/webpack/webpack/pull/17113](https://togithub.com/webpack/webpack/pull/17113)
- [@Zlatkovsky](https://togithub.com/Zlatkovsky) made their first contribution in [https://github.com/webpack/webpack/pull/16990](https://togithub.com/webpack/webpack/pull/16990)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.81.0...v5.82.0
### [`v5.81.0`](https://togithub.com/webpack/webpack/releases/tag/v5.81.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.80.0...v5.81.0)
#### New Features
- \[CSS] - Increased CSS import support and new hooks included for CSS module creation by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17057](https://togithub.com/webpack/webpack/pull/17057)
- Logging now added to DefinePlugin by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17048](https://togithub.com/webpack/webpack/pull/17048)
- New `ignoreBrowserWarnings` option to ignore browser console warnings in ModuleFederation by [@indeediansbrett](https://togithub.com/indeediansbrett) in [https://github.com/webpack/webpack/pull/16388](https://togithub.com/webpack/webpack/pull/16388)
#### Bug Fixes
- \[CSS] - Fix issue where vendor prefixed keyframes and animation was not supported in CSS modules by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16975](https://togithub.com/webpack/webpack/pull/16975)
- Fix bug where AST was not properly handled by [@quanru](https://togithub.com/quanru) in [https://github.com/webpack/webpack/pull/17032](https://togithub.com/webpack/webpack/pull/17032)
- Fix automatic publicPath detection logic by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17047](https://togithub.com/webpack/webpack/pull/17047)
#### Tests & Contributor Experience
- Rename `provide` to `getOrInsert` in MapHelpers and document it better by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17060](https://togithub.com/webpack/webpack/pull/17060)
- Increase test reliability for DefinePlugin [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17062](https://togithub.com/webpack/webpack/pull/17062)
- Add additional CI Pipeline to test main branches of first-party webpack dependencies by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17020](https://togithub.com/webpack/webpack/pull/17020)
- Refactor tests to no longer use deprecated or legacy dependencies and APIs by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17033](https://togithub.com/webpack/webpack/pull/17033)
#### Developer Experience
- Increase type coverage/documentation for ModuleFilenameHelpers by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17045](https://togithub.com/webpack/webpack/pull/17045)
- Increase type coverage/documentation for CommonJsExportsParserPlugin by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17046](https://togithub.com/webpack/webpack/pull/17046)
- Increase type coverage/documentation for binarySearchBounds.js by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17058](https://togithub.com/webpack/webpack/pull/17058)
- Export MemoryCacheOptions types by [@romulof](https://togithub.com/romulof) in [https://github.com/webpack/webpack/pull/17055](https://togithub.com/webpack/webpack/pull/17055)
#### Dependencies & Maintenance
- Add NodeJS v20 to CI Matrix by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17019](https://togithub.com/webpack/webpack/pull/17019)
- Update Typescript to v5 by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16957](https://togithub.com/webpack/webpack/pull/16957)
- Bump [@types/estree](https://togithub.com/types/estree) from 1.0.0 to 1.0.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17026](https://togithub.com/webpack/webpack/pull/17026)
- Bump [@types/node](https://togithub.com/types/node) from 18.15.11 to 18.15.13 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17038](https://togithub.com/webpack/webpack/pull/17038)
- Bump assemblyscript from 0.27.2 to 0.27.3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17051](https://togithub.com/webpack/webpack/pull/17051)
- Bump memfs from 3.5.0 to 3.5.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17039](https://togithub.com/webpack/webpack/pull/17039)
- Bump prettier from 2.8.7 to 2.8.8 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17050](https://togithub.com/webpack/webpack/pull/17050)
- Bump simple-git from 3.17.0 to 3.18.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17066](https://togithub.com/webpack/webpack/pull/17066)
#### New Contributors
- [@quanru](https://togithub.com/quanru) made their first contribution in [https://github.com/webpack/webpack/pull/17032](https://togithub.com/webpack/webpack/pull/17032)
- [@romulof](https://togithub.com/romulof) made their first contribution in [https://github.com/webpack/webpack/pull/17055](https://togithub.com/webpack/webpack/pull/17055)
- [@indeediansbrett](https://togithub.com/indeediansbrett) made their first contribution in [https://github.com/webpack/webpack/pull/16388](https://togithub.com/webpack/webpack/pull/16388)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.80.0...v5.81.0
### [`v5.80.0`](https://togithub.com/webpack/webpack/releases/tag/v5.80.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.79.0...v5.80.0)
#### New Features
- Support destructuring assignment in `import.meta` by [@vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/16996](https://togithub.com/webpack/webpack/pull/16996)
- Support treeshaking for destructuring assignment with `AwaitExpression` by [@vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/16995](https://togithub.com/webpack/webpack/pull/16995)
- Introduce `errorsSpace`, `warningsSpace` for more readable traces in stats by [@vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/15450](https://togithub.com/webpack/webpack/pull/15450)
#### Bug Fixes
- \[CSS] - Fix runtime generation bug for merged CSS Chunks by [@janlent1](https://togithub.com/janlent1) in [https://github.com/webpack/webpack/pull/16903](https://togithub.com/webpack/webpack/pull/16903)
- \[CSS] - Properly handle `url()`/`src()`/`image-set()`/`image()` by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16978](https://togithub.com/webpack/webpack/pull/16978)
- ES Module webpack loaders are now supported [@stefanprobst](https://togithub.com/stefanprobst) in [https://github.com/webpack/webpack/pull/15198](https://togithub.com/webpack/webpack/pull/15198)
- Fix spelling error for `statement.finalizer` in parser by [@xiaoboost](https://togithub.com/xiaoboost) in [https://github.com/webpack/webpack/pull/17016](https://togithub.com/webpack/webpack/pull/17016)
- Fix non-deterministic `moduleId` assignment due to encountering `NaN` in sort function by [@scameron](https://togithub.com/scameron) in [https://github.com/webpack/webpack/pull/16933](https://togithub.com/webpack/webpack/pull/16933)
- \[enhanced-resolve]: Support wildcards pattern with common suffix in package maps & imports/exports field by [@bvanjoi](https://togithub.com/bvanjoi) in [https://github.com/webpack/enhanced-resolve/pull/353](https://togithub.com/webpack/enhanced-resolve/pull/353)
#### Tests & Contributor Experience
- \[CSS] - Added test case for `@supports` field by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17011](https://togithub.com/webpack/webpack/pull/17011)
- Add test for include option in `BannerPlugin` by [@jeffin143](https://togithub.com/jeffin143) in [https://github.com/webpack/webpack/pull/10736](https://togithub.com/webpack/webpack/pull/10736)
- Remove `finializer` from cspell.json by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/17022](https://togithub.com/webpack/webpack/pull/17022)
#### Developer Experience
- Adds the twitter badge by [@yadunandanbhat](https://togithub.com/yadunandanbhat) in [https://github.com/webpack/webpack/pull/15667](https://togithub.com/webpack/webpack/pull/15667)
- Add `wasm-bindgen` example to `example` by [@gthb](https://togithub.com/gthb) in [https://github.com/webpack/webpack/pull/14313](https://togithub.com/webpack/webpack/pull/14313)
- Update grammar mistakes in examples by [@ersachin3112](https://togithub.com/ersachin3112) in [https://github.com/webpack/webpack/pull/16988](https://togithub.com/webpack/webpack/pull/16988)
#### Dependencies & Maintenance
- Bump core-js from 3.30.0 to 3.30.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/16983](https://togithub.com/webpack/webpack/pull/16983)
- Bump `@webassemblyjs` by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17003](https://togithub.com/webpack/webpack/pull/17003)
- Bump assemblyscript from 0.25.2 to 0.27.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/16959](https://togithub.com/webpack/webpack/pull/16959)
- Bump enhanced-resolve to [5.13.0](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.13.0) by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17024](https://togithub.com/webpack/webpack/pull/17024)
- Included githubactions in the dependabot config by [@neilnaveen](https://togithub.com/neilnaveen) in [https://github.com/webpack/webpack/pull/15618](https://togithub.com/webpack/webpack/pull/15618)
- Fix prettier by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16976](https://togithub.com/webpack/webpack/pull/16976)
#### New Contributors
- [@neilnaveen](https://togithub.com/neilnaveen) made their first contribution in [https://github.com/webpack/webpack/pull/15618](https://togithub.com/webpack/webpack/pull/15618)
- [@yadunandanbhat](https://togithub.com/yadunandanbhat) made their first contribution in [https://github.com/webpack/webpack/pull/15667](https://togithub.com/webpack/webpack/pull/15667)
- [@ersachin3112](https://togithub.com/ersachin3112) made their first contribution in [https://github.com/webpack/webpack/pull/16988](https://togithub.com/webpack/webpack/pull/16988)
- [@stefanprobst](https://togithub.com/stefanprobst) made their first contribution in [https://github.com/webpack/webpack/pull/15198](https://togithub.com/webpack/webpack/pull/15198)
- [@xiaoboost](https://togithub.com/xiaoboost) made their first contribution in [https://github.com/webpack/webpack/pull/17016](https://togithub.com/webpack/webpack/pull/17016)
- [@scameron](https://togithub.com/scameron) made their first contribution in [https://github.com/webpack/webpack/pull/16933](https://togithub.com/webpack/webpack/pull/16933)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.79.0...v5.80.0
### [`v5.79.0`](https://togithub.com/webpack/webpack/releases/tag/v5.79.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.78.0...v5.79.0)
#### New Features
- webpack will now support simple destructuring scenarios for treeshaking namespaced imports and `DefinePlugin` by [@vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/16941](https://togithub.com/webpack/webpack/pull/16941)
#### Bugfixes
- Truncate extremely long module names in `DefaultStatsPrinter` by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16882](https://togithub.com/webpack/webpack/pull/16882)
- Add `[contenthash]` template support in `DllPlugin`'s `name` option by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16935](https://togithub.com/webpack/webpack/pull/16935)
- Fixed a bug where `readRecords` compiler hook was causing hangs in conjunction with the `ReadRecordsPlugin` by [@snitin315](https://togithub.com/snitin315) & [@zookatron](https://togithub.com/zookatron) in [https://github.com/webpack/webpack/pull/16944](https://togithub.com/webpack/webpack/pull/16944)
- webpack can now consume ESM bundles generated by webpack's esm output support by [@vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/15608](https://togithub.com/webpack/webpack/pull/15608)
- \[CSS] - webpack now respects CSS's case-insensitivity with atTags like `@MEDIA` by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16915](https://togithub.com/webpack/webpack/pull/16915)
- \[CSS] - Fixes a bug where crossOriginLoading anonymous would not work when loading styles by [@chenjiahan](https://togithub.com/chenjiahan) in [https://github.com/webpack/webpack/pull/16925](https://togithub.com/webpack/webpack/pull/16925)
#### Developer Experience
- Fix broken links and typos found in examples by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16937](https://togithub.com/webpack/webpack/pull/16937)
- Export more `Externals` Option types by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/12774](https://togithub.com/webpack/webpack/pull/12774)
#### Contributor Experience
- Add new test case for ModuleFederationPlugin usage with `shareScope` option by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16943](https://togithub.com/webpack/webpack/pull/16943)
- Bump core-js from 3.20.3 to 3.30.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/16905](https://togithub.com/webpack/webpack/pull/16905)
- Update all applicable local dependencies and devDependencies by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16919](https://togithub.com/webpack/webpack/pull/16919), [https://github.com/webpack/webpack/pull/16924](https://togithub.com/webpack/webpack/pull/16924), [https://github.com/webpack/webpack/pull/16936](https://togithub.com/webpack/webpack/pull/16936), [https://github.com/webpack/webpack/pull/16968](https://togithub.com/webpack/webpack/pull/16968)
- Update to Jest 29 by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16947](https://togithub.com/webpack/webpack/pull/16947)
#### New Contributors
- [@chenjiahan](https://togithub.com/chenjiahan) made their first contribution in [https://github.com/webpack/webpack/pull/16925](https://togithub.com/webpack/webpack/pull/16925)
- [@karlhorky](https://togithub.com/karlhorky) made their first contribution in [https://github.com/webpack/webpack/pull/16419](https://togithub.com/webpack/webpack/pull/16419)
- [@zookatron](https://togithub.com/zookatron) made their first contribution in [https://github.com/webpack/webpack/pull/16301](https://togithub.com/webpack/webpack/pull/16301)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.78.0...v5.79.0
### [`v5.78.0`](https://togithub.com/webpack/webpack/releases/tag/v5.78.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.77.0...v5.78.0)
#### Features
- Implement `amdContainer` support for AMD libraries (Fixes [#16561](https://togithub.com/webpack/webpack/issues/16561)) by [@long76](https://togithub.com/long76) in [https://github.com/webpack/webpack/pull/16562](https://togithub.com/webpack/webpack/pull/16562)
#### Bugfixes
- \[CSS] - Nested atRule's `@media` or `@supports` now properly are replaced with unique identifiers by [@noreiller](https://togithub.com/noreiller) in [https://github.com/webpack/webpack/pull/15812](https://togithub.com/webpack/webpack/pull/15812)
- \[CSS] - Fix bug where closing parenthesis in CSS were not properly parsed and compiled by [@janlent1](https://togithub.com/janlent1) in [https://github.com/webpack/webpack/pull/16864](https://togithub.com/webpack/webpack/pull/16864)
- Fix an issue where `oneOf` rule has been picked multiple times by [@xiaoxiaojx](https://togithub.com/xiaoxiaojx) in [https://github.com/webpack/webpack/pull/16477](https://togithub.com/webpack/webpack/pull/16477)
- Add `createRequire` support for `node:module` prefix by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16904](https://togithub.com/webpack/webpack/pull/16904)
- Fix bug where self-referencing a package in a shared module failed by [@weareoutman](https://togithub.com/weareoutman) in [https://github.com/webpack/webpack/pull/16685](https://togithub.com/webpack/webpack/pull/16685)
#### Performance
- Make `ErrorHelpers` named functions; Add types by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/16893](https://togithub.com/webpack/webpack/pull/16893)
- Introduce `ModuleTypeConstants` for plugins by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/16896](https://togithub.com/webpack/webpack/pull/16896)
- Refactor memory footprint in string usages for multiple plugins by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/16894](https://togithub.com/webpack/webpack/pull/16894)
- Add more module type constants, use them across codebase by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/16898](https://togithub.com/webpack/webpack/pull/16898)
#### Contributor Experience
- Implement default PR Template to use GitHub Copilot for PR's integration and fix template name usage by [@geromegrignon](https://togithub.com/geromegrignon) in [https://github.com/webpack/webpack/pull/16890](https://togithub.com/webpack/webpack/pull/16890)
- ci: update actions/cache to v3 by [@armujahid](https://togithub.com/armujahid) in [https://github.com/webpack/webpack/pull/16462](https://togithub.com/webpack/webpack/pull/16462)
- webpack org Collaborators and Members now have [funded GitHub Codespaces!](https://togithub.com/openjs-foundation/cross-project-council/issues/1009)
[![Open in GitHub Codespaces](https://togithub.com/codespaces/badge.svg)](https://togithub.com/codespaces/new?hide_repo_select=true\&ref=main\&repo=3678731\&machine=standardLinux32gb\&location=WestUs2)
#### New Contributors
- [@geromegrignon](https://togithub.com/geromegrignon) made their first contribution in [https://github.com/webpack/webpack/pull/16890](https://togithub.com/webpack/webpack/pull/16890)
- [@armujahid](https://togithub.com/armujahid) made their first contribution in [https://github.com/webpack/webpack/pull/16462](https://togithub.com/webpack/webpack/pull/16462)
- [@long76](https://togithub.com/long76) made their first contribution in [https://github.com/webpack/webpack/pull/16562](https://togithub.com/webpack/webpack/pull/16562)
- [@weareoutman](https://togithub.com/weareoutman) made their first contribution in [https://github.com/webpack/webpack/pull/16685](https://togithub.com/webpack/webpack/pull/16685)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.77.0...v5.78.0
### [`v5.77.0`](https://togithub.com/webpack/webpack/releases/tag/v5.77.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.76.3...v5.77.0)
#### New Features
- Add a new output option, `output.workerPublicPath` by [@thomastay](https://togithub.com/thomastay) in [https://github.com/webpack/webpack/pull/16671](https://togithub.com/webpack/webpack/pull/16671)
#### Developer Experience
- Improve `resolve.extensions` error message to suggest when `"."` is missing before the extension by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16807](https://togithub.com/webpack/webpack/pull/16807)
#### Contributor Experience
- Enable GitHub Copilot for PR's into default Pull Request Template by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/16881](https://togithub.com/webpack/webpack/pull/16881)
#### New Contributors
- [@thomastay](https://togithub.com/thomastay) made their first contribution in [https://github.com/webpack/webpack/pull/16671](https://togithub.com/webpack/webpack/pull/16671)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.3...v5.77.0
### [`v5.76.3`](https://togithub.com/webpack/webpack/releases/tag/v5.76.3)
[Compare Source](https://togithub.com/webpack/webpack/compare/dbf7bf39ab96e1462603435c150d601bb69ebe4e...8ac9616280aebfb61ae7484f06ad1979d73e6a56)
#### Bugfixes
- Non-javascript files will correctly **not** be imported when using `experiments.outputModule` (ES Module Output) by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16809](https://togithub.com/webpack/webpack/pull/16809)
- Limit console output progress bar length to 40 when no columns provided by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16810](https://togithub.com/webpack/webpack/pull/16810)
- Add missing NodeJS Builtin Modules support for `inspector/promises`, `readline/promises`, and `stream/consumers` by [@ShenHongFei](https://togithub.com/ShenHongFei) in [https://github.com/webpack/webpack/pull/16841](https://togithub.com/webpack/webpack/pull/16841)
- webpack bin/cli now properly respects `NODE_PATH` env variable by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16808](https://togithub.com/webpack/webpack/pull/16808)
- Improve typos in `resolveResourceErrorHints` by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16806](https://togithub.com/webpack/webpack/pull/16806)
- Add missing `loaders` token support to `moduleFilenameTemplate` function call by [@pgoldberg](https://togithub.com/pgoldberg) in [https://github.com/webpack/webpack/pull/16756](https://togithub.com/webpack/webpack/pull/16756)
- Add gaurd condition for `enabledLibraryTypes` in internal `ContainerPlugin` by [@PengBoUESTC](https://togithub.com/PengBoUESTC) in [https://github.com/webpack/webpack/pull/16635](https://togithub.com/webpack/webpack/pull/16635)
#### New Contributors
- [@ShenHongFei](https://togithub.com/ShenHongFei) made their first contribution in [https://github.com/webpack/webpack/pull/16841](https://togithub.com/webpack/webpack/pull/16841)
- [@pgoldberg](https://togithub.com/pgoldberg) made their first contribution in [https://github.com/webpack/webpack/pull/16756](https://togithub.com/webpack/webpack/pull/16756)
- [@PengBoUESTC](https://togithub.com/PengBoUESTC) made their first contribution in [https://github.com/webpack/webpack/pull/16635](https://togithub.com/webpack/webpack/pull/16635)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.2...v5.76.3
### [`v5.76.2`](https://togithub.com/webpack/webpack/releases/tag/v5.76.2)
[Compare Source](https://togithub.com/webpack/webpack/compare/21be52b681c477f8ebc41c1b0e7a7a8ac4fa7008...dbf7bf39ab96e1462603435c150d601bb69ebe4e)
#### Bugfixes
- Fix bug where a missing semicolon in generated bundle output for `publicPathRuntime` would cause concatenated runtime errors by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16811](https://togithub.com/webpack/webpack/pull/16811)
- Remove redundant semicolons generated in bundle runtime code after `onScriptComplete` function by [@ahaoboy](https://togithub.com/ahaoboy) in [https://github.com/webpack/webpack/pull/16347](https://togithub.com/webpack/webpack/pull/16347)
- Fix bug where `RealContentHashPlugin` was not respecting `output.hashSalt`'s ability to cause a force recalculation of `[contenthash]` for emitted assets by [@dmichon-msft](https://togithub.com/dmichon-msft) [#16789](https://togithub.com/webpack/webpack/issues/16789)
#### Performance
- Improve memory and runtime performance of sourcemaps via hoisting Regular Expression literals to stored variables by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/15722](https://togithub.com/webpack/webpack/pull/15722)
- Correct v8 deoptimization in `ModuleGraph` due to instance property declarations occurring outside of constructor by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16830](https://togithub.com/webpack/webpack/pull/16830)
#### Developer Experience
- Improved internal typings to match `webpack-sources` typings for `Source` instances by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16805](https://togithub.com/webpack/webpack/pull/16805)
- Update repo examples to include missing quotation by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16812](https://togithub.com/webpack/webpack/pull/16812)
#### New Contributors
- [@ahaoboy](https://togithub.com/ahaoboy) made their first contribution in [https://github.com/webpack/webpack/pull/16347](https://togithub.com/webpack/webpack/pull/16347)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.1...v5.76.2
### [`v5.76.1`](https://togithub.com/webpack/webpack/releases/tag/v5.76.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.76.0...v5.76.1)
#### Fixed
- Added `assert/strict` built-in to `NodeTargetPlugin`
#### Revert
- Improve performance of `hashRegExp` lookup by [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) in [https://github.com/webpack/webpack/pull/16759](https://togithub.com/webpack/webpack/pull/16759)
### [`v5.76.0`](https://togithub.com/webpack/webpack/releases/tag/v5.76.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.75.0...v5.76.0)
#### Bugfixes
- Avoid cross-realm object access by [@Jack-Works](https://togithub.com/Jack-Works) in [https://github.com/webpack/webpack/pull/16500](https://togithub.com/webpack/webpack/pull/16500)
- Improve hash performance via conditional initialization by [@lvivski](https://togithub.com/lvivski) in [https://github.com/webpack/webpack/pull/16491](https://togithub.com/webpack/webpack/pull/16491)
- Serialize `generatedCode` info to fix bug in asset module cache restoration by [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) in [https://github.com/webpack/webpack/pull/16703](https://togithub.com/webpack/webpack/pull/16703)
- Improve performance of `hashRegExp` lookup by [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) in [https://github.com/webpack/webpack/pull/16759](https://togithub.com/webpack/webpack/pull/16759)
#### Features
- add `target` to `LoaderContext` type by [@askoufis](https://togithub.com/askoufis) in [https://github.com/webpack/webpack/pull/16781](https://togithub.com/webpack/webpack/pull/16781)
#### Security
- [CVE-2022-37603](https://togithub.com/advisories/GHSA-3rfm-jhwj-7488) fixed by [@akhilgkrishnan](https://togithub.com/akhilgkrishnan) in [https://github.com/webpack/webpack/pull/16446](https://togithub.com/webpack/webpack/pull/16446)
#### Repo Changes
- Fix HTML5 logo in README by [@jakebailey](https://togithub.com/jakebailey) in [https://github.com/webpack/webpack/pull/16614](https://togithub.com/webpack/webpack/pull/16614)
- Replace TypeScript logo in README by [@jakebailey](https://togithub.com/jakebailey) in [https://github.com/webpack/webpack/pull/16613](https://togithub.com/webpack/webpack/pull/16613)
- Update actions/cache dependencies by [@piwysocki](https://togithub.com/piwysocki) in [https://github.com/webpack/webpack/pull/16493](https://togithub.com/webpack/webpack/pull/16493)
#### New Contributors
- [@Jack-Works](https://togithub.com/Jack-Works) made their first contribution in [https://github.com/webpack/webpack/pull/16500](https://togithub.com/webpack/webpack/pull/16500)
- [@lvivski](https://togithub.com/lvivski) made their first contribution in [https://github.com/webpack/webpack/pull/16491](https://togithub.com/webpack/webpack/pull/16491)
- [@jakebailey](https://togithub.com/jakebailey) made their first contribution in [https://github.com/webpack/webpack/pull/16614](https://togithub.com/webpack/webpack/pull/16614)
- [@akhilgkrishnan](https://togithub.com/akhilgkrishnan) made their first contribution in [https://github.com/webpack/webpack/pull/16446](https://togithub.com/webpack/webpack/pull/16446)
- [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) made their first contribution in [https://github.com/webpack/webpack/pull/16703](https://togithub.com/webpack/webpack/pull/16703)
- [@piwysocki](https://togithub.com/piwysocki) made their first contribution in [https://github.com/webpack/webpack/pull/16493](https://togithub.com/webpack/webpack/pull/16493)
- [@askoufis](https://togithub.com/askoufis) made their first contribution in [https://github.com/webpack/webpack/pull/16781](https://togithub.com/webpack/webpack/pull/16781)
**Full Changelog**: https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0
### [`v5.75.0`](https://togithub.com/webpack/webpack/releases/tag/v5.75.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.74.0...v5.75.0)
### Bugfixes
- `experiments.*` normalize to `false` when opt-out
- avoid `NaN%`
- show the correct error when using a conflicting chunk name in code
- HMR code tests existance of `window` before trying to access it
- fix `eval-nosources-*` actually exclude sources
- fix race condition where no module is returned from processing module
- fix position of standalong semicolon in runtime code
### Features
- add support for `@import` to extenal CSS when using experimental CSS in node
- add `i64` support to the deprecated WASM implementation
### Developer Experience
- expose `EnableWasmLoadingPlugin`
- add more typings
- generate getters instead of readonly properties in typings to allow overriding them
### [`v5.74.0`](https://togithub.com/webpack/webpack/releases/tag/v5.74.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.73.0...v5.74.0)
### Features
- add `resolve.extensionAlias` option which allows to alias extensions
- This is useful when you are forced to add the `.js` extension to imports when the file really has a `.ts` extension (typescript + `"type": "module"`)
- add support for ES2022 features like static blocks
- add Tree Shaking support for `ProvidePlugin`
### Bugfixes
- fix persistent cache when some build dependencies are on a different windows drive
- make order of evaluation of side-effect-free modules deterministic between concatenated and non-concatenated modules
- remove left-over from debugging in TLA/async modules runtime code
- remove unneeded extra 1s timestamp offset during watching when files are actually untouched
- This sometimes caused an additional second build which are not really needed
- fix `shareScope` option for `ModuleFederationPlugin`
- set `"use-credentials"` also for same origin scripts
### Performance
- Improve memory usage and performance of aggregating needed files/directories for watching
- This affects rebuild performance
### Extensibility
- export `HarmonyImportDependency` for plugins
### [`v5.73.0`](https://togithub.com/webpack/webpack/releases/tag/v5.73.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.72.1...v5.73.0)
### Features
- add options for default `dynamicImportMode` and prefetch and preload
- add support for `import { createRequire } from "module"` in source code
### Bugfixes
- fix code generation of e. g. `return"field"in Module`
- fix performance of large JSON modules
- fix performance of async modules evaluation
### Developer Experience
- export `PathData` in typings
- improve error messages with more details
### [`v5.72.1`](https://togithub.com/webpack/webpack/releases/tag/v5.72.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.72.0...v5.72.1)
### Bugfixes
- fix `__webpack_nonce__` with HMR
- fix `in` operator in some cases
- fix json parsing error messages
- fix module concatenation with using `this.importModule`
- upgrade enhanced-resolve
### [`v5.72.0`](https://togithub.com/webpack/webpack/releases/tag/v5.72.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.71.0...v5.72.0)
### Features
- make cache warnings caused by build errors less verbose
- Allow banner to be placed as a footer with the BannerPlugin
- allow to concatenate asset modules
### Bugfixes
- fix RemoteModules when using HMR (Module Federation + HMR)
- throw error when using module concatenation and cacheUnaffected
- fix `in` operator with nested exports
### [`v5.71.0`](https://togithub.com/webpack/webpack/releases/tag/v5.71.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.70.0...v5.71.0)
### Features
- choose smarter default for `uniqueName` when using a `output.library` which includes placeholders
- add support for expressions with `in` of a imported binding
- generate UMD code with arrow functions when possible
### Bugfixes
- fix source map source names for ContextModule to be relative
- fix `chunkLoading` option in module module
- fix edge case where `evaluateExpression` returns `null`
- retain optional chaining in imported bindings
- include runtime code for the base URI even if not using chunk loading
- don't throw errors in persistent caching when importing node.js builtin modules via ESM
- fix crash when using `lazy-once` Context modules
- improve handling of context modules with multiple contexts
- fix race condition HMR chunk loading when importing chunks during HMR updating
- handle errors in `runAsChild` callback
### [`v5.70.0`](https://togithub.com/webpack/webpack/releases/tag/v5.70.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.69.1...v5.70.0)
### Features
- update node.js version constraints for ESM support
- add `baseUri` to `entry` options to configure a static base uri (the base of `new URL()`)
- alphabetically sort exports in namespace objects when possible
- add `__webpack_exports_info__.name.canMangle`
- add proxy support to `experiments.buildHttp`
- `import.meta.webpackContext` as ESM alternative to `require.context`
- handle multiple alternative directories (e. g. due to resolve.alias or resolve.modules) when creating an context module
### Bugfixes
- fix problem when assigning `global` to a variable
- fix crash when using `experiments.outputModule` and `loaderContext.importModule` with multiple chunks
- avoid generating progress output before the compilation has started (ProgressPlugin)
- fix handling of non-static-ESM dependencies with using TLA and HMR in the same module
- include the asset module filename in hashing
- `output.clean` will keep HMR assets for at least 10s to allow HMR to access them even when compilation is faster then the browser
### Performance
- fix asset caching when using the BannerPlugin
### Developer Experience
- improve typings
### Contributing
- capture caching errors when running the test suite
### [`v5.69.1`](https://togithub.com/webpack/webpack/releases/tag/v5.69.1)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.69.0...v5.69.1)
### Revert
- revert "handle multiple alternative directories (e. g. due to resolve.alias or resolve.modules) when creating an context module"
### [`v5.69.0`](https://togithub.com/webpack/webpack/releases/tag/v5.69.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.68.0...v5.69.0)
### Features
- automatically switch to an ESM compatible environment when enabling ESM output mode
- handle multiple alternative directories (e. g. due to `resolve.alias` or `resolve.modules`) when creating an context module
- add `util/types` to node.js built-in modules
- add `__webpack_exports_info__..canMangle` api
### Bugfixes
- fix bug in chunk graph generation which leads to modules being included in chunk desprite them being already included in parent chunks
- avoid writing more than 2GB at once during cache serialization (as workaround for node.js/libuv bug on MacOS)
- fix handling of whitespaces in semver ranges when using Module Federation
- avoid generating hashes which contain only numbers as they likely conflict with module ids
- fix resource name based placeholders for data uris
- fix cache serialization for context elements
- fix passing of `stage` option when instrumenting plugins for the ProfilingPlugin
- fix tracking of declarations in concatenated modules to avoid conflicts
- fix unstable mangling of exports
- fix handling of `#` in paths of loaders
- avoid unnecessary cache update when using `experiments.buildHttp`
### Contributing
- update typescript and jest
### Developer Experience
- expose some additional typings for usage in webpack-cli
### [`v5.68.0`](https://togithub.com/webpack/webpack/releases/tag/v5.68.0)
[Compare Source](https://togithub.com/webpack/webpack/compare/v5.67.0...v5.68.0)
### Features
- allow to disable comp
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - 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, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^4.35.3
->^5.0.0
Release Notes
webpack/webpack
### [`v5.84.1`](https://togithub.com/webpack/webpack/releases/tag/v5.84.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.84.0...v5.84.1) #### Bug Fixes - Fix regression in inner graph for reserved identifiers by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17265](https://togithub.com/webpack/webpack/pull/17265) #### Dependencies & Maintenance - Bump [@types/jest](https://togithub.com/types/jest) from 29.5.0 to 29.5.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17027](https://togithub.com/webpack/webpack/pull/17027) - Bump simple-git from 3.18.0 to 3.19.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17263](https://togithub.com/webpack/webpack/pull/17263) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.84.0...v5.84.1 ### [`v5.84.0`](https://togithub.com/webpack/webpack/releases/tag/v5.84.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.83.1...v5.84.0) #### New Features - SourceMapDevToolPlugin now supports `append` option as a function by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/17252](https://togithub.com/webpack/webpack/pull/17252) #### Bugfixes - Fix multiple bugs referencing class names when shadowed by import name in properties and methods by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17233](https://togithub.com/webpack/webpack/pull/17233) - Allow DefinePlugin shorthand property by [@shamoilarsi](https://togithub.com/shamoilarsi) in [https://github.com/webpack/webpack/pull/17231](https://togithub.com/webpack/webpack/pull/17231) - \[CSS] - Fix edge cases in parsing `@import` by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17229](https://togithub.com/webpack/webpack/pull/17229) #### Developer Experience - Increase type coverage for serialization classes by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17243](https://togithub.com/webpack/webpack/pull/17243) - Increase type coverage for `JavascriptParser` and `ModuleDependency` subclasses by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17236](https://togithub.com/webpack/webpack/pull/17236) - Increase type coverage to `strict`-mode quality for Configuration/Normalization objects by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17247](https://togithub.com/webpack/webpack/pull/17247) - Refactor duplicate strings by replacing them with constant for **webpack_require** instead of string literal by [@burhanuday](https://togithub.com/burhanuday) in [https://github.com/webpack/webpack/pull/17228](https://togithub.com/webpack/webpack/pull/17228) - Add test case for `with { type: "json" }` by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17230](https://togithub.com/webpack/webpack/pull/17230) - Add test case for destructuring by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17248](https://togithub.com/webpack/webpack/pull/17248) #### Dependencies & Maintenance - Add GitHub discussions badge in README by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/17251](https://togithub.com/webpack/webpack/pull/17251) - Bump enhanced-resolve to 5.14.1 by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17257](https://togithub.com/webpack/webpack/pull/17257) - Bump [@types/node](https://togithub.com/types/node) from 20.1.7 to 20.2.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17219](https://togithub.com/webpack/webpack/pull/17219) - Bump [@types/node](https://togithub.com/types/node) from 20.2.0 to 20.2.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17226](https://togithub.com/webpack/webpack/pull/17226) - Bump webpack-cli from 5.1.0 to 5.1.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17164](https://togithub.com/webpack/webpack/pull/17164) - Bump eslint from 8.39.0 to 8.40.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17148](https://togithub.com/webpack/webpack/pull/17148) - Bump [@babel/core](https://togithub.com/babel/core) from 7.21.4 to 7.21.8 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17126](https://togithub.com/webpack/webpack/pull/17126) - Bump [@types/node](https://togithub.com/types/node) from 20.2.1 to 20.2.3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17238](https://togithub.com/webpack/webpack/pull/17238) - Bump eslint from 8.40.0 to 8.41.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17237](https://togithub.com/webpack/webpack/pull/17237) #### New Contributors - [@shamoilarsi](https://togithub.com/shamoilarsi) made their first contribution in [https://github.com/webpack/webpack/pull/17231](https://togithub.com/webpack/webpack/pull/17231) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.83.1...v5.84.0 ### [`v5.83.1`](https://togithub.com/webpack/webpack/releases/tag/v5.83.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.83.0...v5.83.1) #### Bug Fixes - Fix regression in import/export normailization effecting mini-css-extract-plugin by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17214](https://togithub.com/webpack/webpack/pull/17214) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.83.0...v5.83.1 ### [`v5.83.0`](https://togithub.com/webpack/webpack/releases/tag/v5.83.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.82.1...v5.83.0) #### New Features - Normalize property access for imports and exports by [@bworline](https://togithub.com/bworline) in [https://github.com/webpack/webpack/pull/17137](https://togithub.com/webpack/webpack/pull/17137) - Top Level Await is now enabled by default by [@burhanuday](https://togithub.com/burhanuday) in [https://github.com/webpack/webpack/pull/17192](https://togithub.com/webpack/webpack/pull/17192) #### Bug Fixes - Correct `chunkgroup.groupsIterable` return type by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17196](https://togithub.com/webpack/webpack/pull/17196) - Fix bug in Rule Matcher type by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17207](https://togithub.com/webpack/webpack/pull/17207) - Fixed apply event callback and optimizing callback event type by [@nuintun](https://togithub.com/nuintun) in [https://github.com/webpack/webpack/pull/16094](https://togithub.com/webpack/webpack/pull/16094) - Fix types in hot module replacement APIs by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17193](https://togithub.com/webpack/webpack/pull/17193) #### Developer Experience - Expose `ChunkGroup` to type definitions by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17201](https://togithub.com/webpack/webpack/pull/17201) - Add `NormalModuleFactory`'s `ResolveData` type to public interface by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17195](https://togithub.com/webpack/webpack/pull/17195) - Document `compilation.afterChunks` hook by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17202](https://togithub.com/webpack/webpack/pull/17202) #### Dependencies & Maintenance - Bump [@webassemblyjs/wasm-edit](https://togithub.com/webassemblyjs/wasm-edit) from 1.11.5 to 1.11.6 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17168](https://togithub.com/webpack/webpack/pull/17168) - Bump wast-loader from 1.11.5 to 1.11.6 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17163](https://togithub.com/webpack/webpack/pull/17163) - Bump yarn-deduplicate from 6.0.1 to 6.0.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17184](https://togithub.com/webpack/webpack/pull/17184) - Fix command by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17154](https://togithub.com/webpack/webpack/pull/17154) - Bump [@types/node](https://togithub.com/types/node) from 18.16.3 to 20.1.7 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17205](https://togithub.com/webpack/webpack/pull/17205) #### New Contributors - [@bworline](https://togithub.com/bworline) made their first contribution in [https://github.com/webpack/webpack/pull/17137](https://togithub.com/webpack/webpack/pull/17137) - [@nuintun](https://togithub.com/nuintun) made their first contribution in [https://github.com/webpack/webpack/pull/16094](https://togithub.com/webpack/webpack/pull/16094) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.82.1...v5.83.0 ### [`v5.82.1`](https://togithub.com/webpack/webpack/releases/tag/v5.82.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.82.0...v5.82.1) #### Bug Fixes - \[CSS] - Support nesting in CSS modules and bug fixes by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17133](https://togithub.com/webpack/webpack/pull/17133) - \[CSS] - Fix crash with `importModule` when CSS enabled by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17140](https://togithub.com/webpack/webpack/pull/17140) - Fix bug where `output.hashFunction` was failing to generate debug hash by [@ahabhgk](https://togithub.com/ahabhgk) in [https://github.com/webpack/webpack/pull/16950](https://togithub.com/webpack/webpack/pull/16950) - Reduce the amount of generated code for chunk loading by [@lvivski](https://togithub.com/lvivski) in [https://github.com/webpack/webpack/pull/17151](https://togithub.com/webpack/webpack/pull/17151) - Use module preload for ESM module output by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17143](https://togithub.com/webpack/webpack/pull/17143) #### Developer Experience - Improve module type strictness for Module.prototype.type expand ModuleTypeConstants by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17136](https://togithub.com/webpack/webpack/pull/17136) #### Dependencies & Maintenance - Update package.json description by [@JeraldVin](https://togithub.com/JeraldVin) in [https://github.com/webpack/webpack/pull/17145](https://togithub.com/webpack/webpack/pull/17145) - Bump webpack-cli from 5.0.2 to 5.1.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17146](https://togithub.com/webpack/webpack/pull/17146) - Bump core-js from 3.30.1 to 3.30.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17149](https://togithub.com/webpack/webpack/pull/17149) - Bump enhanced-resolve to v5.14.0 by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/17160](https://togithub.com/webpack/webpack/pull/17160) #### New Contributors - [@JeraldVin](https://togithub.com/JeraldVin) made their first contribution in [https://github.com/webpack/webpack/pull/17145](https://togithub.com/webpack/webpack/pull/17145) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.82.0...v5.82.1 ### [`v5.82.0`](https://togithub.com/webpack/webpack/releases/tag/v5.82.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.81.0...v5.82.0) #### New Features - \[CSS] - Add URL dependencies support to consume shared module via module federation by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16945](https://togithub.com/webpack/webpack/pull/16945) - Allow webpack-cli to be in ESM by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17088](https://togithub.com/webpack/webpack/pull/17088) - Allow specifying "onPolicyCreationFailure" mode for trusted types by [@Zlatkovsky](https://togithub.com/Zlatkovsky) in [https://github.com/webpack/webpack/pull/16990](https://togithub.com/webpack/webpack/pull/16990) #### Bug Fixes - \[CSS] - Respect `media`/`supports`/`layer` from parent CSS module by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17115](https://togithub.com/webpack/webpack/pull/17115) - \[CSS] - Add warning & support for any [@import](https://togithub.com/import) rules must precede all other rules by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17118](https://togithub.com/webpack/webpack/pull/17118) - \[CSS] - Support handling `#hash` URL as external (similar to Parcel) by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17116](https://togithub.com/webpack/webpack/pull/17116) - Optimize numberHash.js performance by removing inner loops by [@alexkuz](https://togithub.com/alexkuz) in [https://github.com/webpack/webpack/pull/17074](https://togithub.com/webpack/webpack/pull/17074) - Improve template string comparison algorithm by [@An0nie](https://togithub.com/An0nie) in [https://github.com/webpack/webpack/pull/17079](https://togithub.com/webpack/webpack/pull/17079) #### Tests & Contributor Experience - \[CSS] - Increase imports external test coverage by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17089](https://togithub.com/webpack/webpack/pull/17089) - Improve PR reliability via ignoring unstable coverage by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17106](https://togithub.com/webpack/webpack/pull/17106) - Update webpack types to support extends property in webpack (for webpack-cli) by [@burhanuday](https://togithub.com/burhanuday) in [https://github.com/webpack/webpack/pull/17113](https://togithub.com/webpack/webpack/pull/17113) #### Developer Experience - Increase type coverage and documentation for `StringXor` class. by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17070](https://togithub.com/webpack/webpack/pull/17070) - Increase type coverage & docs for `numberHash` by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17072](https://togithub.com/webpack/webpack/pull/17072) - Increase type coverage & docs for `JavascriptParser` by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17094](https://togithub.com/webpack/webpack/pull/17094) - Increase type coverage & docs for `BasicEvaluatedExpression` by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17096](https://togithub.com/webpack/webpack/pull/17096) - Increase type coverage for CSS module type by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17097](https://togithub.com/webpack/webpack/pull/17097) - Increase type coverage for JSON module type by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17095](https://togithub.com/webpack/webpack/pull/17095) - Increase type coverage & docs for multiple utility classes by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17107](https://togithub.com/webpack/webpack/pull/17107) #### Dependencies & Maintenance - chore(deps-dev): bump lint-staged from 13.2.1 to 13.2.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17075](https://togithub.com/webpack/webpack/pull/17075) - chore(deps-dev): bump eslint from 8.38.0 to 8.39.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17052](https://togithub.com/webpack/webpack/pull/17052) - chore(deps-dev): bump assemblyscript from 0.27.3 to 0.27.4 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17064](https://togithub.com/webpack/webpack/pull/17064) - chore(deps-dev): bump assemblyscript from 0.27.4 to 0.27.5 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17109](https://togithub.com/webpack/webpack/pull/17109) - chore(deps-dev): bump [@types/node](https://togithub.com/types/node) from 18.16.2 to 18.16.3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17112](https://togithub.com/webpack/webpack/pull/17112) - chore(deps-dev): bump [@types/node](https://togithub.com/types/node) from 18.15.13 to 18.16.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17084](https://togithub.com/webpack/webpack/pull/17084) - chore(deps-dev): bump webpack-cli from 5.0.1 to 5.0.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17054](https://togithub.com/webpack/webpack/pull/17054) - chore(deps-dev): bump date-fns from 2.29.3 to 2.30.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17111](https://togithub.com/webpack/webpack/pull/17111) #### New Contributors - [@An0nie](https://togithub.com/An0nie) made their first contribution in [https://github.com/webpack/webpack/pull/17079](https://togithub.com/webpack/webpack/pull/17079) - [@burhanuday](https://togithub.com/burhanuday) made their first contribution in [https://github.com/webpack/webpack/pull/17113](https://togithub.com/webpack/webpack/pull/17113) - [@Zlatkovsky](https://togithub.com/Zlatkovsky) made their first contribution in [https://github.com/webpack/webpack/pull/16990](https://togithub.com/webpack/webpack/pull/16990) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.81.0...v5.82.0 ### [`v5.81.0`](https://togithub.com/webpack/webpack/releases/tag/v5.81.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.80.0...v5.81.0) #### New Features - \[CSS] - Increased CSS import support and new hooks included for CSS module creation by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17057](https://togithub.com/webpack/webpack/pull/17057) - Logging now added to DefinePlugin by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17048](https://togithub.com/webpack/webpack/pull/17048) - New `ignoreBrowserWarnings` option to ignore browser console warnings in ModuleFederation by [@indeediansbrett](https://togithub.com/indeediansbrett) in [https://github.com/webpack/webpack/pull/16388](https://togithub.com/webpack/webpack/pull/16388) #### Bug Fixes - \[CSS] - Fix issue where vendor prefixed keyframes and animation was not supported in CSS modules by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16975](https://togithub.com/webpack/webpack/pull/16975) - Fix bug where AST was not properly handled by [@quanru](https://togithub.com/quanru) in [https://github.com/webpack/webpack/pull/17032](https://togithub.com/webpack/webpack/pull/17032) - Fix automatic publicPath detection logic by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17047](https://togithub.com/webpack/webpack/pull/17047) #### Tests & Contributor Experience - Rename `provide` to `getOrInsert` in MapHelpers and document it better by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17060](https://togithub.com/webpack/webpack/pull/17060) - Increase test reliability for DefinePlugin [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17062](https://togithub.com/webpack/webpack/pull/17062) - Add additional CI Pipeline to test main branches of first-party webpack dependencies by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17020](https://togithub.com/webpack/webpack/pull/17020) - Refactor tests to no longer use deprecated or legacy dependencies and APIs by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17033](https://togithub.com/webpack/webpack/pull/17033) #### Developer Experience - Increase type coverage/documentation for ModuleFilenameHelpers by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17045](https://togithub.com/webpack/webpack/pull/17045) - Increase type coverage/documentation for CommonJsExportsParserPlugin by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17046](https://togithub.com/webpack/webpack/pull/17046) - Increase type coverage/documentation for binarySearchBounds.js by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17058](https://togithub.com/webpack/webpack/pull/17058) - Export MemoryCacheOptions types by [@romulof](https://togithub.com/romulof) in [https://github.com/webpack/webpack/pull/17055](https://togithub.com/webpack/webpack/pull/17055) #### Dependencies & Maintenance - Add NodeJS v20 to CI Matrix by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17019](https://togithub.com/webpack/webpack/pull/17019) - Update Typescript to v5 by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16957](https://togithub.com/webpack/webpack/pull/16957) - Bump [@types/estree](https://togithub.com/types/estree) from 1.0.0 to 1.0.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17026](https://togithub.com/webpack/webpack/pull/17026) - Bump [@types/node](https://togithub.com/types/node) from 18.15.11 to 18.15.13 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17038](https://togithub.com/webpack/webpack/pull/17038) - Bump assemblyscript from 0.27.2 to 0.27.3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17051](https://togithub.com/webpack/webpack/pull/17051) - Bump memfs from 3.5.0 to 3.5.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17039](https://togithub.com/webpack/webpack/pull/17039) - Bump prettier from 2.8.7 to 2.8.8 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17050](https://togithub.com/webpack/webpack/pull/17050) - Bump simple-git from 3.17.0 to 3.18.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/17066](https://togithub.com/webpack/webpack/pull/17066) #### New Contributors - [@quanru](https://togithub.com/quanru) made their first contribution in [https://github.com/webpack/webpack/pull/17032](https://togithub.com/webpack/webpack/pull/17032) - [@romulof](https://togithub.com/romulof) made their first contribution in [https://github.com/webpack/webpack/pull/17055](https://togithub.com/webpack/webpack/pull/17055) - [@indeediansbrett](https://togithub.com/indeediansbrett) made their first contribution in [https://github.com/webpack/webpack/pull/16388](https://togithub.com/webpack/webpack/pull/16388) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.80.0...v5.81.0 ### [`v5.80.0`](https://togithub.com/webpack/webpack/releases/tag/v5.80.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.79.0...v5.80.0) #### New Features - Support destructuring assignment in `import.meta` by [@vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/16996](https://togithub.com/webpack/webpack/pull/16996) - Support treeshaking for destructuring assignment with `AwaitExpression` by [@vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/16995](https://togithub.com/webpack/webpack/pull/16995) - Introduce `errorsSpace`, `warningsSpace` for more readable traces in stats by [@vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/15450](https://togithub.com/webpack/webpack/pull/15450) #### Bug Fixes - \[CSS] - Fix runtime generation bug for merged CSS Chunks by [@janlent1](https://togithub.com/janlent1) in [https://github.com/webpack/webpack/pull/16903](https://togithub.com/webpack/webpack/pull/16903) - \[CSS] - Properly handle `url()`/`src()`/`image-set()`/`image()` by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16978](https://togithub.com/webpack/webpack/pull/16978) - ES Module webpack loaders are now supported [@stefanprobst](https://togithub.com/stefanprobst) in [https://github.com/webpack/webpack/pull/15198](https://togithub.com/webpack/webpack/pull/15198) - Fix spelling error for `statement.finalizer` in parser by [@xiaoboost](https://togithub.com/xiaoboost) in [https://github.com/webpack/webpack/pull/17016](https://togithub.com/webpack/webpack/pull/17016) - Fix non-deterministic `moduleId` assignment due to encountering `NaN` in sort function by [@scameron](https://togithub.com/scameron) in [https://github.com/webpack/webpack/pull/16933](https://togithub.com/webpack/webpack/pull/16933) - \[enhanced-resolve]: Support wildcards pattern with common suffix in package maps & imports/exports field by [@bvanjoi](https://togithub.com/bvanjoi) in [https://github.com/webpack/enhanced-resolve/pull/353](https://togithub.com/webpack/enhanced-resolve/pull/353) #### Tests & Contributor Experience - \[CSS] - Added test case for `@supports` field by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17011](https://togithub.com/webpack/webpack/pull/17011) - Add test for include option in `BannerPlugin` by [@jeffin143](https://togithub.com/jeffin143) in [https://github.com/webpack/webpack/pull/10736](https://togithub.com/webpack/webpack/pull/10736) - Remove `finializer` from cspell.json by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/17022](https://togithub.com/webpack/webpack/pull/17022) #### Developer Experience - Adds the twitter badge by [@yadunandanbhat](https://togithub.com/yadunandanbhat) in [https://github.com/webpack/webpack/pull/15667](https://togithub.com/webpack/webpack/pull/15667) - Add `wasm-bindgen` example to `example` by [@gthb](https://togithub.com/gthb) in [https://github.com/webpack/webpack/pull/14313](https://togithub.com/webpack/webpack/pull/14313) - Update grammar mistakes in examples by [@ersachin3112](https://togithub.com/ersachin3112) in [https://github.com/webpack/webpack/pull/16988](https://togithub.com/webpack/webpack/pull/16988) #### Dependencies & Maintenance - Bump core-js from 3.30.0 to 3.30.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/16983](https://togithub.com/webpack/webpack/pull/16983) - Bump `@webassemblyjs` by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/17003](https://togithub.com/webpack/webpack/pull/17003) - Bump assemblyscript from 0.25.2 to 0.27.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/16959](https://togithub.com/webpack/webpack/pull/16959) - Bump enhanced-resolve to [5.13.0](https://togithub.com/webpack/enhanced-resolve/releases/tag/v5.13.0) by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/17024](https://togithub.com/webpack/webpack/pull/17024) - Included githubactions in the dependabot config by [@neilnaveen](https://togithub.com/neilnaveen) in [https://github.com/webpack/webpack/pull/15618](https://togithub.com/webpack/webpack/pull/15618) - Fix prettier by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16976](https://togithub.com/webpack/webpack/pull/16976) #### New Contributors - [@neilnaveen](https://togithub.com/neilnaveen) made their first contribution in [https://github.com/webpack/webpack/pull/15618](https://togithub.com/webpack/webpack/pull/15618) - [@yadunandanbhat](https://togithub.com/yadunandanbhat) made their first contribution in [https://github.com/webpack/webpack/pull/15667](https://togithub.com/webpack/webpack/pull/15667) - [@ersachin3112](https://togithub.com/ersachin3112) made their first contribution in [https://github.com/webpack/webpack/pull/16988](https://togithub.com/webpack/webpack/pull/16988) - [@stefanprobst](https://togithub.com/stefanprobst) made their first contribution in [https://github.com/webpack/webpack/pull/15198](https://togithub.com/webpack/webpack/pull/15198) - [@xiaoboost](https://togithub.com/xiaoboost) made their first contribution in [https://github.com/webpack/webpack/pull/17016](https://togithub.com/webpack/webpack/pull/17016) - [@scameron](https://togithub.com/scameron) made their first contribution in [https://github.com/webpack/webpack/pull/16933](https://togithub.com/webpack/webpack/pull/16933) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.79.0...v5.80.0 ### [`v5.79.0`](https://togithub.com/webpack/webpack/releases/tag/v5.79.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.78.0...v5.79.0) #### New Features - webpack will now support simple destructuring scenarios for treeshaking namespaced imports and `DefinePlugin` by [@vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/16941](https://togithub.com/webpack/webpack/pull/16941) #### Bugfixes - Truncate extremely long module names in `DefaultStatsPrinter` by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16882](https://togithub.com/webpack/webpack/pull/16882) - Add `[contenthash]` template support in `DllPlugin`'s `name` option by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16935](https://togithub.com/webpack/webpack/pull/16935) - Fixed a bug where `readRecords` compiler hook was causing hangs in conjunction with the `ReadRecordsPlugin` by [@snitin315](https://togithub.com/snitin315) & [@zookatron](https://togithub.com/zookatron) in [https://github.com/webpack/webpack/pull/16944](https://togithub.com/webpack/webpack/pull/16944) - webpack can now consume ESM bundles generated by webpack's esm output support by [@vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/15608](https://togithub.com/webpack/webpack/pull/15608) - \[CSS] - webpack now respects CSS's case-insensitivity with atTags like `@MEDIA` by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16915](https://togithub.com/webpack/webpack/pull/16915) - \[CSS] - Fixes a bug where crossOriginLoading anonymous would not work when loading styles by [@chenjiahan](https://togithub.com/chenjiahan) in [https://github.com/webpack/webpack/pull/16925](https://togithub.com/webpack/webpack/pull/16925) #### Developer Experience - Fix broken links and typos found in examples by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16937](https://togithub.com/webpack/webpack/pull/16937) - Export more `Externals` Option types by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/12774](https://togithub.com/webpack/webpack/pull/12774) #### Contributor Experience - Add new test case for ModuleFederationPlugin usage with `shareScope` option by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16943](https://togithub.com/webpack/webpack/pull/16943) - Bump core-js from 3.20.3 to 3.30.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/16905](https://togithub.com/webpack/webpack/pull/16905) - Update all applicable local dependencies and devDependencies by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16919](https://togithub.com/webpack/webpack/pull/16919), [https://github.com/webpack/webpack/pull/16924](https://togithub.com/webpack/webpack/pull/16924), [https://github.com/webpack/webpack/pull/16936](https://togithub.com/webpack/webpack/pull/16936), [https://github.com/webpack/webpack/pull/16968](https://togithub.com/webpack/webpack/pull/16968) - Update to Jest 29 by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16947](https://togithub.com/webpack/webpack/pull/16947) #### New Contributors - [@chenjiahan](https://togithub.com/chenjiahan) made their first contribution in [https://github.com/webpack/webpack/pull/16925](https://togithub.com/webpack/webpack/pull/16925) - [@karlhorky](https://togithub.com/karlhorky) made their first contribution in [https://github.com/webpack/webpack/pull/16419](https://togithub.com/webpack/webpack/pull/16419) - [@zookatron](https://togithub.com/zookatron) made their first contribution in [https://github.com/webpack/webpack/pull/16301](https://togithub.com/webpack/webpack/pull/16301) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.78.0...v5.79.0 ### [`v5.78.0`](https://togithub.com/webpack/webpack/releases/tag/v5.78.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.77.0...v5.78.0) #### Features - Implement `amdContainer` support for AMD libraries (Fixes [#16561](https://togithub.com/webpack/webpack/issues/16561)) by [@long76](https://togithub.com/long76) in [https://github.com/webpack/webpack/pull/16562](https://togithub.com/webpack/webpack/pull/16562) #### Bugfixes - \[CSS] - Nested atRule's `@media` or `@supports` now properly are replaced with unique identifiers by [@noreiller](https://togithub.com/noreiller) in [https://github.com/webpack/webpack/pull/15812](https://togithub.com/webpack/webpack/pull/15812) - \[CSS] - Fix bug where closing parenthesis in CSS were not properly parsed and compiled by [@janlent1](https://togithub.com/janlent1) in [https://github.com/webpack/webpack/pull/16864](https://togithub.com/webpack/webpack/pull/16864) - Fix an issue where `oneOf` rule has been picked multiple times by [@xiaoxiaojx](https://togithub.com/xiaoxiaojx) in [https://github.com/webpack/webpack/pull/16477](https://togithub.com/webpack/webpack/pull/16477) - Add `createRequire` support for `node:module` prefix by [@alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16904](https://togithub.com/webpack/webpack/pull/16904) - Fix bug where self-referencing a package in a shared module failed by [@weareoutman](https://togithub.com/weareoutman) in [https://github.com/webpack/webpack/pull/16685](https://togithub.com/webpack/webpack/pull/16685) #### Performance - Make `ErrorHelpers` named functions; Add types by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/16893](https://togithub.com/webpack/webpack/pull/16893) - Introduce `ModuleTypeConstants` for plugins by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/16896](https://togithub.com/webpack/webpack/pull/16896) - Refactor memory footprint in string usages for multiple plugins by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/16894](https://togithub.com/webpack/webpack/pull/16894) - Add more module type constants, use them across codebase by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/16898](https://togithub.com/webpack/webpack/pull/16898) #### Contributor Experience - Implement default PR Template to use GitHub Copilot for PR's integration and fix template name usage by [@geromegrignon](https://togithub.com/geromegrignon) in [https://github.com/webpack/webpack/pull/16890](https://togithub.com/webpack/webpack/pull/16890) - ci: update actions/cache to v3 by [@armujahid](https://togithub.com/armujahid) in [https://github.com/webpack/webpack/pull/16462](https://togithub.com/webpack/webpack/pull/16462) - webpack org Collaborators and Members now have [funded GitHub Codespaces!](https://togithub.com/openjs-foundation/cross-project-council/issues/1009) [![Open in GitHub Codespaces](https://togithub.com/codespaces/badge.svg)](https://togithub.com/codespaces/new?hide_repo_select=true\&ref=main\&repo=3678731\&machine=standardLinux32gb\&location=WestUs2) #### New Contributors - [@geromegrignon](https://togithub.com/geromegrignon) made their first contribution in [https://github.com/webpack/webpack/pull/16890](https://togithub.com/webpack/webpack/pull/16890) - [@armujahid](https://togithub.com/armujahid) made their first contribution in [https://github.com/webpack/webpack/pull/16462](https://togithub.com/webpack/webpack/pull/16462) - [@long76](https://togithub.com/long76) made their first contribution in [https://github.com/webpack/webpack/pull/16562](https://togithub.com/webpack/webpack/pull/16562) - [@weareoutman](https://togithub.com/weareoutman) made their first contribution in [https://github.com/webpack/webpack/pull/16685](https://togithub.com/webpack/webpack/pull/16685) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.77.0...v5.78.0 ### [`v5.77.0`](https://togithub.com/webpack/webpack/releases/tag/v5.77.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.76.3...v5.77.0) #### New Features - Add a new output option, `output.workerPublicPath` by [@thomastay](https://togithub.com/thomastay) in [https://github.com/webpack/webpack/pull/16671](https://togithub.com/webpack/webpack/pull/16671) #### Developer Experience - Improve `resolve.extensions` error message to suggest when `"."` is missing before the extension by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16807](https://togithub.com/webpack/webpack/pull/16807) #### Contributor Experience - Enable GitHub Copilot for PR's into default Pull Request Template by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/16881](https://togithub.com/webpack/webpack/pull/16881) #### New Contributors - [@thomastay](https://togithub.com/thomastay) made their first contribution in [https://github.com/webpack/webpack/pull/16671](https://togithub.com/webpack/webpack/pull/16671) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.3...v5.77.0 ### [`v5.76.3`](https://togithub.com/webpack/webpack/releases/tag/v5.76.3) [Compare Source](https://togithub.com/webpack/webpack/compare/dbf7bf39ab96e1462603435c150d601bb69ebe4e...8ac9616280aebfb61ae7484f06ad1979d73e6a56) #### Bugfixes - Non-javascript files will correctly **not** be imported when using `experiments.outputModule` (ES Module Output) by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16809](https://togithub.com/webpack/webpack/pull/16809) - Limit console output progress bar length to 40 when no columns provided by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16810](https://togithub.com/webpack/webpack/pull/16810) - Add missing NodeJS Builtin Modules support for `inspector/promises`, `readline/promises`, and `stream/consumers` by [@ShenHongFei](https://togithub.com/ShenHongFei) in [https://github.com/webpack/webpack/pull/16841](https://togithub.com/webpack/webpack/pull/16841) - webpack bin/cli now properly respects `NODE_PATH` env variable by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16808](https://togithub.com/webpack/webpack/pull/16808) - Improve typos in `resolveResourceErrorHints` by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16806](https://togithub.com/webpack/webpack/pull/16806) - Add missing `loaders` token support to `moduleFilenameTemplate` function call by [@pgoldberg](https://togithub.com/pgoldberg) in [https://github.com/webpack/webpack/pull/16756](https://togithub.com/webpack/webpack/pull/16756) - Add gaurd condition for `enabledLibraryTypes` in internal `ContainerPlugin` by [@PengBoUESTC](https://togithub.com/PengBoUESTC) in [https://github.com/webpack/webpack/pull/16635](https://togithub.com/webpack/webpack/pull/16635) #### New Contributors - [@ShenHongFei](https://togithub.com/ShenHongFei) made their first contribution in [https://github.com/webpack/webpack/pull/16841](https://togithub.com/webpack/webpack/pull/16841) - [@pgoldberg](https://togithub.com/pgoldberg) made their first contribution in [https://github.com/webpack/webpack/pull/16756](https://togithub.com/webpack/webpack/pull/16756) - [@PengBoUESTC](https://togithub.com/PengBoUESTC) made their first contribution in [https://github.com/webpack/webpack/pull/16635](https://togithub.com/webpack/webpack/pull/16635) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.2...v5.76.3 ### [`v5.76.2`](https://togithub.com/webpack/webpack/releases/tag/v5.76.2) [Compare Source](https://togithub.com/webpack/webpack/compare/21be52b681c477f8ebc41c1b0e7a7a8ac4fa7008...dbf7bf39ab96e1462603435c150d601bb69ebe4e) #### Bugfixes - Fix bug where a missing semicolon in generated bundle output for `publicPathRuntime` would cause concatenated runtime errors by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16811](https://togithub.com/webpack/webpack/pull/16811) - Remove redundant semicolons generated in bundle runtime code after `onScriptComplete` function by [@ahaoboy](https://togithub.com/ahaoboy) in [https://github.com/webpack/webpack/pull/16347](https://togithub.com/webpack/webpack/pull/16347) - Fix bug where `RealContentHashPlugin` was not respecting `output.hashSalt`'s ability to cause a force recalculation of `[contenthash]` for emitted assets by [@dmichon-msft](https://togithub.com/dmichon-msft) [#16789](https://togithub.com/webpack/webpack/issues/16789) #### Performance - Improve memory and runtime performance of sourcemaps via hoisting Regular Expression literals to stored variables by [@TheLarkInn](https://togithub.com/TheLarkInn) in [https://github.com/webpack/webpack/pull/15722](https://togithub.com/webpack/webpack/pull/15722) - Correct v8 deoptimization in `ModuleGraph` due to instance property declarations occurring outside of constructor by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16830](https://togithub.com/webpack/webpack/pull/16830) #### Developer Experience - Improved internal typings to match `webpack-sources` typings for `Source` instances by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16805](https://togithub.com/webpack/webpack/pull/16805) - Update repo examples to include missing quotation by [@snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16812](https://togithub.com/webpack/webpack/pull/16812) #### New Contributors - [@ahaoboy](https://togithub.com/ahaoboy) made their first contribution in [https://github.com/webpack/webpack/pull/16347](https://togithub.com/webpack/webpack/pull/16347) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.1...v5.76.2 ### [`v5.76.1`](https://togithub.com/webpack/webpack/releases/tag/v5.76.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.76.0...v5.76.1) #### Fixed - Added `assert/strict` built-in to `NodeTargetPlugin` #### Revert - Improve performance of `hashRegExp` lookup by [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) in [https://github.com/webpack/webpack/pull/16759](https://togithub.com/webpack/webpack/pull/16759) ### [`v5.76.0`](https://togithub.com/webpack/webpack/releases/tag/v5.76.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.75.0...v5.76.0) #### Bugfixes - Avoid cross-realm object access by [@Jack-Works](https://togithub.com/Jack-Works) in [https://github.com/webpack/webpack/pull/16500](https://togithub.com/webpack/webpack/pull/16500) - Improve hash performance via conditional initialization by [@lvivski](https://togithub.com/lvivski) in [https://github.com/webpack/webpack/pull/16491](https://togithub.com/webpack/webpack/pull/16491) - Serialize `generatedCode` info to fix bug in asset module cache restoration by [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) in [https://github.com/webpack/webpack/pull/16703](https://togithub.com/webpack/webpack/pull/16703) - Improve performance of `hashRegExp` lookup by [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) in [https://github.com/webpack/webpack/pull/16759](https://togithub.com/webpack/webpack/pull/16759) #### Features - add `target` to `LoaderContext` type by [@askoufis](https://togithub.com/askoufis) in [https://github.com/webpack/webpack/pull/16781](https://togithub.com/webpack/webpack/pull/16781) #### Security - [CVE-2022-37603](https://togithub.com/advisories/GHSA-3rfm-jhwj-7488) fixed by [@akhilgkrishnan](https://togithub.com/akhilgkrishnan) in [https://github.com/webpack/webpack/pull/16446](https://togithub.com/webpack/webpack/pull/16446) #### Repo Changes - Fix HTML5 logo in README by [@jakebailey](https://togithub.com/jakebailey) in [https://github.com/webpack/webpack/pull/16614](https://togithub.com/webpack/webpack/pull/16614) - Replace TypeScript logo in README by [@jakebailey](https://togithub.com/jakebailey) in [https://github.com/webpack/webpack/pull/16613](https://togithub.com/webpack/webpack/pull/16613) - Update actions/cache dependencies by [@piwysocki](https://togithub.com/piwysocki) in [https://github.com/webpack/webpack/pull/16493](https://togithub.com/webpack/webpack/pull/16493) #### New Contributors - [@Jack-Works](https://togithub.com/Jack-Works) made their first contribution in [https://github.com/webpack/webpack/pull/16500](https://togithub.com/webpack/webpack/pull/16500) - [@lvivski](https://togithub.com/lvivski) made their first contribution in [https://github.com/webpack/webpack/pull/16491](https://togithub.com/webpack/webpack/pull/16491) - [@jakebailey](https://togithub.com/jakebailey) made their first contribution in [https://github.com/webpack/webpack/pull/16614](https://togithub.com/webpack/webpack/pull/16614) - [@akhilgkrishnan](https://togithub.com/akhilgkrishnan) made their first contribution in [https://github.com/webpack/webpack/pull/16446](https://togithub.com/webpack/webpack/pull/16446) - [@ryanwilsonperkin](https://togithub.com/ryanwilsonperkin) made their first contribution in [https://github.com/webpack/webpack/pull/16703](https://togithub.com/webpack/webpack/pull/16703) - [@piwysocki](https://togithub.com/piwysocki) made their first contribution in [https://github.com/webpack/webpack/pull/16493](https://togithub.com/webpack/webpack/pull/16493) - [@askoufis](https://togithub.com/askoufis) made their first contribution in [https://github.com/webpack/webpack/pull/16781](https://togithub.com/webpack/webpack/pull/16781) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0 ### [`v5.75.0`](https://togithub.com/webpack/webpack/releases/tag/v5.75.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.74.0...v5.75.0) ### Bugfixes - `experiments.*` normalize to `false` when opt-out - avoid `NaN%` - show the correct error when using a conflicting chunk name in code - HMR code tests existance of `window` before trying to access it - fix `eval-nosources-*` actually exclude sources - fix race condition where no module is returned from processing module - fix position of standalong semicolon in runtime code ### Features - add support for `@import` to extenal CSS when using experimental CSS in node - add `i64` support to the deprecated WASM implementation ### Developer Experience - expose `EnableWasmLoadingPlugin` - add more typings - generate getters instead of readonly properties in typings to allow overriding them ### [`v5.74.0`](https://togithub.com/webpack/webpack/releases/tag/v5.74.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.73.0...v5.74.0) ### Features - add `resolve.extensionAlias` option which allows to alias extensions - This is useful when you are forced to add the `.js` extension to imports when the file really has a `.ts` extension (typescript + `"type": "module"`) - add support for ES2022 features like static blocks - add Tree Shaking support for `ProvidePlugin` ### Bugfixes - fix persistent cache when some build dependencies are on a different windows drive - make order of evaluation of side-effect-free modules deterministic between concatenated and non-concatenated modules - remove left-over from debugging in TLA/async modules runtime code - remove unneeded extra 1s timestamp offset during watching when files are actually untouched - This sometimes caused an additional second build which are not really needed - fix `shareScope` option for `ModuleFederationPlugin` - set `"use-credentials"` also for same origin scripts ### Performance - Improve memory usage and performance of aggregating needed files/directories for watching - This affects rebuild performance ### Extensibility - export `HarmonyImportDependency` for plugins ### [`v5.73.0`](https://togithub.com/webpack/webpack/releases/tag/v5.73.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.72.1...v5.73.0) ### Features - add options for default `dynamicImportMode` and prefetch and preload - add support for `import { createRequire } from "module"` in source code ### Bugfixes - fix code generation of e. g. `return"field"in Module` - fix performance of large JSON modules - fix performance of async modules evaluation ### Developer Experience - export `PathData` in typings - improve error messages with more details ### [`v5.72.1`](https://togithub.com/webpack/webpack/releases/tag/v5.72.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.72.0...v5.72.1) ### Bugfixes - fix `__webpack_nonce__` with HMR - fix `in` operator in some cases - fix json parsing error messages - fix module concatenation with using `this.importModule` - upgrade enhanced-resolve ### [`v5.72.0`](https://togithub.com/webpack/webpack/releases/tag/v5.72.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.71.0...v5.72.0) ### Features - make cache warnings caused by build errors less verbose - Allow banner to be placed as a footer with the BannerPlugin - allow to concatenate asset modules ### Bugfixes - fix RemoteModules when using HMR (Module Federation + HMR) - throw error when using module concatenation and cacheUnaffected - fix `in` operator with nested exports ### [`v5.71.0`](https://togithub.com/webpack/webpack/releases/tag/v5.71.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.70.0...v5.71.0) ### Features - choose smarter default for `uniqueName` when using a `output.library` which includes placeholders - add support for expressions with `in` of a imported binding - generate UMD code with arrow functions when possible ### Bugfixes - fix source map source names for ContextModule to be relative - fix `chunkLoading` option in module module - fix edge case where `evaluateExpression` returns `null` - retain optional chaining in imported bindings - include runtime code for the base URI even if not using chunk loading - don't throw errors in persistent caching when importing node.js builtin modules via ESM - fix crash when using `lazy-once` Context modules - improve handling of context modules with multiple contexts - fix race condition HMR chunk loading when importing chunks during HMR updating - handle errors in `runAsChild` callback ### [`v5.70.0`](https://togithub.com/webpack/webpack/releases/tag/v5.70.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.69.1...v5.70.0) ### Features - update node.js version constraints for ESM support - add `baseUri` to `entry` options to configure a static base uri (the base of `new URL()`) - alphabetically sort exports in namespace objects when possible - add `__webpack_exports_info__.name.canMangle` - add proxy support to `experiments.buildHttp` - `import.meta.webpackContext` as ESM alternative to `require.context` - handle multiple alternative directories (e. g. due to resolve.alias or resolve.modules) when creating an context module ### Bugfixes - fix problem when assigning `global` to a variable - fix crash when using `experiments.outputModule` and `loaderContext.importModule` with multiple chunks - avoid generating progress output before the compilation has started (ProgressPlugin) - fix handling of non-static-ESM dependencies with using TLA and HMR in the same module - include the asset module filename in hashing - `output.clean` will keep HMR assets for at least 10s to allow HMR to access them even when compilation is faster then the browser ### Performance - fix asset caching when using the BannerPlugin ### Developer Experience - improve typings ### Contributing - capture caching errors when running the test suite ### [`v5.69.1`](https://togithub.com/webpack/webpack/releases/tag/v5.69.1) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.69.0...v5.69.1) ### Revert - revert "handle multiple alternative directories (e. g. due to resolve.alias or resolve.modules) when creating an context module" ### [`v5.69.0`](https://togithub.com/webpack/webpack/releases/tag/v5.69.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.68.0...v5.69.0) ### Features - automatically switch to an ESM compatible environment when enabling ESM output mode - handle multiple alternative directories (e. g. due to `resolve.alias` or `resolve.modules`) when creating an context module - add `util/types` to node.js built-in modules - add `__webpack_exports_info__.Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.