@jest/types
30.5.1 · 1 Sep 2026MIT190.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @jest/types From 27.2.3 to 30.5.1
39 releases in betweenevery note read
Reading releases, release notes and advisories…
- 93
- changes to make
- 0
- advisories fixed
- 230
- new
- 300
- fixes
Start here
Before you upgrade
Tick each one off as you go- breaking30.5.0
- breaking30.0.0
- breaking30.0.0
- breaking30.0.0
- breaking30.0.0
- breaking30.0.0
- breaking30.0.0
- breaking30.0.0
- breaking30.0.0
- breaking30.0.0
Security
- 30.0.0
[jest-environment-jsdom, jest-environment-jsdom-abstract]Increased version of jsdom to^26.0.0(#15325CVE-2024-37890) - 29.6.0
*: Update
semverdependency to get vulnerability fix
Release by release
- fixed
jest-config: Don't warn about global-only options in the config that supplies the global config - the root config a project resolves to, or the first entry of
--projectswhen no root config is passed - fixed
jest-config, jest-types: Stop accepting
reporters,coverageReporters,workerIdleMemoryLimit,cwdandrunnerOptionsin a project config - they were silently ignored, and now warn like the other global-only options - fixed
jest-config, jest-validate: Warn about
maxWorkersandcoverageThresholdin a project config instead of dropping them without a word - fixed
jest-resolve: Match
moduleNameMapperpatterns against the specifier as written again (reverting #16390) - fixed
jest-runtime: Resolve package
importsspecifiers like#depunder ESM again
- fixed
- breaking
jest-haste-map: Match watched files on a full extension, so
moduleFileExtensions: ['js']no longer acceptsfoo.mjs - deprecated
@jest/source-map: Deprecate
getCallsitein favour ofSourceMapSupport#getCallsite - new
babel-plugin-istanbulis updated to v8 - new
globis updated to v13
- breaking
- new
[jest-config, jest-core, jest-runner, jest-schemas, jest-types]Allow custom runner configuration options via tuple format['runner-path', {options}] - fixed
jest-runtime: Align CJS-from-ESM default export with Node:
module.exportsis always the ESM default,__esModuleunwrapping is no longer applied
- new
- new
babel-jest: Support collecting coverage from
.mts,.cts(and other) files - new
[jest-circus, jest-cli, jest-config, jest-core, jest-jasmine2, jest-types]Add--collect-testsflag to discover and list tests without executing them - new
jest-config, jest-runner, jest-worker: Add
workerGracefulExitTimeoutconfig option to control how long workers are given to exit before being force-killed - new
jest-config: Add support for
jest.config.mtsas a valid configuration file
- new
- new
jest-config: Add
defineConfigandmergeConfighelpers for type-safe Jest config - new
jest-fake-timers: Add
setTimerTickModeto configure how timers advance - new
*: Reduce token usage when run through LLMs
- fixed
jest-config: Keep CLI coverage output when using
--jsonwith--outputFile
- new
- new
jest-environment-jsdom-abstract: Add support for JSDOM v27
- fixed
babel-jest: Export the
TransformerConfiginterface - fixed
jest-config: Fix
jest.config.tswith TS loader specified in docblock pragma
- new
- new
jest-config: Allow
testMatchto take a string value - new
jest-worker: Let
workerIdleMemoryLimitaccept 0 to always restart worker child processes - fixed
expect: Fix
biginterror
- new
- deprecated
*: Remove and deprecate
jest-replpackage - new
jest-resolver: Implement the
defaultAsyncResolver - fixed
jest-resolver: Resolve builtin modules correctly
- fixed
jest-environment-node, jest-util: Avoid setting globals cleanup protection symbol when feature is off
- deprecated
1 other line we could not sort, mostly version bumps
- 29.2.0
jest-reporters: Transform file paths into hyperlinks
94 internal lines (docs, tests, tooling) left out.