Skip to content

Releases: webpack/webpack-dev-middleware

v8.0.3

07 Apr 15:43
6fcaa48

Choose a tag to compare

Patch Changes

  • Respect req.url when modified by middleware such as connect-history-api-fallback. (by @bjohansebas in #2304)

v8.0.2

24 Mar 12:38

Choose a tag to compare

Patch Changes

v8.0.1

23 Mar 17:49

Choose a tag to compare

Patch Changes

v8.0.0

20 Mar 16:15

Choose a tag to compare

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

v7.4.5

24 Sep 16:59

Choose a tag to compare

7.4.5 (2025-09-24)

Bug Fixes

v7.4.4

23 Sep 20:24

Choose a tag to compare

7.4.4 (2025-09-23)

Bug Fixes

v7.4.3

05 Sep 09:45

Choose a tag to compare

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)

v7.4.2

21 Aug 15:28

Choose a tag to compare

7.4.2 (2024-08-21)

Bug Fixes

v7.4.1

20 Aug 12:20

Choose a tag to compare

7.4.1 (2024-08-20)

Bug Fixes

v7.4.0

15 Aug 18:53

Choose a tag to compare

7.4.0 (2024-08-15)

Features

  • added the cacheImmutable option to cache immutable assets (assets with a hash in file name like image.e12ab567.jpg) (5ed629d)
  • allow to configure the Cache-Control header (#1923) (f7529c3)

Bug Fixes

  • support devServer: false (b443f4d)