@cypress/schematic
6.0.0 · 26 Aug 2026MIT116k / weekRepositoryHomepagenpmAtom feed
Upgrading @cypress/schematic From 1.6.0 to 6.0.0
23 releases in betweennotes for 11
Reading releases, release notes and advisories…
- 10+
- changes to make
- 0
- advisories fixed
- 9+
- new
- 14+
- fixes
Counted from 11 of 23 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking5.0.0
- Breaking5.0.0
- Breaking5.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking3.0.0
- Breaking2.0.0
- Deprecated6.0.0
- Deprecated6.0.0
- Deprecated5.0.0
Release by release
- Deprecated
The
experimentalNetworkStubbingoption has been removed and made the default behavior. You can safely removed this configuration option. Addressed in #9185. - Deprecated
experimentalFetchPolyfillhas been deprecated. We encourage you to usecy.intercept()to intercept requests using the Fetch API instead. - New
Added the type of
redirectsand changedredirectedToUrloptional for Response types. Addresses #9275. - Fixed
Fixed an issue where
Content-Lengthforcy.route2request bodies could be incorrectly recalculated. Fixes #9166.
- Deprecated
- Breaking
Cypress no longer supports file paths with a question mark
?in them. We now use the webpack preprocessor by default and it does not support files with question marks. Addressed in #7982. - Breaking
Cypress now requires TypeScript 3.4+. Addressed in #7856.
- Breaking
Installing Cypress on your system now requires Node.js 10+. Addresses #6574.
- Deprecated
The
cypress-plugin-retriesplugin has been deprecated in favor of test retries built into Cypress. Addresses #1313.
- Breaking
4.1.1 – 4.2.05 releases, nothing new or fixed; 4 without a note
- Breaking
We updated the Cypress browser objects of all Chromium-based browsers, including Electron, to have
chromiumset as theirfamilyfield. Addresses #6243. - Breaking
Installing Cypress on your system now requires Node.js 8+. Addresses #5632.
- New
Added Cross Browser Testing Guide with helpful CI strategies to consider when running tests across multiple browsers.
- New
Added
Cypress.isBrowser()doc. - New
Added
@benmalka/foxdriver. Addressed in #1359.
- Breaking
- Breaking
screenshotOnHeadlessFailurehas been removed as an option incypress.json. Instead you can now control this behavior directly with code by settingscreenshotOnRunFailuretofalsewithin the new Screenshot API. Fixes #1140 and #1754. - New
Added Chrome flag
--disable-blink-features=RootLayerScrollingto prevent the application under test from "shaking" in recent versions of Chrome. Fixes #1620. - New
- New
Added keywords to Cypress NPM package. Fixes #1508.
- Breaking
2.1.1 – 2.5.27 releases, no release note
210 other lines we could not sort, mostly version bumps
- 6.0.0
Cypress now always throws an error when asserting on an element that doesn't exist in the DOM (unless you're asserting that the element should
not.exist). Assertions such asnot.visible,not.contains,not.have.class, etc will now fail when used on non-existent DOM elements. Addresses #205. - 6.0.0
DOM elements where the CSS style (or ancestors) are
opacity: 0are no longer considered visible. However these are still considered actionable and "any action commands" interacting-with-elements#Actionability used to interact with the element will perform the action. This matches browser's implementation on how they regard elements withopacity: 0. Addresses #4474. - 6.0.0
The type yielded by
cy.wait(alias)has changed in order to support use ofcy.intercept(). Addressed in #9266. - 6.0.0
- 6.0.0
We removed several deprecation errors around APIs that were removed in versions of Cypress prior to 4.0.0. This will not cause any changes for anyone upgrading from a 4.0+ version of Cypress. For a full list of all APIs affected see #8946.
- 6.0.0
We updated our HTTP status codes and reason phrases to match Node.js
http.STATUS_CODES. If you have code that relies on a reason phrase, then this could affect you. Addressed in #8969. - 6.0.0
JSON request and response bodies captured by
cy.intercept()are now automatically parsed, removing the need to manually doJSON.parse. Addressed in #9280. - 6.0.0
cy.route2()was renamed tocy.intercept(). We encourage you to update usages ofcy.route2()to usecy.intercept(). Addressed in #9182. - 6.0.0
We now pass
—disable-dev-shm-usageto the Chrome browser flags by default. This will write shared memory files into/tmpinstead of/dev/shm. If you're passing this flag in yourpluginsfile, you can now remove this code. Addresses #5336. - 6.0.0
A warning is now displayed when passing invalid configuration keys through the CLI. Addresses #428.
15 internal lines (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.