Skip to content

breaking: (@cypress/angular) bump minimum zone.js to 0.14.0 #31582

Closed
@AtofStryker

Description

@AtofStryker

Background

The @cypress/angular package currently includes a workaround for a zone.js regression (see #23409) where it.skip was not properly patched in zone.js v0.11.5. This regression was fixed in zone.js 0.13.1 as documented in angular/angular#46297.

Proposed Change

We should bump the minimum required zone.js version to 0.14.0 in @cypress/angular. This would allow us to:

  1. Remove the workaround code added in it.skip not working in Angular component test #23409
  2. Ensure users get the fixed version of zone.js
  3. Stay current with Angular's ecosystem

Breaking Change

This would be a breaking change for any projects using zone.js < 0.14.0 with @cypress/angular. However, given that:

  • The fix has been available since zone.js 0.13.1
  • Angular itself has moved forward with newer zone.js versions
  • This removes technical debt from our codebase

The benefits outweigh the migration cost for users.

Implementation Steps

  1. Update minimum zone.js version in package.json
  2. Remove the workaround code added in it.skip not working in Angular component test #23409
  3. Update documentation to reflect the new requirement
  4. Add a note in the changelog about this breaking change

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions