Packages

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…

Other targets from 14.5.4Latest16.3.0
  1. 14.5.4yours
  2. 15.0.0target

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

  • Upgraded body-parser from 1.20.2 to 1.20.3. This removes the SNYK-JS-BODYPARSER-7926860 vulnerability being reported in security scans. Addressed in #32225.

    15.0.0
  • Upgraded tmp from ~0.2.3 to ~0.2.4. This removes the CVE-2025-54798 vulnerability being reported in security scans. Addresses #32176.

    15.0.0

Release by release

  1. 15.0.0

    Security fix20 Aug 20251 new · 9 fixes
    • Security

      Upgraded body-parser from 1.20.2 to 1.20.3. This removes the SNYK-JS-BODYPARSER-7926860 vulnerability being reported in security scans. Addressed in #32225.

    • Security

      Upgraded tmp from ~0.2.3 to ~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 glibc older than 2.31. This support is in-line with Node.js' support for Linux in Node v20+. Addressed in #31912.

11 other lines we could not sort, mostly version bumps
  • To better align with best practices, @cypress/webpack-batteries-included-preprocessor no longer includes certain browser built-ins that were automatically provided by Webpack 4. The removed built-ins are assert, constants, crypto, domain, events, http, https, punycode, querystring, string_decoder, sys, timers, tty, url, util, vm, and zlib. 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-preprocessor will ship with built-in support for buffer, path, process, os, and stream. 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 pagehide event in Chromium browsers will no longer trigger Cypress's window:unload event. Addressed in #31853.

    15.0.0
  • The Cypress.SelectorPlayground API has been renamed to Cypress.ElementSelector. This API was renamed to accommodate its use for defining selectorPriority in Cypress Studio and our future cy.prompt release. Additionally, the getSelector method and the onElement option of defaults were 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 execa from 1.0.0 to 4.1.0. This changes the code property returned by cy.exec() to exitCode. 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-stderr debug namespace. Fixes #32070.

    15.0.0
  • The Cypress Command log has a new design when viewing a list of tests. Addresses #31677. Addressed in #31914.

    15.0.0
  • Migration helpers and related errors are no longer shown when upgrading from Cypress versions earlier than 10.0.0. To migrate from a pre-10.0.0 version, upgrade one major version at a time to receive the appropriate guidance. Addresses #31345. Addressed in #31629.

    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.