Skip to content

v4.0.0

Compare
Choose a tag to compare
@kentcdodds kentcdodds released this 25 Apr 20:37

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.