Skip to content

@kentcdodds kentcdodds released this Apr 25, 2019 · 4 commits to master since this release

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.
Assets 2
You can’t perform that action at this time.