unstale

npm / babel-loader

babel-loader

What changed in babel-loader 8 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

7 breaking1 new APIs and options1 behavior and defaults2 tooling3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

babel-loader 109 changes

Breaking changes 3

  • The required Node.js versions are now ^18.20.0 || ^20.10.0 || >=22.0.0.

    10.0.0release notes

  • The loader cache now uses output.hashFunction as its hasher.

    10.0.0release notes

  • The minimum required webpack version is now 5.61.0.

    10.0.0release notes

New APIs and options 1

Behavior and default changes 1

Tooling 2

Fixes and other changes 2

  • Reverts the use of the module.findPackageJSON API.

    10.1.1release notes

  • Filename cache keys are now ensured to be stable.

    10.0.0release notes

babel-loader 94 changes

Breaking changes 3

Fixes and other changes 1

  • The hash method mechanism was updated so it does not fail on a FIPS-enabled machine.

    9.0.0release notes

babel-loader 81 changes

Breaking changes 1

  • Peer dependency requirements on Babel betas and release candidates were dropped, easing migration to stable Babel 7.x.

    8.0.0release notes