@jest/core
30.5.2 · 18 Sep 2026MIT60.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @jest/core From 29.1.2 to 29.7.0
16 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 55
- new
- 69
- fixes
Before you upgrade
Tick each one off as you go- breaking29.6.3
- breaking29.6.1
Security
- 29.6.0
*: Update
semverdependency to get vulnerability fix
Release by release
- new
create-jest: Add
npm init/yarn createinitialiser for Jest projects - new
jest-validate: Allow deprecation warnings for unknown options
- new
@jest/create-cache-key-function: Cache access of
NODE_ENVandBABEL_ENV - fixed
jest-resolver: Replace unmatched capture groups in
moduleNameMapperwith empty string instead ofundefined - fixed
jest-snapshot: Allow for strings as well as template literals in inline snapshots
- fixed
@jest/test-sequencer: Calculate test runtime if
perStats.durationis missing
- new
- fixed
jest-environment-node: Make sure
atobandbtoaare writeable in Node 20 - fixed
jest-worker: Additional error wrapper for
parentPort.postMessageto fix unhandledDataCloneError.
- fixed
- breaking
jest-mock: Revert #13692 as it was a breaking change
- fixed
expect, @jest/expect-utils:
ObjectContainingsupportsymbolas key - fixed
expect: Remove
@types/nodefrom dependencies - fixed
- fixed
jest-reporters: Update
istanbul-lib-instrumentdependency to v6. - fixed
@jest/reporters: Marks Reporter's hooks as optional
- fixed
jest-runtime: Fix dynamic ESM import module bug when loaded module through
jest.isolateModulesAsync
- breaking
- new
jest-reporters: Add "skipped" and "todo" symbols to Github Actions Reporter
- fixed
jest-circus: Fix snapshot matchers in concurrent tests when nr of tests exceeds
maxConcurrency - fixed
@jest/core: When running global setup and teardown, do not try to change the
messageproperty of the thrown error object when themessageproperty is unwritable - fixed
jest-snapshot: Move
@types/prettierfromdependenciestodevDependencies - fixed
jest-snapshot: Throw an explicit error if Prettier v3 is used
- new
- security
*: Update
semverdependency to get vulnerability fix - new
jest-circus, jest-snapshot: Add support for snapshot matchers in concurrent tests
- new
jest-cli: Include type definitions to generated config files
- new
jest-snapshot: Support arrays as property matchers
- security
- new
jest-changed-files: Support Sapling
- new
jest-circus, @jest/cli, jest-config: Add feature to randomize order of tests via CLI flag or through the config file
- new
[jest-cli, jest-config, @jest/core, jest-haste-map, @jest/reporters, jest-runner, jest-runtime, @jest/types]AddworkerThreadsconfiguration option to allow using worker threads for parallelization - new
jest-cli: Export
yargsOptions
- new
- new
expect: Update
toThrow()to be able to use errorcauses - new
jest-core: Allow to use
workerIdleMemoryLimitwith only 1 worker orrunInBandoption - new
jest-message-util: Add support for error
causes (#13868 & #13912) - new
jest-runtime: Revert
import assertionsfor JSON modules as it's been relegated to Stage 2
- new
1 other line we could not sort, mostly version bumps
- 29.2.0
jest-reporters: Transform file paths into hyperlinks
17 internal lines (docs, tests, tooling) left out.