cypress-io/cypress
### [`v4.2.0`](https://togithub.com/cypress-io/cypress/releases/v4.2.0)
[Compare Source](https://togithub.com/cypress-io/cypress/compare/v4.1.0...v4.2.0)
_Released 3/16/2020_
**Features:**
- Videos can now be recorded when running Electron in `--headed` mode. Addresses [#1767](https://togithub.com/cypress-io/cypress/issues/1767).
- [`cypress cache list`](https://on.cypress.io/command-line#cypress-cache-list) now prints the last time the cached binary was accessed for each version present. Addresses [#6682](https://togithub.com/cypress-io/cypress/issues/6682).
**Bugfixes:**
- We fixed a regression in [3.8.3](https://on.cypress.io/changelog-3-8-3) where HTTPS requests could experience slowdown. Fixes [#6659](https://togithub.com/cypress-io/cypress/issues/6659).
- We now detect some installations of Firefox that were previously undetected. Fixes [#6669](https://togithub.com/cypress-io/cypress/issues/6669).
- We fixed a race condition where an asynchronous error could fail to be caught when running the plugins file process. Fixes [#6570](https://togithub.com/cypress-io/cypress/issues/6570).
- We now more thoroughly ensure the parent of an element exists when recursively calling actionability checks in order to prevent some maximum call stack errors. Fixes [#6707](https://togithub.com/cypress-io/cypress/issues/6707).
- Specfiles containing `&` or `%` characters now correctly run instead of erroring. Fixes [#4210](https://togithub.com/cypress-io/cypress/issues/4210).
- We added support for running tests on Jira plugins even when Jira scripts were not minified. Fixes [#1436](https://togithub.com/cypress-io/cypress/issues/1436).
- We fixed a bug causing specs to hang after rerunning tests during `cypress open` when there was an exception if thrown in an `after` hook. Fixes [#6619](https://togithub.com/cypress-io/cypress/issues/6619).
- [`cypress verify`](https://on.cypress.io/command-line#cypress-verify) no longer incorrectly prints messaging about this being the first time using that Cypress version. Fixes [#6607](https://togithub.com/cypress-io/cypress/issues/6607).
- Screenshots no longer fail to be taken in Electron when Cypress `DEBUG` logs are enabled. Fixes [#6662](https://togithub.com/cypress-io/cypress/issues/6662).
**Misc:**
- A warning is now printed when setting the reserved key `CYPRESS_INTERNAL_ENV` to a non-production value. Addresses [#6436](https://togithub.com/cypress-io/cypress/issues/6436).
- When DEBUG logs are printed from `cypress:launcher`, they now print a clearer log during browser detection for easier reading. Addresses [#6700](https://togithub.com/cypress-io/cypress/issues/6700).
- The Test Runner now renders ANSI colors when there is a syntax error in the spec file. Addresses [#6533](https://togithub.com/cypress-io/cypress/issues/6533).
- The Test Runner now has an icon indicating whether the specs list parent folder is collapsed. Addresses [#6277](https://togithub.com/cypress-io/cypress/issues/6277).
- There's better type information for [`.click`](https://on.cypress.io/click), [`.dblclick`](https://on.cypress.io/dblclick), and [`.rightclick`](https://on.cypress.io/rightclick) command's `position` argument. Addresses [#6341](https://togithub.com/cypress-io/cypress/issues/6341).
- There's a more robust type signature for [`.its()`](https://on.cypress.io/its) and [`.invoke()`](https://on.cypress.io/invoke). Addresses [#6431](https://togithub.com/cypress-io/cypress/issues/6431).
- Using [`Cypress.dom.isDetached`](https://on.cypress.io/dom#Is-detached) no longer throws a type error in TypeScript projects. Addresses [#4408](https://togithub.com/cypress-io/cypress/issues/4408).
- Using [`cy.clearLocalStorage({ log:false })`](https://on.cypress.io/clearlocalstorage) no longer throws a type error in TypeScript projects. Addresses [#6615](https://togithub.com/cypress-io/cypress/issues/6615).
- We added types for [`Cypress.sinon`](https://on.cypress.io/sinon). Addresses [#6720](https://togithub.com/cypress-io/cypress/issues/6720).
- We've added the foundational work required to support experimental features in the Test Runner. Addresses [#6257](https://togithub.com/cypress-io/cypress/issues/6257).
**Dependency Updates**
- Upgraded Chrome browser version used during `cypress run` and when selecting Electron browser in `cypress open` from `78` to `80`. Addressed in [#6555](https://togithub.com/cypress-io/cypress/pull/6555).
- Upgraded `electron` from `7.1.13` to `8.1.1`. Addressed in [#6555](https://togithub.com/cypress-io/cypress/pull/6555).
- Upgraded `@ffmpeg-installer/ffmpeg` from `1.0.19` to `1.0.20`. Addressed in [#6686](https://togithub.com/cypress-io/cypress/pull/6686).
- Upgraded `minimist` from `1.2.0` to `1.2.2`. Addressed in [#6726](https://togithub.com/cypress-io/cypress/pull/6726).
- Replaced deprecated `request` with `cypress-io/request`. Addressed in [#6679](https://togithub.com/cypress-io/cypress/pull/6679).
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
4.1.0
->4.2.0
Release Notes
cypress-io/cypress
### [`v4.2.0`](https://togithub.com/cypress-io/cypress/releases/v4.2.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v4.1.0...v4.2.0) _Released 3/16/2020_ **Features:** - Videos can now be recorded when running Electron in `--headed` mode. Addresses [#1767](https://togithub.com/cypress-io/cypress/issues/1767). - [`cypress cache list`](https://on.cypress.io/command-line#cypress-cache-list) now prints the last time the cached binary was accessed for each version present. Addresses [#6682](https://togithub.com/cypress-io/cypress/issues/6682). **Bugfixes:** - We fixed a regression in [3.8.3](https://on.cypress.io/changelog-3-8-3) where HTTPS requests could experience slowdown. Fixes [#6659](https://togithub.com/cypress-io/cypress/issues/6659). - We now detect some installations of Firefox that were previously undetected. Fixes [#6669](https://togithub.com/cypress-io/cypress/issues/6669). - We fixed a race condition where an asynchronous error could fail to be caught when running the plugins file process. Fixes [#6570](https://togithub.com/cypress-io/cypress/issues/6570). - We now more thoroughly ensure the parent of an element exists when recursively calling actionability checks in order to prevent some maximum call stack errors. Fixes [#6707](https://togithub.com/cypress-io/cypress/issues/6707). - Specfiles containing `&` or `%` characters now correctly run instead of erroring. Fixes [#4210](https://togithub.com/cypress-io/cypress/issues/4210). - We added support for running tests on Jira plugins even when Jira scripts were not minified. Fixes [#1436](https://togithub.com/cypress-io/cypress/issues/1436). - We fixed a bug causing specs to hang after rerunning tests during `cypress open` when there was an exception if thrown in an `after` hook. Fixes [#6619](https://togithub.com/cypress-io/cypress/issues/6619). - [`cypress verify`](https://on.cypress.io/command-line#cypress-verify) no longer incorrectly prints messaging about this being the first time using that Cypress version. Fixes [#6607](https://togithub.com/cypress-io/cypress/issues/6607). - Screenshots no longer fail to be taken in Electron when Cypress `DEBUG` logs are enabled. Fixes [#6662](https://togithub.com/cypress-io/cypress/issues/6662). **Misc:** - A warning is now printed when setting the reserved key `CYPRESS_INTERNAL_ENV` to a non-production value. Addresses [#6436](https://togithub.com/cypress-io/cypress/issues/6436). - When DEBUG logs are printed from `cypress:launcher`, they now print a clearer log during browser detection for easier reading. Addresses [#6700](https://togithub.com/cypress-io/cypress/issues/6700). - The Test Runner now renders ANSI colors when there is a syntax error in the spec file. Addresses [#6533](https://togithub.com/cypress-io/cypress/issues/6533). - The Test Runner now has an icon indicating whether the specs list parent folder is collapsed. Addresses [#6277](https://togithub.com/cypress-io/cypress/issues/6277). - There's better type information for [`.click`](https://on.cypress.io/click), [`.dblclick`](https://on.cypress.io/dblclick), and [`.rightclick`](https://on.cypress.io/rightclick) command's `position` argument. Addresses [#6341](https://togithub.com/cypress-io/cypress/issues/6341). - There's a more robust type signature for [`.its()`](https://on.cypress.io/its) and [`.invoke()`](https://on.cypress.io/invoke). Addresses [#6431](https://togithub.com/cypress-io/cypress/issues/6431). - Using [`Cypress.dom.isDetached`](https://on.cypress.io/dom#Is-detached) no longer throws a type error in TypeScript projects. Addresses [#4408](https://togithub.com/cypress-io/cypress/issues/4408). - Using [`cy.clearLocalStorage({ log:false })`](https://on.cypress.io/clearlocalstorage) no longer throws a type error in TypeScript projects. Addresses [#6615](https://togithub.com/cypress-io/cypress/issues/6615). - We added types for [`Cypress.sinon`](https://on.cypress.io/sinon). Addresses [#6720](https://togithub.com/cypress-io/cypress/issues/6720). - We've added the foundational work required to support experimental features in the Test Runner. Addresses [#6257](https://togithub.com/cypress-io/cypress/issues/6257). **Dependency Updates** - Upgraded Chrome browser version used during `cypress run` and when selecting Electron browser in `cypress open` from `78` to `80`. Addressed in [#6555](https://togithub.com/cypress-io/cypress/pull/6555). - Upgraded `electron` from `7.1.13` to `8.1.1`. Addressed in [#6555](https://togithub.com/cypress-io/cypress/pull/6555). - Upgraded `@ffmpeg-installer/ffmpeg` from `1.0.19` to `1.0.20`. Addressed in [#6686](https://togithub.com/cypress-io/cypress/pull/6686). - Upgraded `minimist` from `1.2.0` to `1.2.2`. Addressed in [#6726](https://togithub.com/cypress-io/cypress/pull/6726). - Replaced deprecated `request` with `cypress-io/request`. Addressed in [#6679](https://togithub.com/cypress-io/cypress/pull/6679).Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.