Packages

webpack

5.112.2 · 23 Oct 2026MIT76.9M / weekRepositorynpmAtom feed

Upgrading webpack From 4.40.1 to 4.47.0

18 releases in betweenevery note read

Other targets from 4.40.1Latest5.112.2
  1. 4.40.1yours
  2. 5 releases
  3. 4.41.3security
  4. 11 releases
  5. 4.47.0target
0
changes to make
0
advisories fixed
12
new
25
fixes

Security

  • Force upgrade terser-webpack-plugin dependency for security fix (not affecting webpack)

    4.41.3

Release by release

  1. 4.47.0

    6 Sep 20231 new
    • New
      • Add support for md4 in Node >=18.

  2. 4.46.0

    11 Jan 20211 fix
    • Fixed

      Fix behavior of defaults for resolve.roots to be backward-compatible

  3. 4.45.0

    8 Jan 20211 new · 2 fixes
    • New

      Resolve server-relative requests relative to project context by default

    • Fixed

      Fix a bug where splitChunk minSize is not handled correctly

    • Fixed

      Fix a bug where the order of splitChunk cacheGroups is not handled correctly

  4. 4.44.2

    17 Sep 20201 fix
    • Fixed

      Make sure to generate correct chunk connection for blocks that are only connected in some runtimes

  5. 4.44.1

    30 Jul 20201 new · 1 fix
    • New

      Add missing optional peerDependencies for webpack-cli and webpack-command to support Yarn 2

    • Fixed

      Fix bug in sideEffects optimization when using export * from "non-esm" and a default export.

  6. 4.44.0

    24 Jul 20203 new · 3 fixes
    • New

      Improve sideEffects flag behavior when dynamic modules are part of the tree

    • New

      Add splitChunks.enforceSizeThreshold to allow enfore splitting larger chunks unrelated from other limiations

    • New

      Add support for resolve.roots and default resolve.roots: [context]

    • Fixed

      Fix bug where splitChunks produced non-optimal results when minSize is set to 0

    • Fixed

      Fix bug which lead to HMR not working for splitChunks in entrypoints

    • Fixed

      Force update watchpack and chokidar for chokidar bugfix which causes files to stop being watched

  7. 4.43.0

    21 Apr 20201 new
    • New

      Add module.hot.invalidate() to HMR API

  8. 4.42.1

    24 Mar 20202 fixes
    • Fixed

      Update webassemblyjs dependencies for instruction update

    • Fixed

      Update mkdirp dependency for security reasons

1 other line we could not sort, mostly version bumps
  • Disallow cache group named test with shorthand syntax to point out a potential config error

    4.41.0

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.