@jest/types
30.5.1 · 1 Sep 2026MIT190.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @jest/types From 29.0.1 to 29.6.3
15 releases in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 62
- new
- 68
- 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
- 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
- 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
- new
@jest/core: Instrument significant lifecycle events with
performance.mark() - new
jest-circus: Added explicit mention of test failing because
done()is not being called in error message - fixed
expect, @jest/expect: Provide type of
actualas a generic argument toMatchersto allow better-typed extensions - fixed
jest-runtime: Handle CJS re-exports of node core modules from ESM
- fixed
jest-transform: Downgrade
write-file-atomicto v4 - fixed
jest-worker: Ignore IPC messages not intended for Jest
- new
- new
expect, jest-circus, @jest/types: Implement
numPassingAssertsof testResults to track the number of passing asserts in a test - new
jest-core: Add newlines to JSON output
- new
@jest/reporters: Automatic log folding in GitHub Actions Reporter
- new
@jest/types: Add partial support for
donecallbacks in typings ofeach - fixed
@jest/expect-utils:
toMatchObjectdiffs should includeSymbolproperties - fixed
jest-runtime: Handle missing
replaceProperty
- new
- new
expect, @jest/expect-utils: Support custom equality testers
- new
jest-config, jest-worker: Use
os.availableParallelismif available to calculate number of workers to spawn - new
@jest/globals, jest-mock: Add
jest.replaceProperty()that replaces property value - new
jest-haste-map: Ignore Sapling vcs directories (
.sl/)
- new
1 other line we could not sort, mostly version bumps
- 29.2.0
jest-reporters: Transform file paths into hyperlinks
12 internal lines (docs, tests, tooling) left out.