cypress
16.3.0 · 10 Nov 2026MIT7.6M / weekRepositoryHomepagenpmAtom feed
Upgrading cypress From 14.5.4 to 15.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 10
- changes to make
- 0
- advisories fixed
- 1
- new
- 9
- fixes
Before you upgrade
Tick each one off as you go- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
Security
- 15.0.0
Upgraded
body-parserfrom1.20.2to1.20.3. This removes the SNYK-JS-BODYPARSER-7926860 vulnerability being reported in security scans. Addressed in #32225. - 15.0.0
Upgraded
tmpfrom~0.2.3to~0.2.4. This removes the CVE-2025-54798 vulnerability being reported in security scans. Addresses #32176.
Release by release
- Security
Upgraded
body-parserfrom1.20.2to1.20.3. This removes the SNYK-JS-BODYPARSER-7926860 vulnerability being reported in security scans. Addressed in #32225. - Security
Upgraded
tmpfrom~0.2.3to~0.2.4. This removes the CVE-2025-54798 vulnerability being reported in security scans. Addresses #32176. - Breaking
Removed support for Node.js 18 and Node.js 23. Addresses #31302.
- Breaking
Removed support for Linux distributions with
glibcolder than2.31. This support is in-line with Node.js' support for Linux in Node v20+. Addressed in #31912.
- Security
11 other lines we could not sort, mostly version bumps
- 15.0.0
To better align with best practices,
@cypress/webpack-batteries-included-preprocessorno longer includes certain browser built-ins that were automatically provided by Webpack 4. The removed built-ins areassert,constants,crypto,domain,events,http,https,punycode,querystring,string_decoder,sys,timers,tty,url,util,vm, andzlib. However, we know that certain built-ins are popular, given that many users have files that are shared between their Cypress tests and node context. Because of this,@cypress/webpack-batteries-included-preprocessorwill ship with built-in support forbuffer,path,process,os, andstream. If there is a built-in that isn't supported by default and you need to add support, refer to the Webpack resolve.fallback documentation and the @cypress/webpack-batteries-included-preprocessor README. Addresses #31039. - 15.0.0
The application under test's
pagehideevent in Chromium browsers will no longer trigger Cypress'swindow:unloadevent. Addressed in #31853. - 15.0.0
The
Cypress.SelectorPlaygroundAPI has been renamed toCypress.ElementSelector. This API was renamed to accommodate its use for definingselectorPriorityin Cypress Studio and our future cy.prompt release. Additionally, thegetSelectormethod and theonElementoption ofdefaultswere removed from this API. Addresses #31801. Addressed in #31889 and #32098. - 15.0.0
The direct download option for installing Cypress is no longer supported. Users should install via a package manager. Addressed in #32249.
- 15.0.0
Updated
execafrom1.0.0to4.1.0. This changes thecodeproperty returned bycy.exec()toexitCode. Addressed in #32238. - 15.0.0
cy.url(), cy.hash(), cy.go(), cy.reload(), cy.title(), and cy.location() now use the automation client (CDP for Chromium browsers and WebDriver BiDi for Firefox) to return the appropriate values from the commands to the user instead of the window object. This is to avoid cross origin issues with cy.origin() so these commands can be invoked anywhere inside a Cypress test without having to worry about origin access issues. Experimental WebKit still will use the window object to retrieve these values. Also, cy.window() will always return the current window object, regardless of origin restrictions. Not every property from the window object will be accessible depending on the origin context. Addresses #31196.
- 15.0.0
tsx is now used in all cases to run the Cypress config, replacing ts-node for TypeScript and Node.js for CommonJS/ESM. This should allow for more interoperability for users who are using any variant of ES Modules. Addresses #8090, #15724, #21805, #22273, #22747, #23141, #25958, #25959, #26606, #27359, #27450, #28442, #28696, #29186, #30318, #30718, #30907, #30915, #30925, #30954, and #31185.
- 15.0.0
Filters content written to stderr to prevent Electron from spamming with inconsequential errors/warnings. This stderr content can be viewed by enabling the
cypress:internal-stderrdebug namespace. Fixes #32070. - 15.0.0
- 15.0.0
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.