Change8

v16.1.1-canary.13

📦 next-jsView on GitHub →
3 features🐛 3 fixes🔧 5 symbols

Summary

This release focuses on developer experience improvements, including redesigned error pages, better RSC caching behavior, and enhanced support for AI agents.

Migration Steps

  1. No breaking changes were introduced in this release. Review the changes for potential improvements to developer experience (DX) or build stability.
  2. If you encounter issues with stale RSC responses after deployment, ensure your deployment pipeline properly invalidates caches, as this release includes a fix to prevent browser caching of stale RSC responses from previous builds.
  3. If you are using the development environment, note that changes to next-env.d.ts during development are now avoided, which might slightly alter how environment variables are handled during active development sessions.

✨ New Features

  • Redesigned default error pages with a cleaner, more user-friendly UI.
  • Added Claude Code configuration and AGENTS.md for AI agent integration.
  • Implemented browser cache prevention for stale RSC (React Server Component) responses from previous builds.

🐛 Bug Fixes

  • Prevented next-env.d.ts from changing unnecessarily during development.
  • Reduced flakiness in OpenTelemetry tests for production mode.
  • Added warnings when running tests against stale builds to prevent false positives.

🔧 Affected Symbols

next-env.d.tsRSCOpenTelemetryCLAUDE.mdAGENTS.md