What changed in babel-loader from 9 to 10
3 releases numbered after v9.2.1 up to and including v10.1.1, stable releases only. v9.2.1 and v10.1.1 are the newest stable releases of 9 and 10 we track; this page follows them as new ones ship.
- 1 mentions breaking changes
10 changes across 3 releases
Added 3
Changed 4
Original release notes, newest first
The list above is our reading of these notes; the originals from Babel are here, one fold per release.
v10.1.1
What's Changed
- Revert #1055 ("use
module.findPackageJSONAPI") 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
What's Changed
- refactor: use
module.findPackageJSONAPI 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
What's Changed
Breaking Changes
- bump node requirement to
^18.20.0 || ^20.10.0 || >=22.0.0and webpack requirement to>= 5.61.0by @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
cacheIdentifieris 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-dirbyfind-upby @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