Packages

@next/swc-wasm-web

16.4.6 · 9 Nov 20268.3k / weekRepositoryHomepagenpmAtom feed

Your version

16.0.0

major22 Oct 2025Where it was published

16.4.6 is the newest release of 16.x.

In short

20 breaking6 removed5 deprecated81 new4 faster94 fixed143 changed252 internal

  • Breaking

    Flat config as default in @next/eslint-plugin-next

  • Breaking

    Remove deprecated publicRuntimeConfig and serverRuntimeConfig

  • Breaking

    breaking: Enable router scroll optimization by default

  • Breaking

    Bump default images.minimumCacheTTL from 1 min to 4 hours

  • Breaking

    Remove deprecated sync access to Dynamic APIs

  • Breaking

    Remove AMP codemod

  • Breaking

    Remove deprecated built-in AMP

  • Breaking

    Bump minimum TypeScript version to 5.1.0

Release note

Tip

Check out our Next v16 Blog Post to learn more about this release.

Core Changes

  • Development: Don't import app-router / hot-reloader through next/link in application code

  • Remove clientParamParsing requirement from RDC for Navigations

  • Turbopack: Use readFileSync / writeFileSync for manifest writing

  • Don't create client-side debug channel if the feature is disabled

  • Dev should produce the correct default fallback regex to match builds/Turbopack

  • Fix overlay styles are missing

  • Revert "Remove clientParamParsing requirement from RDC for Navigations"

  • Only enable unhandledRejection filtering when opted in

  • Fix index data route for adapter build-complete

  • Remove leading underscore for unhandledRejection envvar

  • Fix reentrancy of unhandledRejection filtering

  • Fix type for unhandled rejection handler process.removeListener

  • Root span name should not include high cardinality URL

  • Turbopack: Remove matchers.reload() call on each request

  • Breaking

    Flat config as default in @next/eslint-plugin-next

  • Rspack splitChunks.chunks regex

  • Revert "Turbopack: Remove matchers.reload() call on each request"

  • unstable_cache should perform blocking revalidation during ISR revalidation

  • Rspack: Resolve HMR unresponsiveness or unexpected full reload & update dev snapshot

  • Allow next.config.mts for Node.js native TS resolver

  • Development: Remove matchers.reload() on each request

  • Bump typescript 5.9.2

  • Allow headers, rewrites and redirects to be defined as sync functions

  • Turbopack: Optimize addedRoutes and removedRoutes calculation

  • Set Node.js native TS loader fallback flag to process.env

  • Development: Clarify TypescriptStatus in watcher

  • Upgrade sharp dependency to version ^0.34.4

  • Add native ts resolver docs link to transpile-config

  • OTel: Use srcPage for templates when next.route is unavailable

  • Removed

    Remove inline CSS sourcemaps from next-devtools

  • Development: Move all TypeScript related work in watcher together

  • Allow sync IO inside console methods

  • Remove force writing **/*.mts to tsconfig

  • Isolate dev build from prod

  • Remove JS size reporting from next build

  • Docs/workspace setup

  • Turbopack: Support import ... with {type: "bytes"}

  • Error overlay not closing when backdrop clicked

  • Worker logs should still support color

  • Update font data

  • Allow passing port to next internal trace

  • Turbopack: Error when importing Typescript in node_modules

  • Turbopack: Deterministic builds (prerender-manifest, .next/package.json, ./next/postcss.js)

  • Turbopack: Fix babel-loader (allowing built-in or manual configuration)

  • Allow using headers() in runtime prefetches

  • Breaking

    Remove deprecated publicRuntimeConfig and serverRuntimeConfig

  • Turbopack: Mode to disable tracing

  • babel-loader: Fix a few issues with config caching

  • Turbopack: Merge babel-loader and react-compiler configuration logic to avoid running babel twice

  • Breaking

    breaking: Enable router scroll optimization by default

  • Fix layout for ssgPageRoutes in the file tree

  • Turbopack: Remove useless 'default' built-in webpack loader condition

  • Client should auto reload after server restarts

  • trace-build: Add missing spans

  • Development: Remove TypeScript from the hot path during bootup

  • Guide users to experimental.cacheComponents config

  • Development: Only load webpack when used

  • Turbopack: Skip loading webpack plugin

  • Development: Only load createEnvDefinitions when used

  • Breaking

    Bump default images.minimumCacheTTL from 1 min to 4 hours

  • Add Model Context Protocol (MCP) server to Next.js dev server

  • Removed

    Turbopack: Remove the deprecated .turbo config object

  • Flag excess properties in Next.js config with TypeScript

  • Ensure React Compiler options are based dev vs prod

  • Enable anonymous function naming in React Compiler

  • Revert "[Breaking] Remove deprecated publicRuntimeConfig and serverRuntimeConfig (#83944)"

  • Fix double comma in build manifest

  • Set app dir only to true when no pages entries detected

  • Split code-frame into separate compiled package

  • Default to filtering unhandledRejection after abort

  • Prevent URL mutation in router rewrites

  • server: Fix pages router resume router matching

  • get_errors MCP endpoint

  • Add internal environment variable for enabling React Compiler

  • Disable React's default Transition indicator

  • get_page_metadata MCP endpoint

  • Capture logs into logging file during development

  • babel-loader: Avoid calling expensive isReactCompilerRequired check when we must run Babel anyways

  • Expose logging

  • Move config.turbopack.moduleIds to config.experimental.turbopackModuleIds

  • Show invalid default export errors during prerendering

  • Make sure caller exists in babel preset

  • Allow to enable mcp server through env var

  • metadata: Make formatDetection respect true/false properly

  • Add a --webpack flag and default --turbopack to true

  • Update URL resolution logic to handle search parameters on root path /?foo=bar

  • Breaking

    Remove deprecated sync access to Dynamic APIs

  • Move config.turbopack.moduleIds to config.experimental.turbopackModuleIds

  • Show invalid default export errors during prerendering

  • Make sure caller exists in babel preset

  • Allow to enable mcp server through env var

  • metadata: Make formatDetection respect true/false properly

  • Add a --webpack flag and default --turbopack to true

  • Update URL resolution logic to handle search parameters on root path /?foo=bar

  • Breaking

    Remove deprecated sync access to Dynamic APIs

  • Turbopack: Only write merged manifests when they have been changed

  • Turbopack: Add separate turbopackPersistentCachingForBuild/ForDev flags

  • Revert "Add a --webpack flag and default --turbopack to true (#84216)"

  • Mark React Compiler integration as stable

  • Add reactCompiler option

  • Turbopack: Remove canary version check for turbopackPersistentCachingForDev

  • Add support for debug_ids

  • Revert "Revert "Add a --webpack flag and default --turbopack to true (#84216)""

  • Breaking

    Remove AMP codemod

  • Breaking

    Remove deprecated built-in AMP

  • auto-enable clientParamParsing and clientSegmentCache w/ cacheComponents

  • Get server action tool

  • Revert "Revert "Revert "Add a --webpack flag and default --turbopack to true (#84216)"""

  • Breaking

    Bump minimum TypeScript version to 5.1.0

  • Breaking

    Remove deprecated unstable_rootParams

  • Remove falsy dynamicParams approach

  • Next rspack binding NextExternalsPlugin

  • Development: Skip route matching when there is an existing match

  • Revert "auto-enable clientParamParsing and clientSegmentCache w/ cacheComponents"

  • Breaking

    Update default browserslist config

  • Allow metadataBase to be a string URL in addition to URL instance

  • Logging file should be reset for each session

  • Revert "Revert "Revert "Revert "Add a --webpack flag and default --turbopack to true (#84216)""""

  • Optimize isMetadataRoute function

  • Fix caching in generateMetadata/generateViewport

  • segment cache: Fix trailingSlash handling with output: export

  • Use a more aggressive retry loop for recursiveDelete

  • Dim logs after prerender aborts

  • Telemetry track mcp server usage

  • Simplify the way we check for turbopack config to ensure we support an empty turbopack object

  • Use synchronous IO when cleaning distDir in next dev and next build

  • Make turbopack the default bundler for custom servers

  • segment cache: Fix interception route handling

  • segment cache: collectSegmentData should respect experimental.staleTime config

  • Fix potential race condition with request ID in dev mode

  • Simplify Metadata components

  • Implement the updated prerender API shape

  • Turbopack: Add better error messaging for when we can't determine Next.js root

  • Allow silencing unhandled rejection filter warnings and improve debugging

  • Do not dedup by URL for MCP get_page_metadata

  • Guard createDebugChannel import by feature flag

  • Schedule work on timeouts

  • Define request ID for RSC requests on the client

  • cache-tags: Add /index to implicit tags and adjust revalidatePath()

  • Breaking

    Bump sass-loader to v16

  • Update cases for build complete with adapters

  • Turbopack: Delete .next folder before throwing due to "pages/app directory must be in the same folder"

  • Change get-project-path to get-project-metadata

  • Breaking

    next/image: Deprecate and warn on images.domains config

  • Breaking

    next/legacy/image: Deprecate and warn on next/legacy/image usage

  • Turbopack: Improve errors/warnings for turbopack messages

  • Turbopack: Rename turbopackPersistentCachingForXXX to turbopackFileSystemCacheForXXX

  • Add refresh URL to reused default segments

  • Fix tests related to optimistic loading state reuse

  • Breaking

    breaking: Enable clientSegmentCache by default

  • Acquire a lockfile on distDir in next dev and next build

  • Deprecated

    Add deprecation warning to Runtime config

  • middleware: Add upper bound to cloneBodyStream

  • Remove automatic linting from build

  • Re-enable legacyBehavior and passHref on Link

  • Use stable React Compiler

  • Add codemod for middleware to proxy

  • Fix dynamic catchall parameter interpolation in parallel routes

  • Breaking

    breaking: Hard Deprecate PPR Configuration

  • Deprecated

    Deprecate middleware and recommend proxy

  • Put native TS resolver for next config under --experimental-next-config-strip-types flag

  • Fix interception route rewrites for nested dynamic routes

  • Strip NEXTSEP from interpolated pathnames

  • Breaking

    next/image: Remove 16px from default images.imageSizes config

  • Add Statsig Node Core package to Server External Packages

  • Remove bailed out SSG routes from the list of SSG

  • Revert "[Breaking] Skip Next.js internal routes /_next in middleware"

  • Add refresh API to next/cache

  • Breaking

    Require images.localPatterns for query in Image src

  • Breaking

    next/image: Add support for images.dangerouslyAllowLocalIP and images.maximumRedirects

  • Add new updateTag API and new signature for revalidateTag

  • Add validation for missing default.js in parallel routes

  • misc: Allow beta to be triggered

  • Fix tags check for expired/stale

  • Tweak middlewareClientMaxBodySize handling

  • Version gate migration docs link

  • Allow hiding logs after abort

  • Log Compiled proxy in ...

  • Remove unused eslint-disable directives

  • Use ESLint Flat Config

  • Fix missing flight-router-state-tree header normalization

  • Write .next/dev/types/**/*.d.ts to default tsconfig

  • Capture next config schema errors

  • Using @next/rspack-core

  • Turbopack build: Switch to using workerthreads for process

  • Dev - restart render on cache miss

  • Update font data

  • Fix build compile mode if pages dir does not exist in Next.js 16

  • Improve next config schema validation errors

  • Deprecated

    warnOnce for Middleware deprecation

  • Add codemod for Middleware API to Proxy API

  • Deprecated

    Deprecate Middleware API and add Proxy API

  • Removed

    Remove clientParamParsing configuration & bundle it with cacheComponents

  • Removed

    Remove dynamicIO flag

  • Add nextjs condition when cacheComponents is enabled

  • Removed

    Remove rdcForNavigations configuration & bundle with cacheComponents

  • Convert eslint-config-next project to TypeScript

  • Breaking

    Use Flat config by default

  • Remove unstable prefix from unstable_cacheLife

  • Always use the safe stable stringify

  • Fix cacheSignal in dev render

  • Never dedupe errors with different names or messages

  • Removed

    Remove deprecated experimental_ppr route-level configuration

  • Include server latency in debug info

  • Fix parallel routes ignoring generateStaticParams from primary route

  • Revert "Include server latency in debug info"

  • Development: Use process.hrtime for request time calculation

  • Use correct JSX runtime for library-owned JSX in React Server

  • Development: Implement request log time details

  • Remove unstable prefix from unstable_cacheTag

  • Separate runtime stage in dev render

  • Reland "Include server latency in debug info"

  • Update codemod ESLint template to Flat config

  • Fix Middleware and Proxy file conflict

  • Stabilize experimental.enablePrerenderSourcemaps

  • Stop manually setting stacktrace limit

  • Turbopack: Respect --profile CLI param

  • Relax default.tsx validation for parallel routes leaf segments

  • Add codemod for removing unstable_ prefix

  • Interception routes match from nested route navigation

  • Allow unstable prefix for cacheLife and cacheTag

  • Relax default.tsx validation for parallel routes leaf segments

  • Add codemod for removing unstable_ prefix

  • Interception routes match from nested route navigation

  • Allow unstable prefix for cacheLife and cacheTag

  • Add codemod for removing experimental_ppr

  • Throw error during build when invalid export for Proxy

  • cache components: Prevent expired entries from being served

  • Delete old prefetch cache related code

  • Add rendered search to router state

  • segment cache: Delay revalidation prefetch pings 300ms

  • Show relative path from cwd for Proxy Middleware file conflict error

  • Fix docs for cacheLife("seconds")

  • Rename MiddlewareMatcher to ProxyMatcher

  • Breaking

    Rename instrumentation onRequestError context.routeType from middleware to proxy

  • Prevent accidental access to .next

  • Incorrect canonicalUrl set when using output: export

  • Add Activity name to route layouts and pages

  • Update next-lint-to-eslint-cli to support FlatCompat.config

  • cache components: Move flag out of experimental

  • When caches are disabled in dev skip the cache warmup

  • Use canary React when only Cache Components is enabled

  • Turbopack: Remove unneeded warning for telemetry

  • Stabilize cacheLife profiles

  • Show when cache components is enabled in the CLI

  • cache components: Show cache components enabled in DevTools

  • Correctly label IO promises in devtools

  • Plumbing for cache indicator

  • Enable mcp server by default

  • Add comment that we expect the function passed to bind to be anonymous

  • Development: Addres comments on request log PR

  • Development: Implement request time for Pages Router

  • Add cache components indicator to dev start

  • cli: Build partial entries --debug-build-paths arg

  • Turbopack: Better error for sassOptions.functions as it's unsupported

  • devtools: Instrument client navigation hooks for suspense devtools

  • Remove Segment from CacheNodeSeedData

  • Label as Prefetch/Prefetchable depending on prefetch config

  • cache components: Add 'bypass' cache indicator status

  • cache components: Guard against setCacheStatus since its conditionally defined

  • Deprecated

    warn: Add deprecation warning of eslint config

  • Add new devtools indicator loading state

  • Await initial Flight response before hydrating

  • experimental.lockDistDir: Acquire the lock in dev earlier

  • telemetry: Mcp tool call

  • Dedupe build errors

  • Fix subtree layout alignment for route summary in next build

  • Remove runtime config when running middleware-to-proxy

  • Improve the multiple bundler flags messge to note that perhaps your package.json is the problem

  • Add Learn more docs to Middleware deprecation warning

  • BF Cache: Skip lazyData fetch logic for inactive segments

  • Pass startTime to initial RSC payload stream

  • Guard navigation use hooks for React 18

  • Don't warn on the lightning css experimental option

  • Turbopack: Remove redundant log line, increase delay for compiling log message

  • Make params and searchParams new Promises

  • Name "cache" streams for React DevTools

  • Use cacheMaxMemorySize config in default cache handler

  • Omit params to from client segments

  • Enable experimental.routerBfCache behind cacheComponents

  • Allow stale longer than expire in cacheLife

  • Update Activity names given to routes

  • Use port zero for --inspect when forking, if used by parent

  • Update blocking prerender error message

  • CSS asset URLs broken with experimental.inlineCss

  • Update routes generation for build-complete

  • Move experimental.cacheHandlers out of experimental

  • Don't assign displayName to the internal Promises

  • Assign name to hydration stream

  • Add backwards compat for middleware → proxy field renames

  • Implement improved deobfuscation for free calls and module identifiers.

  • Improve Proxy invalid export error message

  • Fix Activity boundary names

  • Install ESLint v9 if version under for next-lint-to-eslint-cli

  • Version gate adding --turbopack flag

  • Tweaks to blocking route error message

  • Remove layout-router sticky/fixed debug warning

  • Persist cache bypass UI until it's disabled

  • Only allow node runtime in proxy

  • logger: Skip logging full element

  • CSS asset URLs broken with experimental.inlineCss

  • Update routes generation for build-complete

  • Move experimental.cacheHandlers out of experimental

  • Don't assign displayName to the internal Promises

  • Assign name to hydration stream

  • Add backwards compat for middleware → proxy field renames

  • Implement improved deobfuscation for free calls and module identifiers.

  • Improve Proxy invalid export error message

  • Fix Activity boundary names

  • Install ESLint v9 if version under for next-lint-to-eslint-cli

  • Version gate adding --turbopack flag

  • Tweaks to blocking route error message

  • Remove layout-router sticky/fixed debug warning

  • Persist cache bypass UI until it's disabled

  • Only allow node runtime in proxy

  • logger: Skip logging full element

Misc Changes

  • Turbopack: Don't add client_runtime_entries to Route Handler compilation

  • Turbopack: Enable scope hoisting for large files or module counts

  • Turbopack: Don't recompute empty parse results

  • Turbopack: Add turbo_tasks::run to run in turbo tasks scope without a task

  • Turbopack: Fix double codegen of some merged modules

  • Turbopack: Add traces to merged module computation

  • Add the missing comma in the document example

  • Turbopack: Enable nodelay for node.js pool socket

  • next-rspack-binding

  • Turbopack: Allow to read State from turbo_tasks::run

  • Fix conclusion check for retry_test workflow

  • Add Descope to Auth libraries list

  • Turbopack: Add test case that checks memory leak

  • Fix output comparison when checking conclusion of required jobs

  • Fix AST traversal for this in function default parameters

  • Fix TypeScript type error in example code

  • Turbopack: Fix test case and update project_update to turbo_tasks::run too

  • Add test for JS resource size on navigation

  • Avoid attaching referenced output assets to chunks

  • Turbopack: Add more details to the graph panic

  • Turbopack: Fix run_once when returning error

  • Turbopack: Add more details to the graph panic

  • Turbopack: Support more dynamic request with import map

  • Revert "[turbopack] Set liveness of exports based on assignment ana…

  • Turbopack: Avoid panic on updating output when a task was cancelled

  • Turbopack: Fix NFT of readFileSync of relative path

  • Turbopack: Prevent duplicate NFT modules

  • Turbopack: Add docs for debugIds option

  • Add test for twoslash

  • Turbopack: Don't fail for parse errors in tracing

  • Add gt-next to i18n list

  • Missing link in Lazy Loading docs

  • Revert "Turbopack: skip invalidating a task on cell/output change when the dependency is outdated"

  • Revert "next mcp router"

  • Add .next/dev/types to CNA templates tsconfig include

  • Add a webpack flag to create next app. Ensure that if you set it or decline turbopack we set the --webpack flag on the generated project

  • Add documentation for experimental adapters handling

  • Fix hidden errors in router-act

  • cna: Use correct postcss plugins syntax

  • Turbopack: Add manual worker count override

  • Turbopack: Don't ignore TS parse errors

  • Add middleware to routes order doc

  • Turbopack: Avoid race condition when updating cells

  • Fix flakey overlay feedback test

  • create-next-app: Add eslint to default template

  • Add note about $ACTION_ properties, remove reference to .entries()

  • Rspack: Fix lockfile test on rspack

  • Set codemod version to the first introduced version

  • Fix a few references to caching configuration as it is no longer canary guarded

  • Add 16.0.0-beta.0 to next/third-parties peerDeps

  • Release next-rspack ci

  • Prevent failing types-and-precompiled from corrupting terminal output

  • Revert "Fix flakey overlay feedback test"

  • Turbopack: Allow gzip compression on trace files

  • Add test for eslint-config-next

  • Turbopack: Expose client static assets correctly

  • Process.env.TURBOPACK maybe undefined

  • Turbopack: Fix spacing on EcmascriptModuleAssetType

  • Fix url-imports test

  • Turbopack: Fix pageExtensions precedence

  • Turbopack: Fix client reference order for shared references

  • Turbopack: Add ChunkedVec test case

  • Allow withRspack to work even if you already have NEXT_RSPACK set

  • Turbopack: Fix race condition when adding dependencies

  • Add a message about Turbopack tracing

  • Turbopack: Implement next/font/local declarations option

  • Handle non-directory files in cache folder when performing cleanup

  • Fix env labels in perf track test

  • Don't expliclitly set the --turbopack flag in Create Next App, it is no longer necessary

  • Turbopack: Don't fail on export type in use server

  • Turbopack: Don't fail on export type in use server

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.