-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): upgrade nextjs 15 #298
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
base: master
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
WalkthroughUpdated Next.js canary dependency from 15.4.2-canary.27 to 15.6.0-canary.60, removed three experimental configuration flags ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
📜 Review details
Configuration used: defaults
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (3)
next.config.ts(0 hunks)package.json(1 hunks)tsconfig.json(1 hunks)
💤 Files with no reviewable changes (1)
- next.config.ts
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: mtlaso
Repo: mtlaso/bocal PR: 297
File: src/app/[locale]/layout.tsx:61-65
Timestamp: 2025-12-17T07:26:49.098Z
Learning: In Next.js 16 with cacheComponents: true enabled, next-intl requires wrapping components that access request-scoped data (like locale from params or call setRequestLocale) in Suspense boundaries. This includes wrapping BaseLayout in Suspense in the root layout at src/app/[locale]/layout.tsx when using next-intl with cacheComponents, even though it renders the root <html> and <body> structure.
🪛 GitHub Actions: Create/Delete Branch for Pull Request
tsconfig.json
[error] 1-1: File content differs from formatting output. Formatting check reported a mismatch for tsconfig.json during 'biome ci .' run.
🔇 Additional comments (2)
tsconfig.json (2)
18-18: LGTM! JSX setting aligns with React 19.The change from "preserve" to "react-jsx" is appropriate for React 19, as it uses the automatic JSX runtime without requiring explicit React imports.
36-36: LGTM! Development types path addition.Adding ".next/dev/types/**/*.ts" enables TypeScript to include Next.js 15 development-mode type definitions, improving the development experience.
| "lucide-react": "^0.522.0", | ||
| "motion": "^12.23.24", | ||
| "next": "15.4.2-canary.27", | ||
| "next": "15.6.0-canary.60", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the patched version 15.6.0-canary.60, but only for non-production environments.
The version 15.6.0-canary.60 includes fixes for security vulnerabilities including CVE-2025-55184 (high-severity Denial of Service) and CVE-2025-55183 (medium-severity Source Code Exposure), as well as the earlier CVE-2025-55182 (CVSS 10.0 RCE). However, only stable releases are suitable for production. If you are using PPR (Partial Pre-Rendering), stay in the current Next.js 15 canary you are using, otherwise consider upgrading to a stable 15.x release once available. Be aware that Next.js 15 includes breaking changes from prior versions.
🤖 Prompt for AI Agents
package.json lines 51: the current change pins "next" to the canary
15.6.0-canary.60 which should only be used for non-production; update
package.json so production installs use a stable 15.x release (e.g., set "next"
to the intended stable 15.x version or leave as a production-safe range), move
15.6.0-canary.60 into a separate dev-only entry (e.g., devDependencies or a
named "next-canary" field), and adjust CI/build scripts to select the canary
only when NODE_ENV or an explicit flag indicates non-production or when your app
requires PPR—if you must keep the canary for PPR, document that in README and
gate its use behind an environment variable so production never installs the
canary.
|
Vercel Preview URL 🚀 : https://bocal-kkadfs46w-euuuuhs-projects.vercel.app |
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.