Releases: callstack/react-native-testing-library
Releases · callstack/react-native-testing-library
v10.0.0
Features
- feat(breaking): migrate Flow to TS; remove some deprecated functions and aliases by @AugustinLF in #881
- feat: add renderHook function by @pierrezimmermannbam in #923
Fixes
- fix(docs): links in API.md by @helenaford in #958
- fix: missing jsx/tsx in build by @carlosdp in #957
- Fix QuestionsBoard example url by @raghavyadavm in #968
Chore & Maintenance
- docs(renderHook): remove references to error and all from renderHook API by @mpeyper in #963
- Update GettingStarted.md by @nirajniroula in #954
- docs: fix typo in redux integration by @rvasseur31 in #976
- docs: table of contents for Queries and API pages by @mdjastrzebski in #980
- docs: add FAQ page and native features question by @mdjastrzebski in #979
- refactor: re-organise regular (non A11y) queries by predicate by @mdjastrzebski in #965
New Contributors
- @nirajniroula made their first contribution in #954
- @helenaford made their first contribution in #958
- @carlosdp made their first contribution in #957
- @mpeyper made their first contribution in #963
- @raghavyadavm made their first contribution in #968
- @rvasseur31 made their first contribution in #976
Full Changelog: v9.1.0...v10.0.0
v9.1.0
What's Changed
- feat: adds onTimeout option to waitFor by @jmbeach in #885
- feat: allow getByText and queryByText to find text nested in fragments by @pierrezimmermannbam in #934
- docs: add doc on compatibility with eslint-plugin-testing-library by @pierrezimmermannbam in #884
- docs: fix textmatch broken link by @gkartalis in #903
New Contributors
- @pierrezimmermannbam made their first contribution in #884
- @jmbeach made their first contribution in #885
- @gkartalis made their first contribution in #903
Full Changelog: v9.0.0...v9.1.0
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
pointerEvents
when firing events (#655)
Fixes
- display stack trace and code frame for findBy error (#581)
- add
onMoveShouldSetResponder
to element enabled checking (#577) - correct TS typings for
debug.shallow
(#584) - add container to TypeScript types (#582)
getByDisplayValue
not 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
container
from render (#567) - add the value expected in getBy error messages (#550)
- support 'editable' prop on
TextInput
(#517) - RegExp support for
ByTestId
queries (#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
ByTestId
misleading 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
baseElement
removed from render (#533)