Releases: callstack/react-native-testing-library
Releases · callstack/react-native-testing-library
v2.1.1
v2.1.0
v2.0.1
v2.0.0
Welcome to the RNTL v2 🥳
Make sure to check the Migration guide in our docs.
Features
- [breaking]: call
cleanupautomatically (#238) - [breaking]: unify
waitForsignature with Testing Library (#327) - wrap
waitForin (async) act to support async queries without explicitactcall (#344)
Fixes
- [breaking]:
getByTestIdshould work only for native elements (#324)
Chore
- [breaking]: remove deprecated and non-prefixed unsafe functions (#334)
- [breaking]: remove legacy
debugexport (#328) - [breaking]: deprecate
flushMicrotasksQueue(#340) - [breaking]: compile project to Node 10 using
@babel/preset-env(#309)
Docs
v2.0.0-rc.1
Features
- wrap
waitForin (async) act to support async queries without explicitactcall (#344)
v2.0.0-rc.0
Welcome to the very first release candidate to RNTL v2 🥳
Make sure to check the Migration guide.
RCs are published under next tag.
Features
- [breaking]: call "cleanup" automatically (#238)
- [breaking]: unify wait for element signature with testing library (#327)
Fixes
- [breaking]:
getByTestIdshould work only for native elements (#324)
Chore
- [breaking]: remove deprecated and non-prefixed unsafe functions (#334)
- [breaking]: remove legacy
debugexport (#328) - [breaking]: deprecate
flushMicrotasksQueue(#340) - [breaking]: compile project to Node 10 using
@babel/preset-env(#309)
Docs
v1.14.0
1.14.0 (2020-05-18)
Features
- add
findBy*async queries (#304) - add
withinoperator for returned instance-bound queries (#306) - query nested text nodes (#293)
- support
@testing-library/jest-nativecustom matchers (#310)
Fixes
*ByTextwould call toString() on objects and only match on[object Object](#290)
Docs
v1.13.1
Chore & Maintenance
Docs
v1.13.0
Deprecations
In preparations to v2 release, we decided to mark some APIs as deprecated or unsafe.
- deprecate
shallow(#264) - alias
ByPropsandByTypequeries withUNSAFE_(#261) – we consider removing these APIs in the future, but it's not decided yet
Features
Fixes
- more robust null/undefined check for text children in
getByText(#239)