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

Merged
merged 13 commits into from
Apr 24, 2025

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 #61956

Run Properties:  status check passed Passed #61956  •  git commit cb9eca5ae4: fix failing handler test
Project cypress
Branch Review breaking/remove_angular_17_cursor
Run status status check passed Passed #61956
Run duration 15m 39s
Commit git commit cb9eca5ae4: fix failing handler test
Committer AtofStryker
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
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 794
View all changes introduced in this branch ↗︎
UI Coverage  63.22%
  Untested elements 30  
  Tested elements 55  
Accessibility  96.19%
  Failed rules  0 critical   4 serious   1 moderate   0 minor
  Failed elements 196  

@jennifer-shehane
Copy link
Member

@AtofStryker There's some tests failing here.

@AtofStryker AtofStryker added npm: @cypress/angular @cypress/angular package issues Cypress 15 labels Apr 23, 2025
@AtofStryker AtofStryker merged commit 971b7ae into release/15.0.0 Apr 24, 2025
133 checks passed
@AtofStryker AtofStryker deleted the breaking/remove_angular_17_cursor branch April 24, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cypress 15 npm: @cypress/angular @cypress/angular package issues type: breaking change Requires a new major release version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants