Skip to content

Releases: callstack/react-native-testing-library

v1.13.0

18 Mar 16:31
Compare
Choose a tag to compare

Deprecations

In preparations to v2 release, we decided to mark some APIs as deprecated or unsafe.

  • deprecate shallow (#264)
  • alias ByProps and ByType queries with UNSAFE_ (#261) – we consider removing these APIs in the future, but it's not decided yet

Features

  • add ByA11yValue queries (#262)
  • add ByA11yState queries (#260)

Fixes

  • more robust null/undefined check for text children in getByText (#239)

Docs

  • add new a11y queries and prepare for 2.x (#263)
  • add DocSearch as recommended by Docusaurus. (#254)
  • clarify how queryBy behaves (#251)

v1.12.0

16 Dec 10:03
Compare
Choose a tag to compare

1.12.0 (2019-12-16)

Features

v1.11.1

17 Jul 10:12
Compare
Choose a tag to compare

Fixes

  • correct Flow and TS typings for a11y queries (#205)

Chore & Maintenance

  • make sure we support React Native 0.60 (#204)

v1.11.0

16 Jul 14:25
Compare
Choose a tag to compare

Features

  • support multiple params in event handlers (#203)

v1.10.0

16 Jul 14:25
Compare
Choose a tag to compare

Features

  • add getAllByTestId and queryAllByTestId queries (#198)

v1.9.1

10 Jun 16:26
Compare
Choose a tag to compare

Features

  • implement ByDisplayValue queries (#190)

v1.8.0

29 May 07:31
Compare
Choose a tag to compare

1.8.0 (2019-05-29)

Features

v1.7.0

09 Apr 13:40
Compare
Choose a tag to compare

Features

  • support custom events that do not start with "on" in fireEvent (#147) (8984abb)

v1.6.2

03 Apr 07:13
Compare
Choose a tag to compare

Fixes

Docs

  • provide example for componentDidMount (#144) (859e29c)

1.6.1

18 Mar 15:30
Compare
Choose a tag to compare

Fixes

  • Allow for text to match children who are composed as array (#132) (97ab842)

Docs

  • remove misleading recommendation to use shallow in snapshot tests (#128) (09f9b9f)
  • simple -> lightweight in README (f988c3c)

Chore & Maintenance

  • remove excess badges that have GH support (3e73d6f)
  • update flow-bin to the latest version 🚀 (#133) (30fcce5)
  • update @callstack/eslint-config to the latest version 🚀 (#134) (abd1f82)
  • update react-native to the latest version 🚀 (#130) (ce3bf28)