@next/codemod
16.4.6 · 9 Nov 2026MIT253.5k / weekRepositoryHomepagenpmAtom feed
12.3.7 is the newest release of 12.x.
In short
11 new21 fixed13 changed25 internal
Release note
Core Changes
Change invalid internal upstream image error code
Hoist styles for Route Announcer
Wrong reference url for disableStaticImages
Skip resizing image if it's animated
Fix catchall rewrites for _next/data routes
Fix
next/future/imagealt textts: More strict Redirect type
next: Dev server starting when importing a file using get-projec…
Add runtime to PageConfig type
Improve logging for _devPagesManifest.json loading failures
Allow custom path for preview mode cookies
Fix removing whitespacing in dev overlay
Fix emotion labelFormat and sourcemap options
Fix emotion shouldForwardProp options breaks component selectors
next/image imgix loader can use multiple auto params
Adds
eslint-plugin-eslint-pluginto ensureeslint-plugin-nextrules follow ESLint rule best practices along with enforcing some consistency.Adds
--output-fileflagUpdate polyfill for eslint no-unwanted-polyfillio rule
ts: Middleware type tweaks
Fix Link generation for SSG pages if locale domains are used
Setup require hook in next-server for styled-jsx resolving
Ensure trailing slash on registry URL when fetching wasm fallback
typing: Upgrade styled-jsx to remove workaround in build script
Extract redirect utils into a separate file
Ensure locale redirects are not applied in minimal mode
middleware: Augments / matcher with /index
Bump edge-runtime packages
Ensure default _app is used when falling back to default _error
Handle rewriting WebSocket requests
App Build Stats
Tweak styled-jsx type declarations
FIX GAUSSIAN BLUR IN FUTURE\IMAGE
Add hot-reloading for env file changes
next-swc/modularize_imports: Add Kebab case
Make dev watch ignore more specific
Bump styled-jsx and remove manual types creation
Add position styling to future fill images
Ensure hidden iframe apps render in development mode
Enable @typescript-eslint/no-use-before-define variables,enums,typedefs for core files
Re-add styled-jsx as a normal dependency
Example Changes
Broken TypeScript in WordPress example.
Misc Changes
Fix failing escheck test
Add yarn 2 Setup Files to Valid Files for create-next-app
Add Object#fromEntries polyfill (with 6 lines of code)
Fix swc build for freebsd target
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.