Releases: testing-library/react-testing-library
Releases · testing-library/react-testing-library
v13.0.0
13.0.0 (2022-03-31)
Features
BREAKING CHANGES
- Drop support for React 17 and earlier. We'll use the new
createRoot
API by default which comes with a set of changes while also enabling support for concurrent features.
To opt-out of this change you can userender(ui, { legacyRoot: true } )
. But be aware that the legacy root API is deprecated in React 18 and its usage will trigger console warnings.
v13.0.0-alpha.7
13.0.0-alpha.7 (2022-03-30)
Bug Fixes
- Add
@types/react-dom
as a direct dependency (#1001) (149d9a9) - Match runtime type of baseElement in TypeScript types (#1023) (96ed8da)
- render: Don't reject wrapper types based on statics (#973) (7f53b56)
- TS: make wrapper allow a simple function comp (#966) (cde904c)