Cypress v5.1.0stable Released Sep 01, 2020
Impact Score: 5/10

Cypress v5.1.0 โ€” Release Notes & Engineering Impact

Source available โ€” automated, not human-reviewed

Component: cypress ยท Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-01.

Compatibility not verified โ€” check source notes
๐Ÿ“„ .MD
โšก Executive Summary (TL;DR)

Cypress v5.1.0. Source highlight: Introducing *experimental* full network stubbing support ๐ŸŽ‰.

Who Does This Impact? (Role-Based Analysis)

๐Ÿ’ป Software Engineers & Devs

Check the source notes against the package and APIs you use before upgrading.

๐Ÿ“Š Product & Engineering Leads

Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.

โš™๏ธ DevOps & Security

Verify the target version, runtime requirements and rollback procedure in the official documentation.

โœจ New Features & Capabilities (3)

  • Introducing *experimental* full network stubbing support ๐ŸŽ‰.
  • Added `retries` to `TestOptions` types. Addresses #8405.
  • Added types for `specType` field on `Cypress.spec`. Addresses #8256.

โšก Performance & Enhancements (1)

  • Improved warnings for when user is exceeding test limits of the free Dashboard plan. Addresses #8409.

๐Ÿ”ง Bug Fixes & Patches (6)

  • Fixed a typo in type definitions. Addresses #8417.
  • Fixed an issue where, if npm config's `noproxy` is set, unexpected behavior could occur. Addresses #8287.
  • Fixed an issue where nesting hooks within other hooks caused the test to never finish. Addresses #8350.
  • Fixed an issue in where tests would unexpectedly fail with a "Can't resolve 'async_hooks'" error. Addresses #8375.
  • Fixed an issue where return values from blob utils were mistaken for promises and could cause errors. Addresses #8365.
  • Fixed an issue with loading `.mjs` files. Addresses #8361.
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
*Released 9/1/2020* **Features:** - Introducing *experimental* full network stubbing support ๐ŸŽ‰. - With `experimentalNetworkStubbing` enabled, the `cy.route2` command is available. - By using [cy.route2()](https://on.cypress.io/route2), your tests can intercept, modify, and wait on any type of HTTP request originating from your app, including `XMLHttpRequest`s, `fetch` requests, beacons, and subresources (like iframes and scripts). - Outgoing HTTP requests can be modified before reaching the destination server, and the HTTP response can be intercepted as well before it reaches the browser. - See the [cy.route2()](https://on.cypress.io/route2) docs for more information on how to enable this experiment. - `cy.trigger()` now accepts an `eventConstructor` option for specifying the constructor with which to create the event to trigger. Addresses [#5650](https://github.com/cypress-io/cypress/issues/5650). **Bugfixes:** - Improved warnings for when user is exceeding test limits of the free Dashboard plan. Addresses [#8409](https://github.com/cypress-io/cypress/issues/8409). - Added `retries` to `TestOptions` types. Addresses [#8405](https://github.com/cypress-io/cypress/issues/8405). - Added types for `specType` field on `Cypress.spec`. Addresses [#8256](https://github.com/cypress-io/cypress/issues/8256). - Fixed a typo in type definitions. Addresses [#8417](https://github.com/cypress-io/cypress/issues/8417). - Cypress now resolves and loads tsconfig.json for TypeScript projects starting from the plugins directory. Addresses [#8359](https://github.com/cypress-io/cypress/issues/8359). - Fixed an issue where, if npm config's `noproxy` is set, unexpected behavior could occur. Addresses [#8287](https://github.com/cypress-io/cypress/issues/8287). - Fixed an issue where nesting hooks within other hooks caused the test to never finish. Addresses [#8350](https://github.com/cypress-io/cypress/issues/8350). - Fixed an issue in where tests would unexpectedly fail with a "Can't resolve 'async_hooks'" error. Addresses [#8375](https://github.com/cypress-io/cypress/issues/8375). - Fixed an issue where return values from blob utils were mistaken for promises and could cause errors. Addresses [#8365](https://github.com/cypress-io/cypress/issues/8365). - Fixed an issue with loading `.mjs` files. Addresses [#8361](https://github.com/cypress-io/cypress/issues/8361). - Fixed an issue causing tests to run slowly in Electron. Addresses [#7930](https://github.com/cypress-io/cypress/issues/7930). - Using `.should` with only chainer assertions will now throw an error. Addresses [#883](https://github.com/cypress-io/cypress/issues/883). - `cy.trigger()` now includes the `view` property in the event object when appropriate. Addresses [#3686](https://github.com/cypress-io/cypress/issues/3686). - Fixed an issue where Cypress would not detect newer 64-bit installations of Chrome on Windows. Addresses [#8425](https://github.com/cypress-io/cypress/issues/8425). - Fixed an issue where Cypress would not detect per-user Firefox installations on Windows. Addresses [#8432](https://github.com/cypress-io/cypress/issues/8432). **Dependency Updates:** - Updated dependency `iconv-lite` to version `0.6.2`. Addresses [#8387](https://github.com/cypress-io/cypress/issues/8387). - Updated dependency `command-exists` to version `1.2.9`. Addresses [#8388](https://github.com/cypress-io/cypress/issues/8388). - Updated dependency `electron` to version `9.2.1`. Addresses [#8436](https://github.com/cypress-io/cypress/issues/8436).