Packages

@cypress/schematic

6.0.0 · 26 Aug 2026MIT116k / weekRepositoryHomepagenpmAtom feed

Your version

38 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 6.x · latest line
  2. 6.0.0

    26 Aug 2026
    • Deprecated

      cy.server() and cy.route() have been deprecated. In a future release, support for cy.server() and cy.route() will be moved to a plugin. We encourage you to use cy.intercept() instead. Addressed in #9185.

    • Deprecated

      experimentalFetchPolyfill has been deprecated. We encourage you to use cy.intercept() to intercept requests using the Fetch API instead.

    • 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 as not.visible, not.contains, not.have.class, etc will now fail when used on non-existent DOM elements. Addresses #205.

  3. 5.x
  4. 5.0.0

    19 Dec 2025
    • Deprecated

      The cypress-plugin-retries plugin has been deprecated in favor of test retries built into Cypress. Addresses #1313.

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

  5. 4.x
  6. 4.3.0

    5 Dec 2025
    • Errors shown in the Test Runner have a new design including an expandable stack trace, better highlighting of code elements, and 'Learn more' links that link to relevant Cypress documentation. This is part of our larger improvements to error display with more exciting features to come. Addresses #3762.

    • When you open a Cypress project, clicking on the Settings tab and clicking into the Experiments panel will display the experimental features that are available and whether they are enabled for your project.

    • Added support for setting cookie sameSite values via cy.setCookie(). Addresses #2437.

  7. 4.2.0

    3 Dec 2025
    • Videos can now be recorded when running Electron in --headed mode. Addresses #1767.

    • cypress cache list now prints the last time the cached binary was accessed for each version present. Addresses #6682.

    • We fixed a regression in 3.8.3 where HTTPS requests could experience slowdown. Fixes #6659.

  8. 4.1.1 – 4.1.44 releases without a noteShow each
  9. 4.1.0

    14 Aug 2025
    • There is a new cypress info command to see the locally detected browsers and other information related to Cypress. Addresses #4540.

    • You can now click a 'Try Again' button to recheck if the server at the designated baseUrl is running within the warning message during cypress open. Addresses #3284.

    • The plugins file function's config argument now includes projectRoot (absolute path to the root of the project) and configFile (absolute path to the configuration file). Addresses #5941.

  10. 4.0.0

    8 Aug 2025
    • Breaking

      The --browser flag no longer accepts canary as its sole argument to run Chrome Canary. You now have to specify chrome:canary to use the Chrome Canary browser. Addresses #6243.

    • Breaking

      Installing Cypress on your system now requires Node.js 8+. Addresses #5632.

    • Mocha, Chai, and Sinon.JS has been upgraded which includes a number of breaking changes and new features. Addresses #2528, #2529, #2866.

  11. 3.x
  12. 3.0.0

    8 Jan 2025
    • Removed

      screenshotOnHeadlessFailure has been removed as an option in cypress.json. Instead you can now control this behavior directly with code by setting screenshotOnRunFailure to false within the new Screenshot API. Fixes #1140 and #1754.

    • There is a new cy.task() command that enables you to go outside the browser to perform tasks directly in node. This will make it easy to setup, scaffold, seed, talk to your database, or anything else useful on a backend.

    • cy.screenshot() has been rewritten from the ground up. It now takes a screenshot of only the application under test by default. It also can take full page screenshots or element only screenshots. This is the first step of Cypress Dashboard support for screenshot diffing.

  13. 2.x
  14. 2.1.1 – 2.5.27 releases without a noteShow each
  15. 2.1.0

    30 Aug 2022
    • Prevent a bug with node-sass on OSX + Windows when local node version does not match bundled node when importing components directly in spec files. The underlying issue was because we forgot to update Buildkite and Appveyor when we upgraded Electron in 2.0.0. Fixes #1387 and #1390.

    • The Selector Playground has been updated to automatically prefer data-cy, data-test or data-testid attributes when providing the unique selector for an element. Additionally it now exposes a public API that you can use to control how it determines which selector to use. Fixes #1135.

  16. 2.0.3

    17 Aug 2022
    • The runner no longer appears to "hang" if a before hook fails in a test with siblings. Previously the test would never generate a status and look pending forever. This was a visual bug only. Fixes #1343.

    • The Desktop GUI properly renders folders that contain specs in Windows now. Fixes #1335.

    • The viewport dropdown helper in the Runner now displays string quoted JSON instead of an object literal. This better matches how you should write those options in cypress.json. Fixes #1350.

  17. 2.0.2

    10 Aug 2022
    • Fixed more edge cases where legitimate JavaScript code was being modified unexpectedly by the modifyObstructiveCode configuration. We've tightened up the regexp even more and added 40 popular JS libraries to test against to ensure they are not modified. Fixes #1334.

    • Fixed an edge case when hooks such as beforeEach or afterEach threw an identical error message, Cypress would hang indefinitely and never finish running the tests. Fixes #674.

    • Fixed bug when Errors that threw with no arguments: throw new Error() and had their messages appended would duplicate the message over and over again. Fixes #1338.

  18. 2.0.0

    1 Jun 2022
    • Removed

      Removed the flag --disable-background-networking from the Chrome launch args to fix problems in CI that would throttle XHR callbacks by up to 20-30 seconds. Fixes #1320.

    • The built in default Electron browser has been bumped from version 53 to 59. This version represents the version of Chromium that Electron is using. In other words, running cypress run (or via Electron) will be like running your tests in Chrome 59 now. Although it is unlikely this would actually break any of your tests - it is technically possible they could behave differently. Fixes #895 and #891 and #823 and #860 and #1011 and #1252 and #1276.

    • We are now detecting and automatically stripping code that obstructs Cypress from being able to test your application. Specifically, we are removing JavaScript code that tries to prevent clickjacking and framebusting. We have written very conservative rules that do their best to only strip these specific JS snippets, but it is technically possible that it may unintentionally rewrite valid JS if they match the regexp patterns. There is a new configuration option called modifyObstructiveCode that is true by default. If you are experiencing problems after upgrading, you can turn this off and this will disable modifying your JS code. If you were using Cypress and upon visiting your website you would experience seemingly "random" redirects - these problems should now be eliminated. Fixes #886 and #1245 and #1064 and #992 and #692 and #352.

  19. 1.x
  20. 1.5.0 – 1.7.05 releases without a noteShow each
  21. 1.4.2

    29 Jun 2021
    • Fixed not being able to visit subdomains when using 2nd level sub domains. Fixes #1175 and #600.

    • Fixed not being able to visit private TLD's from the public suffix such as github.io, gitlab.io or herokuapp.com. These now all work correctly. Fixes #380 and #402 and #802 and #493 and #1161.

    • Fixed not being able to visit URLs that used *localhost such as http://app.localhost:8080. Fixes #451.

  22. 1.4.1

    29 Jun 2021
    • Using DEBUG=cypress:* now correctly outputs all debugging information on OSX and Linux. Previously output other then cypress:cli was ignored due to the CLI ignoring stderr from the binary. Fixes #921.

    • stdout is now captured correctly in Windows when recording to the Dashboard. Fixes #977 and issue #711.

    • Windows now forcibly displays colors correctly to the terminal. Fixes #1127.

  23. 1.4.0

    25 Jun 2021
    • There is now a Search Bar in the Desktop GUI that enables you to filter the list of specs. Helpful for projects with a ton of spec files. Fixes #1098.

    • The seeded example_spec.js file no longer fails in Windows on the cy.exec() test. It now conditionally runs a command appropriate for Windows. Fixes #1097.

    • Trying to log in to Cypress no longer causes the app to crash. This area has had many more tests added. Fixes #1093.

  24. 1.3.1

    17 Jun 2021
  25. 1.3.0

    26 May 2021
    • Plugins now emit a before:browser:launch event exposing you the browser that will be launched and its launch arguments. This enables you to modify the arguments prior to launching the browser. You can also use these arguments to modify how Chrome runs and to also test Chrome extensions. Fixes #691 and #298.

    • We have launched a "CSS Selector Playground", a new UI button in the Test Runner that enables you to highlight elements in your application and receive a unique selector. You can also find elements by their text content. These mimics cy.get() and cy.contains() behavior. Additionally you can copy the generated Cypress command to your clipboard or output the generated selector to your console. This feature is in beta. It only works in Chrome (not in Electron). We are aware of some bugs in it, but it is good enough for use and feedback. Please check out issue #917, watch an animated gif demonstration, and leave any feedback you have there. Fixes #917.

  26. 1.2.0

    21 May 2021
    • Plugins can now return a Promise and modify the yielded config to set new configuration values and environment variables. Fixes #1042 and #909 and #576.

    • There is a new userAgent option in cypress.json. This enables you to change the userAgent of the browser for the entire browsing session. Fixes #364.

    • There is a new blacklistHosts option in cypress.json that allows you to block requests made to those hosts. Blocked requests will respond with a 503 status code. This is useful for blocking 3rd party domains like Google Analytics. We have added a new recipe demonstrating this. Fixes #442.

  27. 1.1.0

    17 May 2021
    • We have officially launched the new Plugins API interface. This adds a cypress/plugins/index.js file to new and existing projects. Using this file will enable you to modify the internals of Cypress running in the background node process. This means you will be able to use node API's that are executed outside of the browser.

    • We have currently added only one event for modifying the test file preprocessor, but this paves the way for adding many more event types. You can now modify every aspect of how files are sent to the browser.

    • We have extracted the default browserify preprocessor into its own package - @cypress/browserify-preprocessor://github.com/cypress-io/cypress-browserify-preprocessor. This is bundled with Cypress, but it is extracted so it can be used / modified by you to change the default options we pass to browserify. Additionally, you can swap out this preprocessor for something else entirely.

  28. 1.0.3

    13 May 2021
    • The Test Runner now enables you to collapse folders when displaying a list of specs. Fixes #760. Contributed

    • The onChange event callback for React now works (again) on input type number or email. Fixes #816 and #770.

    • Fixed error when recording and failing to parse the git commit message. Fixes #847 and #841.

  29. 1.0.2

    12 May 2021

    Reading the note…

  30. 1.0.1

    12 May 2021
  31. 1.0.0

    12 May 2021
    • 1.0.0 marks our transition out of a private beta and into a public beta. We've lifted all the restrictions for using Cypress. It is now accessible to everyone. Until we are out of beta, the Dashboard Service will continue to be free.

    • We will continue to follow semver from this point on (and also a bit more rigorously).

    • Cypress is now open source! This project is licensed under the terms of the MIT License.

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.