Skip to content

Commit e1def53

Browse files
committed
breaking: remove Angular 17 support
BREAKING CHANGE: Removed support for Angular 17. Only Angular 18 and 19 are now supported. This change affects the @cypress/angular package. Addresses #31303.
1 parent b606540 commit e1def53

File tree

21 files changed

+15929
-23605
lines changed

21 files changed

+15929
-23605
lines changed

cli/CHANGELOG.md

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
<!-- See the ../guides/writing-the-cypress-changelog.md for details on writing the changelog. -->
2+
## 15.0.0
3+
4+
_Released 7/1/2025 (PENDING)_
5+
6+
**Breaking Changes:**
7+
8+
- Removed support for Angular 17. Only Angular 18 and 19 are now supported. This change affects the `@cypress/angular` package. Addresses [#31303](https://github.com/cypress-io/cypress/issues/31303).
9+
210
## 14.1.1
311

4-
_Released 3/11/2025 (PENDING)_
12+
_Released 03/11/2025 (PENDING)_
513

614
**Dependency Updates:**
715

@@ -47,7 +55,7 @@ _Released 2/11/2025_
4755

4856
## 14.0.2
4957

50-
_Released 2/05/2025_
58+
_Released 2/5/2025_
5159

5260
**Bugfixes:**
5361

@@ -178,7 +186,7 @@ _Released 12/17/2024_
178186

179187
## 13.16.1
180188

181-
_Released 12/03/2024_
189+
_Released 12/3/2024_
182190

183191
**Bugfixes:**
184192

@@ -388,7 +396,7 @@ _Released 7/01/2024_
388396

389397
## 13.12.0
390398

391-
_Released 6/18/2024_
399+
_Released 06/18/2024_
392400

393401
**Features:**
394402

@@ -414,7 +422,7 @@ _Released 6/18/2024_
414422

415423
## 13.11.0
416424

417-
_Released 6/4/2024_
425+
_Released 06/04/2024_
418426

419427
**Performance:**
420428

@@ -437,7 +445,7 @@ _Released 6/4/2024_
437445

438446
## 13.10.0
439447

440-
_Released 5/21/2024_
448+
_Released 05/21/2024_
441449

442450
**Features:**
443451

@@ -458,7 +466,7 @@ _Released 5/21/2024_
458466

459467
## 13.9.0
460468

461-
_Released 5/7/2024_
469+
_Released 05/07/2024_
462470

463471
**Features:**
464472

@@ -481,7 +489,7 @@ _Released 5/7/2024_
481489

482490
## 13.8.1
483491

484-
_Released 4/23/2024_
492+
_Released 04/23/2024_
485493

486494
**Performance:**
487495

@@ -502,7 +510,7 @@ _Released 4/23/2024_
502510

503511
## 13.8.0
504512

505-
_Released 4/18/2024_
513+
_Released 04/18/2024_
506514

507515
**Features:**
508516

@@ -518,7 +526,7 @@ _Released 4/18/2024_
518526

519527
## 13.7.3
520528

521-
_Released 4/11/2024_
529+
_Released 04/11/2024_
522530

523531
**Bugfixes:**
524532

@@ -532,7 +540,7 @@ _Released 4/11/2024_
532540

533541
## 13.7.2
534542

535-
_Released 4/2/2024_
543+
_Released 04/02/2024_
536544

537545
**Performance:**
538546

@@ -551,7 +559,7 @@ _Released 4/2/2024_
551559

552560
## 13.7.1
553561

554-
_Released 3/21/2024_
562+
_Released 03/21/2024_
555563

556564
**Bugfixes:**
557565

@@ -564,7 +572,7 @@ _Released 3/21/2024_
564572

565573
## 13.7.0
566574

567-
_Released 3/13/2024_
575+
_Released 03/13/2024_
568576

569577
**Features:**
570578

@@ -597,15 +605,15 @@ _Released 3/13/2024_
597605

598606
## 13.6.6
599607

600-
_Released 2/22/2024_
608+
_Released 02/22/2024_
601609

602610
**Bugfixes:**
603611

604612
- Fixed an issue where `cypress verify` was failing for `nx` users. Fixes [#28982](https://github.com/cypress-io/cypress/issues/28982).
605613

606614
## 13.6.5
607615

608-
_Released 2/20/2024_
616+
_Released 02/20/2024_
609617

610618
**Bugfixes:**
611619

@@ -631,7 +639,7 @@ _Released 2/20/2024_
631639

632640
## 13.6.4
633641

634-
_Released 1/30/2024_
642+
_Released 01/30/2024_
635643

636644
**Performance:**
637645

@@ -647,7 +655,7 @@ _Released 1/30/2024_
647655

648656
## 13.6.3
649657

650-
_Released 1/16/2024_
658+
_Released 01/16/2024_
651659

652660
**Bugfixes:**
653661

npm/angular/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Mount Angular components in the open source [Cypress.io](https://www.cypress.io/
66
77
## Requirements
88

9-
- Angular 17.2.0+ (Cypress 13 and under supports Angular 13 - 16)
9+
- Angular 18.0.0+ (Cypress 13 and under supports Angular 13 - 16)
1010

1111
## Development
1212

npm/angular/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@
1313
},
1414
"dependencies": {},
1515
"devDependencies": {
16-
"@angular/common": "^17.2.0",
17-
"@angular/core": "^17.2.0",
18-
"@angular/platform-browser-dynamic": "^17.2.0",
16+
"@angular/common": "^18.0.0",
17+
"@angular/core": "^18.0.0",
18+
"@angular/platform-browser-dynamic": "^18.0.0",
1919
"@cypress/mount-utils": "0.0.0-development",
2020
"rollup": "^4.24.4",
2121
"typescript": "~5.4.5",
2222
"zone.js": "~0.14.6"
2323
},
2424
"peerDependencies": {
25-
"@angular/common": ">=17.2",
26-
"@angular/core": ">=17.2",
27-
"@angular/platform-browser-dynamic": ">=17.2",
25+
"@angular/common": ">=18.0.0",
26+
"@angular/core": ">=18.0.0",
27+
"@angular/platform-browser-dynamic": ">=18.0.0",
2828
"rxjs": ">=7.5.0",
2929
"zone.js": ">=0.13.0"
3030
},

npm/cypress-schematic/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
## Requirements
3333

34-
- Angular 17.2.0+ (Cypress 13 and under supports Angular 13 - 16)
34+
- Angular 18.0.0+ (Cypress 13 and under supports Angular 13 - 16)
3535

3636
## Usage ⏯
3737

npm/cypress-schematic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"vitest": "2.1.4"
2828
},
2929
"peerDependencies": {
30-
"@angular/cli": ">=17.2",
31-
"@angular/core": ">=17.2"
30+
"@angular/cli": ">=18.0.0",
31+
"@angular/core": ">=18.0.0"
3232
},
3333
"license": "MIT",
3434
"repository": {

npm/webpack-dev-server/cypress/e2e/angular.cy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import type { ProjectFixtureDir } from '@tooling/system-tests/lib/fixtureDirs'
44

55
const WEBPACK_ANGULAR: ProjectFixtureDir[] = [
6-
'angular-17',
76
'angular-18',
87
'angular-19',
98
]

packages/scaffold-config/src/dependencies.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const WIZARD_DEPENDENCY_ANGULAR_CLI = {
7070
package: '@angular/cli',
7171
installer: '@angular/cli',
7272
description: 'CLI tool that you use to initialize, develop, scaffold, and maintain Angular applications.',
73-
minVersion: '^17.2.0 || ^18.0.0 || ^19.0.0',
73+
minVersion: '^18.0.0 || ^19.0.0',
7474
} as const
7575

7676
export const WIZARD_DEPENDENCY_ANGULAR_DEVKIT_BUILD_ANGULAR = {
@@ -79,7 +79,7 @@ export const WIZARD_DEPENDENCY_ANGULAR_DEVKIT_BUILD_ANGULAR = {
7979
package: '@angular-devkit/build-angular',
8080
installer: '@angular-devkit/build-angular',
8181
description: 'Angular Webpack build facade',
82-
minVersion: '^17.2.0 || ^18.0.0 || ^19.0.0',
82+
minVersion: '^18.0.0 || ^19.0.0',
8383
} as const
8484

8585
export const WIZARD_DEPENDENCY_ANGULAR_CORE = {
@@ -88,7 +88,7 @@ export const WIZARD_DEPENDENCY_ANGULAR_CORE = {
8888
package: '@angular/core',
8989
installer: '@angular/core',
9090
description: 'The core of the Angular framework',
91-
minVersion: '^17.2.0 || ^18.0.0 || ^19.0.0',
91+
minVersion: '^18.0.0 || ^19.0.0',
9292
} as const
9393

9494
export const WIZARD_DEPENDENCY_ANGULAR_COMMON = {
@@ -97,7 +97,7 @@ export const WIZARD_DEPENDENCY_ANGULAR_COMMON = {
9797
package: '@angular/common',
9898
installer: '@angular/common',
9999
description: 'Commonly needed Angular directives and services',
100-
minVersion: '^17.2.0 || ^18.0.0 || ^19.0.0',
100+
minVersion: '^18.0.0 || ^19.0.0',
101101
} as const
102102

103103
export const WIZARD_DEPENDENCY_ANGULAR_PLATFORM_BROWSER_DYNAMIC = {
@@ -106,7 +106,7 @@ export const WIZARD_DEPENDENCY_ANGULAR_PLATFORM_BROWSER_DYNAMIC = {
106106
package: '@angular/platform-browser-dynamic',
107107
installer: '@angular/platform-browser-dynamic',
108108
description: 'Library for using Angular in a web browser with JIT compilation',
109-
minVersion: '^17.2.0 || ^18.0.0 || ^19.0.0',
109+
minVersion: '^18.0.0 || ^19.0.0',
110110
} as const
111111

112112
export const WIZARD_DEPENDENCY_SVELTE: Cypress.CypressComponentDependency = {

system-tests/projects/angular-17/angular.json

Lines changed: 0 additions & 96 deletions
This file was deleted.

system-tests/projects/angular-17/cypress.config.ts

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)