|
| 1 | +## 10.4.0 |
| 2 | + |
| 3 | +_Released 8/2/2022_ |
| 4 | + |
| 5 | +**Features:** |
| 6 | + |
| 7 | +- Cypress Component testing now supports React 18 via the cypress/react18 |
| 8 | + package. Addresses |
| 9 | + [#21381](https://github.com/cypress-io/cypress/issues/21381) & |
| 10 | + [#21946](https://github.com/cypress-io/cypress/issues/21946). |
| 11 | +- Cypress Component testing now supports Vite 3. Addresses |
| 12 | + [#22784](https://github.com/cypress-io/cypress/issues/22784). |
| 13 | +- Cypress introduces a new experimental flag, called |
| 14 | + `experimentalModifyObstructiveThirdPartyCode`. When enabled, |
| 15 | + `experimentalModifyObstructiveThirdPartyCode` will turn on additional |
| 16 | + `modifyObstructiveCode` options to prevent frame busting, as well as striping |
| 17 | + integrity tags out of `<link>` and `<script>` elements and remove the electron |
| 18 | + user agent. In the current state of this experimental flag, SRI is not |
| 19 | + supported. Addresses |
| 20 | + [#21476](https://github.com/cypress-io/cypress/issues/21476), |
| 21 | + [#21307](https://github.com/cypress-io/cypress/issues/21307), |
| 22 | + [#22953](https://github.com/cypress-io/cypress/issues/22953), & |
| 23 | + [#21474](https://github.com/cypress-io/cypress/issues/21474). |
| 24 | +- Cypress will now display a banner with a corrective action when your project |
| 25 | + uses a projectId that cannot be found in the Cypress Dashboard and when you do |
| 26 | + not have access to the current project in the Cypress Dashboard. Addresses |
| 27 | + [#22637](https://github.com/cypress-io/cypress/issues/22637). |
| 28 | + |
| 29 | +**Bugfixes:** |
| 30 | + |
| 31 | +- Fixes issue where cookies were not handled within cy.origin for requests other |
| 32 | + than the AUT page request. Fixes |
| 33 | + [#22952](https://github.com/cypress-io/cypress/issues/22952) & |
| 34 | + [#21474](https://github.com/cypress-io/cypress/issues/21474). |
| 35 | +- Tooltips are now correctly displayed behind modals. Fixes |
| 36 | + [#22595](https://github.com/cypress-io/cypress/issues/22595). |
| 37 | +- Fixed a hang when sending video to the dashboard from the electron browser. |
| 38 | + Fixes [#17627](https://github.com/cypress-io/cypress/issues/17627). |
| 39 | +- Cypress will now throw an error when we receive an unexpected return value |
| 40 | + from a custom config file. Fixes |
| 41 | + [#21948](https://github.com/cypress-io/cypress/issues/21948). |
| 42 | +- Cypress will now warn when detecting unsupported dependencies for component |
| 43 | + testing. Fixes [#22025](https://github.com/cypress-io/cypress/issues/22025). |
| 44 | +- cy.type() can now be used to enter datetime values with seconds, to an input |
| 45 | + of type datetime-local, for example 1959-09-13T10:12:13. Fixes |
| 46 | + [#22884](https://github.com/cypress-io/cypress/issues/22884). |
| 47 | +- Next.js in Cypress is now allowed to import global styles. Fixes |
| 48 | + [#22525](https://github.com/cypress-io/cypress/issues/22525) |
| 49 | +- Fixed an issue where 'additionalIgnorePattern' was not allowed to be an array |
| 50 | + of strings. [#22551](https://github.com/cypress-io/cypress/issues/22551). |
| 51 | +- Prevented timer size from changing while counting up. Fixes |
| 52 | + [#22846](https://github.com/cypress-io/cypress/pull/22846). |
| 53 | +- Added icons to help indicate that column headers provide more information on |
| 54 | + hover. Fixes [#22638](https://github.com/cypress-io/cypress/issues/22638). |
| 55 | +- Fixed an issue where long "run urls" are cut off in the console. Fixes |
| 56 | + [#22619](https://github.com/cypress-io/cypress/pull/22619). |
| 57 | + |
| 58 | +**Dependency Updates:** |
| 59 | + |
| 60 | +- Upgraded electron from 18.3.0 to 19.0.8. Addressed in |
| 61 | + [#22775](https://github.com/cypress-io/cypress/pull/22775). |
| 62 | +- Upgraded bundled Node.js version from 16.13.2 to 16.14.2. Addressed in |
| 63 | + [#22775](https://github.com/cypress-io/cypress/pull/22775). |
| 64 | +- Upgraded bundled Chromium version from 100.0.4896.75 to 102.0.5005.148. |
| 65 | + Addressed in [#22775](https://github.com/cypress-io/cypress/pull/22775). |
0 commit comments