Skip to content

breaking: 15.0.0 Release #31408

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 41 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
24e7689
chore: updating v8 snapshot cache (#31305)
github-actions[bot] Mar 17, 2025
be95849
chore: updating v8 snapshot cache (#31306)
github-actions[bot] Mar 17, 2025
d3353d7
chore: updating v8 snapshot cache (#31307)
github-actions[bot] Mar 17, 2025
a24062b
Merge branch 'develop' into release/15.0.0
jennifer-shehane Mar 28, 2025
6fb1011
breaking change commit
jennifer-shehane Mar 28, 2025
35b5131
chore: updating v8 snapshot cache (#31410)
github-actions[bot] Mar 31, 2025
4e44ccb
chore: updating v8 snapshot cache (#31411)
github-actions[bot] Mar 31, 2025
fd6a923
chore: updating v8 snapshot cache (#31412)
github-actions[bot] Mar 31, 2025
1f81595
breaking: Remove support for Node.js 18 & 23 (#31409)
jennifer-shehane Apr 1, 2025
b2240ce
Merge branch 'develop' into release/15.0.0
jennifer-shehane Apr 1, 2025
707f8ee
chore: updating v8 snapshot cache (#31420)
github-actions[bot] Apr 1, 2025
f23f779
chore: updating v8 snapshot cache (#31421)
github-actions[bot] Apr 1, 2025
534324f
chore: updating v8 snapshot cache (#31422)
github-actions[bot] Apr 1, 2025
25f0fd0
breaking: remove CDP from firefox with Cypress 15 (#31200)
AtofStryker Apr 3, 2025
346e801
chore: merge develop into cypress release 15 branch (#31464)
AtofStryker Apr 8, 2025
6165b8b
chore: merge develop into release/15.0.0
AtofStryker Apr 11, 2025
646ef10
Merge pull request #31489 from cypress-io/chore/merge_15_develop
AtofStryker Apr 11, 2025
144c7ad
chore: updating v8 snapshot cache (#31493)
github-actions[bot] Apr 11, 2025
ac420ed
chore: updating v8 snapshot cache (#31494)
github-actions[bot] Apr 11, 2025
59d2e4e
chore: updating v8 snapshot cache (#31491)
github-actions[bot] Apr 11, 2025
3b5879f
Merge branch 'develop' of github.com:cypress-io/cypress into chore/me…
AtofStryker Apr 15, 2025
8cee6dc
Merge pull request #31507 from cypress-io/chore/merge_dev_15
AtofStryker Apr 15, 2025
012fbfd
chore: updating v8 snapshot cache (#31514)
github-actions[bot] Apr 15, 2025
8b2e9e5
chore: updating v8 snapshot cache (#31515)
github-actions[bot] Apr 15, 2025
570b786
chore: updating v8 snapshot cache (#31517)
github-actions[bot] Apr 15, 2025
0a51e6d
chore: cut over web extension methods to use webdriver BiDi to automa…
AtofStryker Apr 18, 2025
c33504c
chore: updating v8 snapshot cache (#31545)
github-actions[bot] Apr 18, 2025
06c373e
chore: updating v8 snapshot cache (#31544)
github-actions[bot] Apr 18, 2025
a114df9
chore: updating v8 snapshot cache (#31543)
github-actions[bot] Apr 18, 2025
057a8b9
Merge branch 'develop' into release/15.0.0
jennifer-shehane Apr 18, 2025
0e1c8c1
breaking: remove support for typescript 4 (#31492)
AtofStryker Apr 18, 2025
808a7c8
Merge branch 'develop' into release/15.0.0
jennifer-shehane Apr 18, 2025
0f14f69
delete firefox deprecated message
jennifer-shehane Apr 21, 2025
726244c
Merge branch 'develop' into release/15.0.0
jennifer-shehane Apr 23, 2025
062b340
chore: updating v8 snapshot cache (#31571)
github-actions[bot] Apr 23, 2025
705af5a
chore: updating v8 snapshot cache (#31572)
github-actions[bot] Apr 23, 2025
59323fb
chore: updating v8 snapshot cache (#31573)
github-actions[bot] Apr 23, 2025
971b7ae
breaking: remove Angular 17 support (#31446)
AtofStryker Apr 24, 2025
890280e
chore: updating v8 snapshot cache (#31580)
github-actions[bot] Apr 25, 2025
285b71c
chore: updating v8 snapshot cache (#31579)
github-actions[bot] Apr 25, 2025
1d2a26a
chore: updating v8 snapshot cache (#31578)
github-actions[bot] Apr 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/cache-version.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Bump this version to force CI to re-create the cache from scratch.

4-22-2025
4-24-2025
53 changes: 5 additions & 48 deletions .circleci/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ mainBuildFilters: &mainBuildFilters
- /^release\/\d+\.\d+\.\d+$/
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- 'update-v8-snapshot-cache-on-develop'
- 'ryanm/fix/having-trouble-debugging-your-ci-failures-minimal'
- 'breaking/remove_angular_17_cursor'

# usually we don't build Mac app - it takes a long time
# but sometimes we want to really confirm we are doing the right thing
Expand All @@ -49,11 +49,7 @@ macWorkflowFilters: &darwin-workflow-filters
- equal: [ develop, << pipeline.git.branch >> ]
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
- equal:
[
'ryanm/fix/having-trouble-debugging-your-ci-failures-minimal',
<< pipeline.git.branch >>
]
- equal: [ 'breaking/remove_angular_17_cursor', << pipeline.git.branch >> ]
- matches:
pattern: /^release\/\d+\.\d+\.\d+$/
value: << pipeline.git.branch >>
Expand All @@ -64,11 +60,7 @@ linuxArm64WorkflowFilters: &linux-arm64-workflow-filters
- equal: [ develop, << pipeline.git.branch >> ]
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
- equal:
[
'ryanm/fix/having-trouble-debugging-your-ci-failures-minimal',
<< pipeline.git.branch >>
]
- equal: [ 'breaking/remove_angular_17_cursor', << pipeline.git.branch >> ]
- matches:
pattern: /^release\/\d+\.\d+\.\d+$/
value: << pipeline.git.branch >>
Expand All @@ -91,11 +83,7 @@ windowsWorkflowFilters: &windows-workflow-filters
- equal: [ develop, << pipeline.git.branch >> ]
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
- equal:
[
'ryanm/fix/having-trouble-debugging-your-ci-failures-minimal',
<< pipeline.git.branch >>
]
- equal: [ 'breaking/remove_angular_17_cursor', << pipeline.git.branch >> ]
- matches:
pattern: /^release\/\d+\.\d+\.\d+$/
value: << pipeline.git.branch >>
Expand Down Expand Up @@ -169,7 +157,7 @@ commands:
name: Set environment variable to determine whether or not to persist artifacts
command: |
echo "Setting SHOULD_PERSIST_ARTIFACTS variable"
echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "ryanm/fix/having-trouble-debugging-your-ci-failures-minimal" ]]; then
echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "breaking/remove_angular_17_cursor" ]]; then
export SHOULD_PERSIST_ARTIFACTS=true
fi' >> "$BASH_ENV"
# You must run `setup_should_persist_artifacts` command and be using bash before running this command
Expand Down Expand Up @@ -668,11 +656,6 @@ commands:
description: run subset of tests with injectDocumentDomain config enabled
type: boolean
default: false
is-firefox-cdp:
description: whether or not the group should be associated to the firefox CDP
run or not. This is determined by the browser version.
type: boolean
default: false

steps:
- restore_cached_workspace
Expand Down Expand Up @@ -713,9 +696,6 @@ commands:
if << parameters.inject-document-domain >> ; then
YARN_CMD="cypress:run:inject-document-domain"
PARALLEL="--parallel --group 5x-driver-inject-document-domain-<<parameters.browser>>"
elif << parameters.is-firefox-cdp >> ; then
YARN_CMD="cypress:run"
PARALLEL="--parallel --group 5x-driver-cdp-<<parameters.browser>>"
else
YARN_CMD="cypress:run"
PARALLEL="--parallel --group 5x-driver-<<parameters.browser>>"
Expand Down Expand Up @@ -2149,18 +2129,6 @@ jobs:
- run-driver-integration-tests:
browser: firefox

# Runs the driver tests using firefox 134, which does NOT use WebDriver BiDi
# This is to test and make sure there aren't regressions with the old CDP driver
driver-integration-tests-firefox-cdp:
<<: *defaults
resource_class: medium+
parallelism: 5
steps:
- run-driver-integration-tests:
browser: firefox
firefox-version: "134.0.2"
is-firefox-cdp: true

driver-integration-tests-electron:
<<: *defaults
parallelism: 5
Expand Down Expand Up @@ -2901,7 +2869,6 @@ linux-x64-workflow: &linux-x64-workflow
- run-webpack-dev-server-integration-tests
- run-vite-dev-server-integration-tests
- driver-integration-tests-firefox
- driver-integration-tests-firefox-cdp
- driver-integration-tests-chrome
- driver-integration-tests-chrome-inject-document-domain
- driver-integration-tests-chrome-beta-inject-document-domain
Expand Down Expand Up @@ -2977,10 +2944,6 @@ linux-x64-workflow: &linux-x64-workflow
context: test-runner:cypress-record-key
requires:
- build
- driver-integration-tests-firefox-cdp:
context: test-runner:cypress-record-key
requires:
- build
- driver-integration-tests-electron:
context: test-runner:cypress-record-key
requires:
Expand Down Expand Up @@ -3123,7 +3086,6 @@ linux-x64-workflow: &linux-x64-workflow
- linux-lint
- percy-finalize
- driver-integration-tests-firefox
- driver-integration-tests-firefox-cdp
- driver-integration-tests-chrome
- driver-integration-tests-chrome-beta
- driver-integration-tests-chrome-inject-document-domain
Expand Down Expand Up @@ -3379,10 +3341,6 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow
context: test-runner:cypress-record-key
requires:
- contributor-pr
- driver-integration-tests-firefox-cdp:
context: test-runner:cypress-record-key
requires:
- contributor-pr
- driver-integration-tests-electron:
context: test-runner:cypress-record-key
requires:
Expand Down Expand Up @@ -3524,7 +3482,6 @@ linux-x64-contributor-workflow: &linux-x64-contributor-workflow
- linux-lint
- percy-finalize
- driver-integration-tests-firefox
- driver-integration-tests-firefox-cdp
- driver-integration-tests-chrome
- driver-integration-tests-chrome-beta
- driver-integration-tests-electron
Expand Down
11 changes: 11 additions & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
<!-- See the ../guides/writing-the-cypress-changelog.md for details on writing the changelog. -->
## 15.0.0

_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).
- 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).
- The Cypress configuration wizard for Component Testing supports TypeScript 5.0 or greater. Addresses [#31187](https://github.com/cypress-io/cypress/issues/31187).

## 14.3.3

_Released 5/6/2025 (PENDING)_
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"cypress": "bin/cypress"
},
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
"node": "^20.0.0 || ^22.0.0"
},
"types": "types",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion npm/angular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Mount Angular components in the open source [Cypress.io](https://www.cypress.io/

## Requirements

- Angular 17.2.0+ (Cypress 13 and under supports Angular 13 - 16)
- Angular 18.0.0+ (`@cypress/angular@2` supports Angular 13 - 16 and `@cypress/angular@3` supports Angular 17)

## Development

Expand Down
12 changes: 6 additions & 6 deletions npm/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
},
"dependencies": {},
"devDependencies": {
"@angular/common": "^17.2.0",
"@angular/core": "^17.2.0",
"@angular/platform-browser-dynamic": "^17.2.0",
"@angular/common": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/platform-browser-dynamic": "^18.0.0",
"@cypress/mount-utils": "0.0.0-development",
"rollup": "^4.24.4",
"typescript": "~5.4.5",
"zone.js": "~0.14.6"
},
"peerDependencies": {
"@angular/common": ">=17.2",
"@angular/core": ">=17.2",
"@angular/platform-browser-dynamic": ">=17.2",
"@angular/common": ">=18.0.0",
"@angular/core": ">=18.0.0",
"@angular/platform-browser-dynamic": ">=18.0.0",
"rxjs": ">=7.5.0",
"zone.js": ">=0.13.0"
},
Expand Down
3 changes: 1 addition & 2 deletions npm/cypress-schematic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@

## Requirements

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

- Angular 18.0.0+ (`@cypress/schematic@2` supports Angular 13 - 16 and `@cypress/schematic@3` supports Angular 17)
## Usage ⏯

### Adding E2E and Component Testing
Expand Down
4 changes: 2 additions & 2 deletions npm/cypress-schematic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"vitest": "2.1.4"
},
"peerDependencies": {
"@angular/cli": ">=17.2",
"@angular/core": ">=17.2"
"@angular/cli": ">=18.0.0",
"@angular/core": ">=18.0.0"
},
"license": "MIT",
"repository": {
Expand Down
1 change: 0 additions & 1 deletion npm/webpack-dev-server/cypress/e2e/angular.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import type { ProjectFixtureDir } from '@tooling/system-tests/lib/fixtureDirs'

const WEBPACK_ANGULAR: ProjectFixtureDir[] = [
'angular-17',
'angular-18',
'angular-19',
]
Expand Down
4 changes: 2 additions & 2 deletions npm/webpack-dev-server/test/handlers/angularHandler.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ chai.use(chaiPromise)
describe('angularHandler', function () {
this.timeout(1000 * 60)

it('sources the config from angular-17', async () => {
const projectRoot = await scaffoldMigrationProject('angular-17')
it('sources the config from angular-18', async () => {
const projectRoot = await scaffoldMigrationProject('angular-18')

process.chdir(projectRoot)
const devServerConfig = {
Expand Down
2 changes: 1 addition & 1 deletion packages/app/cypress/e2e/runner/ct-framework-errors.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ describe.skip('Svelte', {
})
})

const angularVersions = [17, 18] as const
const angularVersions = [18, 19] as const

angularVersions.forEach((angularVersion) => {
describe(`Angular ${angularVersion}`, {
Expand Down
38 changes: 0 additions & 38 deletions packages/errors/__snapshot-html__/CDP_FIREFOX_DEPRECATED.html

This file was deleted.

3 changes: 0 additions & 3 deletions packages/errors/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1163,9 +1163,6 @@ export const AllCypressErrors = {
CDP_RETRYING_CONNECTION: (attempt: string | number, browserName: string, connectRetryThreshold: number) => {
return errTemplate`Still waiting to connect to ${fmt.off(_.capitalize(browserName))}, retrying in 1 second ${fmt.meta(`(attempt ${attempt}/${connectRetryThreshold})`)}`
},
CDP_FIREFOX_DEPRECATED: () => {
return errTemplate`Since Firefox 129, Chrome DevTools Protocol (CDP) has been deprecated in Firefox. In Firefox 135 and above, Cypress defaults to automating the Firefox browser with WebDriver BiDi. Cypress will no longer support CDP within Firefox in the future and is planned for removal in Cypress 15.`
},
BROWSER_PROCESS_CLOSED_UNEXPECTEDLY: (browserName: string) => {
return errTemplate`\
We detected that the ${fmt.highlight(browserName)} browser process closed unexpectedly.
Expand Down
5 changes: 0 additions & 5 deletions packages/errors/test/unit/visualSnapshotErrors_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1079,11 +1079,6 @@ describe('visual error templates', () => {
default: [1, 'chrome', 62],
}
},
CDP_FIREFOX_DEPRECATED: () => {
return {
default: [],
}
},
BROWSER_PROCESS_CLOSED_UNEXPECTEDLY: () => {
return {
default: ['chrome'],
Expand Down
Loading
Loading