@testing-library/react
16.3.3 · 27 Aug 2026MIT89.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @testing-library/react From 15.0.7 to 16.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- breaking16.0.0
Release by release
- breaking
@testing-library/domwas moved to a peer dependency and needs to be explicitly installed. This reduces the chance of having conflicting versions of@testing-library/dominstalled that frequently caused bugs when used with@testing-library/user-event. We will also be able to allow new versions of@testing-library/dombeing used without a SemVer major release of@testing-library/reactby just widening the peer dependency.@types/react-domneeds to be installed if you're typechecking files using@testing-library/react. - new
Move
@testing-library/domand@types/react-domto peer dependencies
- breaking