jest
30.5.2 · 18 Sep 2026MIT62.9M / weekRepositoryHomepagenpmAtom feed
Upgrading jest From 20.0.4 to 21.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 25
- new
- 41
- fixes
Before you upgrade
Tick each one off as you go- Deprecated21.0.0
Release by release
- Deprecated
jest-haste-map: Deprecate functional ignorePattern and use it in cache key
- New
Add --changedFilesWithAncestor
- New
Add --findRelatedFiles
- New
Add --onlyChanged tests
- Deprecated
108 other lines we could not sort, mostly version bumps
- 21.0.0
Adding ancestorTitles property to JSON test output
- 21.0.0
Better error handling for --config
- 21.0.0
Call consistent pretty-format plugins within Jest
- 21.0.0
Change babel-core to peerDependency for compatibility with Babel 7
- 21.0.0
Change Promise detection code in jest-circus to support non-global Promise implementations
- 21.0.0
Changed files eager loading
- 21.0.0
Check whether we should output to stdout or stderr
- 21.0.0
Clarify what objects toContain and toContainEqual can be used on
- 21.0.0
Clean up resolve() logic. Provide useful names for variables and functions. Test that a directory exists before attempting to resolve files within it.
- 21.0.0
Compare objects with Symbol keys
2 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.