Releases: callstack/react-native-testing-library
Releases · callstack/react-native-testing-library
v13.1.1
v13.1.0
v13.0.1
v13.0.0
13.0.0 (2025-01-03)
Important Changes
- Enabled concurrent rendering by default
- Automatically extend Jest matchers, you no longer need to import
@testing-library/react-native/extend-expect. Importing@testing-library/react-nativewill be enough. - Removed host component name auto-detection. Your tests should run faster.
Removed
*ByA11yStatequeries have been removed use*ByRolequeries ortoHaveAccessibilityStatematcher instead*ByA11yValuequeries have been removed use*ByRolequeries ortoHaveAccessibleValuematcher instead- Removed support for React 16 & 17. Supports React 18 and 19.
- Removed
debug.shallowmethod - Removed
@testing-library/react-nativeJest preset (useful for React 17). Just use regularreact-nativeJest preset.
Other changes (should have no visible effects):
- new implementation of
flushMicrotaskQueue - slightly different way to calculate a11y labels
- uses React's implementation of
actinstead of React Test Renderer's
v13.0.0-rc.0
13.0.0-rc.0 (2024-12-13)
Important Changes
- Enabled concurrent rendering by default
- Automatically extend Jest matchers, you no longer need to import
@testing-library/react-native/extend-expect. Importing@testing-library/react-nativewill be enough. - remove host component name auto-detection. Test should run faster.
Removed
*ByA11yStatequeries have been removed use*ByRolequeries ortoHaveAccessibilityStatematcher instead*ByA11yValuequeries have been removed use*ByRolequeries ortoHaveAccessibleValuematcher instead- Removed support for React 16 & 17. Supports React 18 and 19.
- Removed
debug.shallowmethod - Removed
@testing-library/react-nativeJest preset (useful for React 17). Just use regularreact-nativeJest preset.
Other changes (should have no visible effects):
- new implementation of
flushMicrotaskQueue - slightly different way to calculate a11y labels
- uses React's implementation of
actinstead of React Test Renderer's
v12.9.0
v14.0.0-alpha.0
14.0.0-alpha.0 (2024-11-20)
This is the early alpha of RNTL v14 using universal-test-renderer instead of deprecated react-test-renderer.
✨ Features
- transition to
universal-test-renderertest renderer (c321efd)
v13.0.0-beta.0
13.0.0-beta.0 (2024-11-12)
Removed:
*ByA11yStatequeries have been removed use*ByRolequeries ortoHaveAccessibilityStatematcher instead*ByA11yValuequeries have been removed use*ByRolequeries ortoHaveAccessibleValuematcher instead- Removed support for React 16 & 17. Supports React 18 and 19.
- Removed
debug.shallowmethod - Removed
@testing-library/react-nativeJest preset (useful for React 17). Just use regularreact-nativeJest preset.
Important Changes:
- Enabled concurrent rendering by default
- Automatically extend Jest matchers, you no longer need to import
@testing-library/react-native/extend-expect. Importing@testing-library/react-nativewill be enough. - remove host component name auto-detection. Test should run faster.
Other changes (should have no visible effects):
- new implementation of
flushMicrotaskQueue - slightly different way to calculate a11y labels
- uses React's implementation of
actinstead of React Test Renderer's
No externally visible changes since 13.0.0.-alpha.2.
v13.0.0-alpha.2
13.0.0-alpha.2 (2024-11-07)
✂️ Removed
- remove Jest preset by @mdjastrzebski in #1700
Full Changelog: v13.0.0-alpha.1...v13.0.0-alpha.2