Skip to content

Upgrade Nextjs to v16.2#2193

Merged
MenKNas merged 9 commits intodevfrom
feature/JSS-9297-upgrade-to-next-js-16-2
Apr 9, 2026
Merged

Upgrade Nextjs to v16.2#2193
MenKNas merged 9 commits intodevfrom
feature/JSS-9297-upgrade-to-next-js-16-2

Conversation

@MenKNas
Copy link
Copy Markdown
Contributor

@MenKNas MenKNas commented Apr 6, 2026

Description / Motivation

This PR upgrades Nextjs packages to version 16.2 for the JSS repo. It also includes the following fix:

  • Fix Next template ESLint flat config to use eslint-config-next’s native flat preset so scaffold + lint work under ESLint 9 (no FlatCompat).

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate)

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)

@MenKNas MenKNas requested a review from illiakovalenko April 6, 2026 13:46
Copy link
Copy Markdown
Collaborator

@illiakovalenko illiakovalenko left a comment

Choose a reason for hiding this comment

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

Could you please revisit the changes in the PR and reduce the number of unrelated modifications?
Since we already scaffold applications using Next.js 16.2, there shouldn’t be many required changes for this upgrade. Is it necessary to update the SXA components as part of this work as well?

@MenKNas MenKNas requested a review from illiakovalenko April 7, 2026 11:36
@MenKNas MenKNas dismissed illiakovalenko’s stale review April 9, 2026 08:16

Already approved

@MenKNas MenKNas merged commit 8e5111f into dev Apr 9, 2026
5 checks passed
@MenKNas MenKNas deleted the feature/JSS-9297-upgrade-to-next-js-16-2 branch April 9, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants