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

Merged
merged 242 commits into from
Aug 8, 2025
Merged

breaking: 15.0.0 Release #31408

merged 242 commits into from
Aug 8, 2025

Conversation

jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented Mar 28, 2025

⚠️ DO NOT SQUASH AND MERGE. USE A MERGE COMMIT

Checklist

Before merging release/15.0.0 into develop

  • Pass the env var to skip changelog validation in CircleCI
  • Make sure all npm packages with breaking changes run against npm-release CORRECTLY in circle CI and calculate the correct version. This is critical to make sure breaking changes to the npm packages are applied or else rolling back is incredibly difficult. Do a dry run once ready to make sure major versions are applied to:
    • @cypress/angular has a breaking change that should publish version 4.x.x
    • @cypress/schematic has a breaking change that should publish version 4.x.x
    • @cypress/webpack-dev-server has a breaking change that should publish version 5.x.x
    • @cypress/webpack-preprocessor has a breaking change that should publish version 7.x.x
    • @cypress/webpack-batteries-included-preprocessor should publish version 4.x.x
    • @cypress/vite-dev-server should publish version 7.x.x
    • Test the Cloud project on the binary https://github.com/cypress-io/cypress-services/pull/11106
  • The following packages are removed and need to be deprecated in npm
  • ⚠️ DO NOT SQUASH AND MERGE. USE A MERGE COMMIT

After merging release/15.0.0 into develop

  • Ensure binary 15 branch is merged https://github.com/cypress-io/cypress-publish-binary/pull/81
    • Remove any specific branch running for the binary repo (will be against develop once merged)
  • Make sure all npm packages with breaking changes are published as breaking changes:
    • @cypress/angular should publish 4.x.x
    • @cypress/schematic has a breaking change that should publish version 4.x.x
    • @cypress/webpack-dev-server should publish version 5.x.x
    • @cypress/webpack-preprocessorshould publish version 7.x.x
    • @cypress/vite-dev-server should publish version 7.x.x
    • @cypress/webpack-batteries-included-preprocessorshould publish version 4.x.x
  • We need to make sure synk jobs and their required status checks now run on node 22 and not node 20
  • remove cypress-publish-binary branch reference in cypress and merge in 15.0.0 into cypress-publish-binary

Release day

github-actions bot and others added 4 commits March 17, 2025 12:01
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
@jennifer-shehane jennifer-shehane added Cypress 15 type: breaking change Requires a new major release version labels Mar 28, 2025
BREAKING CHANGE: Cypress 15 breaking changes
Copy link

cypress bot commented Mar 28, 2025

cypress    Run #64466

Run Properties:  status check passed Passed #64466  •  git commit f2a381ca55: Merge branch 'develop' into release/15.0.0
Project cypress
Branch Review release/15.0.0
Run status status check passed Passed #64466
Run duration 16m 59s
Commit git commit f2a381ca55: Merge branch 'develop' into release/15.0.0
Committer Jennifer Shehane
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 4
Tests that did not run due to a developer annotating a test with .skip  Pending 132
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 5554
View all changes introduced in this branch ↗︎

github-actions bot and others added 3 commits March 31, 2025 09:15
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
jennifer-shehane and others added 12 commits April 1, 2025 10:35
* remove support for Node.js 18 & 23

BREAKING CHANGE: remove support for Node.js 18 & 23

* remove binary tests for Node 18

* Add made up date

* Update cli/package.json

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>

---------

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
* chore: updating v8 snapshot cache (#31422)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* breaking: remove CDP from firefox with Cypress 15 [run ci]

* chore: code review updates

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
* dependency: upgrade mocha to 7.2.0 (#31423)

* dependency: upgrade mocha to 7.2.0

* changelog entry

* remove the it.only from the mocha patch changelog that is triggering our stop-only check from passing

* skip patches folder with stop-only check

* remove extra bracket

* Update protocol_spec to reflect new mocha line number for error stack trace

* chore: updating v8 snapshot cache (#31424)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: updating v8 snapshot cache (#31425)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: updating v8 snapshot cache (#31426)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: migrates plugin system test to a v3 extension (#31434)

* chore: Update Chrome (stable) to 135.0.7049.52 (#31428)

* chore: Update Chrome (stable) to 135.0.7049.52

* empty commit

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>

* chore: bump Firefox to 137 (#31431)

* chore: bump Firefox to 137

* use 137 version? weird.

* just kidding, major version only has 1 zero after it................

* dependency: update server to mocha 7.2.0 (#31432)

* dependency: update server to mocha 7.2.0

* Add PR to changelog

* chore: updating v8 snapshot cache (#31437)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: updating v8 snapshot cache (#31438)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: updating v8 snapshot cache (#31439)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: Update Chrome (beta) to 136.0.7103.17 (#31448)

* chore: Update Chrome (beta) to 136.0.7103.17

* empty commit

---------

Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* refactor: lifts toPosix to its own file, removes circular dependency between stack_utils and source_map_utils (#30983)

* refactor: lifts toPosix to remove circular dependency between stack_utils and source_map_utils

* camelCase to snake_case

* rm duplicated file

* internal: (studio) make the protocol database accessible to studio (#31443)

* internal: (studio) make the protocol database accessible to studio

* PR comment

* chore(deps): update dependency patch-package to v8 (#31451)

* chore(deps): update dependency patch-package to v8

* empty commit

* add types to handle json-stable-stringify dep change

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* chore: fix deprecation warnings and refactor react reporter to use functional components and hooks (#31284)

* chore: fix deprecation warnings and refactor react reporter to use functional components with hooks

* chore: update code to reflect feedback from code review

* fix issues with scrollIntoView() on updated component and refactor isOpen logic in collapsible to not attempt to sync state

* fix issues with tests after refactor

* see if event registration fixes windows flake

* chore: update snap-shot-core patch package file to match version (#31449)

* chore: update snap-shot-core patch package file to match version

* update circle cache

* experiment with removing .md from yarnclean

* add .md back to yarnclean

* bust circle cache

* remove .md files being cleaned from yarn to get around patch-package issue

* print size of cache

* try out the size of the .md

* remove md from yarnclean

* UPdate to version without removal of markdown files

* chore: updating v8 snapshot cache (#31460)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: updating v8 snapshot cache (#31462)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* chore: updating v8 snapshot cache (#31461)

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>

* feat: cy.press() (#31398)

* wip - cy.press() command

* cy command for dispatching key press/down/up events

* unit tests and failure cases for cy.press()

* Cypress.Keyboard.Keys definition; fix command log message

* add keys to the internal keyboard type

* auto-focus in cdp

* ensure aut iframe is focused before dispatching key events in bidi browsers

* update tests for cdp focus

* fixed tests for bidi

* lint

* fix type ref in .d.ts

* linting

* skip press() driver test in ff below v135

* try all contexts for frame before failing due to missing/invalid context id

* ensure error is error before accessing props

* skip press driver test in webkit

* changelog

* debug automation middleware invocation for firefox flake

* debug

* cache update

* use bidi automation middleware from connectToNewSpec rather than constructor

* more comprehensive logging

* debug socket base, additional debug in automation

* install firefox automation middleware on setup as well as connectToNewSpec

* unit tests for firefox-utils

* proper calledWith

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* docs: update contributing requirements for corepack (#31463)

* chore: remove `du` check (#31465)

* chore: use different args for `du` in win

* rm du command for build

* chore: release 14.3.0 (#31467)

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <41898282+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
chore: merge develop into release/15.0.0
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
@AtofStryker
Copy link
Contributor

Please add to the scope under "Component testing":

AtofStryker and others added 4 commits April 14, 2025 22:01
chore: merge `develop` into `release/15.0.0`
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
github-actions bot and others added 10 commits July 31, 2025 09:08
* chore: updating v8 snapshot cache

* index on release/15.0.0: 338be7b internal: load fixed test error correctly (#32119)

* index on release/15.0.0: d35fc20 internal: (studio) require server restart when `experimentalStudio` changes (#32129)

* index on release/15.0.0: 641d6aa internal: use max z index for assertions menu overlay (#32130)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
* chore: updating v8 snapshot cache

* index on release/15.0.0: 338be7b internal: load fixed test error correctly (#32119)

* index on release/15.0.0: d35fc20 internal: (studio) require server restart when `experimentalStudio` changes (#32129)

* index on release/15.0.0: 641d6aa internal: use max z index for assertions menu overlay (#32130)

---------

Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
… tests (#32118)

* internal: (studio) allow tests to be created in specs that have .only tests

* fix stop-only

* add system test spec, add test, fix bugs

* clean up unused logic

* fix issue

* another fix

* refactors

* update variable name, consolidate logic

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
…g errors in studio (#32135)

* fix: (studio) ensure to strip out paths from all data when reporting errors in prompt and studio

* disable with environment variable
…#32109)

* Add focus and active states for AUT URL input styling

Co-authored-by: jennifer <jennifer@cypress.io>

* Add actual styles based on Figma

* Update vue-tag and add dark tag

* update styles and placeholder

* remove old studioUrlPrompt

* Update tests and logic for disabled input

* removed some unused functions/helper text no longer used

* add readonly attr

* only use readonly

* update CT test to match new behavior

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
cursor[bot]

This comment was marked as outdated.

mabela416 and others added 16 commits August 5, 2025 10:34
…command from the test via Studio (#32131)

* internal: remove default url when setting the url so that the url can be properly cleared

* clear urlInProgress after we set the studio url

* add test

* add more tests

* clear test editor text using invoke instead
* chore: fix issues with AUT discovery if for any reason the name is not present

* Update packages/server/lib/browsers/cdp_automation.ts

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* refactor create new test button into its own component

* add create new test button component to spec file name

* add test for create new test button in the spec header

* pass a dataCy for create new test button

* fix failing tests

* Update packages/app/cypress/e2e/studio/helper.ts

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* revert changes to the if/else logic

* fix failing test

* fix flaky test

* update create new spec from root test

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
…n in firefox and keep behavior for firefox 139 and under as the 'default' sameSite value does not exist in this version
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
chore: merge `develop` into `release/15.0.0`
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Copy link
Contributor

@AtofStryker AtofStryker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

packages at time of approving. Everything lokos correct and in line with pre merge guide
Screenshot 2025-08-08 at 2 23 52 PM

@@ -130,6 +167,7 @@ _Released 5/6/2025_

- Downgraded `cli-table3` to 0.6.1. Addressed in [31631](https://github.com/cypress-io/cypress/pull/31631).


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

@@ -26,7 +26,7 @@ describe('App: Spec List (Component)', () => {

it('highlights the currently running spec', () => {
cy.contains('fails').click()
cy.contains('[aria-controls=reporter-inline-specs-list]', 'Specs')

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

@AtofStryker AtofStryker merged commit 63c9bcc into develop Aug 8, 2025
132 of 142 checks passed
@jennifer-shehane jennifer-shehane deleted the release/15.0.0 branch August 11, 2025 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cypress 15 type: breaking change Requires a new major release version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants