Releases: testing-library/dom-testing-library
Releases · testing-library/dom-testing-library
v5.0.0
5.0.0 (2019-05-30)
Bug Fixes
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
v4.1.1
v4.1.0
v4.0.1
v4.0.0
4.0.0 (2019-04-25)
Bug Fixes
- remove deprecated queries (#228) (253d677), closes #223
- getBy:* throw an error if more than one element is found (#229) (7f8c100), closes #202
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
andfindBy
query variants now will throw an error if more than one element is returned. If this is expected, then usegetAllBy
(orfindAllBy
) instead. - This removes the deprecated queries
ByValue
andBySelectText
. UseByDisplayValue
instead.