Releases: callstack/react-native-testing-library
Releases · callstack/react-native-testing-library
v9.0.0
What's Changed
- feat(breaking): add text match options a.k.a string precision API by @AugustinLF and @RafikiTiki in #554
- Add v9 release docs by @AugustinLF in #876
Migration guide: https://callstack.github.io/react-native-testing-library/docs/migration-v9
Full Changelog: v8.0.0...v9.0.0
v9.0.0-alpha.0
Features
- breaking: add text match options a.k.a string precision API by @AugustinLF in #554
Please refer to #554 to see what's breaking
Full Changelog: v8.0.0...v9.0.0-alpha.0
v8.0.0
v8.0.0-rc.0
v7.2.0
Features
- support
pointerEventswhen firing events (#655)
Fixes
- display stack trace and code frame for findBy error (#581)
- add
onMoveShouldSetResponderto element enabled checking (#577) - correct TS typings for
debug.shallow(#584) - add container to TypeScript types (#582)
getByDisplayValuenot checking TextInput's defaultValue (#656)
Chore & Maintenance
- restructure ByTestId queries code by predicate type (#608, #654)
- bump React Native to 0.64 RC (#626)
- update React imports (#629)
- adding tests for React Navigation Drawer Navigator (#624)
- update "How Should I Query?" links to use the correct URLs (#580)
Docs
v7.1.0
Features
- export
containerfrom render (#567) - add the value expected in getBy error messages (#550)
- support 'editable' prop on
TextInput(#517) - RegExp support for
ByTestIdqueries (#535)
Fixes
- non-responder wrapping host elements ignore disabled prop (#572)
Docs
- fix typos/grammar (#575, #551)
- port 'How Should I Query?' guide from Native Testing Library (#555)
- adjust
ByTestIdmisleading warnings; add guidelines aboutaccessibilityHint(#542) - update scroll event api for flat list (#519)
- clarify waitFor documentation in regards to timer mocks (#538, #540)
- add note to v7 migration guide about
baseElementremoved from render (#533)
Chore & Maintenance
v7.0.2
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)