v29.6.0
Features
[jest-circus, jest-snapshot]
Add support for snapshot matchers in concurrent tests (#14139)[jest-cli]
Include type definitions to generated config files (#14078)[jest-snapshot]
Support arrays as property matchers (#14025)[jest-core, jest-circus, jest-reporter, jest-runner]
Added support for reporting about start individual test cases using jest-circus (#14174)
Fixes
[jest-circus]
Prevent false test failures caused by promise rejections handled asynchronously (#14110)[jest-config]
Handle frozen config object (#14054)[jest-config]
AllowcoverageDirectory
andcollectCoverageFrom
in project config (#14180)[jest-core]
Always use workers in watch mode to avoid crashes (#14059).[jest-environment-jsdom, jest-environment-node]
Fix assignment ofcustomExportConditions
viatestEnvironmentOptions
when custom env subclass defines a default value (#13989)[jest-matcher-utils]
Fix copying value of inherited getters (#14007)[jest-mock]
Tweak typings to allowjest.replaceProperty()
replace methods (#14008)[jest-mock]
Improve user input validation and error messages ofspyOn
andreplaceProperty
methods (#14087)[jest-runtime]
Bindjest.isolateModulesAsync
tothis
(#14083)[jest-runtime]
ForwardwrapperLength
to theScript
constructor ascolumnOffset
for accurate debugging (#14148)[jest-runtime]
Guard_isMockFunction
access within
(#14188)[jest-snapshot]
Fix a potential bug when not using prettier and improve performance (#14036)[@jest/transform]
Do not instrument.json
modules (#14048)[jest-worker]
Restart a shut down worker before sending it a task (#14015)
Chore & Maintenance
[*]
Updatesemver
dependency to get vulnerability fix (#14262)[docs]
Updated documentation for the--runTestsByPath
CLI command (#14004)[docs]
Updated documentation regarding the synchronous fallback when asynchronous code transforms are unavailable (#14056)[docs]
Update jest statistics of use and downloads in website Index.
New Contributors
- @huntie made their first contribution in #13989
- @liammulh made their first contribution in #14001
- @BenceSzalai made their first contribution in #14007
- @Mike-Dax made their first contribution in #14056
- @bakasmarius made their first contribution in #14025
- @PeteTheHeat made their first contribution in #14015
- @tjenkinson made their first contribution in #14083
- @soyjuanmacias made their first contribution in #14101
- @bharathkalyans made their first contribution in #14154
- @itzjacki made their first contribution in #14165
- @DmitryMakhnev made their first contribution in #14174
- @BobdenOs made their first contribution in #14148
- @william-lai-927 made their first contribution in #14179
- @bakamitai456 made their first contribution in #14045
- @rbuckton made their first contribution in #14188
- @barbados-clemens made their first contribution in #14180
- @rburdet made their first contribution in #14197
- @cw1997 made their first contribution in #14184
- @renovate made their first contribution in #14209
- @stekycz made their first contribution in #14110
- @ziyad-elabid-nw made their first contribution in #14262
Full Changelog: v29.5.0...v29.6.0