Packages

@next/codemod

16.4.6 · 9 Nov 2026MIT253.5k / weekRepositoryHomepagenpmAtom feed

Your version

10.2.0

28 Apr 2021Where it was published

10.2.3 is the newest release of 10.x.

In short

10 new26 fixed26 changed70 internal

Release note

Core Changes

  • Ensure default fallback values are correct with i18n

  • Font optimization

  • Stop mutating resolvedAsPath

  • Fix webpack5 cache distDir

  • Ensure basePath is not applied for external GSSP redirect

  • Ensure fallback rewrites dont match over pages with i18n

  • Ensure no-op export returns without error

  • Upgrade to webpack 5.31.0

  • Babel fast mode

  • Resolve new babel loader through require.resolve

  • Reduce the number of write syscalls by buffering

  • Remove bugfix needed for webpack 4 when webpack 5 is used

  • Ensure no-op rewrite matches dynamic route with i18n correctly

  • Ensure minimal mode SSR 404 handling is correct

  • Enable webpack5 by default

  • Add request deduplication to image optimizer

  • Use regex lexer for gathering named groups from has

  • Clean up eventsource initialization

  • Add react@experimental testing

  • Upgrade cssnano/postcss version

  • Fall back to default components when a top-level error occurs

  • Improve pr stats action

  • Fix IE11 incompatibility due to string litterals

  • Fix fallback: false triggering 404 before rewrites

  • Use same num workers between export and build

  • Fix serving Images through external rewrite with Image component

  • Ensure locale is not duplicated from differing casing

  • Add error for getStaticPaths on non-dynamic page

  • Ensure query for static pages with rewrites is updated correctly

  • Startup performance improvements

  • Disable strictExportPresence when webpack 5 is enabled

  • Omit un-necessary stack trace from invalid routes

  • Babel Turbo Loader, Part 2

  • Ensure locale cookie does not error with similarly named cookie

  • Add event for webpack 5 usage

  • Fix metrics measurements under new root API

  • Add type to previewData

  • Improve react-loadable-plugin

  • Webpack 5.35

  • Ensure locale key not duplicated when navigating back to root path with a query or hash value

  • Adding script loader files to package.json

  • Bump next-babel-loader cache key

  • Ensure dev overlay is triggered for more _app/_document errors

  • Fix not exposing server errors in hot reloader

  • experimental: Remove legacy plugin system

  • Replace experimental reactMode with reactRoot

  • Update initial config message

  • Upgrade eslint to the latest version

  • Ensure proxy rewrite does not hang on error

  • Font optimization bug fix

  • Ensure stalled CSS triggers fallback navigation

  • Remove experimental note for has routes

  • Test fixes for Babel mode

  • Upgrade postcss

Example Changes

  • Codeblock Syntax Highlighting

  • Add with-reflexjs example

  • Object Destructuring Error

  • Bump styled-components lib version examples

Misc Changes

  • Add css to the stats-app

  • Fix types of next-webdriver

  • Add test for top-level _document error

  • Fix side effects in router-is-ready tests

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.