Skip to content

Releases: callstack/react-native-testing-library

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

v11.5.0

17 Nov 12:23
Compare
Choose a tag to compare

Features

  • includeHiddenElements query option to include/exclude elements hidden by accessibility by @MattAgn in #1064
  • value option for *ByRole query by @mdjastrzebski in #1210

Bug fixes

  • *ByText is now able to match text across nested Text components by @mdjastrzebski in #1222
    • If your tests relied on undocumented behavior of *ByText queries only matching non-nested text content, then you might need to update them, e.g. by using { exact: false } query option.

Other

  • improved naming inInaccessible helper -> isHiddenFromAccessibility (old name still available as RTL-compat alias) by @mdjastrzebski in #1211
  • hidden query option alias for includeHiddenElements by @MattAgn in #1220

Full Changelog: v11.4.0...v11.5.0

v11.4.0

03 Nov 12:18
Compare
Choose a tag to compare

What's Changed

Features

Bug fixes

Other

New Contributors 👏

Full Changelog: v11.3.0...v11.4.0

v11.3.0

20 Oct 12:56
Compare
Choose a tag to compare

What's Changed

Features

Fixes

Other

New Contributors 👏

Full Changelog: v11.2.0...v11.3.0

v11.2.0

26 Sep 10:21
fa21fc5
Compare
Choose a tag to compare

What's Changed

New Features

Chores

New Contributors 👏🏻

Full Changelog: v11.1.0...v11.2.0