Packages

cypress

16.3.0 · 10 Nov 2026MIT7.6M / weekRepositoryHomepagenpmAtom feed

Upgrading cypress From 15.17.0 to 15.21.2

8 releases in betweennotes for 2

Reading releases, release notes and advisories…

Other targets from 15.17.0Latest16.3.0
1+
change to make
0
advisories fixed
2+
new
19+
fixes

Counted from 2 of 8 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Deprecated15.21.0

Security

  • Upgraded undici from 6.26.0 to 6.27.0 to address a CRLF Injection vulnerability reported in security scans. Addressed in #34121.

    15.18.0

Release by release

  1. 15.21.1 – 15.21.22 releases, no release note

  2. 15.21.0

    Deprecation18 Aug 20261 new · 6 fixes
    • Deprecated

      cy.exec() has been deprecated and will be removed in a future major release of Cypress. Use cy.task() instead, which runs in Node without depending on the operating system, shell, or terminal of the machine running Cypress. The execTimeout configuration option is deprecated alongside it, in favor of taskTimeout. Addresses #34639.

    • New

      Added a CYPRESS_DISABLE_GUEST_TELEMETRY environment variable, which disables any reporting Cypress sends for non-logged sessions. This includes anonymous usage events within Cypress open-mode and the Cypress CLI. Addressed in #34540.

    • Fixed

      Fixed an issue where WebKit runs could hang indefinitely when more parallel requests than the browser's per-host connection pool were intercepted by a cy.intercept() route with a request handler. Fixes #33926 and addresses #23807.

    • Fixed

      Fixed an issue where overriding blockHosts with test configuration (for example describe('...', { blockHosts: [...] }, ...)) had no effect, so requests were still blocked or allowed according to the project-level value. Test-level blockHosts overrides now take effect at runtime and are restored between specs. Fixes #21151.

  3. 15.18.1 – 15.20.14 releases, no release note

  4. 15.18.0

    Security fix23 Jun 20261 new · 13 fixes
    • Security

      Upgraded undici from 6.26.0 to 6.27.0 to address a CRLF Injection vulnerability reported in security scans. Addressed in #34121.

    • New

      Added a removeSRIAttributes configuration option. When enabled, Cypress strips the integrity attribute from <script> and <link> elements on first-party resources so they are not blocked by Subresource Integrity (SRI) enforcement after Cypress rewrites them. The option covers integrity set via static HTML, a JavaScript string literal, and runtime DOM assignment (including the webpack-subresource-integrity pattern used for lazily-loaded chunks). Addresses #34124 and #18315.

    • Fixed

      Fixed an issue where an application that repeatedly threw the same uncaught exception (for example, a benign ResizeObserver loop ... notification fired on every animation frame) could exhaust renderer memory and crash the browser. Consecutive identical uncaught exceptions within a test now collapse into a single, updating command-log entry, and a handled (suppressed) uncaught exception no longer captures a DOM snapshot. Addresses #27415.

    • Fixed

      Fixed an issue where calling req.destroy() or using { forceNetworkError: true } inside a cy.intercept() handler in experimental WebKit caused infinite request loops. Fixes #23810. Fixed in #33948.

5 other lines we could not sort, mostly version bumps
  • Upgraded @sinonjs/fake-timers from 11.3.1 to 14.0.0. While cy.clock() is active, the faked performance object now implements performance.mark() and performance.measure() (previously no-ops that returned undefined) and reports a faked performance.timeOrigin. Addressed in #34377.

    15.21.0
  • Running cypress install when Cypress is installed globally no longer prints a warning recommending that Cypress be installed as a per-project devDependency. Addresses #34134.

    15.18.0
  • Running Cypress with process profiler debug logs enabled (for example DEBUG=cypress*process_profiler) no longer intermittently prints an Expected DataContext to already have been set via setCtx error to the logs. Addresses #30670.

    15.18.0
  • Cypress now shows a clear error explaining that browsers must be an array and that a specific browser should be selected with --browser when a CYPRESS_BROWSERS environment variable is set to a plain string (for example CYPRESS_BROWSERS=chrome) instead of showing an opaque TypeError: a.map is not a function error. Addresses #33198.

    15.18.0
  • Upgraded webdriver from 9.14.0 to 9.28.0, geckodriver from 5.0.0 to 6.1.0, and edgedriver from 6.1.1 to 6.3.0. These packages are used to launch and automate Firefox during cypress run and cypress open. Addresses #34072.

    15.18.0

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.