Update dependency webpack to v5.89.0 #38

Merged
romanjaros merged 1 commit from renovate/webpack-5.x into master 2023-11-18 10:51:57 +01:00
Member

This PR contains the following updates:

Package Type Update Change
webpack devDependencies minor 5.70.0 -> 5.89.0

Release Notes

webpack/webpack (webpack)

v5.89.0

Compare Source

New Features

Dependencies & Maintenance

Full Changelog: https://github.com/webpack/webpack/compare/v5.88.2...v5.89.0

v5.88.2

Compare Source

Bug Fixes

Full Changelog: https://github.com/webpack/webpack/compare/v5.88.1...v5.88.2

v5.88.1

Compare Source

Developer Experience

Full Changelog: https://github.com/webpack/webpack/compare/v5.88.0...v5.88.1

v5.88.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.87.0...v5.88.0

v5.87.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

@​aboktor made their first contribution in #​16991 #​16989
@​silverwind made their first contribution in #​17339 via #​17329

Full Changelog: https://github.com/webpack/webpack/compare/v5.86.0...v5.87.0

v5.86.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.85.1...v5.86.0

v5.85.1

Compare Source

Bug Fixes

Dependencies & Maintenance

Full Changelog: https://github.com/webpack/webpack/compare/v5.85.0...v5.85.1

v5.85.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

Full Changelog: https://github.com/webpack/webpack/compare/v5.84.1...v5.85.0

v5.84.1

Compare Source

Bug Fixes

Dependencies & Maintenance

Full Changelog: https://github.com/webpack/webpack/compare/v5.84.0...v5.84.1

v5.84.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.83.1...v5.84.0

v5.83.1

Compare Source

Bug Fixes

Full Changelog: https://github.com/webpack/webpack/compare/v5.83.0...v5.83.1

v5.83.0

Compare Source

New Features

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.82.1...v5.83.0

v5.82.1

Compare Source

Bug Fixes

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.82.0...v5.82.1

v5.82.0

Compare Source

New Features

Bug Fixes

Tests & Contributor Experience

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.81.0...v5.82.0

v5.81.0

Compare Source

New Features

Bug Fixes

Tests & Contributor Experience

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.80.0...v5.81.0

v5.80.0

Compare Source

New Features

Bug Fixes

Tests & Contributor Experience

Developer Experience

Dependencies & Maintenance

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.79.0...v5.80.0

v5.79.0

Compare Source

New Features

Bugfixes

Developer Experience

Contributor Experience

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.78.0...v5.79.0

v5.78.0

Compare Source

Features

Bugfixes

Performance

Contributor Experience

Open in GitHub Codespaces

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.77.0...v5.78.0

v5.77.0

Compare Source

New Features

Developer Experience

Contributor Experience

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.76.3...v5.77.0

v5.76.3

Compare Source

Bugfixes

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.76.2...v5.76.3

v5.76.2

Compare Source

Bugfixes

Performance

Developer Experience

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.76.1...v5.76.2

v5.76.1

Compare Source

Fixed

  • Added assert/strict built-in to NodeTargetPlugin

Revert

v5.76.0

Compare Source

Bugfixes

Features

Security

Repo Changes

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0

v5.75.0

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [webpack](https://github.com/webpack/webpack) | devDependencies | minor | [`5.70.0` -> `5.89.0`](https://renovatebot.com/diffs/npm/webpack/5.70.0/5.89.0) | --- ### Release Notes <details> <summary>webpack/webpack (webpack)</summary> ### [`v5.89.0`](https://github.com/webpack/webpack/releases/tag/v5.89.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.88.2...v5.89.0) #### New Features - Make CommonJS import preserve chained expressions by [@&#8203;bworline](https://github.com/bworline) in https://github.com/webpack/webpack/pull/17718 #### Dependencies & Maintenance - chore(deps-dev): bump [@&#8203;types/node](https://github.com/types/node) from 20.3.1 to 20.4.8 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17568 - docs: add example for stats detailed output by [@&#8203;ersachin3112](https://github.com/ersachin3112) in https://github.com/webpack/webpack/pull/17420 - docs: add example for stats normal output by [@&#8203;ersachin3112](https://github.com/ersachin3112) in https://github.com/webpack/webpack/pull/17426 - chore(deps-dev): bump core-js from 3.31.0 to 3.32.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17539 - chore(deps-dev): bump pretty-format from 29.5.0 to 29.6.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17536 - chore(deps-dev): bump [@&#8203;types/node](https://github.com/types/node) from 20.4.8 to 20.4.9 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17583 - chore(deps-dev): bump less from 4.1.3 to 4.2.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17580 - chore(deps): bump semver from 5.7.1 to 5.7.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17483 - chore(deps-dev): bump simple-git from 3.19.0 to 3.19.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17427 - chore(deps-dev): bump [@&#8203;types/node](https://github.com/types/node) from 20.4.9 to 20.6.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17666 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.88.2...v5.89.0 ### [`v5.88.2`](https://github.com/webpack/webpack/releases/tag/v5.88.2) [Compare Source](https://github.com/webpack/webpack/compare/v5.88.1...v5.88.2) #### Bug Fixes - Fixed a bug where unused identifiers should retain names when using css modules by [@&#8203;burhanuday](https://github.com/burhanuday) in https://github.com/webpack/webpack/pull/17444 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.88.1...v5.88.2 ### [`v5.88.1`](https://github.com/webpack/webpack/releases/tag/v5.88.1) [Compare Source](https://github.com/webpack/webpack/compare/v5.88.0...v5.88.1) #### Developer Experience - Significantly improve TypeScript coverage for Library Plugins by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17414 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.88.0...v5.88.1 ### [`v5.88.0`](https://github.com/webpack/webpack/releases/tag/v5.88.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.87.0...v5.88.0) #### New Features - \[CSS] - Use `css/auto` as the default css mode by [@&#8203;burhanuday](https://github.com/burhanuday) in https://github.com/webpack/webpack/pull/17399 #### Bug Fixes - Fix bugs related to require.context and layer by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17388 - Fix bug in runtime for CSS loading by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17400 - Correct indirect call for tagged template expressions using correct this context by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17397 - Update environment support for KaiOS browser by [@&#8203;steverep](https://github.com/steverep) in https://github.com/webpack/webpack/pull/17395 - Fix async module runtime code for running top-level-await by [@&#8203;ahabhgk](https://github.com/ahabhgk) in https://github.com/webpack/webpack/pull/17393 #### Developer Experience - Add example for stats minimal output by [@&#8203;ersachin3112](https://github.com/ersachin3112) in https://github.com/webpack/webpack/pull/17406 - Significantly improve type coverage for Dependency, Runtime, Template classes by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17394 #### Dependencies & Maintenance - Bump browserslist from 4.21.8 to 4.21.9 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17389 - Bump acorn from 8.8.2 to 8.9.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17402 - Bump eslint from 8.42.0 to 8.43.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17401 - Bump eslint-plugin-jest from 27.2.1 to 27.2.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17407 #### New Contributors - [@&#8203;steverep](https://github.com/steverep) made their first contribution in https://github.com/webpack/webpack/pull/17395 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.87.0...v5.88.0 ### [`v5.87.0`](https://github.com/webpack/webpack/releases/tag/v5.87.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.86.0...v5.87.0) #### New Features - Implement `fetchPriority` feature as parser option and magic comment by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17249 - \[CSS] - Introduce 'css/auto' as a css module type by [@&#8203;ahabhgk](https://github.com/ahabhgk) in https://github.com/webpack/webpack/pull/16577 - \[CSS] - Style-specific fields now automatically resolve in package.json by [@&#8203;burhanuday](https://github.com/burhanuday) in https://github.com/webpack/webpack/pull/17346 - webpack configuration API now accepts "falsy values" loaders and plugins by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17339 #### Bug Fixes - Fix codecov badge in readme by [@&#8203;burhanuday](https://github.com/burhanuday) in https://github.com/webpack/webpack/pull/17353 #### Developer Experience - Add link to svelte loader for webpack by [@&#8203;burhanuday](https://github.com/burhanuday) in https://github.com/webpack/webpack/pull/17369 - Increase parser API types in internal plugins across dependency plugins [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17365 #### Dependencies & Maintenance - Bump memfs from 3.5.2 to 3.5.3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17347 - Bump webpack-cli from 5.1.3 to 5.1.4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17349 - Bump es-module-lexer from 1.2.1 to 1.3.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17362 - Bump [@&#8203;types/node](https://github.com/types/node) from 20.2.5 to 20.3.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17361 - Bump core-js from 3.30.2 to 3.31.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17360 - Bump browserslist from 4.21.6 to 4.21.8 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17367 - Bump [@&#8203;types/node](https://github.com/types/node) from 20.3.0 to 20.3.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17366 #### New Contributors [@&#8203;aboktor](https://github.com/aboktor) made their first contribution in [#&#8203;16991](https://github.com/webpack/webpack/issues/16991) [#&#8203;16989](https://github.com/webpack/webpack/issues/16989) [@&#8203;silverwind](https://github.com/silverwind) made their first contribution in [#&#8203;17339](https://github.com/webpack/webpack/issues/17339) via [#&#8203;17329](https://github.com/webpack/webpack/issues/17329) **Full Changelog**: https://github.com/webpack/webpack/compare/v5.86.0...v5.87.0 ### [`v5.86.0`](https://github.com/webpack/webpack/releases/tag/v5.86.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.85.1...v5.86.0) #### New Features - Improved cache size performance via better handling of serialization for errors and bigints by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17282 - Introduce an export default handler function option for `ProgressPlugin` by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17312 - Support passing `RegExp` to `splitChunks.chunks` by [@&#8203;hyf0](https://github.com/hyf0) in https://github.com/webpack/webpack/pull/17332 #### Bug Fixes - Fix layer capabilities for `ContextModule` types by [@&#8203;huozhi](https://github.com/huozhi) in https://github.com/webpack/webpack/pull/17310 - Fix compatibility of `__non_webpack_require__` with ES modules by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17308 - Improve type coverage `Chunk`, `ChunkGroup`, and other plugins by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/1731 - Do not add `js` extension for eval source maps when extension is not resolvable by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17331 #### Developer Experience - Improve type coverage for Json Module type and lazy load json-assertions package by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17301 #### Dependencies & Maintenance - Bump memfs from 3.5.1 to 3.5.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17315 - Bump webpack-cli from 5.1.1 to 5.1.3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17314 - Bump eslint from 8.41.0 to 8.42.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17313 #### New Contributors - [@&#8203;huozhi](https://github.com/huozhi) made their first contribution in https://github.com/webpack/webpack/pull/17310 - [@&#8203;hyf0](https://github.com/hyf0) made their first contribution in https://github.com/webpack/webpack/pull/17332 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.85.1...v5.86.0 ### [`v5.85.1`](https://github.com/webpack/webpack/releases/tag/v5.85.1) [Compare Source](https://github.com/webpack/webpack/compare/v5.85.0...v5.85.1) #### Bug Fixes - Fix bug in handling barrel imports ([#&#8203;17305](https://github.com/webpack/webpack/issues/17305)) by [@&#8203;bworline](https://github.com/bworline) in https://github.com/webpack/webpack/pull/17307 - ***NOTE**: An internal API `BasicEvaluatedExpression.getMemberRangeStarts` has been changed to `BasicEvaluatedExpression.getMemberRanges`, please see type definition changes and the pull request for more information.* #### Dependencies & Maintenance - Bump [@&#8203;types/jest](https://github.com/types/jest) from 29.5.1 to 29.5.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17297 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.85.0...v5.85.1 ### [`v5.85.0`](https://github.com/webpack/webpack/releases/tag/v5.85.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.84.1...v5.85.0) #### New Features - Add `readonly` cache mode by [@&#8203;vankop](https://github.com/vankop) in https://github.com/webpack/webpack/pull/15470 - Normalize property accessors for esm namespaces and chained member/call expressions by [@&#8203;bworline](https://github.com/bworline) in https://github.com/webpack/webpack/pull/17203 - Support `environment` in loader context by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17281 - Introduce a new syntax for `addModule()` support in worklets - `*context.audioWorklet.addModule()` by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17212 #### Bug Fixes - Fix type regression with unknown module type strings by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17266 #### Developer Experience - Use global runtime constants for webpack exports by [@&#8203;burhanuday](https://github.com/burhanuday) in https://github.com/webpack/webpack/pull/17270 - Add strict mode type coverage for WASM and Runtime code by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17267 - Add strict mode type coverage for runtime modules and runtime plugins by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17261 - Add types for JSON & Asset Modules including their interfacing plugins by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17262 - Add type coverage for Module subclasses and plugins by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17272 #### Dependencies & Maintenance - Use GitHub Discussions instead of Gitter in issue templates by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/17293 - Bump [@&#8203;types/node](https://github.com/types/node) from 20.2.3 to 20.2.4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17269 - Bump browserslist from 4.21.5 to 4.21.6 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17275 - Bump [@&#8203;types/node](https://github.com/types/node) from 20.2.4 to 20.2.5 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17276 - Bump [@&#8203;babel/core](https://github.com/babel/core) from 7.21.8 to 7.22.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17278 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.84.1...v5.85.0 ### [`v5.84.1`](https://github.com/webpack/webpack/releases/tag/v5.84.1) [Compare Source](https://github.com/webpack/webpack/compare/v5.84.0...v5.84.1) #### Bug Fixes - Fix regression in inner graph for reserved identifiers by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17265 #### Dependencies & Maintenance - Bump [@&#8203;types/jest](https://github.com/types/jest) from 29.5.0 to 29.5.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17027 - Bump simple-git from 3.18.0 to 3.19.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17263 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.84.0...v5.84.1 ### [`v5.84.0`](https://github.com/webpack/webpack/releases/tag/v5.84.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.83.1...v5.84.0) #### New Features - SourceMapDevToolPlugin now supports `append` option as a function by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/17252 #### Bug Fixes - Fix multiple bugs referencing class names when shadowed by import name in properties and methods by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17233 - Allow DefinePlugin shorthand property by [@&#8203;shamoilarsi](https://github.com/shamoilarsi) in https://github.com/webpack/webpack/pull/17231 - \[CSS] - Fix edge cases in parsing `@import` by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17229 #### Developer Experience - Increase type coverage for serialization classes by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17243 - Increase type coverage for `JavascriptParser` and `ModuleDependency` subclasses by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17236 - Increase type coverage to `strict`-mode quality for Configuration/Normalization objects by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17247 - Refactor duplicate strings by replacing them with constant for **webpack_require** instead of string literal by [@&#8203;burhanuday](https://github.com/burhanuday) in https://github.com/webpack/webpack/pull/17228 - Add test case for `with { type: "json" }` by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17230 - Add test case for destructuring by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17248 #### Dependencies & Maintenance - Add GitHub discussions badge in README by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/17251 - Bump enhanced-resolve to 5.14.1 by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17257 - Bump [@&#8203;types/node](https://github.com/types/node) from 20.1.7 to 20.2.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17219 - Bump [@&#8203;types/node](https://github.com/types/node) from 20.2.0 to 20.2.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17226 - Bump webpack-cli from 5.1.0 to 5.1.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17164 - Bump eslint from 8.39.0 to 8.40.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17148 - Bump [@&#8203;babel/core](https://github.com/babel/core) from 7.21.4 to 7.21.8 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17126 - Bump [@&#8203;types/node](https://github.com/types/node) from 20.2.1 to 20.2.3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17238 - Bump eslint from 8.40.0 to 8.41.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17237 #### New Contributors - [@&#8203;shamoilarsi](https://github.com/shamoilarsi) made their first contribution in https://github.com/webpack/webpack/pull/17231 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.83.1...v5.84.0 ### [`v5.83.1`](https://github.com/webpack/webpack/releases/tag/v5.83.1) [Compare Source](https://github.com/webpack/webpack/compare/v5.83.0...v5.83.1) #### Bug Fixes - Fix regression in import/export normailization effecting mini-css-extract-plugin by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17214 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.83.0...v5.83.1 ### [`v5.83.0`](https://github.com/webpack/webpack/releases/tag/v5.83.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.82.1...v5.83.0) #### New Features - Normalize property access for imports and exports by [@&#8203;bworline](https://github.com/bworline) in https://github.com/webpack/webpack/pull/17137 - Top Level Await is now enabled by default by [@&#8203;burhanuday](https://github.com/burhanuday) in https://github.com/webpack/webpack/pull/17192 #### Bug Fixes - Correct `chunkgroup.groupsIterable` return type by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17196 - Fix bug in Rule Matcher type by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17207 - Fixed apply event callback and optimizing callback event type by [@&#8203;nuintun](https://github.com/nuintun) in https://github.com/webpack/webpack/pull/16094 - Fix types in hot module replacement APIs by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17193 #### Developer Experience - Expose `ChunkGroup` to type definitions by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17201 - Add `NormalModuleFactory`'s `ResolveData` type to public interface by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17195 - Document `compilation.afterChunks` hook by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17202 #### Dependencies & Maintenance - Bump [@&#8203;webassemblyjs/wasm-edit](https://github.com/webassemblyjs/wasm-edit) from 1.11.5 to 1.11.6 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17168 - Bump wast-loader from 1.11.5 to 1.11.6 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17163 - Bump yarn-deduplicate from 6.0.1 to 6.0.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17184 - Fix command by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17154 - Bump [@&#8203;types/node](https://github.com/types/node) from 18.16.3 to 20.1.7 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17205 #### New Contributors - [@&#8203;bworline](https://github.com/bworline) made their first contribution in https://github.com/webpack/webpack/pull/17137 - [@&#8203;nuintun](https://github.com/nuintun) made their first contribution in https://github.com/webpack/webpack/pull/16094 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.82.1...v5.83.0 ### [`v5.82.1`](https://github.com/webpack/webpack/releases/tag/v5.82.1) [Compare Source](https://github.com/webpack/webpack/compare/v5.82.0...v5.82.1) #### Bug Fixes - \[CSS] - Support nesting in CSS modules and bug fixes by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17133 - \[CSS] - Fix crash with `importModule` when CSS enabled by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17140 - Fix bug where `output.hashFunction` was failing to generate debug hash by [@&#8203;ahabhgk](https://github.com/ahabhgk) in https://github.com/webpack/webpack/pull/16950 - Reduce the amount of generated code for chunk loading by [@&#8203;lvivski](https://github.com/lvivski) in https://github.com/webpack/webpack/pull/17151 - Use module preload for ESM module output by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17143 #### Developer Experience - Improve module type strictness for Module.prototype.type expand ModuleTypeConstants by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17136 #### Dependencies & Maintenance - Update package.json description by [@&#8203;JeraldVin](https://github.com/JeraldVin) in https://github.com/webpack/webpack/pull/17145 - Bump webpack-cli from 5.0.2 to 5.1.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17146 - Bump core-js from 3.30.1 to 3.30.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17149 - Bump enhanced-resolve to v5.14.0 by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/17160 #### New Contributors - [@&#8203;JeraldVin](https://github.com/JeraldVin) made their first contribution in https://github.com/webpack/webpack/pull/17145 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.82.0...v5.82.1 ### [`v5.82.0`](https://github.com/webpack/webpack/releases/tag/v5.82.0) [Compare Source](https://github.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 [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16945 - Allow webpack-cli to be in ESM by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17088 - Allow specifying "onPolicyCreationFailure" mode for trusted types by [@&#8203;Zlatkovsky](https://github.com/Zlatkovsky) in https://github.com/webpack/webpack/pull/16990 #### Bug Fixes - \[CSS] - Respect `media`/`supports`/`layer` from parent CSS module by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17115 - \[CSS] - Add warning & support for any [@&#8203;import](https://github.com/import) rules must precede all other rules by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17118 - \[CSS] - Support handling `#hash` URL as external (similar to Parcel) by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17116 - Optimize numberHash.js performance by removing inner loops by [@&#8203;alexkuz](https://github.com/alexkuz) in https://github.com/webpack/webpack/pull/17074 - Improve template string comparison algorithm by [@&#8203;An0nie](https://github.com/An0nie) in https://github.com/webpack/webpack/pull/17079 #### Tests & Contributor Experience - \[CSS] - Increase imports external test coverage by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17089 - Improve PR reliability via ignoring unstable coverage by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17106 - Update webpack types to support extends property in webpack (for webpack-cli) by [@&#8203;burhanuday](https://github.com/burhanuday) in https://github.com/webpack/webpack/pull/17113 #### Developer Experience - Increase type coverage and documentation for `StringXor` class. by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17070 - Increase type coverage & docs for `numberHash` by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17072 - Increase type coverage & docs for `JavascriptParser` by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17094 - Increase type coverage & docs for `BasicEvaluatedExpression` by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17096 - Increase type coverage for CSS module type by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17097 - Increase type coverage for JSON module type by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17095 - Increase type coverage & docs for multiple utility classes by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17107 #### Dependencies & Maintenance - chore(deps-dev): bump lint-staged from 13.2.1 to 13.2.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17075 - chore(deps-dev): bump eslint from 8.38.0 to 8.39.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17052 - chore(deps-dev): bump assemblyscript from 0.27.3 to 0.27.4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17064 - chore(deps-dev): bump assemblyscript from 0.27.4 to 0.27.5 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17109 - chore(deps-dev): bump [@&#8203;types/node](https://github.com/types/node) from 18.16.2 to 18.16.3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17112 - chore(deps-dev): bump [@&#8203;types/node](https://github.com/types/node) from 18.15.13 to 18.16.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17084 - chore(deps-dev): bump webpack-cli from 5.0.1 to 5.0.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17054 - chore(deps-dev): bump date-fns from 2.29.3 to 2.30.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17111 #### New Contributors - [@&#8203;An0nie](https://github.com/An0nie) made their first contribution in https://github.com/webpack/webpack/pull/17079 - [@&#8203;burhanuday](https://github.com/burhanuday) made their first contribution in https://github.com/webpack/webpack/pull/17113 - [@&#8203;Zlatkovsky](https://github.com/Zlatkovsky) made their first contribution in https://github.com/webpack/webpack/pull/16990 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.81.0...v5.82.0 ### [`v5.81.0`](https://github.com/webpack/webpack/releases/tag/v5.81.0) [Compare Source](https://github.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 [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17057 - Logging now added to DefinePlugin by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17048 - New `ignoreBrowserWarnings` option to ignore browser console warnings in ModuleFederation by [@&#8203;indeediansbrett](https://github.com/indeediansbrett) in https://github.com/webpack/webpack/pull/16388 #### Bug Fixes - \[CSS] - Fix issue where vendor prefixed keyframes and animation was not supported in CSS modules by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/16975 - Fix bug where AST was not properly handled by [@&#8203;quanru](https://github.com/quanru) in https://github.com/webpack/webpack/pull/17032 - Fix automatic publicPath detection logic by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17047 #### Tests & Contributor Experience - Rename `provide` to `getOrInsert` in MapHelpers and document it better by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17060 - Increase test reliability for DefinePlugin [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17062 - Add additional CI Pipeline to test main branches of first-party webpack dependencies by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17020 - Refactor tests to no longer use deprecated or legacy dependencies and APIs by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17033 #### Developer Experience - Increase type coverage/documentation for ModuleFilenameHelpers by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17045 - Increase type coverage/documentation for CommonJsExportsParserPlugin by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17046 - Increase type coverage/documentation for binarySearchBounds.js by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17058 - Export MemoryCacheOptions types by [@&#8203;romulof](https://github.com/romulof) in https://github.com/webpack/webpack/pull/17055 #### Dependencies & Maintenance - Add NodeJS v20 to CI Matrix by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17019 - Update Typescript to v5 by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/16957 - Bump [@&#8203;types/estree](https://github.com/types/estree) from 1.0.0 to 1.0.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17026 - Bump [@&#8203;types/node](https://github.com/types/node) from 18.15.11 to 18.15.13 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17038 - Bump assemblyscript from 0.27.2 to 0.27.3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17051 - Bump memfs from 3.5.0 to 3.5.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17039 - Bump prettier from 2.8.7 to 2.8.8 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17050 - Bump simple-git from 3.17.0 to 3.18.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/17066 #### New Contributors - [@&#8203;quanru](https://github.com/quanru) made their first contribution in https://github.com/webpack/webpack/pull/17032 - [@&#8203;romulof](https://github.com/romulof) made their first contribution in https://github.com/webpack/webpack/pull/17055 - [@&#8203;indeediansbrett](https://github.com/indeediansbrett) made their first contribution in https://github.com/webpack/webpack/pull/16388 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.80.0...v5.81.0 ### [`v5.80.0`](https://github.com/webpack/webpack/releases/tag/v5.80.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.79.0...v5.80.0) #### New Features - Support destructuring assignment in `import.meta` by [@&#8203;vankop](https://github.com/vankop) in https://github.com/webpack/webpack/pull/16996 - Support treeshaking for destructuring assignment with `AwaitExpression` by [@&#8203;vankop](https://github.com/vankop) in https://github.com/webpack/webpack/pull/16995 - Introduce `errorsSpace`, `warningsSpace` for more readable traces in stats by [@&#8203;vankop](https://github.com/vankop) in https://github.com/webpack/webpack/pull/15450 #### Bug Fixes - \[CSS] - Fix runtime generation bug for merged CSS Chunks by [@&#8203;janlent1](https://github.com/janlent1) in https://github.com/webpack/webpack/pull/16903 - \[CSS] - Properly handle `url()`/`src()`/`image-set()`/`image()` by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/16978 - ES Module webpack loaders are now supported [@&#8203;stefanprobst](https://github.com/stefanprobst) in https://github.com/webpack/webpack/pull/15198 - Fix spelling error for `statement.finalizer` in parser by [@&#8203;xiaoboost](https://github.com/xiaoboost) in https://github.com/webpack/webpack/pull/17016 - Fix non-deterministic `moduleId` assignment due to encountering `NaN` in sort function by [@&#8203;scameron](https://github.com/scameron) in https://github.com/webpack/webpack/pull/16933 - \[enhanced-resolve]: Support wildcards pattern with common suffix in package maps & imports/exports field by [@&#8203;bvanjoi](https://github.com/bvanjoi) in https://github.com/webpack/enhanced-resolve/pull/353 #### Tests & Contributor Experience - \[CSS] - Added test case for `@supports` field by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17011 - Add test for include option in `BannerPlugin` by [@&#8203;jeffin143](https://github.com/jeffin143) in https://github.com/webpack/webpack/pull/10736 - Remove `finializer` from cspell.json by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/17022 #### Developer Experience - Adds the twitter badge by [@&#8203;yadunandanbhat](https://github.com/yadunandanbhat) in https://github.com/webpack/webpack/pull/15667 - Add `wasm-bindgen` example to `example` by [@&#8203;gthb](https://github.com/gthb) in https://github.com/webpack/webpack/pull/14313 - Update grammar mistakes in examples by [@&#8203;ersachin3112](https://github.com/ersachin3112) in https://github.com/webpack/webpack/pull/16988 #### Dependencies & Maintenance - Bump core-js from 3.30.0 to 3.30.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/16983 - Bump `@webassemblyjs` by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/17003 - Bump assemblyscript from 0.25.2 to 0.27.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/16959 - Bump enhanced-resolve to [5.13.0](https://github.com/webpack/enhanced-resolve/releases/tag/v5.13.0) by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/17024 - Included githubactions in the dependabot config by [@&#8203;neilnaveen](https://github.com/neilnaveen) in https://github.com/webpack/webpack/pull/15618 - Fix prettier by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/16976 #### New Contributors - [@&#8203;neilnaveen](https://github.com/neilnaveen) made their first contribution in https://github.com/webpack/webpack/pull/15618 - [@&#8203;yadunandanbhat](https://github.com/yadunandanbhat) made their first contribution in https://github.com/webpack/webpack/pull/15667 - [@&#8203;ersachin3112](https://github.com/ersachin3112) made their first contribution in https://github.com/webpack/webpack/pull/16988 - [@&#8203;stefanprobst](https://github.com/stefanprobst) made their first contribution in https://github.com/webpack/webpack/pull/15198 - [@&#8203;xiaoboost](https://github.com/xiaoboost) made their first contribution in https://github.com/webpack/webpack/pull/17016 - [@&#8203;scameron](https://github.com/scameron) made their first contribution in https://github.com/webpack/webpack/pull/16933 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.79.0...v5.80.0 ### [`v5.79.0`](https://github.com/webpack/webpack/releases/tag/v5.79.0) [Compare Source](https://github.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 [@&#8203;vankop](https://github.com/vankop) in https://github.com/webpack/webpack/pull/16941 #### Bugfixes - Truncate extremely long module names in `DefaultStatsPrinter` by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16882 - Add `[contenthash]` template support in `DllPlugin`'s `name` option by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16935 - Fixed a bug where `readRecords` compiler hook was causing hangs in conjunction with the `ReadRecordsPlugin` by [@&#8203;snitin315](https://github.com/snitin315) & [@&#8203;zookatron](https://github.com/zookatron) in https://github.com/webpack/webpack/pull/16944 - webpack can now consume ESM bundles generated by webpack's esm output support by [@&#8203;vankop](https://github.com/vankop) in https://github.com/webpack/webpack/pull/15608 - \[CSS] - webpack now respects CSS's case-insensitivity with atTags like `@MEDIA` by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/16915 - \[CSS] - Fixes a bug where crossOriginLoading anonymous would not work when loading styles by [@&#8203;chenjiahan](https://github.com/chenjiahan) in https://github.com/webpack/webpack/pull/16925 #### Developer Experience - Fix broken links and typos found in examples by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16937 - Export more `Externals` Option types by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/12774 #### Contributor Experience - Add new test case for ModuleFederationPlugin usage with `shareScope` option by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16943 - Bump core-js from 3.20.3 to 3.30.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/webpack/webpack/pull/16905 - Update all applicable local dependencies and devDependencies by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/16919, https://github.com/webpack/webpack/pull/16924, https://github.com/webpack/webpack/pull/16936, https://github.com/webpack/webpack/pull/16968 - Update to Jest 29 by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/16947 #### New Contributors - [@&#8203;chenjiahan](https://github.com/chenjiahan) made their first contribution in https://github.com/webpack/webpack/pull/16925 - [@&#8203;karlhorky](https://github.com/karlhorky) made their first contribution in https://github.com/webpack/webpack/pull/16419 - [@&#8203;zookatron](https://github.com/zookatron) made their first contribution in https://github.com/webpack/webpack/pull/16301 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.78.0...v5.79.0 ### [`v5.78.0`](https://github.com/webpack/webpack/releases/tag/v5.78.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.77.0...v5.78.0) #### Features - Implement `amdContainer` support for AMD libraries (Fixes [#&#8203;16561](https://github.com/webpack/webpack/issues/16561)) by [@&#8203;long76](https://github.com/long76) in https://github.com/webpack/webpack/pull/16562 #### Bugfixes - \[CSS] - Nested atRule's `@media` or `@supports` now properly are replaced with unique identifiers by [@&#8203;noreiller](https://github.com/noreiller) in https://github.com/webpack/webpack/pull/15812 - \[CSS] - Fix bug where closing parenthesis in CSS were not properly parsed and compiled by [@&#8203;janlent1](https://github.com/janlent1) in https://github.com/webpack/webpack/pull/16864 - Fix an issue where `oneOf` rule has been picked multiple times by [@&#8203;xiaoxiaojx](https://github.com/xiaoxiaojx) in https://github.com/webpack/webpack/pull/16477 - Add `createRequire` support for `node:module` prefix by [@&#8203;alexander-akait](https://github.com/alexander-akait) in https://github.com/webpack/webpack/pull/16904 - Fix bug where self-referencing a package in a shared module failed by [@&#8203;weareoutman](https://github.com/weareoutman) in https://github.com/webpack/webpack/pull/16685 #### Performance - Make `ErrorHelpers` named functions; Add types by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/16893 - Introduce `ModuleTypeConstants` for plugins by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/16896 - Refactor memory footprint in string usages for multiple plugins by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/16894 - Add more module type constants, use them across codebase by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.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 [@&#8203;geromegrignon](https://github.com/geromegrignon) in https://github.com/webpack/webpack/pull/16890 - ci: update actions/cache to v3 by [@&#8203;armujahid](https://github.com/armujahid) in https://github.com/webpack/webpack/pull/16462 - webpack org Collaborators and Members now have [funded GitHub Codespaces!](https://github.com/openjs-foundation/cross-project-council/issues/1009) [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true\&ref=main\&repo=3678731\&machine=standardLinux32gb\&location=WestUs2) #### New Contributors - [@&#8203;geromegrignon](https://github.com/geromegrignon) made their first contribution in https://github.com/webpack/webpack/pull/16890 - [@&#8203;armujahid](https://github.com/armujahid) made their first contribution in https://github.com/webpack/webpack/pull/16462 - [@&#8203;long76](https://github.com/long76) made their first contribution in https://github.com/webpack/webpack/pull/16562 - [@&#8203;weareoutman](https://github.com/weareoutman) made their first contribution in https://github.com/webpack/webpack/pull/16685 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.77.0...v5.78.0 ### [`v5.77.0`](https://github.com/webpack/webpack/releases/tag/v5.77.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.76.3...v5.77.0) #### New Features - Add a new output option, `output.workerPublicPath` by [@&#8203;thomastay](https://github.com/thomastay) in https://github.com/webpack/webpack/pull/16671 #### Developer Experience - Improve `resolve.extensions` error message to suggest when `"."` is missing before the extension by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16807 #### Contributor Experience - Enable GitHub Copilot for PR's into default Pull Request Template by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/16881 #### New Contributors - [@&#8203;thomastay](https://github.com/thomastay) made their first contribution in https://github.com/webpack/webpack/pull/16671 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.3...v5.77.0 ### [`v5.76.3`](https://github.com/webpack/webpack/releases/tag/v5.76.3) [Compare Source](https://github.com/webpack/webpack/compare/v5.76.2...v5.76.3) #### Bugfixes - Non-javascript files will correctly **not** be imported when using `experiments.outputModule` (ES Module Output) by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16809 - Limit console output progress bar length to 40 when no columns provided by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16810 - Add missing NodeJS Builtin Modules support for `inspector/promises`, `readline/promises`, and `stream/consumers` by [@&#8203;ShenHongFei](https://github.com/ShenHongFei) in https://github.com/webpack/webpack/pull/16841 - webpack bin/cli now properly respects `NODE_PATH` env variable by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16808 - Improve typos in `resolveResourceErrorHints` by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16806 - Add missing `loaders` token support to `moduleFilenameTemplate` function call by [@&#8203;pgoldberg](https://github.com/pgoldberg) in https://github.com/webpack/webpack/pull/16756 - Add gaurd condition for `enabledLibraryTypes` in internal `ContainerPlugin` by [@&#8203;PengBoUESTC](https://github.com/PengBoUESTC) in https://github.com/webpack/webpack/pull/16635 #### New Contributors - [@&#8203;ShenHongFei](https://github.com/ShenHongFei) made their first contribution in https://github.com/webpack/webpack/pull/16841 - [@&#8203;pgoldberg](https://github.com/pgoldberg) made their first contribution in https://github.com/webpack/webpack/pull/16756 - [@&#8203;PengBoUESTC](https://github.com/PengBoUESTC) made their first contribution in https://github.com/webpack/webpack/pull/16635 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.2...v5.76.3 ### [`v5.76.2`](https://github.com/webpack/webpack/releases/tag/v5.76.2) [Compare Source](https://github.com/webpack/webpack/compare/v5.76.1...v5.76.2) #### Bugfixes - Fix bug where a missing semicolon in generated bundle output for `publicPathRuntime` would cause concatenated runtime errors by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16811 - Remove redundant semicolons generated in bundle runtime code after `onScriptComplete` function by [@&#8203;ahaoboy](https://github.com/ahaoboy) in https://github.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 [@&#8203;dmichon-msft](https://github.com/dmichon-msft) [#&#8203;16789](https://github.com/webpack/webpack/issues/16789) #### Performance - Improve memory and runtime performance of sourcemaps via hoisting Regular Expression literals to stored variables by [@&#8203;TheLarkInn](https://github.com/TheLarkInn) in https://github.com/webpack/webpack/pull/15722 - Correct v8 deoptimization in `ModuleGraph` due to instance property declarations occurring outside of constructor by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16830 #### Developer Experience - Improved internal typings to match `webpack-sources` typings for `Source` instances by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16805 - Update repo examples to include missing quotation by [@&#8203;snitin315](https://github.com/snitin315) in https://github.com/webpack/webpack/pull/16812 #### New Contributors - [@&#8203;ahaoboy](https://github.com/ahaoboy) made their first contribution in https://github.com/webpack/webpack/pull/16347 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.76.1...v5.76.2 ### [`v5.76.1`](https://github.com/webpack/webpack/releases/tag/v5.76.1) [Compare Source](https://github.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 [@&#8203;ryanwilsonperkin](https://github.com/ryanwilsonperkin) in https://github.com/webpack/webpack/pull/16759 ### [`v5.76.0`](https://github.com/webpack/webpack/releases/tag/v5.76.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0) #### Bugfixes - Avoid cross-realm object access by [@&#8203;Jack-Works](https://github.com/Jack-Works) in https://github.com/webpack/webpack/pull/16500 - Improve hash performance via conditional initialization by [@&#8203;lvivski](https://github.com/lvivski) in https://github.com/webpack/webpack/pull/16491 - Serialize `generatedCode` info to fix bug in asset module cache restoration by [@&#8203;ryanwilsonperkin](https://github.com/ryanwilsonperkin) in https://github.com/webpack/webpack/pull/16703 - Improve performance of `hashRegExp` lookup by [@&#8203;ryanwilsonperkin](https://github.com/ryanwilsonperkin) in https://github.com/webpack/webpack/pull/16759 #### Features - add `target` to `LoaderContext` type by [@&#8203;askoufis](https://github.com/askoufis) in https://github.com/webpack/webpack/pull/16781 #### Security - [CVE-2022-37603](https://github.com/advisories/GHSA-3rfm-jhwj-7488) fixed by [@&#8203;akhilgkrishnan](https://github.com/akhilgkrishnan) in https://github.com/webpack/webpack/pull/16446 #### Repo Changes - Fix HTML5 logo in README by [@&#8203;jakebailey](https://github.com/jakebailey) in https://github.com/webpack/webpack/pull/16614 - Replace TypeScript logo in README by [@&#8203;jakebailey](https://github.com/jakebailey) in https://github.com/webpack/webpack/pull/16613 - Update actions/cache dependencies by [@&#8203;piwysocki](https://github.com/piwysocki) in https://github.com/webpack/webpack/pull/16493 #### New Contributors - [@&#8203;Jack-Works](https://github.com/Jack-Works) made their first contribution in https://github.com/webpack/webpack/pull/16500 - [@&#8203;lvivski](https://github.com/lvivski) made their first contribution in https://github.com/webpack/webpack/pull/16491 - [@&#8203;jakebailey](https://github.com/jakebailey) made their first contribution in https://github.com/webpack/webpack/pull/16614 - [@&#8203;akhilgkrishnan](https://github.com/akhilgkrishnan) made their first contribution in https://github.com/webpack/webpack/pull/16446 - [@&#8203;ryanwilsonperkin](https://github.com/ryanwilsonperkin) made their first contribution in https://github.com/webpack/webpack/pull/16703 - [@&#8203;piwysocki](https://github.com/piwysocki) made their first contribution in https://github.com/webpack/webpack/pull/16493 - [@&#8203;askoufis](https://github.com/askoufis) made their first contribution in https://github.com/webpack/webpack/pull/16781 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0 ### [`v5.75.0`](https://github.com/webpack/webpack/releases/tag/v5.75.0) [Compare Source](https://github.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://github.com/webpack/webpack/releases/tag/v5.74.0) [Compare Source](https://github.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://github.com/webpack/webpack/releases/tag/v5.73.0) [Compare Source](https://github.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://github.com/webpack/webpack/releases/tag/v5.72.1) [Compare Source](https://github.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://github.com/webpack/webpack/releases/tag/v5.72.0) [Compare Source](https://github.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://github.com/webpack/webpack/releases/tag/v5.71.0) [Compare Source](https://github.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 </details> --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy42MC4yIiwidXBkYXRlZEluVmVyIjoiMzcuNjAuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
mr.renovate added 1 commit 2023-11-17 21:30:57 +01:00
Update dependency webpack to v5.89.0
Some checks failed
forgejo/Procyon/seedling/pipeline/head This commit looks good
forgejo/Procyon/seedling/pipeline/pr-master There was a failure building this commit
ebc79897f7
requested review from romanjaros 2023-11-17 21:30:57 +01:00
romanjaros merged commit 83a6a34544 into master 2023-11-18 10:51:57 +01:00
romanjaros deleted branch renovate/webpack-5.x 2023-11-18 10:51:57 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: procyon/seedling#38
No description provided.