Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for older versions of Angular in relation to Component Testing #29582

Closed
AtofStryker opened this issue May 28, 2024 · 2 comments · Fixed by #30539, cypress-io/cypress-documentation#5983 or cypress-io/cypress-component-testing-apps#31
Assignees
Labels
CT Issue related to component testing Cypress 14 Issues scoped for Cypress 14 npm: @cypress/angular @cypress/angular package issues type: breaking change Requires a new major release version

Comments

@AtofStryker
Copy link
Contributor

What would you like?

With the next major version of Cypress, I would like to remove support for Angular CT versions 13 through 16

Why is this needed?

Angular at time of writing is on version 18. Cypress makes an effort to support the latest two versions of any component framework. As technology advances while we update Cypress, it will become harder and harder to support older versions of component frameworks. It is also a lot of overhead for us to maintaining system tests for every version of a given framework

Other

We might consider deprecating support first, but more conversation is needed

@AtofStryker AtofStryker added type: breaking change Requires a new major release version npm: @cypress/angular @cypress/angular package issues CT Issue related to component testing labels May 28, 2024
@MikeMcC399
Copy link
Contributor

@AtofStryker

I suggest to align with https://angular.dev/reference/releases and remove support for Angular 13-15, since Angular itself no longer considers these versions as supported.

If the next major version of Cypress is released after 2024-11-08, then Angular 16 would also be a candidate for removal from Cypress support for the same reasons.

image

@jennifer-shehane jennifer-shehane added the Cypress 14 Issues scoped for Cypress 14 label Sep 27, 2024
@jennifer-shehane jennifer-shehane moved this from Understanding to Designing / Scoping in Cypress App Priorities Oct 11, 2024
@MikeMcC399
Copy link
Contributor

The npm package @cypress/schematic is related and currently states it requires Angular 14+.

If support for older Angular versions is removed, then this also impacts @cypress/schematic , which should probably also be updated similarly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CT Issue related to component testing Cypress 14 Issues scoped for Cypress 14 npm: @cypress/angular @cypress/angular package issues type: breaking change Requires a new major release version
Projects
Status: Generally Available
3 participants