Skip to content

Releases: callstack/react-native-testing-library

v12.1.0

28 Apr 10:05
Compare
Choose a tag to compare

What's Changed

Improvements

Bugfixes

New Contributors

Chores, docs, deps, etc

Full Changelog: v12.0.1...v12.1.0

v12.0.1

23 Mar 09:53
Compare
Choose a tag to compare

What's Changed

Bugfixes

  • Flush all pending microtasks and updates before returning from waitFor by @jsnajdr in #1366
  • Render host component name detection tree inside act to avoid timer leaks by @jsnajdr in #1371

New Contributors 👏

Full Changelog: v12.0.0...v12.0.1

v12.0.0

15 Mar 08:47
Compare
Choose a tag to compare

What's Changed

We have prepared v12 migration guide.

Breaking changes

  1. All queries exclude elements hidden from accessibility by default
  2. *ByRole queries now return only accessibility elements
  3. *ByText, *ByDisplayValue, *ByPlaceholderText queries now return host elements
  4. container API has been renamed to UNSAFE_root, added safe root API

Full Changelog

v11.5.4...v12.0.0

v11.5.4

08 Mar 14:00
Compare
Choose a tag to compare

What's Changed

Bug fixes

  • fix: disable container deprecation warning triggered by rest destructuring operator on render result by @mdjastrzebski in #1362

Full Changelog: v11.5.3...v11.5.4

v11.5.3

07 Mar 07:07
Compare
Choose a tag to compare

What's Changed

Bugfixes

  • fix type issues for AccessibilityState when using skipLibCheck: false resulting from migration from @types/react-native to internal react-native types (#1355) by @mdjastrzebski in #1361

Full Changelog: v11.5.2...v11.5.3

v12.0.0 RC 2

03 Mar 17:04
Compare
Choose a tag to compare
v12.0.0 RC 2 Pre-release
Pre-release

What's Changed (v12 major release)

We have prepared v12 migration guide.

Breaking changes

  1. All queries exclude elements hidden from accessibility by default
  2. *ByRole queries now return only accessibility elements
  3. *ByText, *ByDisplayValue, *ByPlaceholderText queries now return host elements
  4. container API has been renamed to UNSAFE_root, added safe root API

Full Changelog

v11.5.2...v12.0.0-rc.1

Changes from v12.0.0 RC 1 to RC 2

Fixes

  • fix: resolve AccessibilityState import issue due to types migration to react-native package by @mdjastrzebski in #1355

RC 2 Changelog

v12.0.0-rc.1...v12.0.0-rc.2

v12.0.0 RC 1

01 Mar 10:40
Compare
Choose a tag to compare
v12.0.0 RC 1 Pre-release
Pre-release

What's Changed (v12 major release)

We have prepared v12 migration guide.

Breaking changes

  1. All queries exclude elements hidden from accessibility by default
  2. *ByRole queries now return only accessibility elements
  3. *ByText, *ByDisplayValue, *ByPlaceholderText queries now return host elements
  4. container API has been renamed to UNSAFE_root, added safe root API

Full Changelog

v11.5.2...v12.0.0-rc.1

Changes from v12.0.0 RC 0 to RC 1

Fixes

Others

  • docs tweaks

RC 1 Changelog

v12.0.0-rc.0...v12.0.0-rc.1

v12.0.0 RC 0

20 Feb 17:06
Compare
Choose a tag to compare
v12.0.0 RC 0 Pre-release
Pre-release

What's Changed

We have prepared v12 migration guide.

Breaking changes

  1. All queries exclude elements hidden from accessibility by default
  2. *ByRole queries now return only accessibility elements
  3. *ByText, *ByDisplayValue, *ByPlaceholderText queries now return host elements
  4. container API has been renamed to UNSAFE_root, added safe root API

Full Changelog

https://github.com/callstack/react-native-testing-library/compare/v11.5.2...v11.5.2...v12.0.0-rc.0

v11.5.2

08 Feb 14:13
Compare
Choose a tag to compare

What's Changed

Fixes

Other

Full Changelog: v11.5.1...v11.5.2

v11.5.1

26 Jan 21:43
Compare
Choose a tag to compare

What's Changed

Improvements

  • support accessibilityLabelledBy in *ByLabelText queries by @pafry7 in #1191

Fixes

New Contributors

Full Changelog: v11.5.0...v11.5.1