npm webpack-dev-middleware 8.0.0
v8.0.0

8 hours ago

Major Changes

  • The getFilenameFromUrl function is now asynchronous, returning a Promise that resolves to the object with the found filename (or undefined if the file was not found) or throws an error if the URL cannot be processed. Additionally, the object contains the extra property with stats (file system stats) and outputFileSystem (output file system where file was found) properties. (by @alexander-akait in #2284)

  • Minimum supported Node.js version is 20.9.0. (by @alexander-akait in #2284)

  • Minimum supported webpack version is 5.101.0. (by @alexander-akait in #2284)

Minor Changes

  • Added support for plugin usage, useful when the middleware will be used as a webpack plugin (no stats output, no extra actions). (by @alexander-akait in #2284)

  • Added the forwardError option to enable error forwarding to next middleware. (by @alexander-akait in #2284)

  • Enable cacheImmutable by default for immutable assets. (by @alexander-akait in #2284)

Patch Changes

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

7.4.5 (2025-09-24)

Bug Fixes

7.4.4 (2025-09-23)

Bug Fixes

7.4.3 (2025-09-05)

Bug Fixes

  • do not call the next middleware for 304 responses (#2155) (c26a326)
  • do not call the next middleware when request is finished or errored (#2156) (116c680)

7.4.2 (2024-08-21)

Bug Fixes

7.4.1 (2024-08-20)

Bug Fixes

Don't miss a new webpack-dev-middleware release

NewReleases is sending notifications on new releases.