Skip to content

breaking: remove Angular 17 support #31446

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

Open
wants to merge 5 commits into
base: release/15.0.0
Choose a base branch
from

Conversation

AtofStryker
Copy link
Contributor

@AtofStryker AtofStryker commented Apr 3, 2025

Description

This PR removes support for Angular 17 as part of our ongoing maintenance and support strategy. This is a breaking change that affects users of the @cypress/angular package.

Changes

  • Removed Angular 17 from supported versions
  • Updated minimum version requirements to Angular 18 and 19
  • Updated project configurations and dependencies
  • Updated documentation and changelog

Breaking Changes

  • The @cypress/angular package no longer supports Angular 17
  • Users must upgrade to Angular 18 or 19 to continue using Cypress with Angular

Migration Steps

Users currently using Angular 17 with Cypress should:

  1. Upgrade their Angular project to version 18 or 19
  2. Update their Cypress configuration if necessary
  3. Run their test suite to ensure compatibility

Related Issues

Testing

  • Verified changes in Angular 18 projects
  • Verified changes in Angular 19 projects
  • Updated documentation reflects new version requirements
  • Changelog entries are accurate and complete

Additional Notes

  • This change aligns with Angular's support lifecycle
  • Users are encouraged to upgrade to the latest supported Angular version for best compatibility and security

Tests have been removed related to Angular 17. Documentation updates for Cypress 15 can be found in this PR

@AtofStryker AtofStryker force-pushed the breaking/remove_angular_17_cursor branch 5 times, most recently from e1def53 to dce2f6e Compare April 3, 2025 22:23
BREAKING CHANGE: Removed support for Angular 17. Only Angular 18 and 19 are now supported. This change affects the @cypress/angular package. Addresses #31303.
@AtofStryker AtofStryker force-pushed the breaking/remove_angular_17_cursor branch 3 times, most recently from cca72cd to aa36f04 Compare April 3, 2025 22:32
@AtofStryker AtofStryker force-pushed the breaking/remove_angular_17_cursor branch from aa36f04 to 93b6ba4 Compare April 3, 2025 22:33
@jennifer-shehane jennifer-shehane added the type: breaking change Requires a new major release version label Apr 4, 2025
@AtofStryker
Copy link
Contributor Author

@jennifer-shehane this really should be a WIP but I was trying to figure out how to kick off CI with cursor. As it stands the cursor agent wrote this whole PR 😬

@AtofStryker AtofStryker requested a review from Copilot April 4, 2025 18:52
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 16 out of 21 changed files in this pull request and generated no comments.

Files not reviewed (5)
  • npm/angular/package.json: Language not supported
  • npm/cypress-schematic/package.json: Language not supported
  • system-tests/projects/angular-17/angular.json: Language not supported
  • system-tests/projects/angular-17/package.json: Language not supported
  • system-tests/projects/angular-signals/package.json: Language not supported
Comments suppressed due to low confidence (1)

system-tests/projects/angular-signals/src/signals-complex/signals-complex.component.ts:29

  • The updated comment is now ambiguous regarding the affected Angular version. Since Angular 17 is no longer supported, consider clarifying the comment to indicate whether this bug pertains to older Angular versions or removing the version-specific note altogether.
// there is a bug in Angular that doesn't rerender the signal when set outside the component context

Copy link

cypress bot commented Apr 4, 2025

cypress    Run #61883

Run Properties:  status check failed Failed #61883  •  git commit 9306c48553: Merge branch 'release/15.0.0' of github.com:cypress-io/cypress into breaking/rem...
Project cypress
Branch Review breaking/remove_angular_17_cursor
Run status status check failed Failed #61883
Run duration 20m 29s
Commit git commit 9306c48553: Merge branch 'release/15.0.0' of github.com:cypress-io/cypress into breaking/rem...
Committer AtofStryker
View all properties for this run ↗︎

Test results
Tests that failed  Failures 4
Tests that were flaky  Flaky 2
Tests that did not run due to a developer annotating a test with .skip  Pending 29
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 788
View all changes introduced in this branch ↗︎
UI Coverage  64.37%
  Untested elements 29  
  Tested elements 56  
Accessibility  96.16%
  Failed rules  0 critical   4 serious   1 moderate   0 minor
  Failed elements 196  

Tests for review

Failed  cypress\e2e\project-setup.cy.ts • 1 failed test • launchpad-e2e

View Output

Test Artifacts
Launchpad: Setup Project > switch testing types > takes the user to first step of ct setup when switching from app Test Replay Screenshots
Failed  cypress\e2e\slow-network.cy.ts • 1 failed test • launchpad-e2e

View Output

Test Artifacts
slow network: launchpad > loads through to the browser screen when the network is slow Test Replay Screenshots
Failed  cypress\e2e\runner\ct-framework-errors.cy.ts • 1 failed test • app-e2e

View Output

Test Artifacts
Angular 17 > error conditions Test Replay Screenshots
Failed  cypress\e2e\studio\studio.cy.ts • 1 failed test • app-e2e

View Output

Test Artifacts
Cypress Studio > does not create a new test if the Save test modal is closed Test Replay Screenshots
Flakiness  cypress\e2e\runner\ct-framework-errors.cy.ts • 1 flaky test • app-e2e

View Output

Test Artifacts
Next.js > error conditions Test Replay Screenshots
Flakiness  cypress\e2e\studio\studio.cy.ts • 1 flaky test • app-e2e

View Output

Test Artifacts
Cypress Studio > does not remove the studio url parameters if saving fails Test Replay Screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: breaking change Requires a new major release version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants