Skip to content
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

Remove official support for versions of React 17 and under for CT Testing and make cypress/react18 the cypress/react package (deprecate cypress/react18) #29607

Open
AtofStryker opened this issue Jun 3, 2024 · 2 comments · May be fixed by #30590
Labels
CT Issue related to component testing Cypress 14 Issues scoped for Cypress 14 npm: @cypress/react @cypress/react package issues npm: @cypress/react18 @cypress/react18 package issues type: breaking change Requires a new major release version

Comments

@AtofStryker
Copy link
Contributor

AtofStryker commented Jun 3, 2024

What would you like?

Currently, we have two react CT packages inside cypress core, react and react18. react supports versions of react 17 and down, where as the react18 harness supports react18. With react 19 being in release candidate stage and the test harness from react18 needing little changes, we likely want to remove official support for react17 inside cypress/react and make react18 the cypress/react package, which would support react 18 and 19. Users who are on older versions of react can download older versions of the test harness. This would also remove the react18 package

Why is this needed?

This allows us to more easily maintain our npm packages by rolling forward with more recent versions of component testing frameworks as well as help improve our process around npm package maintenance.

Other

No response

@AtofStryker AtofStryker added type: breaking change Requires a new major release version npm: @cypress/react @cypress/react package issues CT Issue related to component testing npm: @cypress/react18 @cypress/react18 package issues labels Jun 3, 2024
@AtofStryker
Copy link
Contributor Author

this will also apply to @cypress/react19 since both are duplicate copies of the @cypress/react18 test harness

@jennifer-shehane jennifer-shehane added the Cypress 14 Issues scoped for Cypress 14 label Sep 27, 2024
@AtofStryker
Copy link
Contributor Author

blocked by #30511

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CT Issue related to component testing Cypress 14 Issues scoped for Cypress 14 npm: @cypress/react @cypress/react package issues npm: @cypress/react18 @cypress/react18 package issues type: breaking change Requires a new major release version
Projects
Status: Designing / Scoping
2 participants