cypress
16.3.0 · 10 Nov 2026MIT7.6M / weekRepositoryHomepagenpmAtom feed
Upgrading cypress From 15.16.0 to 15.17.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 1
- new
- 23
- fixes
Before you upgrade
Tick each one off as you go- Deprecated15.17.0
Release by release
- Deprecated
Upgraded
tsxfrom4.20.6to4.22.4. TheesbuildGo binary bundled withtsxno longer reports CVE-2025-68121 in security scans, and loading TypeScript config files no longer emits the Node.js[DEP0205] module.register() is deprecatedwarning. Fixes #33954 and #33744. - New
- Fixed
Fixed a memory leak where runs with
screenshotOnRunFailureenabled slowed down progressively, as each failure screenshot was retained in memory for the rest of the run. Fixes #33516. - Fixed
Fixed an issue where, in the Electron browser, navigating away from a page whose
beforeunloadhandler requested a confirmation prompt (for examplewindow.onbeforeunload = () => 'message'or abeforeunloadlistener that setsevent.returnValue) would hang and eventually fail the command with a page load timeout. Such navigations — includingcy.visit(),cy.reload(), and clicking links — now proceed automatically without the confirmation prompt blocking the test, matching the behavior in Chrome. Fixes #2118.
- Deprecated
10 other lines we could not sort, mostly version bumps
- 15.17.0
The Command Log no longer becomes progressively unresponsive when moving the mouse in and out of a test's command list during long tests. Hovering over the command area previously triggered a style recalculation across the entire list of commands, causing a delay that grew with the number of commands logged. Fixes #33179.
- 15.17.0
Cypress.expose() values can now be overridden per suite or test via test config overrides (for example,
describe(),context(),it(), ortest()) using{ expose: { key: value } }. Suite- and test-level overrides are merged, with test-level keys taking precedence; override keys are applied at test start and restored after each test without affecting unrelated values set in hooks. Addresses #33356. Addressed in #33925. - 15.17.0
When signing up to Cypress Cloud from the Cypress desktop app, if a project is auto-provisioned during signup, Cypress now automatically writes the
projectIdto thecypress.configfile. If the file cannot be written, a modal is shown with the project ID as a copyable snippet and a link to open the config file directly in your IDE. Addressed in #33976. - 15.17.0
Improved CI environment detection and commit metadata capture for Cypress Cloud recorded runs within Argo CD and Argo Workflows. Addressed in #33932.
- 15.17.0
- 15.17.0
The internal
--dev,--inspect, and--inspect-brkcommand line flags are no longer listed in thecypressCLI help output. These flags are only intended for developing Cypress itself and would error when used against an installed version, so they are no longer advertised to users. Fixes #21320 and addresses #23058. - 15.17.0
Improved TypeScript types for
cy.get('@alias')andcy.wait('@alias')so that@-prefixed strings correctly resolve toChainable<S>instead ofChainable<JQuery<HTMLElement>>. Addresses #8762. - 15.17.0
When running
cypress run --specwith multiple patterns and one or more patterns do not match any spec files, Cypress now emits a warning identifying each unmatched pattern instead of silently skipping it. Addresses #22645. - 15.17.0
When Cypress cannot connect to a Chromium-based browser such as Chrome or Edge over the Chrome DevTools Protocol, the resulting error now suggests checking whether remote debugging has been disabled by an enterprise or group policy. Because Cypress relies on remote debugging to control the browser, the
RemoteDebuggingAllowedpolicy being disabled prevents Cypress from connecting, and the error now points tochrome://policyoredge://policyto investigate. Addresses #32526. - 15.17.0
Upgraded
watchpack(a transitive dependency ofwebpack) from2.4.2to2.5.1. On Windows, running a spec incypress openfrom an elevated (Administrator) shell no longer logsWatchpack Error (initial scan): EINVALwarnings for root-of-drive system files such aspagefile.sys. Fixes #33586.
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.