Packages

cypress

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

Your version

15.21.0

18 Aug 2026Where it was published

15.21.2 is the newest release of 15.x.

In short

1 deprecated1 new6 fixed1 changed1 internal

  • 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.

Release note

15.21.0​

Released Aug 18, 2026

Deprecations:

  • 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.

Features:

  • 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.

Bugfixes:

  • 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 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.

  • Fixed an issue where cypress run printed the (Attempt N of M) line twice for the same attempt when a beforeEach and an afterEach hook both failed during that attempt. Fixes #26143.

  • Fixed an issue where passing an object to the have.attr, have.css, or have.prop assertions, such as .should('have.css', { backgroundColor: 'rgb(128, 0, 0)' }), applied those styles, attributes, or properties to the element and passed instead of asserting on them. These assertions now fail with an error stating that the name must be a string. Fixes #26451.

  • Fixed an issue where the console props output for a cy.env() command listed the requested environment variable names under numbered keys instead of a single Env vars label. Addressed in #34615.

  • Fixed an issue on Windows where adding, renaming, moving or deleting a spec file while cypress open was running was not reflected in the specs list, leaving stale specs until Cypress was restarted. Clicking a spec that had been renamed or moved could then fail to run. Projects whose specPattern contains a directory, such as the End-to-End Testing default cypress/e2e/**/*.cy.{js,jsx,ts,tsx}, were affected. Fixes #22303.

Dependency Updates:

  • 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.

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.