Draft
Conversation
414ab59 to
a9e2003
Compare
- Next.js 15.5.9 → 16.1.6 (Turbopack now default) - React 19.2.3 → 19.2.4 - PayloadCMS 3.55.1 → 3.72.0+ (required for Next.js 16 compat) - Rename middleware.ts → proxy.ts (Next.js 16 convention) - Remove --turbopack flags from scripts (default in v16) - Remove eslint config from next.config.mjs (no longer supported) - Guard generateImageMetadata against undefined params during build - Restore catalog references broken by codemod Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
a9e2003 to
b9bcd70
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Upgrade Next.js from 15.5.9 to 16.1.6 and related dependencies.
Changes
--turbopackflags from scripts (Turbopack is default in v16)eslintconfig fromnext.config.mjs(no longer supported in v16)turbopackFileSystemCacheForDev)generateImageMetadataagainst undefined params during build (Next.js 16 probes route structure with undefined params in the "collecting page data" phase)catalog:references for react/react-dom/@types that the codemod pinned to exact versionsPeer dependency warnings (non-blocking)
react-moment,react-live-clock,@tietokilta/ilmomasiina-clientdeclarereact@^18peer but work with React 19Before submitting the PR, please make sure you do the following
Formatting and linting
pnpm formatand lint the project withpnpm lint