@next/codemod
16.4.6 · 9 Nov 2026MIT253.5k / weekRepositoryHomepagenpmAtom feed
9.5.5 is the newest release of 9.x.
In short
11 new13 fixed25 changed48 internal
Release note
Core Changes
Fix hot reloader edge case with broken webpack plugins
Add additional pageProps check
Error overlay should not be dismissable for a server error
Strictly type
react-dev-overlayFix wrong asPath on 404
Complile for ES5 in webpack 5 build
Remove unused error
Fix asPath of rewrite without basePath
Improve router types
Fix dotenv loading with cascading values
Solve large portion of webpack 5 deprecation warnings
Fix some webpack 5 deprecation warnings
Rename exportTrailingSlash to existing trailingSlash property
Support persisting the dev cache buster
Fix CSS grid-column shorthand syntax
Add missing nomodule polyfills and suggest using features only up to ES2019 for browser compatibility
Bug fix: Font optimization
Progress bar for static build
Incremental static generation and regeneration in build output table
Add support for
fallback: 'blocking'Fixed issue with runtime-config returning undefined when building or in a development environment
Disallow basePath: false for internal routes
Run Fast Refresh Loader in Babel Loader
Add experimental image post-processing
Allow absolute urls in router and Link
Enhance module not found error
Normalize serverless asPath value
Adjust overlay modal padding on mobile
Disallow re-export all exports from Next.js pages
Delay server start message until it's listening
Warn when Fast Refresh is disabled (React <16.10)
Remove querystring from the client
Improve Vercel's badge
Notify component when route hash changes
Added Friendly error for res.redirect 🐝
Fix asPath normalizing for non-dynamic pages
Make helpers.ts compatible with ie11
Bug fix: Font optimization
Fix amphtml link rel not respecting basePath
Add browser polyfils for Node.js modules (webpack 5 backwards compat)
Move next-codemod to Next.js monorepo
Resolve alias modules
Add cli for @next/codemod
Do not bundle caniuse-lite
Do not assign to readonly property in Safari
Improvements - Font optimizations
Don’t prevent the browser’s default behavior for Alt key
Example Changes
with-mongodb-mongoose example improper fetch error handling
Misc Changes
Add tests for querystring-relative urls
Add missing gitignore
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.