Features
[expect]Enhancing thetoHavePropertymatcher to support array selection (#12092)[jest-core]Add support fortestResultsProcessorwritten in ESM (#12006)[jest-diff, pretty-format]AddcompareKeysoption for custom sorting of object keys (#11992)[jest-mock]Addts-jestmock util functions (#12089)
Fixes
[expect]Allow againexpect.Matchersgeneric with single value (#11986)[jest-circus, jest-jasmine2]Avoid false concurrent test failures due to unhandled promise rejections (#11987)[jest-config]Add missingslashdependency topackage.json(#12080)[jest-core]Incorrect detection of open ZLIB handles (#12022)[jest-diff]Break dependency cycle (#10818)[jest-environment-jsdom]Add@types/jsdomdependency (#11999)[jest-environment-jsdom]Do not reset the global.document too early on teardown (#11871)[jest-transform]Improve error and warning messages (#11998)[jest-worker]PassexecArgvcorrectly toworker_threadsworker (#12069)
Chore & Maintenance
[docs]CLI options alphabetized (#11586)[jest-runner]Add info regarding timers to forcedExit message(#12083)[*]Replacedsubstrmethod withsubstring(#12066)[*]Addtypesentry to all export maps (#12073)
New Contributors
- @alexander-kilyushin made their first contribution in #11988
- @Josh-Cena made their first contribution in #11991
- @Ayc0 made their first contribution in #11999
- @D-Andreev made their first contribution in #11992
- @dcastil made their first contribution in #12001
- @oliversalzburg made their first contribution in #12022
- @Biki-das made their first contribution in #12017
- @dalvarezmartinez1 made their first contribution in #11871
- @raymondnumbergenerator made their first contribution in #10818
- @k-rajat19 made their first contribution in #12066
- @silverwind made their first contribution in #12083
- @Schweinepriester made their first contribution in #12063
- @bdefore made their first contribution in #11586
- @weswigham made their first contribution in #12073
- @iifawzi made their first contribution in #12092
- @tamlyn made their first contribution in #11641
- @kherock made their first contribution in #12069
- @fishmandev made their first contribution in #12034
Full Changelog: v27.3.1...v27.4.0