cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.09k stars 3.19k forks source link

Update @packages/reporter from React 16.8.6 to 17.0.2 #30510

Closed AtofStryker closed 2 weeks ago

AtofStryker commented 3 weeks ago

What would you like?

React 16 has been EOLed for over 4 years. The cypress reporter currently still uses React 16. In an effort to update component testing to use React 18 in Cypress 14, a prerequisite is to update the reporter to also eventually use react 18.

Why is this needed?

We want to be on a newer version of react and progressively update so we get active support when needed. See https://legacy.reactjs.org/blog/2020/10/20/react-v17.html for update details. Breaking changes were kept to a minimum in 17 https://legacy.reactjs.org/blog/2020/08/10/react-v17-rc.html#other-breaking-changes

Other

We want to check for performance degradations (use honeycomb to measure) as well as possibles issues with the update. See https://github.com/cypress-io/cypress/pull/7525 for issues with the last attempted react update to the reporter.

cypress-bot[bot] commented 2 days ago

Released in 13.16.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to Cypress v13.16.0, please open a new issue.