Packages

next

16.4.5 · 3 Nov 2026MIT98.4M / weekRepositoryHomepagenpmAtom feed

Your version

15.5.0

20 Aug 2025Where it was published

15.5.29 is the newest release of 15.x.

npm marks 15.5.0 as deprecated: This version has a security vulnerability. Please upgrade to a patched version. See nextjs.org/blog/CVE-2025-66478 for more details.

In short

5 removed2 deprecated40 new5 faster102 fixed98 changed143 internal

  • Removed

    Remove dev panel ui flag

  • Removed

    Remove useMDXComponents argument

  • Removed

    Remove React 17 logic from Pages Router static generation

  • Removed

    Turbopack: Remove unneeded manifests for API routes

  • Removed

    Remove experimental.strictNextHead

  • Deprecated

    Deprecation Warnings: Add amp deprecation warning

  • Deprecated

    Deprecation Warnings: Add unstable_rootParams deprecation warning

Security

35 advisories affect 15.5.0; 15.5.29 fixes them

30 more

Release note

Core Changes

  • Use and enforce exhaustive switch statements for work unit store

  • Enable @typescript-eslint/switch-exhaustiveness-check rule

  • Use RSC dynamicness to control partial vs complete PPR result

  • Do not use React.unstable_postpone()

  • New detachable panel UI

  • Turbopack: content-hash PageLoaderAsset

  • Fix content overflow styling

  • Improve reliability of owner stacks for async I/O errors

  • router: Prevent redirect loop on root data requests with basePath

  • Ensure custom NextServer config is honored

  • Fix before interactive incorrectly render css

  • Memorize exclude function in webpack config

  • Also enforce experimental features when there's no next config file

  • next/image: Warn when images.qualities is undefined

  • build: Optimize filterUniqueParamsCombinations to generate sub-combinations

  • Update NextAdapter type and re-export

  • Upgrade to path-to-regexp@6.3.0

  • Replace for initial body icon case

  • Removed

    Remove dev panel ui flag

  • Simplify running test apps locally with ppr or dynamicIO enabled

  • Return cached Promise from __turbopack_load_by_url__

  • Delete unused renderToString function

  • Discard prerendered route handler data from FS cache after revalidation

  • Ignore pending revalidations during prerendering

  • Clear chunk cache on HMR instead of creating new next-server VM

  • rootParams should throw in client when fallbackParams are not present

  • build: Optimize buildAppStaticPaths performance and add helper function

  • Turbopack: Support string without options for @next/mdx

  • Support dynamic head prefetching

  • Consistent cursor columns

  • Revert client segment route changes for sub shell generation

  • Pages router metadata bugs with React 19

  • Improve error handling for headers/cookies/draftMode in 'use cache'

  • Fix duplicate rendered indicator on server

  • Enable segment explorer by default

  • Stop exposing globals from Turbopack runtime

  • Remove unnecessary await

  • turbopack: Log anonymized internal error (panic) information to telemetry

  • Revert client segment route changes for sub shell generation

  • bugfix: Static resources staleTime should be renewed once refetched

  • Move font styling to global.css

  • Copy decoded info of error details

  • build: Add sourcePage context for PPR dynamic route lambda creation

  • Properly handle hanging promise rejections during prerendering

  • Migrate css reset to global.css

  • Robust shortcut detection

  • Hide for pages router

  • Fix scrollbar styling

  • ppr: Ensure fallback route params trigger dynamic resume

  • Restart server pending state

  • Turbopack: Fix dist dir on Windows

  • Remove boundary sentinel from RSC responses

  • Try VM for retrieving source maps first

  • Save user config inside .next/cache

  • Server: Remove unused code

  • Introduce 'use cache: private'

  • Remove web-server from edge-ssr-app

  • Stabilize node middleware support

  • Add run-turbopack-compiler trace span

  • Support calling onClose multiple times in edge-ssr-app

  • Logging the correct process for listened port

  • Routing: Clean up some code

  • Ensure codeframe when calling Client Functions from Server

  • Missing file suggestion

  • Always print trace labels in headers

  • Revert "[metadata] use https protocol for schema urls"

  • Upgrade to swc v33

  • Remove extra base-server code

  • Turbopack: Flatten sourceInfo to avoid objects, reorder args, compress node.js entry

  • Fix dynamicParams false layout case in dev

  • Initial MCP implementation

  • Unresolved param in x-nextjs-rewritten-query

  • Turbopack: Add an option to use system TLS certificates (fixes #79060, fixes #79059)

  • Turbopack: Remove unused proxy option in turbo-tasks-fetch, lightly document HTTP_PROXY/HTTPS_PROXY environment variables

  • Cleanup folder structure

  • Fix "open in editor" for locations in stackframes

  • Key by rewritten search

  • Upgrade vercel og and remove yoga type patching

  • Cache load config results

  • Turbopack: Use prototype for turbopack context for better runtime performance

  • Test with latest RC

  • Fix various exhaustive-deps violations

  • Apply React Compiler to Next.js DevTools source

  • Adjusted the warning message to be more descriptive

  • Track fallback params on workUnitStore

  • Fix API stripping JSON incorrectly

  • Use FetchStrategy to control prefetching behavior everywhere

  • Set fetchStrategy on segments from a dynamic request

  • Revert "Upgrade vercel og and remove yoga type patching (#81937)"

  • Optimize segment data routes

  • Turbopack: Write tasks doesn't need to be session dependent, as effects will restore

  • Fully sourcemap stacks on the Server

  • Rspack: Use loaderContext.utils.contextify to replace ModuleFilenameHelpers.createFilename

  • next/root-params

  • next/image: Fix image-optimizer.ts headers

  • Fix validateRSCRequestHeaders incorrect redirect

  • next/image: Improve and simplify detect-content-type

  • Use fallback params when validating dynamic routes in dev

  • Extract getDynamicParam to a shared module

  • Fix i18n fallback: false collision

  • Normalize path when running inside monorepo

  • Windows compatibility

  • Ensure setAssetPrefix updates config instance

  • Revert "Fix tracing of server actions imported by client components

  • Removed

    Remove useMDXComponents argument

  • Fix RSC hash validation for middleware external rewrites

  • @next/codemod: update docs url in README

  • @next/codemod: Add experimental.turbo to turbopack codemod for Next.js configs

  • Strip internals from NextRequest types

  • Allow root params access in private caches

  • Upgrade @vercel og

  • The unexpected clearing of symbolic link directories

  • Set TURBOPACK env before loading config

  • Display multiple lockfile warn if neither outputFileTracingRoot or turbopack.root option is provided

  • Revert "Initial MCP implementation (#81770)"

  • Revert "Upgrade @vercel og (#82201)"

  • Don't bail out of prefetch if head is missing

  • Runtime prefetching

  • Parse dynamic params on the client

  • Mark bun builtin modules as external (fixes #75220)

  • Turbopack: Compact only at the end for short sessions

  • Add fallback root params support for prefetch segment data routes

  • Add route context to prerender error messages

  • Automatically generate route types

  • Reset PrerenderStore after generating RSC payload

  • Include eslint-plugin-react-hooks in React sync

  • Remove unnecessary cascading update

  • Turbopack: Name the module factory function

  • Update font data

  • next/root-params erroring when rerendering after action

  • Remove params from segment path

  • OTel root span should indicate error status on exceptions

  • Allow span creation while prerendering

  • turbopack: Improve compile-time define value to support more data types and expr evaluation

  • _error page's req.url can be overwritten to dynamic param on minimal mode

  • Use asPath for query-only navigation with useRouter

  • Loader tree: add special segment name to virtual parallel route segments

  • Add ?dpl to fonts in /_next/static/media

  • Make state read-only in types

  • Add experimental clientParamParsing feature flag

  • Add unstable_isUnrecognizedActionError

  • Give the "seconds" profile a 30s staleTime

  • Represent "virtual" segments like route groups

  • Segment Cache: Fix infinite prefetching when staleTime is 0

  • Remove param values from static route tree

  • Only validate the shell on SSR render

  • Static not-found missing in prerender manifest

  • Turbopack: Share entrypoint template logic between Turbopack/webpack

  • Add path to Image documentation

  • Revamp graceful degrade error boundary

  • Do not force BLOCKING_STATIC_RENDER for DOM bots

  • Update build-complete for adapter API

  • Swc tracing

  • Delete abandoned segment parsing code

  • next/image: Use image-size pkg as additional format detector

  • Add ?dpl to fonts in /_next/static/media part 2

  • Disambiguate Mediapartners-Google user agent

  • Allow dynamic rendering when root layout is wrapped in Suspense

  • Wrap devtools stories in context providers

  • Remove unused componentStackFrames field

  • Deprecated

    Deprecation Warnings: Add amp deprecation warning

  • next/image: Handle empty buffer and experimental flag for skipMetadata

  • Amp deprecation warning should assert on user config

  • Prevent duplicate file entries in modulesCode

  • Turbopack typed links

  • Resolve runtime APIs in a separate task

  • Clean up unused code in restart server button

  • Avoid cache misses when resuming a cached page

  • Deprecated

    Deprecation Warnings: Add unstable_rootParams deprecation warning

  • Turbopack: Set window.next.turbopack instead

  • Fix router handling when setting a location response header

  • Resolve <Head> PPR resume mismatch by search params

  • Move ShadowRoot into context

  • Removed

    Remove React 17 logic from Pages Router static generation

  • Optimistic prefetch for search params

  • Handle badged console calls when dimming console output

  • Run config deprecation checks only on user-provided configuration

  • Remove unused code

  • Update Turbopack build warning message

  • Disallow sync access of cookies & headers at runtime

  • Type guard file generation

  • Find root dir on fs root

  • Use in operator to check dev indicator option when its obj

  • next/image: Warn when images.localPatterns is undefined and src has query

  • Turbopack: Add turbo_tasks::spawn

  • Fix fetch logging after revalidation via server action

  • Fix request type in typed route validator

  • Use .js extension for relative imports

  • Add RouteContext type for app router route handlers

  • Add additional handling for build-complete

  • Combine the hrtime tuple to get a better seconds representation

  • router: Replace LRU cache with optimized doubly-linked list implementation

  • Turbopack: Use a source content regexp for the react compiler

  • Memory leak from cloneResponse

  • Turbopack: Fix logic in HMR logging code that could emit a NaN build time

  • Use turbopack.root value for outputFileTracingRoot to have consistent tracing root

  • Return plain text 404 for invalid static asset paths

  • Turbopack: Show timing event for database compaction

  • Dynamic skip generating unused types

Misc Changes

  • Allow beforePageLoad to be async

  • Fix build-native.ts on Windows

  • Add create release branch workflow

  • Fix patch-next by adding missing script

  • createRouterAct "reject" config

  • fix(turbopack) Adjust the way catchall routes are handled when a more specific parallel route exists

  • Add trigger for v0 sync workflow

  • Add VSCode tasks to show TypeScript compilation errors in problems view

  • Removed

    Turbopack: Remove unneeded manifests for API routes

  • Turbopack: Fix unhelpful error message when deleting folder fails

  • Removed

    Remove experimental.strictNextHead

  • Turbopack: Add cache for reqwest clients

  • Fixes related to segment inlining

  • Fix an issue in how css references are collected under next build --turbopack

  • Turbopack: Remove the duplicate SlowFilesystem warning

  • Turbopack: Fix scope hoisting variable renaming bug

  • Allow specifying CLI version for e2e deploy

  • Add link to manually trigger preview builds

  • Turbopack: Fix accidental doctest in globset module license

  • Turbopack: Add a flag to the fs watch fuzzer to print missing but expected invalidations

  • Turbopack: Implement shutdown for backing storage correct

  • Turbopack loader ipc field mapping

  • Turbopack: Fix duplicated layout rendering in edge cases

  • Turbopack: Ensure max merge segments is respected accros families

  • Turbopack: Fix glob with empty alternative branch

  • Optimize ESM exports

  • Fix a snapshot test

  • Avoid calling find_server_entries in the whole_app_module_graph case

  • Turbopack: Address duplicated metadata image modules when they are impored

  • Implications of global-not-found skipping 'normal' rendering

  • turbopack: External module shouldn't wrap by esm when type as global

  • Turbopack: Enable side effects optimization by default in all test cases

  • Turbopack: Add more side effects test cases

  • Fix a small issue in the analyzer where we wouldn't skip assignments to free vars that were just identifiers

  • Fix the build under --features=tokio_tracing

  • Turbopack: Restore watchers for children when using non-recursive FS watcher

  • Turbopack: Fix CSS module references, take 2

  • Turbopack: Fix postcss in RSC CSS

  • Handle relative paths before matching in node file traces

  • Turbopack: Fix module rules for .module.scss

  • turbo-tasks-hash: Update twox-hash

  • Fix a crash under turbopackPersistentCaching

  • Turbopack: Don't block on parsing traced modules

  • Turbopack: Avoid using rayon in favor of tokio tasks

  • Turbopack: Support requests with dynamic part in module name

  • Turbopack: Fix edge function name

  • Turbopack: Avoid REEXPORTED_OBJECTS property on Module object

  • Turbopack: Do not run a compaction when opening the db

  • Revert "Turbopack: avoid using rayon in favor of tokio tasks (#82256)"

  • Fix a bug where our global rewrite could introduce a TDZ issue

  • Add metadata to server reference manifest

  • Turbopack: Stop persisting background task correctly on stop

  • Turbopack: Fix race condition in test case

  • turbopack: webpack-loaders failed to resolve relative path

  • Make sure validator.ts uses relative paths for imports

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.