惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
人人都是产品经理
人人都是产品经理
Engineering at Meta
Engineering at Meta
小众软件
小众软件
I
InfoQ
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Martin Fowler
Martin Fowler
月光博客
月光博客
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
V
Visual Studio Blog
博客园 - 叶小钗
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
GbyAI
GbyAI
P
Proofpoint News Feed
Apple Machine Learning Research
Apple Machine Learning Research

Next.js Blog

How we closed 1,500 GitHub issues in one month How Turbopack chunks your JavaScript August 2026 Security Release Update: August Next.js Security Release Upcoming Next.js August Security Release Building App-like Experiences with Next.js 16.3 Making navigations instant in v0 Next.js 16.3 July 2026 Security Release Next.js Security Release and Our Next Patch Release Turbopack: What's New in Next.js 16.3 Next.js 16.3: AI Improvements Next.js 16.3: Instant Navigations Next.js Across Platforms: Adapters, OpenNext, and Our Commitments Next.js 16.2: AI Improvements Next.js 16.2 Turbopack: What's New in Next.js 16.2 Building Next.js for an agentic future Inside Turbopack: Building Faster by Building Less Next.js Security Update: December 11, 2025 Security Advisory: CVE-2025-66478 Next.js 16 Next.js 16 (beta) Next.js 15.5 Next.js 15.4 Next.js 15.3 Building APIs with Next.js Next.js 15.2 Composable Caching with Next.js Next.js 15.1
Next.js 16.1
Luke Sandberg, Tim Neutkens · 2025-12-19 · via Next.js Blog

Next.js 16.1 focuses on faster development workflows and improved stability, with major updates to Turbopack and tooling.

  • Turbopack File System Caching for next dev (stable): Improved compile times for next dev by default.
  • Next.js Bundle Analyzer (experimental): Optimize your code with our new interactive tool.
  • Easier debugging: Debug your Next.js app with next dev --inspect.
  • Transitive external dependencies: Turbopack can automatically handle transitive external dependencies with no warnings.

Upgrade Today

Turbopack File System Caching for next dev

Turbopack file system caching for next dev is now stable and on by default. Compiler artifacts are stored on disk, leading to significantly faster compile times when restarting your development server, especially in large projects.

Internal applications at Vercel have been dogfooding this for the past year. To learn more about how we built file system caching for Turbopack, watch Luke Sandberg's talk at Next.js Conf.

Following this release, we'll be stabilizing file system caching for next build. See our documentation for more information, and share your feedback on the dedicated GitHub discussion.

Next.js Bundle Analyzer (experimental)

Next.js 16.1 includes a new experimental Bundle Analyzer that works with Turbopack. It makes it easier to optimize bundle sizes for both server and client code—helping improve Core Web Vitals, reduce lambda cold start times, and identify bloated dependencies.

Running the command launches an interactive UI to inspect production bundles, identify large modules, and see why they're included.

The Next.js Bundle Analyzer showing a treemap with TopNav.tsx selected, revealing its import chain.The Next.js Bundle Analyzer showing a treemap with TopNav.tsx selected, revealing its import chain.
The Next.js Bundle Analyzer showing a treemap with TopNav.tsx selected, revealing its import chain.

Try it yourself: Open the interactive Bundle Analyzer demo to explore the module graph.

The Bundle Analyzer is deeply integrated into Next.js, allowing you to:

  • Filter bundles by route
  • View the full import chain showing why a module is included
  • Trace imports across server-to-client component boundaries and dynamic imports
  • View CSS and other imported asset sizes
  • Switch between client and server views

The Bundle Analyzer is in early development and will be improved further in future releases. Share your feedback on the dedicated GitHub discussion.

Easier Debugging with next dev --inspect

You can now enable the Node.js debugger by passing --inspect to next dev. Previously this required passing NODE_OPTIONS=--inspect and would attach the inspector to all processes spawned by Next.js instead of only to the process running your code.

Improved Handling of serverExternalPackages

Next.js allows you to keep dependencies unbundled using serverExternalPackages. Previously, this only worked reliably for direct dependencies. If you used a library that internally depends on something like sqlite, and needed to externalize sqlite, you'd have to add it to your own package.json—even though it's not your direct dependency. This workaround leaked internal implementation details, created maintenance burden, and could lead to impossible version conflicts when multiple packages required different versions of the same dependency.

Next.js 16.1 fixes this for Turbopack, which now correctly resolves and externalizes transitive dependencies in serverExternalPackages without additional configuration.

Other Updates

  • 20MB smaller installs: Next.js installs are about 20MB smaller thanks to simplifications in the Turbopack file system caching layer.
  • New next upgrade command: A new next upgrade command makes upgrading easier. Going forward, you can just run this to upgrade Next.js versions.
  • MCP get_routes tool: The Next.js DevTools MCP server now has a get_routes tool to get the full list of routes in your application.
  • generateStaticParams timing: Time spent on generateStaticParams is now logged as part of the timings shown for requests in development.
  • Build worker logging: next build "Collecting page data" and "Generating static pages" now log the number of worker threads used.
  • Improved async import bundling: Turbopack has improved bundling of async imports in dev to reduce the number of chunks produced, avoiding certain pathological but real-world cases.
  • Relative source map paths: Turbopack now produces source maps with relative file paths for server-side code, improving compatibility with Node.js and other ecosystem tools.

Feedback and Community

Share your feedback and help shape the future of Next.js:

Contributors

Next.js is the result of the combined work of over 3,700 individual developers. This release was brought to you by:

Huge thanks to @kdy1, @eps1lon, @SyMind, @bgw, @swarnava, @devjiwonchoi, @ztanner, @ijjk, @huozhi, @icyJoseph, @acdlite, @unstubbable, @gnoff, @gusfune, @lukesandberg, @sokra, @hayes, @shuding, @wyattjoh, @marjan-ahmed, @timneutkens, @ajstrongdev, @zigang93, @mischnic, @Nayeem-XTREME, @hamirmahal, @eli0shin, @tessamero, @gaojude, @jamesdaniels, @georgesfarah, @timeyoutakeit, @sequencerr, @Strernd, @lucasadrianof, @wbinnssmith, @hamidreza-nateghi, @jokokoloko, @dijonmusters, @H01001000, @xusd320, @lubieowoce, @KaziMahbuburRahman, @zhiyanzhaijie, @feedthejim, @that-one-arab, @JamBalaya56562, @shrink, @florianliebig, @allenzhou101, @benmerckx, @ymc9, @Marukome0743, @pyrytakala, @danpeleg4, @gaearon, @styfle, @jhuleatt, @muhammadsyaddad, @roelvan, and @SukkaW for helping!