Commit Graph

1857 Commits

Author SHA1 Message Date
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
Cacie Prins
2ac46ece89 docs: add entry to breaking changes in v15 re: glibc <2.31 (#32303) 2025-08-20 14:11:57 -04:00
Bill Glesias
ecd1256347 chore: Release 15.0.0 (#32285)
* chore: update changelog and splash page for release 15

* run arm64 on branch and bump ubuntu executor

* ensure-node before running lerna commands

---------

Co-authored-by: Cacie Prins <cacie@cypress.io>
2025-08-19 19:41:07 -04:00
Adam Alston
f437cad4b6 fix(fixtures): cache null and undefined encodings separately (#32277)
* fix(fixtures): cache null and undefined encodings separately

* docs: add changelog entry
2025-08-19 17:09:46 -04:00
Cacie Prins
e463fdbc61 fix: Redirect spammy electron stderr to a debug sink (#32188)
* wip: system test to reproduce

* system test for alsa stderr

* split cypress from 3rd party stderr at parent process to electron child

* rm garbage warning regexes

* fix newline behavior when parsing internal stderr

* migrate left over console errors

* clean up system test name

* fix typed import

* extract stderr splitting to separate pkg so runner can use @packages/error

* rm new err log from packherd-quire

* handle backpressure

* docs

* some unit tests & coverage for stderr-filtering

* unit tests

* no longer test regexp specific output in spawn unit tests

* filter enabled debug namespaces rather than just cypress namespacesc

* revise stream splitting et al

* try to fix v8 snapshot build??

* fix console.log assertion

* add missing eslint config

* rm unused spies

* fix regexp for optional leading wsp and ansi on debug entries

* update unit tests because sinon

* lint

* colon..

* build stderr-filtering before checking if binary exists

* adds TagStream transform stream, fixes stderr from child proc config

* add build-prod script for stderr-filtering

* changelog

* properly handle backpressure in prefixed content transform stream

* use standard tsconfig?

* better tsconfig

* Add pkgStderrFiltering to monorepoPaths

* add \"files\" manifest

* pipe all stderr to stderr when CYPRESS_INTERNAL_DEBUG_ELECTRON is enabled

* rm explicit build of stderr-filtering in check-if-binary-exists step

* ensure all dependencies of scripts/ are built before scripts are executed in the check-if-binary-exists command

* fix dev version ref

* swap logic

* add stdin piping

* fix exec name on the run-on-dependencies command to be more useful

* use correct env

* rm obsolete type refs

* simplify stderr-filtering public iface, pipe cy-in-cy stderr through filtering tx

* bust cache

* fix mocks

* fix v8-snapshot

* move stderrfiltering to dev pkg in cli

* skip integrity check in ci, if they are out of date things should fail anyway

* copypasta over a portion of stderr-filtering to cli, since cli cannot import @packages

* Delete issues.md

* rm special filtering for cy in cy

* rm too narrow rules file

---------

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-08-19 17:05:53 -04:00
Jennifer Shehane
7acb7e0b71 chore: move dep update into dep area of changelog (#32281) 2025-08-19 09:37:16 -04:00
Bruno Lemos
f7c98473f5 fix: ts-loader detection (false positive) (#32266)
* fix: ts-loader detection (false positive)

* add test for ts-loader incorrectly resolcing and removing typescript 4 tests as support is removed in Cypress 15

* fix regex where ts-loader may be an absolute path

* chore: fix regex typo

* re-add typescript 4 tests and remove in a separate PR

* add changelog entry

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-08-18 20:11:44 -04:00
renovate[bot]
4afff00deb fix(deps): update dependency systeminformation to v5.23.8 [security] (#32234)
* fix(deps): update dependency systeminformation to v5.23.8 [security]

* fix(deps): update dependency systeminformation to v5.23.8 [security]

* empty commit

* bump systeminformation to latest

* yarnlock

* add changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-08-18 16:08:05 -04:00
Adam Alston
ad4bf37ad8 fix: invalidate cache when fixture is updated via writeFile (#32161)
* fix: invalidate cache when fixture is updated via writeFile

* refactor: delete space

* fix: improve fixture path resolution

* fix: improve fixture path resolution

* fix: update cache key generation

* fix: fetch config at execution time

* fix: invalidate fixture cache entries across encodings and paths

* fix optimized dependencies failures

* fix: relative pathing on windows as path polyfill only works with unix style paths

* Update packages/driver/src/cy/commands/fixtures.ts

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-08-18 14:38:43 -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
Bill Glesias
c8606c21ae fix: extranous angular warnings (#32251) 2025-08-15 16:10:54 -04:00
Jennifer Shehane
90c3340cf6 breaking: Signal removal of official support for direct download of Cypress (#32249)
* breaking: Signal removal of official support for direct download of Cypress

BREAKING: Signal removal of official support for direct download of Cypress

* add PR link

* Update cli/CHANGELOG.md

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

---------

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2025-08-15 13:53:10 -04:00
renovate[bot]
bebfa46bc9 fix(deps): update dependency body-parser to v1.20.3 [security] (#32225)
* fix(deps): update dependency body-parser to v1.20.3 [security]

* empty commit

* fix(deps): update dependency body-parser to v1.20.3 [security]

* add changelog entry

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2025-08-14 12:50:37 -04:00
Jennifer Shehane
4e4cfb2fc1 chore: add more closed issues to tsx changelog entry (#32246) 2025-08-14 10:08:50 -04:00
Bill Glesias
c96115df0f feat: support Angular 20 (#32198)
* feat: support angular 20

* chore: update cypress/schematic dev deps
2025-08-13 18:23:48 -04:00
Bill Glesias
19df26c279 chore: update babel to latest (#32203) 2025-08-12 15:07:23 -04:00
Adam Alston
b2992fe233 docs: update cspell config and fix spelling issues (#32190)
* fix: update cspell config and fix spelling issues in changelog

* revert: undo extensions config change
2025-08-11 10:57:52 -04:00
Bill Glesias
ed8987dea7 chore: clean up develop after release/15.0.0 merge (#32189) 2025-08-08 17:03:17 -04:00
Jennifer Shehane
f2a381ca55 Merge branch 'develop' into release/15.0.0 2025-08-08 12:58:43 -04:00
Adam Alston
39c175976f fix: return raw fixture when encoding is specified (#32155)
* fix: return raw fixture when encoding is specified

* revert: revert test change

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-08-08 12:28:37 -04:00
Adam Alston
317953b096 fix: update fixture cache to prevent encoding conflicts (#32151)
* fix: update fixture cache to prevent encoding conflicts

* feat: add changelog entry

* empty commmit

* refactor: update separator

* Update packages/driver/src/cy/commands/fixtures.ts

---------

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-08-08 11:52:35 -04:00
Bill Glesias
b6f3eead33 Merge branch 'develop' into merge_develop_15 2025-08-07 15:45:04 -04:00
Bill Glesias
99055ec6ac fix: make sure legacy output spies work as intended (#32158) 2025-08-07 15:29:32 -04:00
Mike McCready
ed89b8dba6 dependency: update tmp to ~0.2.4 (#32177) 2025-08-07 14:39:56 -04:00
Bill Glesias
3cbfbe76b0 chore: release app 14.5.4 (#32179) 2025-08-07 11:32:22 -04:00
Bill Glesias
83467ad5ae Merge branch 'develop' into merge_develop_15 2025-08-06 19:29:26 -04:00
Ryan Manuel
7d9d3e2be1 dependency: upgrade tar-fs to 2.1.3 and 3.1.0 (#32160)
* chore (dep): upgrade tar-fs to 2.1.3 and 3.1.0

* yarn.lock

* Update cli/CHANGELOG.md

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

---------

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2025-08-06 11:13:56 -04:00
Bill Glesias
a3924071c1 Merge branch 'develop' into merge_develop_15 2025-08-05 16:23:25 -04:00
Jennifer Shehane
788dfd1c0b chore: bump firefox version we test against to 141 (#32078)
* chore: bump firefox version we test against to 141

* account for unspecified sameSite which is now available in firefox 140

* fix expected error string for invalid cookie

* override FORCE_FIREFOX_CDP firefox 141

* fix cdp override in ff 141+

* maybe fix cookeie system tests? seem to time out locally

* set family as well as name

* fix system tests fore ff 141

* fix ff deprecation

* rm erroneous err param

* assume firefox is modern in cookies driver e2e test

* Update system-tests/lib/system-tests.ts

* we do still run tests against firefox 134

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
Co-authored-by: Cacie Prins <cacie@cypress.io>
2025-08-05 13:00:30 -04:00
Jennifer Shehane
4215983252 breaking: Move getSelector and reset to private methods on ElementSelector API (#32098)
* breaking: Move getSelector, getSelectorPriority, and reset to private methods on ElementSelector API

BREAKING: Move getSelector, getSelectorPriority, and reset to private methods on ElementSelector API

* Update getSelectorPriority back to public method

* Update error message + changelog for removed method

* mention this PR in changelog
2025-07-29 16:21:54 -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
9f48e243a4 fix: allow localhost hijacking and treat as secure if proxyServer is present (thanks to @mozfreddybmozfreddyb in https://github.com/cypress-io/cypress/pull/32056) (#32065) 2025-07-23 11:27:00 -04:00
Jennifer Shehane
bc36df35ec Merge branch 'develop' into release/15.0.0 2025-07-22 12:42:15 -04:00
Bill Glesias
813bd6bcf1 chore: fix release readiness job (#32068) 2025-07-22 11:34:20 -04:00
Jennifer Shehane
b4e503b5c6 changelog: fix formatting of Node.js / Common 2025-07-22 11:16:59 -04:00
Jennifer Shehane
1e96eb1de6 update release date of 15 2025-07-22 11:15:48 -04:00
Adam Stone-Lord
47bda5413f fix: remove 'new' badge from Create from Component, fix parsing (#31457)
* fix: remove 'new' badge from Create from Component, fix parsing

* add changelog entry

* update changelog

* add test

* add test coverage

* fix lint

* actually fix lint
2025-07-16 16:53:03 -04:00
Bill Glesias
af0908f5d5 breaking: remove vite 4 support inside component testing (#32039) 2025-07-16 16:18:38 -04:00
Bill Glesias
5a89bd3c0a Merge branch 'develop' into release/15.0.0 2025-07-16 15:27:46 -04:00
Christopher Leigh
886878b8b5 fix: ensure cy.mount is reference safe (#31238,#31983) (#31993)
* fix: ensure cy.mount is reference safe (#31238,#31983)

* chore: add changelog entry

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-07-16 15:10:59 -04:00
Matt Mower
cabdae708d fix: Add extensionAlias for ESM TS to webpack-batteries-included (#31994)
* chore: Add extensionAlias for ESM TS to webpack-batteries-included

For TypeScript ESM projects that use module resolution requiring file
extensions, `.js` extension must be used for `.ts` imports. Take
advantage of `resolve.extensionAlias` to resolve these imports.

Fixes #26827
Fixes #28805

* (Revisions) chore: Add extensionAlias for ESM TS to webpack-batteries-included

- Update typescript regex to allow .mts files
- Add ESM import tests

* chore: add changelog entry

* make sure extensionAlias is backwards compatible

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-07-16 12:25:19 -04:00
Jennifer Shehane
4a64048f71 Update cli/CHANGELOG.md
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
2025-07-16 11:48:53 -04:00
Jennifer Shehane
1b149d5dfb Merge branch 'develop' into release/15.0.0 2025-07-16 11:48:13 -04:00
pmaieref
8ff4c7d364 fix: check path for indexHtmlFile in onSpecsChange (#31819) (#31821)
* fix: check path for indexHtmlFile in onSpecsChange (#31819)

indexHtmlFile supports absolute paths,
so we need to check if the path is absolute before
fetching it from the project root.

* Update CHANGELOG.md

* Update CHANGELOG.md

updates changelog ref to 14.5.3

---------

Co-authored-by: Bill Glesias <bglesias@gmail.com>
2025-07-15 16:55:10 -04:00
Jennifer Shehane
b8c549d7cb Merge branch 'develop' into release/15.0.0 2025-07-15 15:23:56 -04:00
Bill Glesias
f422950883 chore: release 14.5.2 (#32028) 2025-07-15 14:50:16 -04:00