Skip to content

Releases: testing-library/dom-testing-library

v5.0.0

30 May 17:34
Compare
Choose a tag to compare

5.0.0 (2019-05-30)

Bug Fixes

  • release: manually release a major version (a646246), closes #260

BREAKING CHANGES

  • release: You must switch from dom-testing-library to @testing-library/dom

🚨🚨🚨🚨

Find/replace dom-testing-library for @testing-library/dom and upgrade to v5

Also, if you're using the UMD file, the file has changed to dist/@testing-library/dom.umd.js and the global variable is now on window.TestingLibraryDom.

🚨🚨🚨🚨

v4.2.0

30 May 17:25
Compare
Choose a tag to compare

4.2.0 (2019-05-30)

Features

  • initial release of the scoped package (7639e74), closes #260

v4.1.1

23 May 00:32
Compare
Choose a tag to compare

4.1.1 (2019-05-23)

Bug Fixes

  • events: add selection-related properties to target (#264) (075e682)

v4.1.0

12 May 19:04
Compare
Choose a tag to compare

4.1.0 (2019-05-12)

Features

  • add createEvent that returns the created Event (#258) (0e7d99e)

v4.0.1

30 Apr 13:26
Compare
Choose a tag to compare

4.0.1 (2019-04-30)

Bug Fixes

  • TS: add waitForElementToBeRemoved to index typings (#254) (dbc3c9b)

v4.0.0

25 Apr 20:37
Compare
Choose a tag to compare

4.0.0 (2019-04-25)

Bug Fixes

BREAKING CHANGES

We try to keep breaking changes to a minimum. This release only has two breaking changes. One is removal of deprecated methods you probably weren't using anyway, and the other reveals potential bugs in your tests. So you should be able to upgrade to this version with little-to-no effort.

  • getBy:* All getBy and findBy query variants now will throw an error if more than one element is returned. If this is expected, then use getAllBy (or findAllBy) instead.
  • This removes the deprecated queries ByValue and BySelectText. Use ByDisplayValue instead.

v3.19.4

25 Apr 02:41
dea7b7b
Compare
Choose a tag to compare

3.19.4 (2019-04-25)

Bug Fixes

v3.19.3

17 Apr 18:06
Compare
Choose a tag to compare

3.19.3 (2019-04-17)

Bug Fixes

  • TS: make type parameter more specific (#247) (02865f1)

v3.19.2

17 Apr 14:41
Compare
Choose a tag to compare

3.19.2 (2019-04-17)

Bug Fixes

  • fireEvent: accept window for fireEvent shortcuts (caffc56), closes #165
  • TS: fix typings of getQueriesForElement (#246) (8b3f767)

v3.19.1

12 Apr 23:06
Compare
Choose a tag to compare

3.19.1 (2019-04-12)

Bug Fixes

  • TS: findBy* typings: Remove Error as a possible return value (#239) (e37d1f4)