Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Releases: testing-library/native-testing-library

v4.0.1

30 May 18:39
Compare
Choose a tag to compare

4.0.1 (2019-05-30)

Bug Fixes

  • move back to semantic release (f12a584)

v4.0.0

30 May 18:42
Compare
Choose a tag to compare

4.0.0 (2019-05-30)

Features

  • initial release of scoped package

BREAKING CHANGES

🚨🚨🚨🚨

Find/replace native-testing-library for @testing-library/react-native and upgrade to v4

🚨🚨🚨🚨

v3.1.2

23 May 03:59
Compare
Choose a tag to compare

3.1.2 (2019-05-23)

Bug Fixes

  • events: add picker events to the event map (c746596)

v3.1.1

21 May 21:53
Compare
Choose a tag to compare

3.1.1 (2019-05-21)

Bug Fixes

  • correct return types for query methods. (#21) (ef179c4), closes #20

v3.1.0

21 May 02:08
b8e3ca8
Compare
Choose a tag to compare

3.1.0 (2019-05-21)

Features

  • cleanup: add after each cleanup helper (#19) (b8e3ca8)

v3.0.0

16 May 02:29
Compare
Choose a tag to compare

3.0.0 (2019-05-16)

Bug Fixes

  • getBy:* throw an error if more than one element is found (#7) (ebd4410)
  • add regression test for custom queries (8750ccf)
  • add wait-for-element-to-be-removed to index.d.ts (06c106e)
  • change mock to doMock (5707853)
  • change node filter params (55ce35c)
  • change the way event bubbling works (bc6913b)
  • change the way mocks work (9eac5ba)
  • jest preset was not working (623345f)

Documentation

Features

  • queries: throw when multiple elements are returned from getBy (61895c9)
  • add asFragment to the API (4980ac2)
  • add SafeAreaView to mocks (bce8162)
  • build custom toJSON (a6192db)
  • change the mocked core components (#10) (d377026)
  • decouple lib from preset (d2bd926)
  • include jest serializer (c5364a8)
  • mostly the same api as DTL (6faa701)
  • only traverse valid parents and children (bcde7d7)
  • prepare rc.1 (11b7b1d)

BREAKING CHANGES

  • Release 3.0.0 adds exciting new features like a bundled jest preset, and aligns
    more closely to the testing-library guiding principles.
  • getBy:* queryBy and getBy now throw when multiple elements are returned and prompt users to use other queries if multiple results were intentional. This was done to remain in feature parity with dom-testing-library.
  • queries: queryBy and getBy now throw when multiple elements are returned and prompt
    users to use other queries if multiple results were intentional. This was done to remain in feature
    parity with dom-testing-library.

v2.1.0

05 May 04:15
Compare
Choose a tag to compare

2.1.0 (2019-05-05)

Features

  • make render return bound queries passed as options (#16) (19e2deb), closes #15

v2.0.1

05 May 01:01
Compare
Choose a tag to compare

2.0.1 (2019-05-05)

Bug Fixes

  • update type for normalizer filter function (#13) (910bcfc)

v2.0.0

25 Apr 20:41
49f2b0d
Compare
Choose a tag to compare

2.0.0 (2019-04-25)

Bug Fixes

  • getBy:* throw an error if more than one element is found (49f2b0d)

BREAKING CHANGES

  • getBy:* queryBy and getBy now throw when multiple elements are returned and prompt users to use other queries if multiple results were intentional. This was done to remain in feature parity with dom-testing-library

v1.7.0

15 Apr 23:30
Compare
Choose a tag to compare

1.7.0 (2019-04-15)

Features

  • add TypeScript type declarations (#5) (7d5057a), closes #2