@next/codemod
16.4.6 · 9 Nov 2026MIT253.5k / weekRepositoryHomepagenpmAtom feed
16.4.6 is the newest release of 16.x.
In short
2 removed1 deprecated94 new6 faster140 fixed7 changed669 internal
- Removed
Remove
config.experimental.appNewScrollHandler - Removed
Remove
truefromagentUpgradeoption - Deprecated
Pages Router: Deprecate React 18 support
Release note
Check out the 16.4 announcement post to get an overview of the changes.
Core Changes
Show compiler plugin warning in more situations
Fix debug build paths Pages Router support entries
bundle-analyzer: Record historical snapshots on each analyze run
Detect proxy.ts correctly with compound pageExtensions
turbopack: Support
falsevalues forresolveAliasconfig
Misc Changes
Add test for sideEffects with optimizePackageImports
Fix HTML-limited bot matching in prerender bypass rules
Fix race when navigating Back before hydration
Implement next/font BeforeResolvePlugins as ImportMappingReplacement
Fix use cache over- and under-invalidation in dev
Fix which pages the dev server announces, and when
deployment-id: Prevent exception on old webkit
- Removed
Remove
config.experimental.appNewScrollHandler Enable reexport-unknown execution test
turbopack: Name the module in the non-ESM-placeable error, and stop duplicating the importer in traces
turbopack: Support
type: 'text'in rules, and error on binding imports of non-ESM modulesHandle Server Actions on dynamic PPR fallback routes
Support
experimental.serverMinification& expandexperimental.turbopackMinifyAdd a
turbopackChunkingdocumentation page for pages routerDon't run Webpack tests on Turbopack-only changes
Enable the shared runtime by default
Enable CJS tree shaking by default
Fix the documented invocation for generating tests non-interactively
Fix a potential deadlock in scope_and_block
Fix formatting of Google Fonts section in documentation
Fix client component loading span timing
Revert "[turbopack] Enable CJS tree shaking by default (#96779)"
Revert "[turbopack] Follow re-exports for side-effect free async modules"
turbopack: Point at the glob that matched a file with no module type
Fix shared Turbopack runtime initialization race
Fix stale data after navigation despite revalidation
Add the mtime fallback back
Allow issue participants to request reopening
Stop serializing hmr version state
Add
clustersto chunking heuristicsAllow running
nccbeforepnpm buildnext/image: Skip 0-byte entries when initializing disk LRU cache
Add a script for adopting fork pull requests
Add RDC compression rollout controls
Fix infinite recursion in testmode passthrough fetch
Fix missing Pages runtime in adapter Pages API outputs
next/image: Reject empty image on read/write to disk cache
turbo-persistence: Allow 32-bit usize conversion
turbo-tasks-backend: Add persistence delete/tombstone plumbing for GC
turbo-persistence: Add key-value tombstones for MultiValue families
Improve form accessibility by associating labels with inputs
Turbopack: Support character class ranges in regex
Stop the browser from restoring stale pages in development
Do not mark complete shell requests as partial
Add accessible label to icon-only link
Fix stale cross-references in skills/
Turbopack: Allow TURBOPACK_PRINT_CHUNK_GROUPS in release builds
Avoid GitHub API rate limits for create-next-app examples
turbopack: Isolate HMR listeners across microfrontends
Preserve trailing slash during export MPA fallback
Turbopack: Avoid cloning paths in fs watcher if the path is already in a map
turbo-tasks: Add scope_unbounded, a scoped execution primitive that allows more work to be discovered
Add a Turbopack error for missing root layouts
turbopack: Give eager
import.meta.globvalues the ESM namespaceIntroduce an options struct for constructing backend storage
Fix indicator dragging on touch screens
Add next/cache-handlers types entrypoint
Stop emitting a separate route entry for a dynamic route's RSC form
Stop emitting a redundant route per prefetch segment
clippy: Allow needless late init where it makes sense
Split cold TurboMalloc accounting paths
Revert "Record fallback cache lifetime for blocking PPR routes (#97821)"
Fix metadata prefetch cache key for search params
wasm: Don't enable SWC's plugin host for wasm targets
turbopack-node: Make process_pool inert on wasm
turbopack: Make the SWC wasm-plugin backend native-only
turbopack-trace-utils: Skip the ctrl-c handler on wasm
turbo-tasks-fs: Create symlinks through the WASI API on wasi
turbo-tasks: Compile EventListener::wait on wasm
turbo-rcstr: Allow the napi feature on wasm targets
next-napi-bindings: Detect the target, not the host, in build.rs
Stop printing a stack frame for error message text
Add deploy release test skill
Reuse a single drain listener when piping Node streams through gzip
Fix Turbopack resolution through chained symlinks
Add evals for whether agents actually use Next.js
turbopack: Resolve
/-rooted imports from the project directoryDon't drop client references when the concatenated module id is 0
next/image: Reject non-2xx internal image responses
Don't report a client-aborted RSC stream as a render error
Fix Turbopack re-export cycle deadlock
Turbopack: Expose list of non-inlined env vars
turbo-tasks-fetch: Stub HTTP on wasm targets
turbo-rcstr: Make TaggedValue usable on wasm
Add Cache Components option to create-next-app
Fix request-context retention in the default use cache handler
Expose durableUseCacheEntries config in workStore
- Deprecated
Pages Router: Deprecate React 18 support
Turbopack: Don't replace single-arg calls with argument in analyzer
Turbopack: Allow compiling turbopack-node without a pool backend
Support immutable static assets with
output: 'export'Fix build error when aliasing
typescriptto@typescript/typescript6Fix optimistic routing for encoded dynamic params
Fix intercepted route params after Proxy rewrites
Fix navigation() in prospective runtime prerenders
Turbopack: Add next_config.use_react_experimental getter
Turbopack: Allow
get_definable_nameto return a listTurbopack: Enable export mangling by default in production builds
evals: Stop requiring the removed viewTransition flag in agent-043
Fix Turbopack HMR recovery after dropped connections
Enable hourly next-maintainer auto-close workflow
Add Next Maintainer auto-close workflow
turbopack: Skip ignored files during server tracing
Suppress missing package manager errors in next info
Turbopack: Fix
sourcefield in CSS sourcemapsTrack dynamic accesses in final runtime prerenders
Route info segment overrides not updating in dev overlay
Fix flaky successive HMR changes test
Fix missing runtime-follow up if hints are stale
Fix turbopacks webpack loader setup to support options being optional
Add version for loaders api
Adds .resolve to loaders api
Turbopack: Fix require handling with alternative
Support durable use-cache entries with client components
Preserve repeated --require/--import flags when forking workers
next-napi-bindings: Build Turbopack for wasm
Turbopack: Fix output tracing include glob traversal
Turbopack CSS HMR error when editing an unmounted merged CSS chunk
turbo-persistence: Add TURBO_PERSISTENCE_MMAP=0 to disable mmap
Fix dev route discovery startup race
Fix initial Turbopack HMR update handling
Resolve metadata independently across parallel routes
Add a fast-path to 'get_relative_path_to' for a potential common case when 'from' is empty
Enable React browser bailout by default
Adds this.target for webpack loaders
Add in warning for workers around the fsevents bug
bundle-analyzer: Add table view to single-build analyzer
bundle-analyzer: Add table view to compare mode
bundle-analyzer: Add compare view with treemap diff
Stop using deprecated
url.parsenext/image: Don't share the requester's socket with the internal image response
Fix duplicate background revalidation for
'use cache'turbopack: Add
get_relative_request_tofor paths used as module requeststurbopack: Resolve
../and/-rootedimport.meta.globpatternsAdds this.mode for webpack loaders
next/image: Add experimental imgOptMozjpeg config
devtools: Handle pointercancel when dragging the indicator
typegen: Merge cacheLife types into next/cache instead of shadowing it
Prevent synchronous IO from entering Cached Navigations
Expose App Router runtime errors over HMR
Bump vendored @mswjs/interceptors from 0.42.0 to 0.42.5
Optimize strict module factory chunks
Add
next devwait for Turbopack shutdownturbopack: Trace cyclic modules to explicit entries
Fix constant inlining in shorthand properties
Fix unexpected query parameters in adapter deployments
Fix addMissingDependency
Pages Router: Do not return the
__appRouterprefetch marker as route info on shallow navigationFix App Router locale path matching with Pages i18n
next-custom-transforms: Never place generated imports before directives
use-cache: Track root params read in "use cache" as vary params
Revert "Fix App Router locale path matching with Pages i18n"
Add future defaults upgrade coverage for
next upgrade --aiAdd "latest" upgrade coverage for
next upgrade --aiAdd
next upgrade --aiand security vulnerability coverageagents: Add a
--comments-onlyflag topr-statusscript, trim down context bloat in AGENTS.mdFix unnecessary runtime prefetch with prefetch={true}
Fix isStableBuild() treating commit preview tarballs as stable
turbo-persistence: Shard meta files by family
Introduce config options for Turbopack GC
Fix generated Turbopack GC option docs
Add agent feedback behavior evals
Add experimental agent feedback workflow
Do not check Node version while agentic upgrade
Turbopack: Add support for specifying additional roots
Turbopack: Add symlinks and additional roots to NFT metadata
Enable AI upgrade for canary
turbo-persistence: Preserve write errors on writer drop
Fix
instant-falsecodemod to run on route segment filenamesEnable strict route matching by default
Fix prefetch loop when a predicted route redirects
Fix dev overlay header layout on small screens
Fix startTime and shutdown delivery of forwarded Turbopack trace spans
Optimize CSS graph cycle removal
Fix missing content in Cached Navigations
Implement
unstable_ensureStatic = "shell" | "prefetch"Turbopack: Fix "ModuleId not found for ident" regression
Fix private-cache segment reuse across root params
Turbopack: Fix
Unknown module typeerror for imports in webpack loadersturbo-tasks: Let parking_lot block on wasm instead of panicking
Don't re-request the App Shell to upgrade an ISR fallback
Fix unstable ensure static task annotation
Add experimental custom webpack support
Add some more verification and safety rules around custom
distDirTurbopack: Fix another "ModuleId not found for ident" regression
Fix flaky lazy-dynamic-imports.test
Turbopack: Add support for additionalRoots to deployment adapters
Revert "Add experimental custom webpack support"
Fix root predicates
Avoid decoding prerender matcher parameters twice
Turbopack: Avoid project-wide traces from package directories
Fix Server Actions hanging after navigation to PPR pages
Fix blurry bundle analyzer treemap on low-DPI displays
Avoid obsolete pnpm overrides in pack-next
Respect metadata streaming policy in Edge SSR
Avoid facade splits solely for export mangling
Turbopack: Allow webpack loaders to cross filesystem roots when reading dependencies
Support latest agentic upgrades on prerelease channels
Allow agentic upgrades without Git
Turbopack: Fix split_module correctness for app-router
Turbopack: Fix empty tree-shake chunks desyncing part ids
Fix custom cache handlers missing on initial requests
Allow Draft Mode on unlisted closed routes in adapter deployments
Fix bundle analyzer source table delta sorting
Add agent feedback to create-next-app defaults
Enable Cache Components by default in create-next-app
turbo-tasks-backend: Fix leaf distance tracing compilation
Enable proxy export tests in deploy mode
Enable build diagnostic suites in deploy mode
Support webpack loader build dependency requests
Fix bundle analyzer route selector
Preserve HTTP status codes during prerendering
Turbopack: Don't force non-recursive watcher for additional roots
incremental-cache: Keep an ISR entry's cache lifetime across instances and restarts
Avoid mutating image qualities during validation
Restore static metadata prerendering for dynamic routes
- Removed
Remove
truefromagentUpgradeoption revalidateTag not reaching custom cache handlers when profiles differ
Enable agent upgrade reminders by default
Enable nullish config tests in deploy mode
Propagate repeated tag revalidation from after()
Turbopack: Enable experimental.turbopackSharedRuntime by default
Stale usages of unstable_ensureStatic
Add unstable parameter matching APIs
Enable Turbopack export name mangling by default for builds
Allow skipping React and ESLint upgrades
Resolve React dependency warnings from the target app
Optimize esm exports by shifting the protocol burden to getters
Fix pnpm builds in Docker examples
Allow opt-in facade-backed export mangling
Add bundle analyzer route summary
Enable empty generateStaticParams deploy diagnostics
Turbopack: Allow ResolveMap entries to match against all possible roots
Turbopack: Support import.meta.url in additional roots
Add allocation and memory data to the trace-server MCP protocol
Fix CI break caused by #98932
Unnecessary Suspense fallback triggered by URL update
Don't suspend client params on shallow URL updates
Add React Compiler memoization preservation option
Revert "Optimize esm exports by shifting the protocol burden to getters (#98932)"
Avoid mutating config for default export paths
eslint-config-next: Support ESLint 10
Add Instant Insights for prefetch() and navigation()
Add client fixes for fully static route errors
turbo-tasks-backend: Stop dirtying dependents of GC-collected tasks
turbo-tasks-backend: Stop pinning tasks during restores and always discard missing tasks
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.