Packages

cypress

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

Upgrading cypress From 10.11.0 to 11.0.0

1 release in betweenevery note read

Other targets from 10.11.0Latest16.3.0
  1. 10.11.0yours
  2. 11.0.0target
1
change to make
0
advisories fixed
0
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking11.0.0

Release by release

  1. 11.0.0

    Migration needed8 Nov 20221 fix
    • Breaking

      Read our Migration Guidewhich explains the breaking changes in more detail.

    • Fixed

      Fix types associated with cy.mount() that were incorrectly typed as any. Fixes #24330.

19 other lines we could not sort, mostly version bumps
  • Removed cssFile, cssFiles, style, styles, stylesheet, and stylesheets from the options argument to the cy.mount() function. We recommend writing test-specific styles in a separate css file you import in your test, or in your supportFile. See migration guide. Addresses #24328.

    11.0.0
  • Subsequent cy.mount calls within the same test remove the last mounted component from the DOM. Addresses #24329.

    11.0.0
  • mount from cypress/vue now returns an object with both the VueWrapper (wrapper) and the component instance (component). Addresses #24342.

    11.0.0
  • When providing an inline viteConfig inside of cypress.config, any vite.config.js file is not automatically merged. See migration guide. Addresses #24133.

    11.0.0
  • Angular providers passed as part of the mounting options are assigned at the module level using the TestBed.configureTestingModule API. This change means that module-level providers (resolved from imports or @Injectable({ providedIn: 'root' }) can be overridden, but providers specified in @Component({ providers: [...] }) are not overridden when using cy.mount(MyComponent, { providers: [...] }). To override component-level providers, use the TestBed.overrideComponent API. See migration guide. Addresses #24047 and #23427.

    11.0.0
  • Communication with the Cypress Dashboard now verifies CAs and rejects any unauthorized calls. If you use a self-signed CA you need to set npm_config_ca, npm_config_cafile, or NODE_EXTRA_CA_CERTS. Addresses #23980.

    11.0.0
  • cy.session() now requires a setup command to use the command. Addresses #24311.

    11.0.0
  • Incorporated V8 snapshots into the build process of the Electron binary to improve startup time and reduce the time to download and unzip the binary during installation. Startup time is the time from running a command to when Cypress's window is first opened. Addresses #18480.

    11.0.0
  • cy.getCookie(), cy.getCookies(), cy.setCookie(), cy.clearCookie(), and cy.clearCookies() now accept a domain option. Addresses #24264.

    11.0.0
  • The cy.mount() snapshot now shows the mounted component instead of a blank page. Fixes #24138.

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