← ClaudeAtlas

nextjs-15-5-noteslisted

Next.js 15.5 (current stable; the 15.x line ends at v15.5.19 — 15.6 never shipped stable, canary only before the jump to 16.0) signature features and traps. Use when writing or reviewing code in a Next.js 15.5 project, or a package whose package.json constraint is ^15.5. Covers next typegen, stable typed routes, beta Turbopack production builds, and the next lint deprecation (removed in 16). Not for application business logic — load when working on framework-touching code (App Router files, next.config, build tooling) or planning a 15.5 -> 16 upgrade. Output: version-specific guidance, migration traps, and verification gates.
hmj1026/dhpk · ★ 2 · Web & Frontend · score 68
Install: claude install-skill hmj1026/dhpk
# Next.js 15.5 — current stable Current stable release of the 15.x line. **The 15.x line ends at v15.5.19** — 15.6 never shipped stable (canary-only) before the jump to 16.0, so there is **no `nextjs-15.6` module**. > React floor: 18/19 dual support. For React-language guidance (hooks, > concurrent features, migration), pair this cross-stack with the > `react-18` or `react-19` module. --- ## Signature features ### `next typegen` Introduced in 15.5.0. Generates TypeScript definitions for routes and route params, writing to `<distDir>/types`, without running a full `next build`: ```bash next typegen ``` ### Stable typed routes `typedRoutes` is promoted out of `experimental` — it is now a top-level `next.config` key (requires TypeScript in the project): ```js /** @type {import('next').NextConfig} */ const nextConfig = { typedRoutes: true } module.exports = nextConfig ``` ### Beta Turbopack production builds ```bash next build --turbopack ``` Turbopack production-build support was experimental in 15.3.0 and became **beta** in 15.5.0. Turbopack for `next dev` has been **stable since 15.0.0**. In 15.5, Turbopack is **not yet the default** for builds — you opt in with the flag; its absence still means webpack. ### AMP support deprecated AMP support is deprecated in the 15.x line. --- ## Migration traps ### `next lint` deprecated `next lint` is deprecated in 15.5 (scheduled for removal in 16 — cross-reference `nextjs-16-notes`). Migration path off it is the ESLint