@next/codemod
16.4.6 · 9 Nov 2026MIT253.5k / weekRepositoryHomepagenpmAtom feed
9.5.5 is the newest release of 9.x.
In short
17 new22 fixed34 changed49 internal
Release note
Core Changes
Add codemod documentation
Remove tslint disables
Strongly type PageLoader
Strongly type Head Manager
Improve page loader types
Dedupe ComponentRes type
Remove unused router method
Add initial handling for dynamic route href resolving and rewrites on the client
Reduce router code
Convert performance relayer to TypeScript
Convert next/client to TypeScript
Remove unused dependency
Share NEXT_DATA type instead of recreating it
Modify low priority files in manifest
Add missing dependency caniuse-lite
Refactor <Document> files
Update rewrite params query appending
Update to Terser 5
Make css-minimizer compatible with webpack 5
Fix data URL with root-catchall and basePath
Handle cases where
configis exported after its declarationUpdate stylesheets on page navigation
Fix forEach error in CSS commit in ie11
Allow React experimental version without warning
Add experimental webpack 5 cache option
Fix old TypeScript version compatibility
Replace broken
prop-types-exactpackageForce browser to recompute layout on page nav
Add
<link>attributes in proper orderAdd at attribute to image preload link
Fix IE11 CSS Compatibility
Make
loadPagetrack success of script loadingNormalize request URL/asPath for fallback SSG pages
Reduce filesystem lookups during bootup
Fix basePath and public folder check ending routes early
Fix page checking failing with trailingSlash
Add serialization for mini-css-plugin webpack 5 caching
Correct comment on --help
Fix mini-css-plugin webpack 5 deprecation warnings
Add debug flag for extra build output
Warn on duplicate Sass deps
Ensure unknown static paths 404 for data request
AMP compatibility for Font optimization
Solve last mini-css-plugin webpack 5 warning
Fix optional catch-all
/indexrevalidate paramsDo not alias Node modules for webpack 4
Fix un-transpiled client file with rewrites
Make sure to break rewrites chain when dynamic route matches
Fix render cancel behavior
Add webpack 5 caching for css optimizer
Correct shallow routing behavior through history
Correct initial fallback route param values
Add webpack 5 cache invalidation
Add error when document component isn't rendered
Update Fast Refresh warning
Store css file dependencies info for dynamic imports and apply it at SSR
Enable webpack 5 caching by default
Reuse existing
<link rel=stylesheet>on navReplace <link rel=stylesheet> client-side transitions with <style> tags
Do not rely on
cssTextRemove unneeded error
Promise.prototype.finally is object
Auto enable React's new JSX transform on 17.x
Promise.prototype.finally is object
Export return type for GetStaticPaths
Revert #14580
Example Changes
with-firebase-authentication event listener
Upgrade react-intl workflow in example
Fix hashing algo and locale value hydration
Misc Changes
Add test case for preloading buildManifest
Fix module not found test
CNA: Add warning about permission
Add tests for preview mode caching
Add missing gitignore files
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.