# babel-loader: what changed from 9 to 10 - Product: babel-loader (https://whatsnew.fyi/product/babel-loader) - Vendor: Babel - Range: changelog entries numbered after v9.2.1 up to and including v10.1.1, stable releases only - Entries below: 3 releases (newest first) - Resolved: 9 is v9.2.1 and 10 is v10.1.1, the newest stable release of each major we track - Carrying security changes: 0 · CVEs mentioned: 0 · Mentioning breaking changes: 1 · Removing or deprecating something: 0 - Page: https://whatsnew.fyi/product/babel-loader/compare/9...10 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. ## What changed (10 changes, grouped by kind) ### Added #### v10.1.0 (2026-03-06) - Enable type checking and support Babel 8 #### v10.0.0 (2025-02-27) - Add babel-loader logger - Support cache with external dependencies ### Changed #### v10.1.0 (2026-03-06) - Use `module.findPackageJSON` API for package discovery #### v10.0.0 (2025-02-27) - Bump Node requirement to ^18.20.0 || ^20.10.0 || >=22.0.0 and webpack requirement to >= 5.61.0 - Use output.hashFunction as loader cache hasher - Replace find-cache-dir with find-up ### Fixed #### v10.1.1 (2026-03-09) - Revert use of module.findPackageJSON API #### v10.1.0 (2026-03-06) - Mark webpack as optional peer dependency #### v10.0.0 (2025-02-27) - Ensure stability of filename cache-keys ## Release notes ### v10.1.1 - Date: 2026-03-09 - Version: v10.1.1 - Original notes: https://github.com/babel/babel-loader/releases/tag/v10.1.1 - Permalink: https://whatsnew.fyi/product/babel-loader/releases/v10.1.1 - **fixed** — Revert use of module.findPackageJSON API ##### What's Changed * Revert #1055 ("use `module.findPackageJSON` API") by @JLHwung in https://github.com/babel/babel-loader/pull/1066 **Full Changelog**: https://github.com/babel/babel-loader/compare/v10.1.0...v10.1.1 ### v10.1.0 - Date: 2026-03-06 - Version: v10.1.0 - Original notes: https://github.com/babel/babel-loader/releases/tag/v10.1.0 - Permalink: https://whatsnew.fyi/product/babel-loader/releases/v10.1.0 - **changed** — Use `module.findPackageJSON` API for package discovery - **added** — Enable type checking and support Babel 8 - **fixed** — Mark webpack as optional peer dependency ##### What's Changed * refactor: use `module.findPackageJSON` API by @JLHwung in https://github.com/babel/babel-loader/pull/1055 * Enable type checking and support Babel 8 by @JLHwung in https://github.com/babel/babel-loader/pull/1056 * Bump js-yaml from 4.1.0 to 4.1.1 by @dependabot[bot] in https://github.com/babel/babel-loader/pull/1059 * fix: mark webpack as optional peer dependency by @chenjiahan in https://github.com/babel/babel-loader/pull/1061 * Bump webpack from 5.101.0 to 5.104.1 by @dependabot[bot] in https://github.com/babel/babel-loader/pull/1062 * Bump glob from 10.4.5 to 10.5.0 by @dependabot[bot] in https://github.com/babel/babel-loader/pull/1060 * Bump minimatch from 3.1.2 to 3.1.5 by @dependabot[bot] in https://github.com/babel/babel-loader/pull/1063 * Pin Node.js on CI by @nicolo-ribaudo in https://github.com/babel/babel-loader/pull/1064 ##### New Contributors * @chenjiahan made their first contribution in https://github.com/babel/babel-loader/pull/1061 **Full Changelog**: https://github.com/babel/babel-loader/compare/v10.0.0...v10.1.0 ### v10.0.0 - Date: 2025-02-27 - Version: v10.0.0 - Original notes: https://github.com/babel/babel-loader/releases/tag/v10.0.0 - Permalink: https://whatsnew.fyi/product/babel-loader/releases/v10.0.0 - **changed** — Bump Node requirement to ^18.20.0 || ^20.10.0 || >=22.0.0 and webpack requirement to >= 5.61.0 - **changed** — Use output.hashFunction as loader cache hasher - **added** — Add babel-loader logger - **added** — Support cache with external dependencies - **fixed** — Ensure stability of filename cache-keys - **changed** — Replace find-cache-dir with find-up ##### What's Changed ###### Breaking Changes * bump node requirement to `^18.20.0 || ^20.10.0 || >=22.0.0` and webpack requirement to `>= 5.61.0` by @JLHwung in https://github.com/babel/babel-loader/pull/1026 * breaking: use output.hashFunction as loader cache hasher by @JLHwung in https://github.com/babel/babel-loader/pull/1027 ###### New Features * Add babel-loader logger by @JLHwung in https://github.com/babel/babel-loader/pull/1034 * Support cache with external dependencies by @JLHwung in https://github.com/babel/babel-loader/pull/1033 ###### Bug Fixes * [Bugfix] Ensure stability of filename cache-keys by @stefanpenner in https://github.com/babel/babel-loader/pull/909 ###### Docs * docs: clarify that `cacheIdentifier` is computed from the merged options by @JLHwung in https://github.com/babel/babel-loader/pull/1000 * Create SECURITY.md by @JLHwung in https://github.com/babel/babel-loader/pull/1032 * Add babel-loader v10 readme by @JLHwung in https://github.com/babel/babel-loader/pull/1046 * add readme section for loggingDebug support by @JLHwung in https://github.com/babel/babel-loader/pull/1038 * Update readme and repo templates by @JLHwung in https://github.com/babel/babel-loader/pull/1041 ###### Dependencies * migrate to c8 by @JLHwung in https://github.com/babel/babel-loader/pull/996 * Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in https://github.com/babel/babel-loader/pull/998 * Bump dev dependencies by @JLHwung in https://github.com/babel/babel-loader/pull/1001 * Bump braces from 3.0.2 to 3.0.3 by @dependabot in https://github.com/babel/babel-loader/pull/1020 * Update deps by @JLHwung in https://github.com/babel/babel-loader/pull/1025 * refactor: replace `find-cache-dir` by `find-up` by @JLHwung in https://github.com/babel/babel-loader/pull/1031 * Bump webpack from 5.93.0 to 5.94.0 by @dependabot in https://github.com/babel/babel-loader/pull/1035 * chore: update dev deps by @JLHwung in https://github.com/babel/babel-loader/pull/1036 * Bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot in https://github.com/babel/babel-loader/pull/1049 ###### Internal * Remove caller option check by @JLHwung in https://github.com/babel/babel-loader/pull/1007 * Update tests by @JLHwung in https://github.com/babel/babel-loader/pull/1003 * Update metadata test by @JLHwung in https://github.com/babel/babel-loader/pull/1024 * Migrate to node test runner by @JLHwung in https://github.com/babel/babel-loader/pull/1028 * chore: use default eslint rules by @JLHwung in https://github.com/babel/babel-loader/pull/1029 * refactor: use webpack builtin schema util by @JLHwung in https://github.com/babel/babel-loader/pull/1030 ##### New Contributors * @stefanpenner made their first contribution in https://github.com/babel/babel-loader/pull/909 **Full Changelog**: https://github.com/babel/babel-loader/compare/v9.1.3...v10.0.0