What changed in React Testing Library from 15 to 16
8 releases numbered after v15.0.7 up to and including v16.3.3, stable releases only. v15.0.7 and v16.3.3 are the newest stable releases of 15 and 16 we track; this page follows them as new ones ship.
- 1 mentions breaking changes
8 changes across 8 releases
Changed 2
- Move @testing-library/dom to peer dependencies
- Move @types/react-dom to peer dependencies
Fixed 4
One release in the range carries no categorized changes yet: v16.3.0. Their original notes, where the vendor published any, are below.
Original release notes, newest first
The list above is our reading of these notes; the originals from Testing Library are here, one fold per release.
v16.3.3
v16.3.2
16.3.2 (2026-01-19)
Bug Fixes
v16.3.1
v16.3.0
16.3.0 (2025-04-02)
Features
v16.2.0
v16.1.0
v16.0.1
16.0.1 (2024-08-29)
Bug Fixes
v16.0.0
16.0.0 (2024-06-03)
Features
BREAKING CHANGES
@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.