cypress-io/cypress
### [`v9.6.1`](https://togithub.com/cypress-io/cypress/releases/v9.6.1)
[Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.6.0...v9.6.1)
*Released 5/9/2022*
**Bugfixes:**
- Cypress can now launch on systems where Firefox is installed via Snapcraft.
Fixed [#19793](https://togithub.com/cypress-io/cypress/issues/19793).
- Updates were made to ensure XHR calls are properly displaying the response
body in the command log. Fixed
[#21361](https://togithub.com/cypress-io/cypress/issues/21361).
- Fixed [`cy.contains()`](https://docs.cypress.io/api/commands/contains) and
[`.should('contain', ...)`](/api/commands/should) to handle finding text that
contains backslash characters. Fixed
[#19116](https://togithub.com/cypress-io/cypress/issues/19116)
- Updated [`.type('{enter}')`](/api/commands/type) to support sending the Enter
keystroke to submit buttons that are not rendered within a form html element,
but are associated with a form via the `form` attribute. Fixed
[#21163](https://togithub.com/cypress-io/cypress/issues/21163).
- Fixed an issue with `cy.session()` such that re-running tests in open mode
will now correctly recreate a session. Before this change, an error was thrown
indicating the saved `setup` function was not a function because it was
serialized. Fixed
[#17805](https://togithub.com/cypress-io/cypress/issues/17805).
### [`v9.6.0`](https://togithub.com/cypress-io/cypress/releases/v9.6.0)
[Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.5.4...v9.6.0)
*Released 4/25/2022*
**Features:**
- Now you can easily test multi-domain workflows by using the experimental
[`cy.origin()`](https://docs.cypress.io/api/commands/origin) command. This feature allows you to test
across different origins or domains within a single test. This experiment was
designed to work side-by-side with the [`cy.session()`](https://docs.cypress.io/api/commands/session)
experimental feature. You can turn on use of this command by setting the
[`experimentalSessionAndOrigin`](https://docs.cypress.io/guides/references/experiments) configuration
option to `true`. For more details, read
[our blog post](https://cypress.io/blog/2022/04/25/cypress-9-6-0-easily-test-multi-domain-workflows-with-cy-origin/).
Addressed [#17336](https://togithub.com/cypress-io/cypress/issues/17336) and
[#944](https://togithub.com/cypress-io/cypress/issues/944).
- Added a new configuration option called `experimentalSessionAndOrigin`. This
option enables support for [`cy.session()`](https://docs.cypress.io/api/commands/session) and
[`cy.origin()`](https://docs.cypress.io/api/commands/origin).
- The `experimentalSessionSupport` configuration option has been removed and
replaced by the `experimentalSessionAndOrigin` configuration option. Please
update your configuration to use the new `experimentalSessionAndOrigin`
option to continue to opt-in to this experimental feature.
- When `experimentalSessionAndOrigin` is enabled, cross-origin requests will
no longer immediately fail, but instead, time out based on the
[`pageLoadTimeout`](https://docs.cypress.io/guides/references/configuration#Timeouts)
configuration. This allows the request to be appropriately handled by the
[`cy.origin()`](https://docs.cypress.io/api/commands/origin) command.
- When `experimentalSessionAndOrigin` is enabled, Cypress will no longer wait
on page loads between hooks before moving on to the next test.
**Bugfixes:**
- Fixed an issue with Firefox 98+ where the Enter keystroke was not being sent
to an input element when using [`.type('{enter}')`](/api/commands/type). Fixed
[#21033](https://togithub.com/cypress-io/cypress/issues/21033).
- We now verify if an interruption while running tests was signaled by the user
or if it came from an error in a plugin before showing the error message.
Fixed [#21010](https://togithub.com/cypress-io/cypress/issues/21010).
- Improved the error message observed on Windows platforms when unzipping the
Cypress binary and the max file length is exceeded. Fixed in
[#21047](https://togithub.com/cypress-io/cypress/pull/21047).
- Updated the `Cypress.Commands.add()` TypeScript types to better reflect the
attributes of the `.add()` utility and the JQuery element, a possible previous
subject type. [#20376](https://togithub.com/cypress-io/cypress/issues/20376).
**Dependency Updates:**
- Upgraded `electron` dependency from `15.3.5` to `15.5.1` to consume fixes
related to
[improve performance](https://togithub.com/electron/electron/pull/33406) on
macOS Big Sur and later. Addressed
[#21068](https://togithub.com/cypress-io/cypress/issues/21068).
### [`v9.5.4`](https://togithub.com/cypress-io/cypress/releases/v9.5.4)
[Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.5.3...v9.5.4)
*Released 4/11/2022*
**Bugfixes:**
- Updates were made to silence Electron warnings related to being unable to
connect to dbus. These errors are normal and expected, and do not result in
test failures. Because they are always present when running Electron inside
docker containers, it has incorrectly led people to believe it is the
root-cause of an error within their test run. By silencing these errors, it
will improve the debug experience to allow users to focus on meaningful
warning and error messages. Fixed
[#19299](https://togithub.com/cypress-io/cypress/issues/19299).
- Updates were made to ensure that all `*.enable` events are sent if Cypress
becomes disconnected from the Chrome DevTools Protocol and must re-establish a
connection to ensure all command logs are displayed to the user. This fixes an
issue where some command logs, like download or network events, are missing
once Cypress has disconnected and then reconnected to the Chrome DevTools
Protocol. Fixed [#20618](https://togithub.com/cypress-io/cypress/issues/20618).
- Fixed an issue where `cy.type('{enter}')` was not sending the Enter key for
Firefox `v98+`. This was not an issue with Firefox `v97` and below. Fixed
[#20562](https://togithub.com/cypress-io/cypress/issues/20562).
- Fixed a regression in [9.3.0](https://docs.cypress.io/guides/references/changelog#9-3-0) where glob
patterns provided to the `--spec` CLI parameter was incorrectly splitting the
patterns in unexpected places when it should have split on commas. Fixes
[#20794](https://togithub.com/cypress-io/cypress/issues/20794).
- Fixed an issue with `cy.root()` to respect the
[`timeout`](https://docs.cypress.io/api/commands/root#Arguments) option passed to the command.
Previously, when the `timeout` option was provided, it was ignored and the
default timeout was used. Fixed
[#19985](https://togithub.com/cypress-io/cypress/issues/19985).
- Updates were made to decrease the length of the Cypress cache path for Windows
to ensure
[installing pre-release versions](https://docs.cypress.io/guides/getting-started/installing-cypress#Install-pre-release-version)
of the Cypress binary are within the maximum path length of 260 characters.
Fixed in [#20961](https://togithub.com/cypress-io/cypress/pulls/20961).
- Fixed a regression in [8.6.0](https://docs.cypress.io/guides/references/changelog#8-6-0) which
prevented `.pause()` from correctly executing when passing the
`--headed --no-exit` CLI flags to `cypress run`. Fixed
[#20745](https://togithub.com/cypress-io/cypress/issues/20745).
- Fixed a regression in [9.2.0](https://docs.cypress.io/guides/references/changelog#9-2-0) which would
sometimes throw an expected error on navigation with `cy.back()` and
`cy.go()`. Fixed [#19749](https://togithub.com/cypress-io/cypress/issues/19749)
and [#20539](https://togithub.com/cypress-io/cypress/issues/20539).
- Corrected the Typescript type for a cookie which was incorrectly typed as
`any` when the correct type is `Cookie`. Fixed in
[#20513](https://togithub.com/cypress-io/cypress/pull/20513).
- Added the missing `Cypress.Command.addAll()` Typescript types. Fixed
[#18886](https://togithub.com/cypress-io/cypress/issue/18886).
- Fixed an uncommon error observed in `cy.session()` where an error was thrown
when no cookies had been set for the session and the user clicks the session
command log to view additional details in the DevTools console. Fixed in
[#20946](https://togithub.com/cypress-io/cypress/pull/20946).
**Misc:**
- A minor visual update was made to the `cy.session()` command log visuals.
Fixed [#20433](https://togithub.com/cypress-io/cypress/issues/20433).
**Dependency Updates:**
- Upgraded `ansi-regex` dependency from `4.1.0` to `4.1.1` to address the
[CVE-2021-3807](https://nvd.nist.gov/vuln/detail/CVE-2021-3807) NVD security
vulnerability. Addressed in
[#20807](https://togithub.com/cypress-io/cypress/pull/20807).
- Upgraded `plist` dependency from `3.0.4` to `3.0.5` to address the
[CVE-2022-22912](https://nvd.nist.gov/vuln/detail/CVE-2022-22912) NVD security
vulnerability. Addressed in
[#20808](https://togithub.com/cypress-io/cypress/pull/20808).
### [`v9.5.3`](https://togithub.com/cypress-io/cypress/releases/v9.5.3)
[Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.5.2...v9.5.3)
*Released 3/28/2022*
**Bugfixes:**
- Corrected a logging issue with `cy.intercept()` where the response status code
and response body were sometimes missing from the log details in `open` mode.
Fixed [#18757](https://togithub.com/cypress-io/cypress/issues/18757).
- Fixed an issue in `cy.readFile()` where the command would not retry or provide
a meaningful error message if `null` encoding was used and the file was not
found. Fixed [#20683](https://togithub.com/cypress-io/cypress/issues/20683).
- Updated the Cypress Keyboard shortcuts to only run the shortcut when the
pressed shortcut key was not used in conjunction with either the `alt`,
`ctrl`, or `shift` modifier keys. This fixed an issue where the Cypress
shortcut handler would override the browser native keyboard shortcut for
search (`ctrl + f`). Fixed
[#20222](https://togithub.com/cypress-io/cypress/issues/20222).
- Updates were made to correctly escape dollar signs in the
`CYPRESS_DOWNLOAD_PATH_TEMPLATE` environment variable. Issues were seen
utilizing this template when the env was provided from a package manager file.
Fixed [#19914](https://togithub.com/cypress-io/cypress/issues/19914).
- Fix the `Cypress.Buffer` TypeScript type to reference the static constructor
of `Buffer`, instead of incorrectly referencing the `Buffer` instance which
caused Type errors. Fixes
[#20542](https://togithub.com/cypress-io/cypress/issues/20542).
**Dependency Updates:**
- Upgraded `electron` dependency from `15.3.4` to `15.3.5` to address the
[CVE-2022-21718](https://nvd.nist.gov/vuln/detail/CVE-2022-21718) NVD security
vulnerability. Addressed in
[#20750](https://togithub.com/cypress-io/cypress/issues/20750).
- Upgraded `minimist` dependency from `1.2.5` to `1.2.6`. Addressed in
[#20756](https://togithub.com/cypress-io/cypress/issues/20756).
- Upgraded `nanoid` dependency from `3.1.20` to `3.1.31` to address the
[CVE-2021-23566](https://nvd.nist.gov/vuln/detail/CVE-2021-23566) NVD security
vulnerability. Addressed in
[#20726](https://togithub.com/cypress-io/cypress/pull/20726).
- Upgraded `node-forge` dependency from `1.0.0` to `1.3.0` to address the
[CVE-2022-24771](https://nvd.nist.gov/vuln/detail/CVE-2022-24771) NVD security
vulnerability. Addressed in
[#20727](https://togithub.com/cypress-io/cypress/pull/20727).
### [`v9.5.2`](https://togithub.com/cypress-io/cypress/releases/v9.5.2)
[Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.5.1...v9.5.2)
*Released 3/14/2022*
**Bugfixes:**
- Fixed an issue with `.type()` where click events could be fired on the
incorrect target element because the target focus changed within a key-down
event handler callback. Fixed in
[#20525](https://togithub.com/cypress-io/cypress/pulls/20525).
- Fixed a regression in [9.5.0](https://docs.cypress.io/guides/references/changelog#9-5-0) where ANSI
colors were not removed from the FireFox warning message about the
`chromeWebSecurity` configuration option having no effect on the Firefox
browser. Fixes [#20496](https://togithub.com/cypress-io/cypress/issues/20496).
- Updates were made to the pre-release build setup such that Cypress will use a
unique cache folder for each
[pre-release installation](https://docs.cypress.io/guides/getting-started/installing-cypress.md#Install-pre-release-version)
on a machine. This removes the need to run `cypress clear cache` before
installing a new pre-release version of Cypress or before installing a new
released version of Cypress after a pre-release version had been installed.
Addressed in [#20296](https://togithub.com/cypress-io/cypress/pulls/20296).
**Misc:**
- Updates were made to explicitly disable the `Origin-Agent-Cluster` header for
proxied responses to ensure `document.domain` can continue to be set with
Chrome v106+. This was necessary because Chrome is planning to make
[`document.domain` immutable](https://developer.chrome.com/blog/immutable-document-domain/)
in v106+ to relax the same-origin policy by interpreting the
`Origin-Agent-Cluster` as `true`, whereas it is currently interpreted as
`false`. Addresses
[#20147](https://togithub.com/cypress-io/cypress/issues/20147).
**Dependency Updates:**
- Upgraded `url-parse` dependency from `1.5.6` to `1.5.9` to address these NVD
security vulnerabilities,
[CVE-2022-0639](https://nvd.nist.gov/vuln/detail/CVE-2022-0639),
[CVE-2022-0686](https://nvd.nist.gov/vuln/detail/CVE-2022-0686) and
[CVE-2022-0691](https://nvd.nist.gov/vuln/detail/CVE-2022-0691). Addressed in
[#20386](https://togithub.com/cypress-io/cypress/pull/20386) and
[#20439](https://togithub.com/cypress-io/cypress/issues/20439).
### [`v9.5.1`](https://togithub.com/cypress-io/cypress/releases/v9.5.1)
[Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.5.0...v9.5.1)
*Released 2/28/2022*
**Bugfixes:**
- Added a `ready` event to the Plugins process to ensure all plugins have
successfully started before the configuration is loaded and the tests start.
Fixed in [#19792](https://togithub.com/cypress-io/cypress/issues/19792).
- This fixes an issue where the plugin is never executed and leaves Cypress
stuck in the initialization phase, where the user can only view the loading
spinner.
- This enables support for node's experimental `--loader` flag for plugins.
- Made a change to the DNS lookup to improve test performances and reliability
on MacOS machines that leverage the VMWare CBCloud SaaS solution. Before this
change, random test failures were observed, as well as hanging tests and
initially pending HTTP and HTTPS responses. Fixed in
[#20062](https://togithub.com/cypress-io/cypress/issues/20062).
- Fixed a regression in [9.5.0](https://docs.cypress.io/guides/references/changelog#9-5-0) where ANSI
colors were not removed from the `cy.fixtures()` error code frame. Fixes
[#20208](https://togithub.com/cypress-io/cypress/issues/20208).
- Fixed a regression in [9.5.0](https://docs.cypress.io/guides/references/changelog#9-5-0) where the
test config override errors were formatted incorrectly. Fixes
[#20208](https://togithub.com/cypress-io/cypress/issues/20208).
- Fixed an issue where Cypress would throw an error when reporting or wrapping
errors with booleans or numbers. Fixes
[#19561](https://togithub.com/cypress-io/cypress/issues/19561).
**Dependency Updates:**
- Upgraded `url-parse` dependency from `1.5.2` to `1.5.6` to avoid authorization
bypass through user-controlled key to address this
[NVD security vulnerability](https://nvd.nist.gov/vuln/detail/CVE-2022-0512).
Addressed in [#20270](https://togithub.com/cypress-io/cypress/issues/20270).
Configuration
📅 Schedule: "after 10pm every weekday,before 4am every weekday,every weekend" in timezone UTC.
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
^9.5.0
->^9.6.1
Release Notes
cypress-io/cypress
### [`v9.6.1`](https://togithub.com/cypress-io/cypress/releases/v9.6.1) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.6.0...v9.6.1) *Released 5/9/2022* **Bugfixes:** - Cypress can now launch on systems where Firefox is installed via Snapcraft. Fixed [#19793](https://togithub.com/cypress-io/cypress/issues/19793). - Updates were made to ensure XHR calls are properly displaying the response body in the command log. Fixed [#21361](https://togithub.com/cypress-io/cypress/issues/21361). - Fixed [`cy.contains()`](https://docs.cypress.io/api/commands/contains) and [`.should('contain', ...)`](/api/commands/should) to handle finding text that contains backslash characters. Fixed [#19116](https://togithub.com/cypress-io/cypress/issues/19116) - Updated [`.type('{enter}')`](/api/commands/type) to support sending the Enter keystroke to submit buttons that are not rendered within a form html element, but are associated with a form via the `form` attribute. Fixed [#21163](https://togithub.com/cypress-io/cypress/issues/21163). - Fixed an issue with `cy.session()` such that re-running tests in open mode will now correctly recreate a session. Before this change, an error was thrown indicating the saved `setup` function was not a function because it was serialized. Fixed [#17805](https://togithub.com/cypress-io/cypress/issues/17805). ### [`v9.6.0`](https://togithub.com/cypress-io/cypress/releases/v9.6.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.5.4...v9.6.0) *Released 4/25/2022* **Features:** - Now you can easily test multi-domain workflows by using the experimental [`cy.origin()`](https://docs.cypress.io/api/commands/origin) command. This feature allows you to test across different origins or domains within a single test. This experiment was designed to work side-by-side with the [`cy.session()`](https://docs.cypress.io/api/commands/session) experimental feature. You can turn on use of this command by setting the [`experimentalSessionAndOrigin`](https://docs.cypress.io/guides/references/experiments) configuration option to `true`. For more details, read [our blog post](https://cypress.io/blog/2022/04/25/cypress-9-6-0-easily-test-multi-domain-workflows-with-cy-origin/). Addressed [#17336](https://togithub.com/cypress-io/cypress/issues/17336) and [#944](https://togithub.com/cypress-io/cypress/issues/944). - Added a new configuration option called `experimentalSessionAndOrigin`. This option enables support for [`cy.session()`](https://docs.cypress.io/api/commands/session) and [`cy.origin()`](https://docs.cypress.io/api/commands/origin). - The `experimentalSessionSupport` configuration option has been removed and replaced by the `experimentalSessionAndOrigin` configuration option. Please update your configuration to use the new `experimentalSessionAndOrigin` option to continue to opt-in to this experimental feature. - When `experimentalSessionAndOrigin` is enabled, cross-origin requests will no longer immediately fail, but instead, time out based on the [`pageLoadTimeout`](https://docs.cypress.io/guides/references/configuration#Timeouts) configuration. This allows the request to be appropriately handled by the [`cy.origin()`](https://docs.cypress.io/api/commands/origin) command. - When `experimentalSessionAndOrigin` is enabled, Cypress will no longer wait on page loads between hooks before moving on to the next test. **Bugfixes:** - Fixed an issue with Firefox 98+ where the Enter keystroke was not being sent to an input element when using [`.type('{enter}')`](/api/commands/type). Fixed [#21033](https://togithub.com/cypress-io/cypress/issues/21033). - We now verify if an interruption while running tests was signaled by the user or if it came from an error in a plugin before showing the error message. Fixed [#21010](https://togithub.com/cypress-io/cypress/issues/21010). - Improved the error message observed on Windows platforms when unzipping the Cypress binary and the max file length is exceeded. Fixed in [#21047](https://togithub.com/cypress-io/cypress/pull/21047). - Updated the `Cypress.Commands.add()` TypeScript types to better reflect the attributes of the `.add()` utility and the JQuery element, a possible previous subject type. [#20376](https://togithub.com/cypress-io/cypress/issues/20376). **Dependency Updates:** - Upgraded `electron` dependency from `15.3.5` to `15.5.1` to consume fixes related to [improve performance](https://togithub.com/electron/electron/pull/33406) on macOS Big Sur and later. Addressed [#21068](https://togithub.com/cypress-io/cypress/issues/21068). ### [`v9.5.4`](https://togithub.com/cypress-io/cypress/releases/v9.5.4) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.5.3...v9.5.4) *Released 4/11/2022* **Bugfixes:** - Updates were made to silence Electron warnings related to being unable to connect to dbus. These errors are normal and expected, and do not result in test failures. Because they are always present when running Electron inside docker containers, it has incorrectly led people to believe it is the root-cause of an error within their test run. By silencing these errors, it will improve the debug experience to allow users to focus on meaningful warning and error messages. Fixed [#19299](https://togithub.com/cypress-io/cypress/issues/19299). - Updates were made to ensure that all `*.enable` events are sent if Cypress becomes disconnected from the Chrome DevTools Protocol and must re-establish a connection to ensure all command logs are displayed to the user. This fixes an issue where some command logs, like download or network events, are missing once Cypress has disconnected and then reconnected to the Chrome DevTools Protocol. Fixed [#20618](https://togithub.com/cypress-io/cypress/issues/20618). - Fixed an issue where `cy.type('{enter}')` was not sending the Enter key for Firefox `v98+`. This was not an issue with Firefox `v97` and below. Fixed [#20562](https://togithub.com/cypress-io/cypress/issues/20562). - Fixed a regression in [9.3.0](https://docs.cypress.io/guides/references/changelog#9-3-0) where glob patterns provided to the `--spec` CLI parameter was incorrectly splitting the patterns in unexpected places when it should have split on commas. Fixes [#20794](https://togithub.com/cypress-io/cypress/issues/20794). - Fixed an issue with `cy.root()` to respect the [`timeout`](https://docs.cypress.io/api/commands/root#Arguments) option passed to the command. Previously, when the `timeout` option was provided, it was ignored and the default timeout was used. Fixed [#19985](https://togithub.com/cypress-io/cypress/issues/19985). - Updates were made to decrease the length of the Cypress cache path for Windows to ensure [installing pre-release versions](https://docs.cypress.io/guides/getting-started/installing-cypress#Install-pre-release-version) of the Cypress binary are within the maximum path length of 260 characters. Fixed in [#20961](https://togithub.com/cypress-io/cypress/pulls/20961). - Fixed a regression in [8.6.0](https://docs.cypress.io/guides/references/changelog#8-6-0) which prevented `.pause()` from correctly executing when passing the `--headed --no-exit` CLI flags to `cypress run`. Fixed [#20745](https://togithub.com/cypress-io/cypress/issues/20745). - Fixed a regression in [9.2.0](https://docs.cypress.io/guides/references/changelog#9-2-0) which would sometimes throw an expected error on navigation with `cy.back()` and `cy.go()`. Fixed [#19749](https://togithub.com/cypress-io/cypress/issues/19749) and [#20539](https://togithub.com/cypress-io/cypress/issues/20539). - Corrected the Typescript type for a cookie which was incorrectly typed as `any` when the correct type is `Cookie`. Fixed in [#20513](https://togithub.com/cypress-io/cypress/pull/20513). - Added the missing `Cypress.Command.addAll()` Typescript types. Fixed [#18886](https://togithub.com/cypress-io/cypress/issue/18886). - Fixed an uncommon error observed in `cy.session()` where an error was thrown when no cookies had been set for the session and the user clicks the session command log to view additional details in the DevTools console. Fixed in [#20946](https://togithub.com/cypress-io/cypress/pull/20946). **Misc:** - A minor visual update was made to the `cy.session()` command log visuals. Fixed [#20433](https://togithub.com/cypress-io/cypress/issues/20433). **Dependency Updates:** - Upgraded `ansi-regex` dependency from `4.1.0` to `4.1.1` to address the [CVE-2021-3807](https://nvd.nist.gov/vuln/detail/CVE-2021-3807) NVD security vulnerability. Addressed in [#20807](https://togithub.com/cypress-io/cypress/pull/20807). - Upgraded `plist` dependency from `3.0.4` to `3.0.5` to address the [CVE-2022-22912](https://nvd.nist.gov/vuln/detail/CVE-2022-22912) NVD security vulnerability. Addressed in [#20808](https://togithub.com/cypress-io/cypress/pull/20808). ### [`v9.5.3`](https://togithub.com/cypress-io/cypress/releases/v9.5.3) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.5.2...v9.5.3) *Released 3/28/2022* **Bugfixes:** - Corrected a logging issue with `cy.intercept()` where the response status code and response body were sometimes missing from the log details in `open` mode. Fixed [#18757](https://togithub.com/cypress-io/cypress/issues/18757). - Fixed an issue in `cy.readFile()` where the command would not retry or provide a meaningful error message if `null` encoding was used and the file was not found. Fixed [#20683](https://togithub.com/cypress-io/cypress/issues/20683). - Updated the Cypress Keyboard shortcuts to only run the shortcut when the pressed shortcut key was not used in conjunction with either the `alt`, `ctrl`, or `shift` modifier keys. This fixed an issue where the Cypress shortcut handler would override the browser native keyboard shortcut for search (`ctrl + f`). Fixed [#20222](https://togithub.com/cypress-io/cypress/issues/20222). - Updates were made to correctly escape dollar signs in the `CYPRESS_DOWNLOAD_PATH_TEMPLATE` environment variable. Issues were seen utilizing this template when the env was provided from a package manager file. Fixed [#19914](https://togithub.com/cypress-io/cypress/issues/19914). - Fix the `Cypress.Buffer` TypeScript type to reference the static constructor of `Buffer`, instead of incorrectly referencing the `Buffer` instance which caused Type errors. Fixes [#20542](https://togithub.com/cypress-io/cypress/issues/20542). **Dependency Updates:** - Upgraded `electron` dependency from `15.3.4` to `15.3.5` to address the [CVE-2022-21718](https://nvd.nist.gov/vuln/detail/CVE-2022-21718) NVD security vulnerability. Addressed in [#20750](https://togithub.com/cypress-io/cypress/issues/20750). - Upgraded `minimist` dependency from `1.2.5` to `1.2.6`. Addressed in [#20756](https://togithub.com/cypress-io/cypress/issues/20756). - Upgraded `nanoid` dependency from `3.1.20` to `3.1.31` to address the [CVE-2021-23566](https://nvd.nist.gov/vuln/detail/CVE-2021-23566) NVD security vulnerability. Addressed in [#20726](https://togithub.com/cypress-io/cypress/pull/20726). - Upgraded `node-forge` dependency from `1.0.0` to `1.3.0` to address the [CVE-2022-24771](https://nvd.nist.gov/vuln/detail/CVE-2022-24771) NVD security vulnerability. Addressed in [#20727](https://togithub.com/cypress-io/cypress/pull/20727). ### [`v9.5.2`](https://togithub.com/cypress-io/cypress/releases/v9.5.2) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.5.1...v9.5.2) *Released 3/14/2022* **Bugfixes:** - Fixed an issue with `.type()` where click events could be fired on the incorrect target element because the target focus changed within a key-down event handler callback. Fixed in [#20525](https://togithub.com/cypress-io/cypress/pulls/20525). - Fixed a regression in [9.5.0](https://docs.cypress.io/guides/references/changelog#9-5-0) where ANSI colors were not removed from the FireFox warning message about the `chromeWebSecurity` configuration option having no effect on the Firefox browser. Fixes [#20496](https://togithub.com/cypress-io/cypress/issues/20496). - Updates were made to the pre-release build setup such that Cypress will use a unique cache folder for each [pre-release installation](https://docs.cypress.io/guides/getting-started/installing-cypress.md#Install-pre-release-version) on a machine. This removes the need to run `cypress clear cache` before installing a new pre-release version of Cypress or before installing a new released version of Cypress after a pre-release version had been installed. Addressed in [#20296](https://togithub.com/cypress-io/cypress/pulls/20296). **Misc:** - Updates were made to explicitly disable the `Origin-Agent-Cluster` header for proxied responses to ensure `document.domain` can continue to be set with Chrome v106+. This was necessary because Chrome is planning to make [`document.domain` immutable](https://developer.chrome.com/blog/immutable-document-domain/) in v106+ to relax the same-origin policy by interpreting the `Origin-Agent-Cluster` as `true`, whereas it is currently interpreted as `false`. Addresses [#20147](https://togithub.com/cypress-io/cypress/issues/20147). **Dependency Updates:** - Upgraded `url-parse` dependency from `1.5.6` to `1.5.9` to address these NVD security vulnerabilities, [CVE-2022-0639](https://nvd.nist.gov/vuln/detail/CVE-2022-0639), [CVE-2022-0686](https://nvd.nist.gov/vuln/detail/CVE-2022-0686) and [CVE-2022-0691](https://nvd.nist.gov/vuln/detail/CVE-2022-0691). Addressed in [#20386](https://togithub.com/cypress-io/cypress/pull/20386) and [#20439](https://togithub.com/cypress-io/cypress/issues/20439). ### [`v9.5.1`](https://togithub.com/cypress-io/cypress/releases/v9.5.1) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.5.0...v9.5.1) *Released 2/28/2022* **Bugfixes:** - Added a `ready` event to the Plugins process to ensure all plugins have successfully started before the configuration is loaded and the tests start. Fixed in [#19792](https://togithub.com/cypress-io/cypress/issues/19792). - This fixes an issue where the plugin is never executed and leaves Cypress stuck in the initialization phase, where the user can only view the loading spinner. - This enables support for node's experimental `--loader` flag for plugins. - Made a change to the DNS lookup to improve test performances and reliability on MacOS machines that leverage the VMWare CBCloud SaaS solution. Before this change, random test failures were observed, as well as hanging tests and initially pending HTTP and HTTPS responses. Fixed in [#20062](https://togithub.com/cypress-io/cypress/issues/20062). - Fixed a regression in [9.5.0](https://docs.cypress.io/guides/references/changelog#9-5-0) where ANSI colors were not removed from the `cy.fixtures()` error code frame. Fixes [#20208](https://togithub.com/cypress-io/cypress/issues/20208). - Fixed a regression in [9.5.0](https://docs.cypress.io/guides/references/changelog#9-5-0) where the test config override errors were formatted incorrectly. Fixes [#20208](https://togithub.com/cypress-io/cypress/issues/20208). - Fixed an issue where Cypress would throw an error when reporting or wrapping errors with booleans or numbers. Fixes [#19561](https://togithub.com/cypress-io/cypress/issues/19561). **Dependency Updates:** - Upgraded `url-parse` dependency from `1.5.2` to `1.5.6` to avoid authorization bypass through user-controlled key to address this [NVD security vulnerability](https://nvd.nist.gov/vuln/detail/CVE-2022-0512). Addressed in [#20270](https://togithub.com/cypress-io/cypress/issues/20270).Configuration
📅 Schedule: "after 10pm every weekday,before 4am every weekday,every weekend" in timezone UTC.
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 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.