Packages

jest

30.5.2 · 18 Sep 2026MIT62.9M / weekRepositoryHomepagenpmAtom feed

Upgrading jest From 22.0.1 to 22.4.4

19 releases in betweennotes for 15

Reading releases, release notes and advisories…

Other targets from 22.0.1Latest30.5.2
  1. 22.0.1yours
  2. 15 releases
  3. 22.4.1breaking
  4. 2 releases
  5. 22.4.4target
2+
changes to make
0
advisories fixed
35+
new
43+
fixes

Counted from 15 of 19 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking22.4.1
  • Deprecated22.4.0

Release by release

  1. 22.4.3 – 22.4.42 releases, no release note

  2. 22.4.2

    22 Feb 20181 fix
    • Fixed

      jest-haste-map: Recreate Haste map when deserialization fails

  3. 22.4.1

    Migration needed22 Feb 20181 new · 2 fixes
    • Breaking

      babel-jest: Remove retainLines argument to babel.

    • New

      jest-runtime: Provide require.main property set to module with test suite

    • Fixed

      jest-haste-map: Parallelize Watchman calls in crawler

    • Fixed

      jest-editor-support: Update TypeScript definitions

  4. 22.4.0

    Deprecation20 Feb 20183 new · 7 fixes
    • Deprecated

      jest-runtime: Deprecate mapCoverage option.

    • New

      babel-jest: Add option to return sourcemap from the transformer separately from source.

    • New

      jest-validate: Add ability to log deprecation warnings for CLI flags.

    • New

      jest-serializer: Added new module for serializing. Works using V8 or JSON

  5. 22.3.0

    13 Feb 20184 new · 2 fixes
    • New

      expect: Add descriptive error message to CalledWith methods when missing optional arguments

    • New

      jest-util: Add the following methods to the "console" implementations: assert, count, countReset, dir, dirxml, group, groupCollapsed, groupEnd, time, timeEnd

    • New

      jest-editor-support: Add watchAll flag

    • New

      jest-cli: Support multiple glob patterns for collectCoverageFrom

    • Fixed

      jest-cli: Fix inability to quit watch mode while debugger is still attached

    • Fixed

      jest-haste-map: Properly handle platform-specific file deletions

  6. 22.2.2

    9 Feb 20181 new · 1 fix
    • New

      jest-worker: Assign a unique id for each worker and pass it to the child process. It will be available via process.env.JEST_WORKER_ID

    • Fixed

      jest-docblock: Support multiple of the same @pragma.

  7. 22.2.1

    7 Feb 20181 fix
    • Fixed

      jest-config: "all" takes precedence over "lastCommit"

  8. 22.2.0

    7 Feb 201811 new · 10 fixes
    • New

      jest-runner: Move test summary to after coverage report

    • New

      jest-cli: Added --notifyMode to specify when to be notified.

    • New

      diff-sequences: New package compares items in two sequences to find a longest common subsequence.

    • New

      jest-matcher-utils: Add comment option to matcherHint function

1 other line we could not sort, mostly version bumps
  • babel-jest: Revert "Remove retainLines from babel-jest"

    22.2.2

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

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.