Packages

@jest/types

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

Upgrading @jest/types From 28.1.3 to 30.5.1

26 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 28.1.3yours
  2. 29.0.0major
  3. 13 releases
  4. 29.6.0security
  5. 29.6.1breaking
  6. 29.6.3breaking
  7. 30.0.0security
  8. 6 releases
  9. 30.5.0breaking
  10. 30.5.1target

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

  • [jest-environment-jsdom, jest-environment-jsdom-abstract] Increased version of jsdom to ^26.0.0 (#15325CVE-2024-37890)

    30.0.0
  • *: Update semver dependency to get vulnerability fix

    29.6.0

Release by release

  1. 30.5.1

    1 Sep 20265 fixes
    • 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 --projects when no root config is passed

    • fixed

      jest-config, jest-types: Stop accepting reporters, coverageReporters, workerIdleMemoryLimit, cwd and runnerOptions in a project config - they were silently ignored, and now warn like the other global-only options

    • fixed

      jest-config, jest-validate: Warn about maxWorkers and coverageThreshold in a project config instead of dropping them without a word

    • fixed

      jest-resolve: Match moduleNameMapper patterns against the specifier as written again (reverting #16390)

    • fixed

      jest-runtime: Resolve package imports specifiers like #dep under ESM again

  2. 30.5.0

    Migration needed28 Aug 202635 new · 86 fixes
    • breaking

      jest-haste-map: Match watched files on a full extension, so moduleFileExtensions: ['js'] no longer accepts foo.mjs

    • deprecated

      @jest/source-map: Deprecate getCallsite in favour of SourceMapSupport#getCallsite

    • new

      babel-plugin-istanbul is updated to v8

    • new

      glob is updated to v13

  3. 30.4.1

    8 May 20261 new · 1 fix
    • 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.exports is always the ESM default, __esModule unwrapping is no longer applied

  4. 30.4.0

    7 May 202616 new · 21 fixes
    • 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-tests flag to discover and list tests without executing them

    • new

      jest-config, jest-runner, jest-worker: Add workerGracefulExitTimeout config option to control how long workers are given to exit before being force-killed

    • new

      jest-config: Add support for jest.config.mts as a valid configuration file

  5. 30.3.0

    10 Mar 20263 new · 6 fixes
    • new

      jest-config: Add defineConfig and mergeConfig helpers for type-safe Jest config

    • new

      jest-fake-timers: Add setTimerTickMode to configure how timers advance

    • new

      *: Reduce token usage when run through LLMs

    • fixed

      jest-config: Keep CLI coverage output when using --json with --outputFile

  6. 30.2.0

    28 Sep 20251 new · 2 fixes
    • new

      jest-environment-jsdom-abstract: Add support for JSDOM v27

    • fixed

      babel-jest: Export the TransformerConfig interface

    • fixed

      jest-config: Fix jest.config.ts with TS loader specified in docblock pragma

  7. 30.0.5

    22 Jul 20252 new · 1 fix
    • new

      jest-config: Allow testMatch to take a string value

    • new

      jest-worker: Let workerIdleMemoryLimit accept 0 to always restart worker child processes

    • fixed

      expect: Fix bigint error

  8. 30.0.1

    Deprecation18 Jun 20251 new · 2 fixes
    • deprecated

      *: Remove and deprecate jest-repl package

    • 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

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

    29.2.0

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