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

[sitecore-jss-nextjs/react][nextjs/react][v20] Update next to v13, react to 18 #1830

Merged
merged 16 commits into from
Jun 28, 2024

Conversation

art-alexeyenko
Copy link
Contributor

@art-alexeyenko art-alexeyenko commented Jun 21, 2024

Description / Motivation

This PR updates nextjs to version 13. In addition to this:

  • Update to react v18
  • Update typescript to 4.9

Testing Details

  • Unit Test Added
  • Manual Test/Other:
    • nextjs app builds, runs in connected, disconnected, prod modes
    • react app builds, runs in disconnected, connected modes
    • react forms work in connected mode
    • more testing to be done once canaries are published

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore

@art-alexeyenko art-alexeyenko requested a review from a team June 21, 2024 20:50
@art-alexeyenko art-alexeyenko added the do-not-review PR's not ready for review label Jun 21, 2024
… hotfix/20.0.0/jss-3453-update-next

# Conflicts:
#	packages/create-sitecore-jss/src/templates/nextjs/package.json
@art-alexeyenko art-alexeyenko changed the title [sitecore-jss-nextjs][nextjs] Update next to v13 [sitecore-jss-nextjs][nextjs][v20] Update next to v13 Jun 25, 2024
@art-alexeyenko art-alexeyenko removed the do-not-review PR's not ready for review label Jun 27, 2024
Copy link
Contributor

@yavorsk yavorsk left a comment

Choose a reason for hiding this comment

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

Looks good to me. I could not find anything that is applicable here and missed comparing this to the React 18 and Nextjs13 upgrades done in the main branch. Maybe this should be marked as braking change and upgrade guide added. Some unit tests are failing, otherwise approved.

@art-alexeyenko art-alexeyenko changed the title [sitecore-jss-nextjs][nextjs][v20] Update next to v13 [sitecore-jss-nextjs/react][nextjs/react][v20] Update next to v13 Jun 28, 2024
Copy link
Contributor

@addy-pathania addy-pathania left a comment

Choose a reason for hiding this comment

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

great work. Looks good.

@art-alexeyenko art-alexeyenko changed the title [sitecore-jss-nextjs/react][nextjs/react][v20] Update next to v13 [sitecore-jss-nextjs/react][nextjs/react][v20] Update next to v13, react to 18 Jun 28, 2024
@art-alexeyenko art-alexeyenko merged commit f892aba into release/20.0.0 Jun 28, 2024
1 check passed
@art-alexeyenko art-alexeyenko deleted the hotfix/20.0.0/jss-3453-update-next branch June 28, 2024 17:14
@pzi
Copy link
Contributor

pzi commented Jul 10, 2024

Is this backwards compatible for people/projects who are not yet in a position to run React 18 and Next 13?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants