@jest/transform
30.5.2 · 18 Sep 2026MIT80.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @jest/transform From 26.2.1 to 26.6.2
7 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 12
- new
- 29
- fixes
Before you upgrade
Tick each one off as you go- breaking26.3.0
Release by release
- new
jest-core: Add
findRelatedTestsandnonFlagArgsin allowed config options forupdateConfigAndRunin watch plugins - fixed
babel-plugin-jest-hoist: Preserve order of hoisted mock nodes within containing block
- fixed
babel-plugin-jest-hoist: Hoist pure constants to support experimental JSX transform in hoisted mocks
- fixed
babel-preset-jest: Update
babel-preset-current-node-syntaxto support top level await
- new
- new
jest-runtime: Support named exports from CommonJS as named ES Module imports
- new
jest-validate: Add support for
recursiveDenylistoption as an alternative torecursiveBlacklist - fixed
expect: Fix
objectContainingto work recursively into sub-objects - fixed
jest-cli, jest-core, jest-config, jest-types: Fix
--onlyFailuresflag to work in non-watch mode - fixed
jest-config: Fix for the
jest.config.tscompiler to not interfere withtsconfig.jsonfiles - fixed
jest-message-util: Update to work properly with Node 15
- fixed
jest-mock: Allow to mock methods in getters (TypeScript 3.9 export)
- new
- new
jest-cli, jest-config: Add support for the
jest.config.tsconfiguration file - new
@jest/types: Add missing values for
timers - fixed
jest-config: Simplify transform RegExp
- fixed
jest-fake-timers: Lazily instantiate mock timers
- fixed
jest-runtime:
require.mainis no longerundefinedwhen usingjest.resetModules
- new
- fixed
*: Revert usage of Escalade and rollback Yargs to v15 as it breaks Node 13
- fixed
jest-circus: Setup globals before emitting
setup, and include Jest globals in thesetuppayload - fixed
jest-mock: Fix typings for
mockResolvedValue,mockResolvedValueOnce,mockRejectedValueandmockRejectedValueOnce
- fixed
- new
jest-circus, jest-config, jest-runtime: Add new
injectGlobalsconfig and CLI option to disable injecting global variables into the runtime - new
jest-runner: Add support for
moduleLoaders withdefaultexports - new
@jest/create-cache-key-function: Added a new package for creating cache keys
- new
jest-console: Add
Consoleconstructor toconsoleobject
- new
- breaking
jest-worker: Downgrade minimum node version to 10.13
- new
jest-circus, jest-jasmine2: Include
failureDetailsproperty in test results - new
jest-each, jest-jasmine, jest-circus: Add support for
.concurrent.each - new
jest-config: Add
.pnp.jstotransformIgnorePatternsdefaults - fixed
jest-leak-detector: Wait properly for GC runs due to changes in Node 14.7
- breaking
- fixed
jest-cli: Use correct file name to override existing jest config on init
- fixed
jest-haste-map: Properly detect support for native
find
- fixed
1 other line we could not sort, mostly version bumps
- 26.6.2
expect: Revert "Fix
objectContainingto work recursively into sub-objects (#10508)"
10 internal lines (docs, tests, tooling) left out.