Jest 30 is shipping soon. Please help us test the beta and open issues and Pull Requests if you run into any issues.
Major changes & improvements
- chore!: drop support for node.js version 16. by @MillerSvt in #15623
- chore: update jsdom to v26.0.0 by @andreibereczki in #15473
- Mitigate memory leaks in jest-environment-node by @eyalroth in #15215
Fixes
- fix: pass resolve conditions when loading stub module by @andrew-the-drawer in #15489
- fix: refactor _importCoreModule so required core module is consistent by @jonasongg in #15517
- fix: error cause bug by @BondarenkoAlex in #15339
- fix: ignore Window object in deepCyclicCopyReplaceable by @MillerSvt in #15590
- fix(jest-haste-map): Fix clobbering/errors when multiple configs use different haste impls by @robhogan in #15522
- fix: print
AggregateError
to display by @BondarenkoAlex in #15346 - Prevent EPERM windows transform issue from failing tests by @lukeapage in #11104
- fix(objectContaining): Fixed a bug where ObjectContaining matched with non-object values. by @mohammednumaan in #15463
- Fix calledWith(objectContaining) when there are multiple calls by @ecraig12345 in #15508
- feat(expect): add ArrayOf asymmetric matcher by @icholy in #15567
- fix: jest-circus shares events among imports #11483 by @satanTime in #11529
- fix: worker state by @phawxby in #15610
New Contributors
- @andrew-the-drawer made their first contribution in #15489
- @jonasongg made their first contribution in #15517
- @danielrentz made their first contribution in #15514
- @co63oc made their first contribution in #15527
- @thypon made their first contribution in #15559
- @pengqiseven made their first contribution in #15602
- @anbnyc made their first contribution in #15521
- @tez3998 made their first contribution in #15359
- @dev-intj made their first contribution in #15605
- @zakingslayerv22 made their first contribution in #15583
- @loganrosen made their first contribution in #15498
- @dancer1325 made their first contribution in #15486
- @sebastiancarlos made their first contribution in #15372
- @cgm-16 made their first contribution in #15551
- @ecraig12345 made their first contribution in #15508
- @icholy made their first contribution in #15567
- @satanTime made their first contribution in #11529
- @JounQin made their first contribution in #15617
- @Dreamsorcerer made their first contribution in #15622
- @andreibereczki made their first contribution in #15473
Full Changelog: https://github.com/jestjs/jest/blob/main/CHANGELOG.md