cypress-io/cypress
### [`v9.7.0`](https://togithub.com/cypress-io/cypress/releases/tag/v9.7.0)
[Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.6.1...v9.7.0)
*Released 5/23/2022*
**Features:**
- The Electron version and shipped Chromium browser version has been updated.
Addressed in [#21418](https://togithub.com/cypress-io/cypress/pull/21418).
**Deprecations:**
- The `Cypress.Cookies.preserveOnce()` and `Cypress.Cookies.defaults()` Cypress
APIs have been deprecated. In a future release, support for
`Cypress.Cookies.preserveOnce()` and `Cypress.Cookies.defaults()` will be
removed. Consider using the experimental
[`cy.session()`](https://docs.cypress.io/api/commands/session) command instead to cache and restore
cookies and other sessions details between tests. Fixed
[#21333](https://togithub.com/cypress-io/cypress/issues/21333).
**Bugfixes:**
- Updated the [`cy.contains()`](https://docs.cypress.io/api/commands/contains) command to correctly
error and retry if the provided regex pattern begins with an equal sign and a
match was not initially found. Previously the command would incorrectly fail
with a syntax error. Fixed
[#21108](https://togithub.com/cypress-io/cypress/issues/21108).
- Corrected the `cy.session()` command log grouping and validation verbiage.
This change provides better insights to logs associated with the command.
Fixed [#21377](https://togithub.com/cypress-io/cypress/issues/21377).
- Removed `eventemitter2` third-party type definitions from `cy` and `Cypress`
that were unintentionally exposed. Fixed
[#20556](https://togithub.com/cypress-io/cypress/issues/20556).
**Dependency Updates:**
- Upgraded the bundled node version shipped with Cypress from `16.5.0` to
`16.13.2`. Addressed in
[#21418](https://togithub.com/cypress-io/cypress/pull/21418).
- Upgraded the Chromium browser version used during `cypress run` and when
selecting Electron browser in `cypress open` from `94.0.4606.81` to
`100.0.4896.75`. Addressed in
[#21418](https://togithub.com/cypress-io/cypress/pull/21418).
- Upgraded `electron` dependency from `15.5.1` to `18.0.4`. Addressed in
[#21418](https://togithub.com/cypress-io/cypress/pull/21418).
Configuration
📅 Schedule: "after 10pm every weekday,before 5am every weekday,every weekend" (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.6.1
->9.7.0
Release Notes
cypress-io/cypress
### [`v9.7.0`](https://togithub.com/cypress-io/cypress/releases/tag/v9.7.0) [Compare Source](https://togithub.com/cypress-io/cypress/compare/v9.6.1...v9.7.0) *Released 5/23/2022* **Features:** - The Electron version and shipped Chromium browser version has been updated. Addressed in [#21418](https://togithub.com/cypress-io/cypress/pull/21418). **Deprecations:** - The `Cypress.Cookies.preserveOnce()` and `Cypress.Cookies.defaults()` Cypress APIs have been deprecated. In a future release, support for `Cypress.Cookies.preserveOnce()` and `Cypress.Cookies.defaults()` will be removed. Consider using the experimental [`cy.session()`](https://docs.cypress.io/api/commands/session) command instead to cache and restore cookies and other sessions details between tests. Fixed [#21333](https://togithub.com/cypress-io/cypress/issues/21333). **Bugfixes:** - Updated the [`cy.contains()`](https://docs.cypress.io/api/commands/contains) command to correctly error and retry if the provided regex pattern begins with an equal sign and a match was not initially found. Previously the command would incorrectly fail with a syntax error. Fixed [#21108](https://togithub.com/cypress-io/cypress/issues/21108). - Corrected the `cy.session()` command log grouping and validation verbiage. This change provides better insights to logs associated with the command. Fixed [#21377](https://togithub.com/cypress-io/cypress/issues/21377). - Removed `eventemitter2` third-party type definitions from `cy` and `Cypress` that were unintentionally exposed. Fixed [#20556](https://togithub.com/cypress-io/cypress/issues/20556). **Dependency Updates:** - Upgraded the bundled node version shipped with Cypress from `16.5.0` to `16.13.2`. Addressed in [#21418](https://togithub.com/cypress-io/cypress/pull/21418). - Upgraded the Chromium browser version used during `cypress run` and when selecting Electron browser in `cypress open` from `94.0.4606.81` to `100.0.4896.75`. Addressed in [#21418](https://togithub.com/cypress-io/cypress/pull/21418). - Upgraded `electron` dependency from `15.5.1` to `18.0.4`. Addressed in [#21418](https://togithub.com/cypress-io/cypress/pull/21418).Configuration
📅 Schedule: "after 10pm every weekday,before 5am every weekday,every weekend" (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.