913 Commits

Author SHA1 Message Date
Bill Glesias 058e7d26c0 chore: release 15.2.0 (#32453) 2025-09-09 14:54:38 -04:00
Brian Mann a07062d13e fix(dns-cache): prevent local family cache collisions (#32403)
* bump node types

* add network tests to terminals

* dont use the web-config, just use regular TS so that it compiles much faster and line numbers work

* fix missing promise

* cache families to include host + port; fix types

* fix incorrect cacheKey

* fix skipped tests and updated error messages likely due to node upgrade

* cleanup a ton of test context

* Add changelog entry

* close servers after each test

* Update packages/network/lib/agent.ts

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* update tests to pass inside + outside of docker

* try this in docker

* try to enable ipv6 in circleci docker config

* escape

* dont run this test in CI

* revert

* skip the other test

* maybe this works

* try this

* Update .circleci/workflows.yml

* oops

* i do not think we need sudo

* test

* test

* try machine

* refactor

* that was weird

* that was weird

* mess with daemon and sudo

* escape <

* modify /etc/hosts

* Update .circleci/workflows.yml

* Update .circleci/workflows.yml

* Update .circleci/workflows.yml

* remove dead code

* Update branch condition in CircleCI workflow

* Update .circleci/workflows.yml

* clean up

* clean up

* fix cy in cy tests

* fix cy in cy

* Update packages/server/lib/server-base.ts

---------

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-09-08 10:02:16 -05:00
Cacie Prins 4b439a6e4e chore: upgrade lint-staged (#32415) 2025-09-03 14:29:43 -04:00
Bill Glesias 591de461fd chore: release 15.1.0 (#32401) 2025-09-02 14:31:16 -04:00
renovate[bot] 61307b0994 chore(deps): remove sharp dependency resolution (#32378)
* chore(deps): update dependency sharp to v0.32.6 [security]

* remove resolutions from package

* update yarnlock

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-09-02 11:27:49 -04:00
Bill Glesias d39eee3776 chore: patch dtslint to work until we can find a replacement (#32383) 2025-08-28 17:18:34 -04:00
Jennifer Shehane 90310ae7f9 feat: extend Cypress.Keyboard.Keys and cy.press to support (almost) all keyboard keys (#31496)
* feat: extend Cypress.Keyboard.Keys and cy.press to support all keyboard keys

* Update cli/types/cypress.d.ts

* reference urls for codepoints

* type defs for expanded keys; tests

* changelog

* rm modifier keys temporarily - see WIP @ feat/key-press-modifier-keys

* Add pr link to changelog

* reduce repetition with key codes; remove unsupported capslock keycode

* only "key" special function keys in Cypress.Keyboard.Keys - otherwise, support any single character even if multiple codepoints

* do not refocus on f6 - f6 behavior keyup is indeterminate, so do not assert in that special case

* clean up keyboard key types, clean up duplicate def from merge

* various cleanup - wip - need multi-codepoint fix

* support multi-codepoint characters

* properly dispatch each part of a multipart utf-8 character

* fix import

* fix dtslint

* tscheck

* fix spacing

* Apply suggestions from code review

* changelog

* changelog

* ensure input actions are released in bidi; add test for keypress and input events for firefox

* fix keypress & input events in chrome

* consistent debug

* rm debug logging from input fixture

* some typos, changelog version

* fix toSupportedKey guard fn to properly reject non-strings

* add Space as named key, remove warnings re legacy firefox

* fix space

* support single-digit number keys

* remove support for F-keys

* add test cmd to types pkg

* rm failing vitest project config

* fix changelog

* clean up types a bit for single digit numbers

* more updates

---------

Co-authored-by: Cacie Prins <cacie@cypress.io>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
2025-08-28 10:31:49 -04:00
Cacie Prins 81f2af0e7f chore: ensure @packages/stderr-filtering tests run successfully in CI (#32342)
* fix broken Filter.spec.ts

* ensure stderr unit tests run
2025-08-25 09:50:40 -04:00
renovate[bot] e4e3f84bc7 dependency: update dependency tar to v6.2.1 [security] (#32229)
* chore(deps): update dependency tar to v6.2.1 [security]

* bump other version of tar

* add changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-08-20 14:30:32 -04:00
Bill Glesias f6e0744e38 breaking: update execa from 1.0.0 to 4.1.0 (#32238)
* breaking: update execa from 1.0.0 to 4.1.0 which breaks the yielded cy.exec() object from yielding property code and instead yields exitCode

* fix launchpad tests on linux

* Update cli/CHANGELOG.md

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-08-18 11:52:24 -04:00
Cacie Prins 53c32e61b1 chore: partial eslint migration (mount-utils, cypress-schematic, puppeteer) (#32113)
* puppeteer eslint

* mount-utils

* cypress-schematic

* update guide with status

* fix import of eslint config, add nonstandard build artifact pattern to schematic ignores

* fix lint staged on chunk 1
2025-08-13 11:29:53 -04:00
Bill Glesias 19df26c279 chore: update babel to latest (#32203) 2025-08-12 15:07:23 -04:00
Bill Glesias 83467ad5ae Merge branch 'develop' into merge_develop_15 2025-08-06 19:29:26 -04:00
Bill Glesias a3924071c1 Merge branch 'develop' into merge_develop_15 2025-08-05 16:23:25 -04:00
Mike McCready 2533e2b9e1 chore(deps): remove check-dependencies (#32157) 2025-08-05 14:33:34 -04:00
Cacie Prins e0452462cc chore: modify how eslint is invoked from lint-staged for eslint migration (#32149)
* each pkg is responsible for its own lint-staged, because lerna does not play nicely with lint-staged

* use on hierarchical lint-staged only for new eslint packages

* rm unnecessary lint script

* add blurb about lint-staged to the guide

* fix for recursion

* correct glob for old eslint
2025-08-04 12:49:24 -04:00
Cacie Prins ed0819de25 Merge branch 'develop' into release/15.0.0 2025-07-30 11:40:28 -04:00
Cacie Prins d5c8885dd4 chore: Eslint migration foundation + migrate npm/grep package (#32046)
* foundational monorepo pkg for shared eslint config

* add a migration guide

* adds new eslint to grep

* add troubleshooting guide

* fix eslint config jiti issue

* fix a bit

* Update guides/eslint-migration.md

* restore console.error to grep, export collection of cli related rules from eslint-config

* fix linting of primary eslint config pkg

* fix glob exclusion

* uses an explicit expansion of the package patterns for eslint migration - once migration is complete, this will clean up

* lockfile

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-07-28 12:07:52 -04:00
Jennifer Shehane 5cad25c7ab Merge branch 'develop' into release/15.0.0 2025-07-25 09:44:01 -04:00
Cacie Prins d1478d8961 chore: release 14.5.3 (#32099) 2025-07-24 15:13:32 -04:00
Cacie Prins 7825936902 chore(dep): upgrade cypress/request to 3.0.9 to address form-data vulnerabilities (#32096)
* chore(deps): upgrade @cypress/request

* changelog
2025-07-24 15:10:57 -04:00
Cacie Prins 5b0a7e2f88 chore: revert release 14.5.3
This reverts commit 72dd9de670.
2025-07-24 11:15:35 -04:00
Cacie Prins 72dd9de670 chore: release 14.5.3 (#32093) 2025-07-24 09:55:10 -04:00
Bill Glesias f422950883 chore: release 14.5.2 (#32028) 2025-07-15 14:50:16 -04:00
Cacie Prins 6b9f27c95d dependency: electron@36.4.0 (#31912)
* dependency: update Electron to 34

* setup workflows to run against binary branch and on all tests

* changelog entry

* node version did bump minorly

* Update base-internal image to match new node version

* fix typo

* changelog updates

* bumping to newest version just released today - hopefully solves glibc error

* fix cy in cy

* remove extra register_ts_node require

* updated lockfile

* upgrade better-sqlite3

* changelog

* update electron in top level package.json

* ts issue, update to use binary workflow for e35, update ancillary deps

* update gh issue templates

* bump missed image names and engines field

* node 22

* snapgen?

* ts issue, log errors even if err.stderr/stdout is null

* more logging

* defer http-proxy common.js due to regexp issue in v8 13.4.* - 13.8.91

* update images for node 22.15.1, use bullseye instead of buster for bettersqlite

* use bullseye image for glibc2.31 build of bettersqlite

* use electron-36 publish binary branch

* node-abi update, set http-proxy deferred in darwin

* update .node-version

* attempt to patch http-proxy to immediately defer  http-proxy/lib/http-proxy/common.js

* empty commit [run ci]

* better patch?

* changelog

* changelog

* Updates v8 snapshots to fix windows build (#31918)

* use node 22 in the v8 snapshot update workflow

* index on windows-v8-snapshots: a013464197 use node 22 in the v8 snapshot update workflow

* index on windows-v8-snapshots: a013464197 use node 22 in the v8 snapshot update workflow

* index on windows-v8-snapshots: a013464197 use node 22 in the v8 snapshot update workflow

* run workflows on windows/mac

---------

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

* update protocol system test snapshots (#31925)

* use snapshot to verify the error message on invalid json (#31926)

* chore: account for all node: internal stacks when trying to calculate the code frame. Accounts additionally for node:diagnostics_channel (#31935)

* Fixes electron 36 integrity checks (#31956)

* update the fs.readFileSync integrity check expectation

* maybe this fn is missing from the expected stack?

* more debug, change the stack up a little

* actual fn name is traceSync

* logging

* logging

* remove logging from integrity check

* maybe circle api changed?

* correct params

* inspect stack frames for differences

* have to manually serialize the stack frames

* change expectation

* update expected global keys

* additional allow list

* update key allow list

* increase zipfile size limit on non-windows builds

* revert logging changes

* Update scripts/binary/binary-integrity-check-source.js

* increase timeout to 120s for darwin fsevents/native module test (#31975)

* print out stdout for darwin test

* try and fix test

* update readme re: browsers-internal images, ensure module_api_spec binary test uses correct electron version

* Update .circleci/workflows.yml

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Update .circleci/workflows.yml

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* trigger 15.0.0 binary pipeline rather than electron-36 specific one

* Update cli/CHANGELOG.md

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* Update cli/CHANGELOG.md

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-07-07 13:03:13 -04:00
Bill Glesias a018700da3 chore: add Cypress 15 Welcome Screen (#31966)
* chore: add the Cypress 15 Welcome Splash Page

* fix failing unit test because of release 15 happenstance

* Update packages/launchpad/src/welcome/MajorVersionWelcome.vue

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* fix dates to be july 15th and not july 14th

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2025-07-03 14:04:05 -04:00
Bill Glesias fa25461cb0 chore: release 14.5.1 (#31980) 2025-07-01 15:14:05 -04:00
Bill Glesias 79469f5616 chore: release 14.5.0 (#31900) 2025-06-17 13:28:10 -04:00
renovate[bot] d51db04755 chore(deps): update dependency hasha to v5.2.2 (#31880)
* chore(deps): update dependency hasha to v5.2.2

* use hashs instead of copied code

* chore(deps): update dependency hasha to v5.2.2

* move to dep instead of devDep

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-06-16 16:58:37 -04:00
renovate[bot] 8c915ca712 chore(deps): remove dependency http-server (#31866)
* chore(deps): update dependency http-server to v13

* chore: remove http-server as it's not used anywhere

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-06-11 16:34:42 -04:00
Bill Glesias a0a4eb1b2c chore: release 14.4.1 (#31820) 2025-06-03 13:17:49 -04:00
renovate[bot] 2b11d4f323 chore(deps): update dependency yaml to v2.8.0 (#31765)
* chore(deps): update dependency yaml to v2.8.0

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-05-21 16:56:37 -04:00
Bill Glesias 92aa2737cc chore: release 14.4.0 (#31745) 2025-05-20 12:45:32 -04:00
renovate[bot] 91d5a2ee5f chore(deps): update dependency sinon-chai to v3.7.0 (#31716)
* chore(deps): update dependency sinon-chai to v3.7.0

* empty commit

* bump circle cache

* add sinon-chai to base package.json as its used to test base level scripts

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-05-15 11:05:03 -04:00
renovate[bot] b07ea0e988 chore(deps): update dependency devtools-protocol to v0.0.1459876 (#31708)
* chore(deps): update dependency devtools-protocol to v0.0.1459876

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-05-14 11:03:59 -04:00
Bill Glesias 242fb5661a chore: release 14.3.3 (#31650) 2025-05-06 13:35:05 -04:00
Bill Glesias b2a2c90242 chore: release 14.3.2 (#31565) 2025-04-22 15:13:38 -04:00
renovate[bot] 6cc2f01174 chore(deps): update dependency detect-port to v2 (#31553)
* chore(deps): update dependency detect-port to v2

* empty commit

* remove types that are no longer supported

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-04-21 14:18:07 -04:00
Bill Glesias 8e97a0d736 chore: release 14.3.1 (#31538)
* chore: release 14.3.1

* Update cli/CHANGELOG.md

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-04-17 12:53:03 -04:00
Bill Glesias 83e0d3c794 chore: release 14.3.0 (#31467) 2025-04-08 13:38:31 -04:00
renovate[bot] 920128a1e5 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>
2025-04-07 09:52:22 -04:00
Jennifer Shehane 4ed0186a0e 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
2025-04-02 10:22:14 -04:00
Bill Glesias e05287d9a4 chore: release 14.2.1 (#31374) 2025-03-25 13:22:09 -04:00
renovate[bot] a566242f7f dependency: update dependency semver to v7.7.1 (#31341)
* fix(deps): update dependency semver to v7.7.1

* changelog

* caret dep

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-20 13:58:02 -04:00
renovate[bot] f35da771c8 dependency: update dependency @cypress/request to ^3.0.8 (#31311)
* fix(deps): update dependency @cypress/request to ^3.0.8

* add changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-03-18 12:36:57 -04:00
Matt Schile ff83c04917 chore: update circle ci task data env (#31264) 2025-03-14 15:42:12 -06:00
Bill Glesias 27d8fb0468 chore: release 14.2.0 (#31271) 2025-03-12 13:13:58 -04:00
renovate[bot] 8e3787a083 chore(deps): update dependency mobx to v6.13.6 (#31183)
* chore(deps): update dependency mobx to v6.13.6

* empty commit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-02-27 13:15:24 -05:00
Bill Glesias 7ffd5a33c1 chore: release 14.1.0 (#31168) 2025-02-25 12:26:26 -05:00
Bill Glesias 760f60026d chore: update wdio dependencies to latest for firefox [run ci] (#31078) 2025-02-12 09:48:18 -05:00