Packages

@jest/types

30.5.1 · 1 Sep 2026MIT190.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @jest/types From 29.0.2 to 29.6.3

14 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 29.0.2Latest30.5.1
  1. 29.0.2yours
  2. 11 releases
  3. 29.6.0security
  4. 29.6.1breaking
  5. 29.6.3target

Before you upgrade

Tick each one off as you go
  • breaking29.6.3
  • breaking29.6.1

Security

  • *: Update semver dependency to get vulnerability fix

    29.6.0

Release by release

  1. 29.6.3

    Migration needed21 Aug 20236 fixes
    • breaking

      jest-mock: Revert #13692 as it was a breaking change

    • fixed

      expect, @jest/expect-utils: ObjectContaining support symbol as key

    • fixed

      expect: Remove @types/node from dependencies

    • fixed

      jest-core: Use workers in watch mode by default to avoid crashes (#14059 & #14085).

    • fixed

      jest-reporters: Update istanbul-lib-instrument dependency 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

  2. 29.6.1

    Migration needed6 Jul 2023
    • breaking

      jest-circus: Revert #14110 as it was a breaking change

  3. 29.6.0

    Security fix4 Jul 20234 new · 14 fixes
    • security

      *: Update semver dependency 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

  4. 29.5.0

    6 Mar 202314 new · 7 fixes
    • 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] Add workerThreads configuration option to allow using worker threads for parallelization

    • new

      jest-cli: Export yargsOptions

  5. 29.4.3

    15 Feb 20234 new · 4 fixes
    • new

      expect: Update toThrow() to be able to use error causes

    • new

      jest-core: Allow to use workerIdleMemoryLimit with only 1 worker or runInBand option

    • new

      jest-message-util: Add support for error causes (#13868 & #13912)

    • new

      jest-runtime: Revert import assertions for JSON modules as it's been relegated to Stage 2

  6. 29.4.2

    7 Feb 20232 new · 4 fixes
    • 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 actual as a generic argument to Matchers to allow better-typed extensions

    • fixed

      jest-runtime: Handle CJS re-exports of node core modules from ESM

    • fixed

      jest-transform: Downgrade write-file-atomic to v4

    • fixed

      jest-worker: Ignore IPC messages not intended for Jest

  7. 29.4.1

    26 Jan 20234 new · 2 fixes
    • new

      expect, jest-circus, @jest/types: Implement numPassingAsserts of 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 done callbacks in typings of each

    • fixed

      @jest/expect-utils: toMatchObject diffs should include Symbol properties

    • fixed

      jest-runtime: Handle missing replaceProperty

  8. 29.4.0

    24 Jan 202310 new · 9 fixes
    • new

      expect, @jest/expect-utils: Support custom equality testers

    • new

      jest-config, jest-worker: Use os.availableParallelism if 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/)

1 other line we could not sort, mostly version bumps
  • jest-reporters: Transform file paths into hyperlinks

    29.2.0

12 internal lines (docs, tests, tooling) left out.