|
| 1 | +## 10.5.0 |
| 2 | + |
| 3 | +_Released 8/15/2022_ |
| 4 | + |
| 5 | +**Features:** |
| 6 | + |
| 7 | +- Display a 'flaky test' indicator in the Specs Explorer for specs that are |
| 8 | + known to be flaky in the Dashboard. Addresses |
| 9 | + [#22656](https://github.com/cypress-io/cypress/issues/22656) & |
| 10 | + [#22657](https://github.com/cypress-io/cypress/issues/22657). |
| 11 | +- The project drop down is now populated when connecting a project with an |
| 12 | + organization that only has one project. Addresses |
| 13 | + [#22936](https://github.com/cypress-io/cypress/issues/22936). |
| 14 | +- Added new `testIsolation` configuration option to allow users to revert to |
| 15 | + `legacy` mode when `experimentalSessionAndOrigin` is set to true. Read more |
| 16 | + about [test isolation](/guides/core-concepts/test-isolation) in Cypress to |
| 17 | + learn more. Addresses |
| 18 | + [#22279](https://github.com/cypress-io/cypress/issues/22279). |
| 19 | +- React 18 projects will now be scaffolded with the `cypress/react18` mount |
| 20 | + registration during component setup. Addresses |
| 21 | + [#23033](https://github.com/cypress-io/cypress/issues/23033). |
| 22 | +- A list of Vue components in the project are now available for selection when |
| 23 | + generating a new spec for component testing in projects that are using the |
| 24 | + default spec pattern. Addresses |
| 25 | + [#22836](https://github.com/cypress-io/cypress/issues/22836). |
| 26 | +- If the user logs in to the Dashboard from the app, but the current project |
| 27 | + does not have a project ID, the user will now be able to enter the connect |
| 28 | + project workflow directly. Addresses |
| 29 | + [#23022](https://github.com/cypress-io/cypress/issues/23022) |
| 30 | +- Adds Angular component testing support, including Angular template support and |
| 31 | + support for Angular standalone components. Addresses |
| 32 | + [#22819](https://github.com/cypress-io/cypress/issues/22819). |
| 33 | + |
| 34 | +**Bugfixes:** |
| 35 | + |
| 36 | +- Fixes an issue where usage of the `--spec` option would result in no specs |
| 37 | + found if the absolute project path included glob pattern characters. Fixes |
| 38 | + [#22272](https://github.com/cypress-io/cypress/issues/22272). |
| 39 | +- Webpack entry points are no longer preserved for CT Webpack projects. Fixes |
| 40 | + [#23224](https://github.com/cypress-io/cypress/issues/23224) |
| 41 | +- Fixes an issue where session state was not being reset when changing between |
| 42 | + specs in open mode. Fixes |
| 43 | + [#23146](https://github.com/cypress-io/cypress/pull/23146) |
| 44 | +- Add delay to header tooltips so they don't pop open unless hovered on. Fixes |
| 45 | + [#23115](https://github.com/cypress-io/cypress/issues/23115) |
| 46 | +- Fixed an edge-case bug where Cypress would hang in run-mode if an error was |
| 47 | + thrown from a `test:before:run` event handler. Fixes |
| 48 | + [#23039](https://github.com/cypress-io/cypress/issues/23039). |
| 49 | +- Fixes an issue introduced in `10.3.0` where network logs could be missing |
| 50 | + certain information or cause certain requests to be delayed by 500ms. Fixes |
| 51 | + [#23227](https://github.com/cypress-io/cypress/pull/23227). |
| 52 | +- In the 'Create Blank Spec' dialog, pressing enter or return when the focus is |
| 53 | + on the spec path input field will create the blank spec. Fixes |
| 54 | + [#21815](https://github.com/cypress-io/cypress/issues/21815). |
| 55 | +- Fixes React 18 unmount component handling to resolve the |
| 56 | + `lastMountedReactDom.unmountComponentAtNode is not a function` error. Fixes |
| 57 | + [#23081](https://github.com/cypress-io/cypress/issues/23081). |
| 58 | +- Fixes a regression introduced in Cypress 10.0 where Cypress no longer |
| 59 | + persisted the spec filter in the 'Search Specs' field during a session and |
| 60 | + when a project is reopened. The same filter will be used in the main specs |
| 61 | + list as well as the inline specs list present in the Test Runner. Fixes |
| 62 | + [#21837](https://github.com/cypress-io/cypress/issues/21837). |
| 63 | +- Fixed an issue that could lead to infinite recursion and thus a crash when |
| 64 | + running tests that make use of `cy.intercept()`. Fixes |
| 65 | + [#22693](https://github.com/cypress-io/cypress/issues/22693). |
| 66 | +- In the Launchpad, the project's name will no longer link to the 'Choose |
| 67 | + Testing Type' step of the launchpad. Fixes |
| 68 | + [#21911](https://github.com/cypress-io/cypress/issues/21911). |
| 69 | +- CT projects using Vite `v3` work with Node versions `>=17`. Fixes |
| 70 | + [#23042](https://github.com/cypress-io/cypress/issues/23042) & |
| 71 | + [#23114](https://github.com/cypress-io/cypress/issues/23114). |
| 72 | + |
| 73 | +**Miscellaneous:** |
| 74 | + |
| 75 | +- Updated UI styling for Cypress `about:blank` pages. Addresses |
| 76 | + [#20978](https://github.com/cypress-io/cypress/issues/20978). |
| 77 | +- Stable Firefox versions 101 and 102 are now explicitly rendered as unsupported |
| 78 | + in Windows due to an unpatched browser incompatibility in those versions. |
| 79 | + Addresses [#23164](https://github.com/cypress-io/cypress/issues/23164). |
| 80 | +- Add a warning for users on the old React API, `cypress/react`, who are using |
| 81 | + React 18. Users can now take advantage of the React 18 integration, |
| 82 | + `cypress/react18`. Addresses |
| 83 | + [#23032](https://github.com/cypress-io/cypress/issues/23032). |
| 84 | +- `cy.state('subject')` is deprecated and reading from it will log a warning to |
| 85 | + the console. Prefer `cy.currentSubject()` instead. Addresses |
| 86 | + [#23092](https://github.com/cypress-io/cypress/issues/23092). |
0 commit comments