@next/codemod
16.4.6 · 9 Nov 2026MIT253.5k / weekRepositoryHomepagenpmAtom feed
13.5.11 is the newest release of 13.x.
In short
1 breaking2 removed1 security36 new3 faster65 fixed103 changed144 internal
- Breaking
Minimum node version 16.14.0
- Removed
Remove
--experimental-turbofrom supported next-dev args - Removed
Remove process.env reading in require hook
- Security
examples/cms-keystonejs-embedded/package.json to reduce vulnerabilities
Release note
Core Changes
Update font data
Add experimental https support to next dev
Fix emotion-js transform for server components
Handle basePath for redirect()
Remove unused array in router-server
app-router: Tweak prefetch cache status heuristics
Adds nonce to preinit scripts
Fix default export of server action utility aliases
Improve error message when
output: exportin app routerServer actions blocking navigation events
Skip getStaticPaths check for non-dynamic app routes
OpenTel: Ensure that exceptions are recorded on an active span
Testmode: Intercept rewrite fetches
Polyfill Array.prototype.at
Fix missing locale info for middleware data request
- Breaking
Minimum node version 16.14.0
Merge app renderer process
Fix data route ordering in dev
app: Enable React Strict Mode by default
Fix swc compiling of client components when directive appears later than exports
Upgrade vendored react
Code clean up
Upgrade precompiled
ua-parser-jsFix compilation of next/dynamic with
ssr: falsein App RouterFix not found css not being preloaded while navigation
Optimize webpack memory cache garbage collection
Use push for Server Action redirections
Decreased watchpack aggregate timeout
Generate prefetch RSC paylod during build for SSR paths
Remove HMR polling in favor of more targeted events
Trace upload fixup
Custom incremental cache handlers should work when transpiled
Upgrade Edge Runtime dependency
Fix infinite navigate events when Promise is proxied
Implement
named_import_transformFix resolve routes behavior when matching a dynamic segment
Turbopack: Add edge support for pages apis
Skip copying signal field for revalidate
Fix missing new line for certain logs
Update turbopack
DX: More precise error messages for export const config deprecation
Revert "Decreased watchpack aggregate timeout"
Forms and mutations docs.
optimize_barrelSWC transform and newoptimizePackageImportsconfigReuse edgeConditionNames variable
Update font data
Add cleanup logic to worker.ts
Fix router CPU profiling
Turbopack: Add middleware support for next.rs api dev mode
Rename hot-reloader to hot-reloader-webpack
Implement hot-reloader interface
Remove this as any cases
Implement hot reloader interface for Turbopack
Fix weight values above 900 not working with Google Fonts
Add support for app pages to next.rs api
Remove unused cssnano-simple file
File Reader Improvements
Add new
permanentRedirectfunction in App RouterDefault app router not found
Cleanup of /_next/data handling in server
Trace uploader: fix git binary on windows
next/image: Import error
preloadis not exported fromreact-domturbopack: Should only create _not-found when path_prefix is root
Fix app routes
Improve barrel optimizer with loader caching and wilcard exports
Move getBabelConfigFile to separate file
Reimplement getBabelConfigFile to be simpler
Fix memory watcher reboot
Misc Typescript updates
Fix unexpected full hmr reload when editing _app
Update turbopack
Use variable for common isNodeOrEdgeCompilation condition
Turbopack: Implement HMR in next-api
Add
@visx/visxto the import optimization listRemove experimental.appDir as it's stable
Short circut 404's for /favicon.ico in development
Remove additional appDir checks
Remove experimental.pageEnv
Update list of Next.js options in next.rs
Fixes for Turbopack HMR
Fix the build manifest path for
/Allow any number of onFetch handlers for a single test
Update @vercel/og to latest
turbopack: Edge api entry path should not have
/routesuffixDon't send tracing spans if performance.measure doesn't return measurements
Fix performance measures crashing the app #54858
Update tag handling for app cache
Simplify getPagePaths logic
Debug tracing: time devserver startup
Update turbopack
Add types for hot reloader send method
Ensure that barrel files behind wildcards are transformed into shortpath
Fix group routes custom root not-found
Server actions firing twice after navigation
Unify serverError hmr event
Add serverError action to list of HMR events
next-swc: Skips client/server only checks when running with Jest to unblock testing
Remove pong HMR event as it is not used
Add turbopack-connected HMR event
Redesign nextjs logging
Upgrade edge-runtime
Use correct extra config for pages router
Client-side HMR message types
Use split chunks for the node server
Remove
react-hot-toastfrom the optimizePackageImports listExperimental server optimization
Fix duplicated dynamic metadata routes in dev mode
Adjust
optimizePackageImportsserver: Enable minification by default
webpack: Tweak config for split chunks
perf: Lazy load
babel/code-frameRemove --turbo, use --experimental-turbo as --turbo
skipTrailingSlashRedirectbeing ignored inpagesDebug tracing: include session and anonymous ids
Next SWC: Constrain Vc cell values with
SendAdd bundled rendering runtimes
Fixed i18n data route RegExp
Ensure mpa navigation render side effects are only fired once
Revert "perf: add bundled rendering runtimes (#52997)"
Strip internal routing headers
Add option to support log full request url in verbose mode
Filter out pages tree view for app dir only output
Check for type of route handler returned value at build time (via the TS plugin) and at runtime
Set test headers via page.router API
server: re-land bundled runtimes
turbopack: Add dynamic metadata support
server: Require hook hotfix
Revert swc versions to one that doesn't use lightningcss
Support expanding urls in nexturbo (and fix static files)
Update font data
server: Remove turbopack-specific code when compiling with webpack
Ensure
ImageResponseextendsResponseRemove render workers in favor of esm loader
Add reserved port validation
Make open editor icon size non-shrink in error overlay
reafactor: Renamed pathname -> page
next-dev: Reenable turbopack beta message
Add libsql to external package list
Removed unused intercepting route definition references
Remove unused option and unified ready message into start server
- Removed
Remove
--experimental-turbofrom supported next-dev args Use NextJsHotReloaderInterface in router-server
server: Switch pages to react dom edge renderer
Logging improvements
Updates Mozilla links to not include language preference
Fix
react-server-dom-webpackcache invalidationturbopack: Attach type metadata for static metadata item
Fix duplicated error logging when start server
Revert react-server-dom require change
Fix turbopack HMR, fix disconnect detection
Fix CPU profile generation
Fix memory leak in require.cache cleanup
WEB-1135: Update examples and schema for Turbopack loaders config change
turbopack: Support next.js specific node polyfills
Turbopack: Allow Pages entrypoint template to import user's
.tsfilesRevert "feat(turbopack): support next.js specific node polyfills"
Remove leftover worker code and types
Run validation logic for TURBOPACK too
More turbopack HMR fixes and test case
Revert "Revert react-server-dom require change"
Set standalone server default hostname to
0.0.0.0Revert "Revert "feat(turbopack): support next.js specific node polyfills""
Memoize serverDistDir generation
Remove IncomingMessage type where unused
Remove unused file
Update useParams typing to assume a given shape
Remove setLazyProp from the hot path of all requests
Server actions initiated from static pages
Turbopack: Log hmr compile changes
Server actions initiated from static pages
Turbopack: Log hmr compile changes
Update turbopack
Sort imports to ensure consistent hash
Fix manifest load errors when using assetPrefix
Turbopack: Remap
next/headon client in App PagesEnsure etags are not generated for static files when disabled
Use atomic writes to avoid seeing incomplete files
Fix server-side changes events
server: Bundle vendored react
Move sort to loader to also sort query string
Don't log error about root_task_dispose
Skip JSON.parse in loadClientReferenceManifest
Restrict useFormState in Server Components
Generate middlewareManifestPath only once
Test Mode: Report onFetch interceptions in the test
Turbopack: Setup HMR for client-only changes in App dir
Remove esm loader
Update turbopack
- Removed
Remove process.env reading in require hook
Allow server-only in server targets and client-only in client components targets to be available
Make useSearchParams and useParams compatible between app and pages router
next-core: Enable image extensions
Run turbopack in forked process
Fix next.js own build on windows
Fix notFound status code with ISR in app
Disable client-only for middleware and pages api layer
Fix missing module.compiled trace file and unhandledRejection in ensurePage
Add
mui-coreto the defaultoptimizePackageImportslistConsolidate experimental React opt-in & add
pprflagAdd react-icons to optimizePackageImports
Fix useState function initialiser case for
optimize_server_reacttransformUpdate supported config options for Turbopack
Fix react packages are not bundled for metadata routes
Improve internal error logging
Fix styled-jsx alias
Example Changes
Fix grammar issues on README.md
Slug type issue
- Security
examples/cms-keystonejs-embedded/package.json to reduce vulnerabilities
Misc Changes
Add test for using custom font in metadata image routes
Add test case for CSP with bootstrap scripts and preinit modules
Fix windows next-swc builds
Fix failing TS test from new release
Enable verbose logging for turbo in CI
Add missing install env for release stats
Implement granular rust caching
Enable all passing turbopack tests for CI
Added support for tests to add resolutions for deps
Add test for turbopack refresh error
Fix inconsistency with pnpm lockfile
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.