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).
### [`v9.6.1`](https://togithub.com/cypress-io/cypress/releases/tag/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/tag/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).
Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled due to failing status checks.
♻ 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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
9.5.4
->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). ### [`v9.6.1`](https://togithub.com/cypress-io/cypress/releases/tag/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/tag/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).Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled due to failing status checks.
♻ 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 Mend Renovate. View repository job log here.