@testing-library/jest-dom
8.0.0 · 19 Nov 2026MIT104.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @testing-library/jest-dom From 4.1.0 to 8.0.0
81 releases in betweenevery note read
- 13
- changes to make
- 0
- advisories fixed
- 33
- new
- 40
- fixes
Before you upgrade
Tick each one off as you go- Breaking8.0.0
- Breaking7.0.0
- Breaking6.4.2
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking6.0.0
- Breaking5.0.0
Security
- 6.1.4
Upgrade
@adobe/css-toolsto4.3.1to address vulnerability
Release by release
- Breaking
Support for vitest versions lower than 5 has been removed. Consumers must upgrade to a supported version.
- New
Support vitest 5
- Breaking
- Fixed
Declare vitest as an optional peer dependency
- Fixed
- Breaking
@testing-library/dom is now a required peer dependency. The minimum supported Node.js version is now 22.
- New
Add toContainAnyBy* and toContainOneBy* query matchers
- Breaking
6.10.0nothing new or fixed in the note
- Fixed
Fix undefined
Nodeerror (nodejs)
- Fixed
- New
Add .toAppearBefore/.toAppearAfter matcher
- New
- New
Add toBePartiallyPressed matcher
- New
- New
Add toBePressed matcher
- New
1 other line we could not sort, mostly version bumps
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.