Skip to content

10.9.0 Changelog #4752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Sep 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/_changelogs/10.8.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ _Released 9/13/2022_
[`playwright-webkit`](https://www.npmjs.com/package/playwright-webkit). For
more details, read
[our blog post](https://www.cypress.io/blog/2022/09/13/cypress-10-8-experimental-run-tests-in-webkit).
Addressed [#17336](https://github.com/cypress-io/cypress/issues/6422).
Addresses [#6422](https://github.com/cypress-io/cypress/issues/6422).

**Performance:**

Expand All @@ -36,7 +36,7 @@ _Released 9/13/2022_
- Fixed a bug where projects using Node.js 16.17+ and 18.6+ with ES Modules and
TypeScript were not working with Cypress. Fixes
[#22795](https://github.com/cypress-io/cypress/issues/22795),
[#23393](https://github.com/cypress-io/cypress/issues/23393) and
[#23393](https://github.com/cypress-io/cypress/issues/23393), and
[#23552](https://github.com/cypress-io/cypress/issues/23552).
- When searching for specs we now normalize OS-specific path separators so that
Windows users can use back- and forward-slashes. Fixes
Expand All @@ -58,7 +58,7 @@ _Released 9/13/2022_
[#23357](https://github.com/cypress-io/cypress/issues/23357).
- Fixed a regression introduced in Cypress [10.0.0](#10-0-0) where Cypress was
incompatible with Chrome v64 - v70. Fixes
[#23509](https://github.com/cypress-io/cypress/issues/23644).
[#23509](https://github.com/cypress-io/cypress/issues/23509).
- Fixes an issue where outdated organization and project information could be
shown in dialogs when connecting a project to the Cypress Dashboard. Fixes
[#23538](https://github.com/cypress-io/cypress/issues/23538).
Expand Down
70 changes: 70 additions & 0 deletions content/_changelogs/10.9.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
## 10.9.0

_Released 9/27/2022_

**Features:**

- Added support for requiring dependencies within the
[`cy.origin()`](/api/commands/origin) callback. See the
[`Cypress.require()`](/api/cypress-api/require) and
[`cy.origin()`](/api/commands/origin#Dependencies-Sharing-Code) docs for more
information.
- Added support for visiting cross-origin pages outside of a
[`cy.origin()`](/api/commands/origin) callback. See the
[`cy.origin()`](/api/commands/origin#Alternative-navigation) and
[`cy.visit()`](/api/commands/visit#Visiting-cross-origin-sites) docs for more
information and caveats. Addresses
[#21485](https://github.com/cypress-io/cypress/issues/21485),
[#22282](https://github.com/cypress-io/cypress/issues/22282),
[#21300](https://github.com/cypress-io/cypress/issues/21300), and
[#23236](https://github.com/cypress-io/cypress/issues/23236).
- Added support for re-using session data cached by
[`cy.session()`](/api/commands/session) across specs via the
`cacheAcrossSpecs` option. Addresses
[#17710](https://github.com/cypress-io/cypress/issues/17710).
- Added support for advanced dev server configuration via an async function that
can optionally modify the dev server config. Addresses
[#23302](https://github.com/cypress-io/cypress/issues/23302).
- Launch options returned from the
[`before:browser:launch`](/api/plugins/browser-launch-api) event can now
include an `env` key that can be used to pass environment variables to the
browser when it is launched. Addressed by
[#23624](https://github.com/cypress-io/cypress/pull/23624).
- Component tests that fail now display a code frame of the source location of
the error within the Cypress reporter. Addresses
[#21720](https://github.com/cypress-io/cypress/issues/21720).

**Bugfixes:**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing bugfix #23409, and we're expecting to get feature #21720 in today

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added #23409 in 815d891. I'll make sure #21720 is added once it's merged.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added #21720: 9c9f415


- The spec results printed stdout after a test run now show the path to the spec
and not just the file name. Fixes
[#22304](https://github.com/cypress-io/cypress/issues/22304).
- The viewport dropdown in the Cypress App now displays the correct text. Fixes
[#23789](https://github.com/cypress-io/cypress/issues/23789).
- Compile errors are now surfaced in the command log during tests for Angular
and Next projects. Fixes
[#23219](https://github.com/cypress-io/cypress/issues/23219).
- The error "Automatic publicPath is not supported in this browser" will no
longer be displayed when using Webpack 5 and dynamic imports. Fixes
[#18435](https://github.com/cypress-io/cypress/issues/18435).
- The correct source control link is now sent to the Cypress Dashboard for
failed specs when the cypress config file is not the project root. Fixes
[#22971](https://github.com/cypress-io/cypress/issues/22971).
- The error "Invalid left-hand-side in assignment" will no longer be thrown when
the `experimentalModifyObstructiveThirdPartyCode` flag is enabled. Fixes
[#23647](https://github.com/cypress-io/cypress/issues/23647).
- `it.skip` now functions correctly in Angular component tests. Fixes
[#23409](https://github.com/cypress-io/cypress/issues/23409).
- The `tsConfig` build option is now respected for Angular component tests.
Fixes [#23673](https://github.com/cypress-io/cypress/issues/23673).
- Configuring a custom browser no longer logs a warning when trying to use that
browser. Addressed in
[#23446](https://github.com/cypress-io/cypress/pull/23446).

**Misc:**

- Improved the accessibility of a few components within the Cypress Launchpad
and App. Addressed in
[#23745](https://github.com/cypress-io/cypress/pull/23745).
- Improved the UI of the Sessions instrument panel in the Cypress reporter.
Addresses [#21400](https://github.com/cypress-io/cypress/issues/21400).