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
- 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
19 other lines we could not sort, mostly version bumps
- 11.0.0
Removed
cssFile,cssFiles,style,styles,stylesheet, andstylesheetsfrom theoptionsargument to thecy.mount()function. We recommend writing test-specific styles in a separatecssfile you import in your test, or in yoursupportFile. See migration guide. Addresses #24328. - 11.0.0
Subsequent
cy.mountcalls within the same test remove the last mounted component from the DOM. Addresses #24329. - 11.0.0
mountfromcypress/vuenow returns an object with both the VueWrapper (wrapper) and the component instance (component). Addresses #24342. - 11.0.0
When providing an inline
viteConfiginside ofcypress.config, anyvite.config.jsfile 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.configureTestingModuleAPI. 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 usingcy.mount(MyComponent, { providers: [...] }). To override component-level providers, use theTestBed.overrideComponentAPI. 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, orNODE_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(), andcy.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.
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.