Releases: testing-library/cypress-testing-library
Releases · testing-library/cypress-testing-library
v7.0.0-beta.2
7.0.0-beta.2 (2020-09-03)
Bug Fixes
BREAKING CHANGES
get
andquery
queries (which have been deprecated) have now been removed. Usefind
queries only.
v7.0.0-beta.1
7.0.0-beta.1 (2020-08-22)
Features
BREAKING CHANGES
- TS: TypeScript type definitions have been brought into this module and no longer needs to be referenced from DefinitelyTyped
v6.1.0-beta.1
v6.0.1
v6.0.0
6.0.0 (2020-03-12)
BREAKING CHANGES
Update DOM Testing Library
The latest version of DOM Testing Library has several breaking changes you will want to review the changelog of DOM Testing Library v7.0.0 to ensure you are unaffected.
Drop Node 8
Node 10 or greater is required. Node 8 is out of LTS (6cdcfc2), closes #113
Remove query*
queries.
We now throw an error instead. Fixing requires updating all query*
to find*
queries. In practice this means replacing cy.query
with cy.find
. remove deprecated query*
queries (#130) (ee75c14)
Remove fallback that retries chained query that assumes no previous subject.
In practice this means starting new chains if no previous subject is required.
cy.findByText('Foo').click()
- .findByText('Bar').click() // Element with 'Bar' text is not a child of an element with 'Foo' text
+ cy.findByText('Bar').click()
v5.3.1
v6.0.0-beta.1
6.0.0-beta.1 (2020-03-04)
Bug Fixes
Features
- update DOM Testing Library to latest (06be329)
BREAKING CHANGES
- node: Node 10 or greater is now required to use this package
- This updates @testing-library/dom, please check the changelog for the most recent version of that package to know whether you are impacted by these changes.
v5.3.0
v5.2.1
5.2.1 (2020-02-03)
Bug Fixes
- set previous subject to be optional (#115) (93e6d5c), closes testing-library/cypress-testing-library#114