Packages

@next/bundle-analyzer

16.4.6 · 9 Nov 2026MIT6.4M / weekRepositoryHomepagenpmAtom feed

Your version

15.1.0

10 Dec 2024Where it was published

15.5.29 is the newest release of 15.x.

In short

39 new13 faster72 fixed77 changed241 internal

Release note

Core Changes

  • Decrypt bound args before generating a cache key

  • Fix the path to the next/experimental/testing/server export

  • Expand server-source-maps scenarios to cover Edge runtime

  • Ensure logged errors in Edge runtime include the stack

  • Added cache control headers for static app routes

  • Capture console issues as console errors

  • Add expireTag and expirePath APIs

  • try/catch access to localStorage within __NEXT_APP_ISR_INDICATOR useEffect

  • Move client build ID to a global variable

  • Bypass source map dev middleware for client chunks

  • Improve no-img-element lint error message

  • Combine bound "use cache" closure args into a single parameter

  • Add BackendOptions and allow to disable dependencies, children and storage

  • Omit unused args when calling "use cache" functions

  • Add experimental clientSegmentCache flag

  • Add compiler.define option

  • Fix static indicator with dynamicIO

  • Allow usage of Node.js prereleases

  • Improved network url in (dev) cli

  • Fix static indicator for pure IO case

  • Bump the monorepo packages TypeScript to 5.6.3

  • Bump @capsizecss/metrics to 3.4.0 for Geist Google Font

  • Remove unused enabled config from server actions transforms

  • Ensure Next.js is ignore-listed when used as external

  • Fix multi-level redirect in server actions

  • Re-use randomly selected dev server port for automatic restarts

  • Emit build error when "use cache" is used without dynamicIO enabled

  • Not found bounary prop

  • Silence sass legacy-js-api warning

  • Move access token to route tree

  • Add internal affordances to show ignore-listed stackframes in terminal

  • Shorten unsourcemapped absolute locations in terminal stacktraces

  • codemod: Replace revalidate(Tag|Path) to expire(Tag|Path)

  • "Fix": Lift type check out of loop

  • Hide stack trace in CanaryOnlyError

  • Allow missing CacheNodeSeedData during prefetch

  • Add Segment Cache feature check to prefetch API

  • Extract shared fetchFromServerResponse logic to separate functions

  • Implement behavior on cache miss

  • Emit build error for unknown cache kinds

  • Resolve mdx plugins string format

  • MDX: Only set experimental.turbo if enabled

  • Change persistent caching option to a boolean

  • Ensure host is in allowed headers

  • turbopack: Enable tree shaking for modules with dynamic imports

  • Fix unhandled rejection in proxy-request

  • Ensure webpack worker exits bubble to parent process

  • Fix sourcemaps for internal client boundaries

  • Turbopack: Thread tracing through to resolve results

  • Upgrade vercel og

  • Turbopack NFT: Trace manifests and externals

  • Turbopack: NFT followups

  • Support custom servers with minimal node modules

  • Add support for ignore-listing sources in index maps

  • Turbopack: Fix loading of externals on Edge

  • Bump SWC used for transpiling Next.js sources

  • Ensure HTML validity for the next-size-adjust meta tag

  • Revert "Support custom servers with minimal node modules"

  • Allow CacheNode.loading to be a promise

  • Properly encode dynamic access in segment prefetch

  • Send <head> during route prefetch

  • next/image: Improve svg heuristic for unoptimized

  • Initial implementation

  • Turbopack: Change edge wrapper to proxy exports

  • experimental: Css inlining

  • Display where the env was loaded from when enabled typedEnv

  • Create forked impl for Link component

  • Remove unnecessary handling in forked Link components

  • Pass down ignored field to error overlay

  • Remove locale from app link

  • Server action redirects between multiple root layouts

  • Add forbidden and unauthorized APIs

  • next/image: Reduce avif sharp effort from 4 to 3 for faster encoding

  • (E2E) Log which config file is used for next start

  • Remove extra space in envionment log

  • Remove inheritance from NextCustomServer

  • Align navigation digest with message

  • Update font data

  • Current behavior for fallbacks with async metadata and prefetching

  • Revert "ensure webpack worker exits bubble to parent process (#72921)"

  • Reapply "ensure webpack worker exits bubble to parent process (#72921)"

  • Implement metadata types support for exactOptionalPropertyTypes

  • Reenable otel test for Turbopack

  • Omit unnecessary cache wrapper import

  • Increase max cache tags to 128

  • Do not inline CSS in RSC payload for dynamic client nav

  • next/image: Dpl query string should only be used for local images, not remote images

  • after: Unflag unstable_after internals

  • after: Allow using unstable_after in generateStaticParams

  • Error on navigation API usage in pages router and middleware

  • Undeprecate revalidate APIs and rename expire APIs

  • Revert "codemod: replace revalidate(Tag|Path) to expire(Tag|Path)"

  • after: Wait for after-callbacks before server shutdown

  • Fixed interception on a catch-all route

  • Add option to disable experimental CssChunkingPlugin

  • Rename cssChunkPlugin experimental options

  • Replace the group frames with button for ignored frames

  • Handle pages router ignored frames

  • after: No request APIs in force-static

  • after: Allow reading draftMode status in after

  • Reland refactor filesystem writes to an effect based system

  • pages: Dynamic css missing style after client navigation

  • Make notFound() work in "use cache" page

  • Running cleanup before server is initialized

  • Drop node16

  • after: Allow request APIs in after (actions/handlers)

  • Sourcemap errors logged in Edge runtime

  • Show a proper error if a server function's bound args cannot be serialized

  • Remove unnecessary internal middleware header from response

  • Ensure Issue Overlay sourcemaps externals in Turbopack

  • Fix missing error message in terminal for bound args serialization error

  • Memory leak from warnOnce()

  • Importing an ESM file from next/dist/client/.js fails

  • Fixed dedupe response cloning

  • after: Improve error message if promise arg rejects

  • Added compression to resume data cache using deflate

  • Use React 19 stable in Pages Router

  • Use stable @types/react

  • Cache the bound args encryption result for inline server functions

  • next-upgrade: Ensure highest versions are used not latest

  • Use consistent error formatting in terminal

  • Interception routes

  • Upgrade to typescript 5.7

  • Use LRU to manage cache data

  • Add isPartial to segment prefetch

  • Fix missing client reference manifest error when using route groups

  • after: Stabilize unstable_after

  • Add isHeadPartial

  • Do not add suffix for sitemap under group routes

  • Dynamic IO: Improve error handling

  • Update @swc/helpers

  • next-codemod(upgrade): handle absence of scripts in package.json

  • Add inlineCss trade-offs/gotchas and remove canary check

  • Ignore-list stack frames in node_modules even if not explicitly ignore-listed by their sourcemaps

  • Remove ignore for anonymous stack frame

  • Fixes webpack persistent caching in development and add test case for persistent caching

  • Empty generateStaticParams should still create an ISR route

  • Limit the number of concurrently open file watchers on macos

  • warnOnce() lru

  • Respond with 204 on cache miss

  • Skip dynamic request if possible

Misc Changes

  • Revert "[Turbopack] add rocksdb"

  • Add TODO comment

  • Remove unnecessary fragment

  • Fix grammatical error: remove unnecessary 'a' in 03-server-actions-and-mutations.mdx

  • turbopack: Remove self-references from tree shaking results

  • Turbopack: Don't run PostCSS on internal assets

  • Fix bug where task was not recomputed when stale

  • turbopack: Depend on side effect from import binding

  • Fix collectibles counting and aggregation

  • Implement dispose root task

  • turbopack: Merge single-pointer nodes in reverse direction

  • turbopack: Type error when "dynamic_embed_contents" is on

  • turbopack: Fix CSS Module renaming behavior for @container

  • Fix hanging waiting on in progress cells

  • Avoid writing manifests in data/rsc variant of page

  • Add explicit section about type overriding for v15

  • Fix sourcemaps for async Turbopack chunks

  • Turbopack: Don't replace constant conditions with sideeffects

  • Fix effects tracing

  • Fix broken link to the rootDir doc

  • turbopack: Implement module walking for side effect optimization

  • Allow method properties to be server functions

  • turbopack: Enable merging of export fragments

  • Fix benchmark directory

  • Missing await, missing type Promise

  • Handle server function directives in class methods

  • Enable another Turbopack build test

  • Turbopack: Don't compute all paths for builds

  • turbopack: Use ResolvedVc for turbopack-css

  • turbopack: Use ResolvedVc for turbopack-core

  • turbopack: Use ResolvedVc for turbopack, turbopack-tests, turbopack-wasm

  • turbopack: Use ResolvedVc for turbopack-nodejs

  • turbopack: Use ResolvedVc for turbopack-env

  • Getting Started Docs: Add new "Layouts and Pages" page

  • Don't hoist a server function if a compile error was emitted

  • turbopack: Use ResolvedVc for next-api, part 1

  • turbopack: Use ResolvedVc for next-api, part 2

  • turbopack: Use ResolvedVc for next-api, part 3

  • Revert "refactor filesystem writes to an effect based system"

  • turbopack: Use ResolvedVc for next-api, part 4

  • turbopack: Use ResolvedVc for turbopack-browser

  • turbopack: Use ResolvedVc for next-core

  • turbopack: Use ResolvedVc for next-api, part 5

  • Fix Turbopack devlow bench

  • Revert "Pin version of nwsapi (revert later)"

  • Fix mmap advise on windows

  • Add mention of changing debugWithEdge to debugWithChrome.

  • Add more ResolvedVc best-practices lints

  • Allow passing a nonce to google tag manager related script

  • Prevent accidentally re-creating ResolvedVc via deref by using a deprecated fn

  • Fix race condition in database compaction

  • Fix unnecessary to_resolved calls in test cases

  • Fix some trivial cases of to_resolved being used in a loop

  • Fix incorrect task access for Persistent Caching

  • sync-react: Add affordance to stop syncing Pages Router

  • Fix PostCSS dependency message handling

  • Add telemetry for persistent caching usage

  • turbopack: Fix deprecation warnings from unnecessary .to_resolved() calls

  • Fix invalid source maps on HMR

  • Introduce OperationVc that wraps operations

  • Fix lmdb feature

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.