LogRocket Blog

Next.js 15.4 is here: What’s new and what to expect

    thumbnail

    Next.js 15.4: What's New and What to Expect

    Notable Changes

    • Introduces significant improvements under the hood without flashy new features for Turbopack
    • Transitioning Turbopack into beta with the release of Next.js 16
    • Practical improvements for developers, such as automatic re-fetching Hook, syntactic sugar for prefetching, metadata support, and new CLI flag
    • Support for server externals, partial pre-rendering for intercepted routes, and bug fixes like header reinstatement and React Compiler adjustments

    Fixes

    • Config module cloning to avoid mutation
    • Prefetch cache consistency
    • Fix for header reinstatement
    • React Compiler adjustments
    • Fix for edge-case file paths
    • Server action fixes

    Improvements

    • Enhancements for debugging cycles
    • Improved development server performance

    When to Update

    • Upgrade to 15.4 for faster build times and improved performance
    • Test in a development environment before updating production apps
    • Focus on build times, runtime performance, and custom configurations

    What's Next

    • Official transition of Turbopack to beta status
    • Optimized client-side routing for smarter prefetching and reduced bandwidth usage