Packages

pretty-format

30.5.1 · 1 Sep 2026MIT304.4M / weekRepositoryHomepagenpmAtom feed

Upgrading pretty-format From 24.9.0 to 30.5.1

76 releases in betweennotes for 9

30.0.0, 29.0.0, 28.0.0, 26.0.0, 25.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below.
  1. 24.9.0yours
  2. 25.0.0major
  3. 9 releases
  4. 26.0.0major
  5. 11 releases
  6. 27.0.0major
  7. 18 releases
  8. 28.0.0major
  9. 5 releases
  10. 29.0.0major
  11. 18 releases
  12. 30.0.0major
  13. 8 releases
  14. 30.5.1target
50+
changes to make
0
advisories fixed
91+
new
142+
fixes

Counted from 9 of 76 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking30.5.0
  • breaking28.0.1
  • breaking27.0.0
  • breaking27.0.0
  • breaking27.0.0
  • breaking27.0.0
  • breaking27.0.0
  • breaking27.0.0
  • breaking27.0.0
  • breaking27.0.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.2.0 – 30.4.14 releases, no release note

  4. 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

  5. 29.1.2 – 30.0.217 releases, no release note

  6. 29.1.0

    28 Sep 20227 new · 7 fixes
    • new

      expect, @jest/expect: Support type inference for function parameters in CalledWith assertions

    • new

      expect, @jest/expect: Infer type of *ReturnedWith matchers argument

    • new

      @jest/environment, jest-runtime: Allow jest.requireActual and jest.requireMock to take a type argument

    • new

      @jest/environment: Allow jest.mock and jest.doMock to take a type argument

  7. 29.0.2 – 29.0.32 releases, no release note

  8. 29.0.1

    26 Aug 20221 fix
    • fixed

      jest-snapshot: Pass snapshotFormat through when diffing snapshots

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