stack.pulse
#stacks/webpack/tooling

webpack release notes, breaking changes, and upgrade notes.

A bundler for JavaScript and friends StackPulse turns upstream changelogs into scannable summaries with risky changes, deprecations, migration notes, and source links.

releases
7
breaking
0
security
0
deprecated
0
migrations
1

Get source-linked upgrade notes and occasional sponsor recommendations. No GitHub login required.

what stackpulse tracks

webpack releases from GitHub

StackPulse watches webpack release notes and keeps the original source link close to every summary.

upgrade risk

Breaking changes and deprecations

Risky changes are separated from normal feature notes so you can scan upgrade impact before changing production dependencies.

migration notes

Source-backed next steps

Migration steps and recommended actions are only shown when the upstream release notes support them.

# latest_releases

source-backed
v5.108.1mediumfeatureJun 26, 2026

v5.108.1

This patch release fixes invalid property access for escaped namespace imports and improves ProfilingPlugin compatibility with Chrome DevTools.

view source on github->
v5.108.0highfeatureJun 25, 2026

v5.108.0

This release introduces several enhancements to Webpack's module handling, including improved support for ES modules, new targets for Bun and Deno, and better tree-shaking capabilities. It also adds new features for HTML and CSS modules, along with optimizations for runtime code generation.

affected

Developers using Webpack for ES modules, Bun, Deno, or HTML/CSS modules will benefit from these updates.

action

Update to version 5.108.0 to take advantage of new features and improvements.

release_signals
+Treat top-level await and `import.meta` as ES module markers.
+Add a `bun` target that emits ESM and externalizes `bun:*` and node.js built-in modules.
+Support CommonJS reexports via `Object.defineProperty` value and getter descriptors.
+Add `defineConfig` helper for typed configuration files.
+Add `output.environment.logicalAssignment` to emit `||=` in runtime code.
view source on github->
v5.107.2mediumfeatureMay 25, 2026

v5.107.2

This release focuses on performance optimizations, bug fixes, and memory improvements, particularly in `ContextModuleFactory`, `ConcatenatedModule`, and `SourceMapDevToolPlugin`. It also addresses issues with `require.context()` rebuilds in watch mode and runtime errors in lazy-compiled modules.

affected

Users relying on `require.context()` rebuilds, lazy-compiled modules, or persistent caching may see performance improvements and bug fixes.

action

Update to this version to benefit from performance optimizations and bug fixes.

release_signals
+Batched `alternativeRequests` hook calls in `ContextModuleFactory.resolveDependencies` for reduced per-file overhead.
+Include `runtimeCondition` in `ConcatenatedModule#updateHash` for better cache invalidation.
+Fix HTML `[contenthash]` for referenced asset and inline-style URL changes.
+Resolve chunk-hash placeholders in chunk URLs embedded into extracted HTML.
+Remove unnecessary `__webpack_require__` runtime helpers in ESM library output.
view source on github->
v5.107.1mediumfeatureMay 21, 2026

v5.107.1

This release focuses on bug fixes and improvements, including aligning the HTML tokenizer with the WHATWG spec, enhancing tree-shaking for CommonJS modules, and fixing stack overflow issues in module evaluation.

affected

Developers using webpack for HTML tokenization, CommonJS module tree-shaking, or large module graphs may be affected by these changes.

action

Update to version 5.107.1 to benefit from bug fixes and improvements.

release_signals
+Align HTML tokenizer with WHATWG spec, adding a `parseError` callback and full named character references table.
+Tree-shake CommonJS modules imported through `const NAME = require(LITERAL)` bindings.
+Fix `RangeError: Maximum call stack size exceeded` in `HarmonyImportSideEffectDependency.getModuleEvaluationSideEffectsState`.
+Improve `NormalModuleFactory` parser/generator types for better type safety.
+Emit `<link rel="stylesheet">` tags for CSS chunks in HTML-entry pipeline.
view source on github->
v5.107.0highfeatureMay 20, 2026

v5.107.0

This release introduces several enhancements for CSS modules, including improved module concatenation, support for `@value` identifiers, and new hooks for plugin developers. Additionally, it adds experimental TypeScript support and improves tree-shaking with the `#__NO_SIDE_EFFECTS__` annotation.

affected

Developers using CSS modules, TypeScript, or needing better tree-shaking will benefit from these changes.

action

Review the new options and hooks to leverage the improvements in CSS modules and TypeScript support.

release_signals
+Added `module.generator.javascript.anonymousDefaultExportName` option to control `.name` for anonymous default exports.
+Support for module concatenation (scope hoisting) for CSS modules with `text`, `css-style-sheet`, `style`, and `link` export types.
+Added `linkInsert` hook to `CssLoadingRuntimeModule.getCompilationHooks(compilation)` for controlling stylesheet `<link>` insertion.
+Experimental TypeScript support via `experiments.typescript: true`.
+Added `#__NO_SIDE_EFFECTS__` annotation for marking functions as pure for better tree-shaking.
view source on github->
v5.106.2mediummigrationfeatureApr 15, 2026

v5.106.2

This patch release focuses on CSS module improvements, asset module fixes, and persistent cache invalidation enhancements. It also includes minor bug fixes and a migration from `mime-types` to `mime-db`.

affected

Developers using CSS modules, asset modules, or persistent caching may be affected.

action

Update to version 5.106.2 to benefit from CSS and asset module fixes.

release_signals
+CSS @import now inherits the parent module's exportType.
+Asset modules are available in JS context when referenced from both CSS and lazily compiled JS chunks.
+Handle `@charset` at-rules in CSS modules.
migration_steps1 steps
  1. 01Migrate from `mime-types` to `mime-db`.
view source on github->
v5.106.1mediumfeatureApr 10, 2026

v5.106.1

This patch release fixes ES5-environment regressions related to anonymous default exports, prevents `!important` from being renamed in CSS modules, and improves CSS modules local ident hashing to avoid hash collisions.

affected

Users relying on ES5 environments or CSS modules may be affected by the fixes.

action

Update to version 5.106.1 to benefit from the fixes.

view source on github->
webpack release notes, breaking changes, and upgrade notes · StackPulse