chore(deps): upgrade Next.js 14 → ^15.5.18 (major, security)#75
Merged
Conversation
Picks up the CVSS 8.6 security advisory by crossing the 14→15 major boundary. This is a major upgrade with known behavioral changes — not a simple patch. Manual review recommended. Codebase risk assessment (pre-bump): - App Router structure (app/app/) but no Server Component uses of cookies() / headers() / draftMode() / params props / searchParams props — none of the async-API breaking changes apply. - Only client-side useSearchParams() in app/app/page.tsx (unaffected by the 14→15 async change; that hook stays sync). - No middleware or Route Handlers using next/server. Things to double-check at review: - fetch() defaults: Next 15 changed fetch from cached-by-default to uncached-by-default. If anything relies on implicit caching, add explicit `cache: 'force-cache'`. - React stays on ^18 (Next 15.5 still supports React 18 as a peer). Bumping to React 19 is a separate concern. Lockfile re-resolved; next@15.5.18 now pinned.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
Upgrades
nextfrom^14.2.30to^15.5.18to pick up the CVSS 8.6 security advisory.Changes
app/package.json—next: ^14.2.30→^15.5.18app/package-lock.json— re-resolved;next@15.5.18pinned.Test plan
npm install && npm run buildsucceeds on a fresh clone