-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
breaking: 15.0.0 Release #31408
Conversation
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>
BREAKING CHANGE: Cypress 15 breaking changes
cypress
|
Project |
cypress
|
Branch Review |
release/15.0.0
|
Run status |
|
Run duration | 16m 59s |
Commit |
|
Committer | Jennifer Shehane |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
4
|
|
132
|
|
0
|
|
5554
|
View all changes introduced in this branch ↗︎ |
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>
* 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>
Please add to the scope under "Component testing":
|
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>
* 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>
…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>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -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). | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -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') | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checklist
Before merging
release/15.0.0
intodevelop
@cypress/angular
has a breaking change that should publish version4.x.x
@cypress/schematic
has a breaking change that should publish version4.x.x
@cypress/webpack-dev-server
has a breaking change that should publish version5.x.x
@cypress/webpack-preprocessor
has a breaking change that should publish version7.x.x
@cypress/webpack-batteries-included-preprocessor
should publish version4.x.x
@cypress/vite-dev-server
should publish version7.x.x
@cypress/angular@3
is deprecated but the package is not. we just need to mention we do not support this in the migration guide which is covered in https://github.com/cypress-io/cypress-documentation/pull/6159/files?After merging
release/15.0.0
intodevelop
@cypress/angular
should publish4.x.x
@cypress/schematic
has a breaking change that should publish version4.x.x
@cypress/webpack-dev-server
should publish version5.x.x
@cypress/webpack-preprocessor
should publish version7.x.x
@cypress/vite-dev-server
should publish version7.x.x
@cypress/webpack-batteries-included-preprocessor
should publish version4.x.x
cypress-example-recipes
to use the latest@cypress/webpack-batteries-included-preprocessor
and configure thecrypto
built-in. See chore: add minimal built-ins back in to@cypress/webpack-batteries-included-preprocessor
#31815 (comment)cypress-publish-binary
branch reference incypress
and merge in15.0.0
intocypress-publish-binary
Release day
cypress-component-testing-apps
to bump all examples to use Cypress 15.