@next/mdx
16.4.6 · 9 Nov 2026MIT2.2M / weekRepositoryHomepagenpmAtom feed
12.3.7 is the newest release of 12.x.
In short
1 removed16 new1 faster34 fixed19 changed49 internal
- Removed
Remove the next/streaming endpoint and experimental refresh api
Release note
Core Changes
Remove dynamic params from
queryin new routerFix test page detection
Handle on-demand-entries and error overlay for Server Components
Add refreshing of Server Components
Handle dynamic routes / catchall routes in on-demand entries
Enable css import in rsc server side
Pass missing incrementalCacheHandlerPath to IncrementalCache instance
next/build: Correct payload for plugin telemetry
Update some dependencies' versions :)
Don't use optional chaining in ESLint rule
next-swc/auto-cjs: Detect
__esModuleCSS modules support improvements for Server Components
Handle development error when Server Component throws
Upgrade edge-runtime + make EdgeRuntime value overridable with an env var on compilation
Rename todos
Fix injecting CSS link tags before page content
Optimize Edge SSR bundle size
Handle dev fouc for layout styling
Fix independent CSSModule missing from flight manifest
Mark dynamic as client component
Add error when createServerContext is not available
Handle server context being refreshed
Pass server context to Flight render
Ensure .client.tsx/.ts/.jsx Client Components can be imported
Remove the
hide-fouctags after hydrationAdd heuristic for optimistic push
Remove implemented todos
Add next.config.js validation with ajv
Fix
next/jestwhen testingnext/future/imageRemove the hide-fouc tag earlier
Fix reloading Client Component require.cache
Fix failed to hydrate error with global CSS
Ensure selected segment is the value of dynamic routes
Add focus and scroll management for new router
New Router Tests
Rename query to searchParams for getServerSideProps in new Router
Refine scrolling into view in new router
Improve element detection further
Remove obsolete code from loader
Fix check for optimistic routing and handle loading in server-patch
Add user check in
auth-with-stytch.Ensure flight manifest is correct with app and pages dir
Fix missing client entry matcher and simplify imports path
Fix CSSM loader applying for both pages and app
Support postcss.config.cjs
next/swc: Let async wasm binding coerce to sync correctly
Ensure route group with separate root layout does not get wrapped in
Allow importing blob assets
Make
src/a default linting directoryFix usage of
experimental-edgeinpages/api/indexedge-runtime: Undefined global in edge runtime.
Fix squoosh image optimization for Node.js 18
Don't treat
output: "standalone"as custom serverImprove
next/imageerror message whensrcprop is missing- Removed
Remove the next/streaming endpoint and experimental refresh api
Ensure module require is awaited in app-render
Leverage mini css plugin hmr for app dir
edge: Error handling for edge route and middleware is inconsistent
Correct the next config optimizeCss type
Update Edge Runtime
Ensure mixed query/hash values are handled correctly
#38743: Config.runtime support template literal
Misc Changes
Fix bundle-analyzer plugin types
Fix rsc test during deploy testing
Add docs condition for all azure steps
Add dev/start timing to PR stats
Fix e2e rsc test for deploy mode
Add test env variables to readme
Fix flaky rsc test
Add dark mode to Create Next App
Add note about test-trace artifact to test readme
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.