@next/codemod
16.4.6 · 9 Nov 2026MIT253.5k / weekRepositoryHomepagenpmAtom feed
12.3.7 is the newest release of 12.x.
In short
18 new29 fixed17 changed37 internal
Release note
Core Changes
Update to latest version of @vercel/nft
#38090: Add missing
analyticsIdto config schemaEnsure hash on initial request is preserved in new router
Remove unnecessary assertions
Clear unnecessary code
Impl
attachRequestMetain base server to handle meta differently in edge and node serversEnhance warning messages about unanalyzable
configfieldFix generateEtags type inside schema
Refactor router reducer
Add state comparison to router
Update webpack
Update config schema for empty basePath
Add handling for prefetching onTouchStart and initial mobile testing
Add additional comments to new router
Update config-schema for relay field to be less strict
Add config for opting out of optimistic client cache behavior
Fix tracing edge-runtime dependencies
Ensure dangerouslyAllowSVG is passed correctly
Handle getStaticPaths error inside worker to avoid serializing
Update to use HEAD request for On-Demand ISR
Replace node-sass test dependency with sass
Add comments in new router reducer
Add additional comments for reducer/cachenode
Print Request & Response properties
Show
asPathon large page data warningRemove RSC rendering from render
Ensure query is updated correctly with shallow and middleware
Update pre-compiled to fix check
Fix unhandled rejections with edge runtime
next-swc: Update swc
Collect telemetry for next/future/image
Adds
onReadyprop tonext/scriptEnsure we hard navigate for failed _next/data with middleware
Refactor Flight plugins to use types.
Fix middleware + afterFiles SSG rewrite case
Update swc minifier
Fix incorrect component cache for middleware cases
Add shared dynamic api
Add exportPathMap config type/schema field
Fix default error style overrides
#11930: Rewritten api routes can correctly handle cors in dev mode
Add missing @napi-rs/cli devDependency to next-swc
Fix missing edge routes in dev middleware manifest
Only contain middleware in dev middleware manifest
React dev bundle is picked in prod mode
Add "fill" mode to
next/future/imageHandle assetPrefix in app
Export URLPattern from next/server
Ensure middleware has single data fetch on query hydration with valid props
Fix URLPattern next/server export on deploy
Flush styles effects
Remove default setting for object-fit on future fill images
config: Implement a human readable ajv errors
Enable concurrent mode by default in app-render
Fix next/server being required during build
next-swc/wasm: Export async interfaces
Ensure On-Demand revalidate does not consider preview cookie
Buffer is not usable on edge runtime
Documentation Changes
Update testing.md
Example Changes
Use
if..elif..elsein docker exampleswith-mux-video: Update mux-player scope and version to latest.
Missing semicolon on Dockerfile
Use
if...elsein dockerfile
Misc Changes
Add delay before exiting tests for log flushing
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.