Merge branch 'remove-migration' of https://github.com/cypress-io/cypress into remove-migration

This commit is contained in:
Jennifer Shehane
2025-05-05 11:58:02 -04:00
5 changed files with 7 additions and 12 deletions

View File

@@ -6,6 +6,7 @@ _Released 07/01/2025 (PENDING)_
**Breaking Changes:**
- Removed support for Angular 17. The minimum supported version is now `18.0.0`. Addresses [#31303](https://github.com/cypress-io/cypress/issues/31303).
- `@cypress/angular` now requires a minimum of `zone.js` `0.14.0`. Addresses [#31582](https://github.com/cypress-io/cypress/issues/31582).
- Removed support for Node.js 18 and Node.js 23. Addresses [#31302](https://github.com/cypress-io/cypress/issues/31302).
- Removed support for [Chrome DevTools Protocol](https://chromedevtools.github.io/devtools-protocol) with the [firefox](https://www.mozilla.org/) browser. Addresses [#31189](https://github.com/cypress-io/cypress/issues/31189).
- Removed support of the deprecated 3 argument signature of `cy.stub`. Use `cy.stub(object, name).callsFake(fn)` instead. Addresses [#31346](https://github.com/cypress-io/cypress/issues/31346).

View File

@@ -26,7 +26,7 @@
"@angular/core": ">=18.0.0",
"@angular/platform-browser-dynamic": ">=18.0.0",
"rxjs": ">=7.5.0",
"zone.js": ">=0.13.0"
"zone.js": ">=0.14.0"
},
"files": [
"dist"

View File

@@ -123,12 +123,6 @@ export type MountResponse<T> = {
component: T
};
// 'zone.js/testing' is not properly aliasing `it.skip` but it does provide `xit`/`xspecify`
// Written up under https://github.com/angular/angular/issues/46297 but is not seeing movement
// so we'll patch here pending a fix in that library
// @ts-ignore Ignore so that way we can bypass semantic error TS7017: Element implicitly has an 'any' type because type 'typeof globalThis' has no index signature.
globalThis.it.skip = globalThis.xit
@Injectable()
class CypressAngularErrorHandler implements ErrorHandler {
handleError (error: Error): void {

View File

@@ -95,7 +95,7 @@
"vite": "^5.4.18",
"vitest": "^2.1.8",
"webpack": "^5.88.2",
"zone.js": "0.9.0"
"zone.js": "0.15.0"
},
"files": [
"patches"

View File

@@ -32645,10 +32645,10 @@ zod@^3.22.5:
resolved "https://registry.yarnpkg.com/zod/-/zod-3.22.5.tgz#b9b09db03f6700b0d0b75bf0dbf0c5fc46155220"
integrity sha512-HqnGsCdVZ2xc0qWPLdO25WnseXThh0kEYKIdV5F/hTHO75hNZFp8thxSeHhiPrHZKrFTo1SOgkAj9po5bexZlw==
zone.js@0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.9.0.tgz#f42319d657f7616724ed40c5907d4614b4c683fa"
integrity sha512-EfygvVnLxPSCMSgJ4h7SoY+XNr7ybdwvvwEQ70lvMFl9coNnciXSyWi8Kg6znK1ubyUSffkCKvleSQpLuUKw0Q==
zone.js@0.15.0:
version "0.15.0"
resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.15.0.tgz#4810624e58d6dcf7b8379c1631765589917a0d8f"
integrity sha512-9oxn0IIjbCZkJ67L+LkhYWRyAy7axphb3VgE2MBDlOqnmHMPWGYMxJxBYFueFq/JGY2GMwS0rU+UCLunEmy5UA==
zone.js@~0.14.6:
version "0.14.6"