Catalog / Jest

Jest 28 to 29

Every Jest 29.x release the archive holds, 23 of them, starting at 29.0.0 and running to 29.7.0. The publisher writes these one at a time and its documentation describes the version you are on, so the run between two majors is not laid out anywhere as a list.

Releases
2323 carry notes
Opened
25 Aug 20224 years ago
Span
13 monthsto 12 Sep 2023
Breaking
2tagged by the publisher

The turn

The last 28.x release the archive holds before the turn is 28.1.3, on 13 Jul 2022. 29.0.0 followed 43 days later. The archive holds no 28.x release after 29.0.0 opened.

Tagged breaking

2 of these releases carry the breaking label: 29.6.3, 29.6.1. The label is matched from words in the publisher’s own notes, so a release that changed an API without using the word does not carry it.

Every 29.x release

All Jest releases
29.7.0addedfixeddeprecated

Features [create-jest] Add npm init / yarn create initialiser for Jest projects (#14465) [jest-validate] Allow deprecation warnings for unknown options (#14499) Fixes [jest-resolver] Replace unmatched capture groups in moduleNameMapper with

29.6.4fixed

Fixes [jest-core] Fix typo in scheduleAndRun performance marker (#14434) [jest-environment-node] Make sure atob and btoa are writeable in Node 20 (#14446) [jest-worker] Additional error wrapper for parentPort.postMessage to fix unhandled Da

29.6.3breakingfixedchanged

Fixes [expect, @jest/expect-utils] ObjectContaining support symbol as key (#14414) [expect] Remove @types/node from dependencies (#14385) [jest-core] Use workers in watch mode by default to avoid crashes (#14059 & #14085). [jest-reporters]

29.6.2addedfixed

Fixes [jest-circus] Fix snapshot matchers in concurrent tests when nr of tests exceeds maxConcurrency (#14335) [@jest/core] When running global setup and teardown, do not try to change the message property of the thrown error object when th

29.6.1breakingfixed

Fixes [jest-circus] Revert #14110 as it was a breaking change (#14304)

29.6.0addedfixedchanged

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-c

29.5.0addedfixedchanged

Features [jest-changed-files] Support Sapling (#13941) [jest-circus, @jest/cli, jest-config] Add feature to randomize order of tests via CLI flag or through the config file(#12922) [jest-cli, jest-config, @jest/core, jest-haste-map, @jest/r

29.4.3addedfixedchanged

Features [expect] Update toThrow() to be able to use error causes (#13606) [jest-core] allow to use workerIdleMemoryLimit with only 1 worker or runInBand option (#13846) [jest-message-util] Add support for error causes (#13868 & #13912) [je

29.4.2fixed

Features [@jest/core] Instrument significant lifecycle events with performance.mark() (#13859) Fixes [expect, @jest/expect] Provide type of actual as a generic argument to Matchers to allow better-typed extensions (#13848) [jest-circus] Add

29.4.1addedfixed

Features [expect, jest-circus, @jest/types] Implement numPassingAsserts of testResults to track the number of passing asserts in a test (#13795) [jest-core] Add newlines to JSON output (#13817) [@jest/reporters] Automatic log folding in Git

29.4.0addedfixedchanged

Features [expect, @jest/expect-utils] Support custom equality testers (#13654) [jest-config, jest-worker] Use os.availableParallelism if available to calculate number of workers to spawn (#13738) [@jest/globals, jest-mock] Add jest.replaceP

29.3.1fixed

Fixes [jest-config] Do not warn about preset in ProjectConfig (#13583) Performance [jest-transform] Defer creation of cache directory (#13420)

29.3.0addedfixedchanged

Features [jest-runtime] Support WebAssembly (Wasm) imports in ESM modules (#13505) Fixes [jest-config] Add config validation for projects option (#13565) [jest-mock] Treat cjs modules as objects so they can be mocked (#13513) [jest-worker]

29.2.2fixedchanged

Fixes [@jest/test-sequencer] Make sure sharding does not produce empty groups (#13476) [jest-circus] Test marked as todo are shown as todo when inside a focussed describe (#13504) [jest-mock] Ensure mock resolved and rejected values are pro

29.2.1addedfixed

Features [@jest/globals, jest-mock] Add jest.Spied* utility types (#13440) Fixes [jest-environment-node] make globalThis.performance writable for Node 19 and fake timers (#13467) [jest-mock] Revert #13398 to restore mocking of setters (#134

29.2.0addedfixedchanged

Features [@jest/cli, jest-config] A seed for the test run will be randomly generated, or set by a CLI option (#13400) [@jest/cli, jest-config] --show-seed will display the seed value in the report, and can be set via a CLI flag or through t

29.1.2addedfixed

Fixes [expect, @jest/expect] Revert buggy inference of argument types for *CalledWith and *ReturnedWith matchers introduced in 29.1.0 (#13339) [jest-worker] Add missing dependency on jest-util (#13341)

29.1.1fixed

Fixes [jest-mock] Revert #13145 which broke mocking of transpiled ES modules

29.1.0addedfixedchanged

Features [expect, @jest/expect] support type inference for function parameters in CalledWith assertions (#13268) [expect, @jest/expect] Infer type of *ReturnedWith matchers argument (#13278) [@jest/environment, jest-runtime] Allow jest.requ

29.0.3addedfixedchanged

Features [@jest/environment, jest-runtime] Allow passing a generic type argument to jest.createMockFromModule<T>() method (#13202) [expect] Expose ExpectationResult type (#13240) [jest-snapshot] Expose Context type (#13240) [@jest/globals]

29.0.2fixed

Features [jest-transform] Expose TransformFactory type (#13184) Fixes [babel-plugin-jest-hoist] Support imported jest in mock factory (#13188) [jest-mock] Align the behavior and return type of generateFromMetadata method (#13207) [jest-runt

29.0.1fixed

Fixes [jest-snapshot] Pass snapshotFormat through when diffing snapshots (#13181)

29.0.0addedfixedchanged

Blog post: https://jestjs.io/blog/2022/08/25/jest-29 Features [expect] [BREAKING] Differentiate between MatcherContext MatcherUtils and MatcherState types (#13141) [jest-circus] Add support for test.failing.each (#13142) [jest-config] [BREA