Releases: callstack/react-native-testing-library
Releases · callstack/react-native-testing-library
v7.0.1
v7.0.0
We renamed the react-native-testing-library npm package to @testing-library/react-native, officially joining the "Testing Library" family 🎉.
Features
- [breaking]: prevent firing events on disabled elements (#460)
- [breaking]: rename
ByPlaceholdertoByPlaceholderText(#455) - add
getQueriesForElementalias towithin(#461)
Chore
Docs
v2.2.0
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)