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