Packages

@jest/types

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

Upgrading @jest/types From 29.4.1 to 29.6.3

6 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 29.4.1Latest30.5.1

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 internal lines (docs, tests, tooling) left out.