next
16.4.5 · 3 Nov 2026MIT98.4M / weekRepositoryHomepagenpmAtom feed
13.5.11 is the newest release of 13.x.
In short
21 breaking6 removed65 new12 faster104 fixed222 internal
- BreakingTo check
Rename 404 -> not-found for new router
- BreakingTo check
Update return shape of generateStaticParams
- BreakingTo check
Improve experimental feature naming
- Breaking
rename flush effects to server inserted html
- Breaking
Lint files with
mjs,mts,cjsandctsextension by default - Breaking
Update minimum required Node.js version to v14
- BreakingTo check
Client component directive: use client
- Breaking
BREAKING CHANGE: Rename
next/imagetonext/legacy/image& renamenext/future/imagetonext/image
Security
29 advisories affect 13.0.0; 15.5.29 fixes them
- CriticalNext.js: Unauthenticated Remote Code Execution in Image Optimization API when SVG files are usedGHSA-2464-fhr4-w9xw · 22 Oct 2026Fixed in 15.5.28
- CriticalNext.js: Unauthenticated Remote Code Execution in Image Optimization API when AVIF files are usedGHSA-2xp9-vwfh-vxw4 · 8 Sep 2026Fixed in 15.5.24
- CriticalAuthorization Bypass in Next.js MiddlewareGHSA-f82v-jwr5-mffw · 21 Mar 2025Fixed in 13.5.9
- HighNext.js: Denial of Service in App Router using Server ActionsGHSA-p3m5-59mp-jv5r · 22 Oct 2026Fixed in 15.5.28
- HighNext.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostnameGHSA-p9j2-gv94-2wf4 · 22 Jul 2026Fixed in 15.5.21
24 more
- HighNext.js: Denial of Service in App Router using Server ActionsGHSA-m99w-x7hq-7vfj · 22 Jul 2026Fixed in 15.5.21
- HighNext.js has a Middleware / Proxy bypass in Pages Router applications using i18nGHSA-36qx-fr4f-26g5 · 11 May 2026Fixed in 15.5.16
- HighNext.js Vulnerable to Denial of Service with Server ComponentsGHSA-8h8q-6873-q5fj · 11 May 2026Fixed in 15.5.16
- HighNext.js has a Denial of Service with Server ComponentsGHSA-q4gf-8mx6-v5v3 · 10 Apr 2026Fixed in 15.5.15
- HighNext.js HTTP request deserialization can lead to DoS when using insecure React Server ComponentsGHSA-h25m-26qc-wcjf · 28 Jan 2026Fixed in 15.5.10
- HighNext.js authorization bypass vulnerabilityGHSA-7gfc-8cq8-jh5f · 17 Dec 2024Fixed in 14.2.15
- ModerateNext.js: Cross-client response injection and disclosure in self-hosted Next.js applications forwarding fetched responsesGHSA-pc58-hwjq-p385 · 19 Nov 2026Fixed in 15.5.29
- ModerateNext.js: Cache confusion of response bodies for requests with bodiesGHSA-68g3-v927-f742 · 22 Jul 2026Fixed in 15.5.21
- ModerateNext.js: Cache confusion of response bodies for requests with bodies containing invalid UTF-8 byte sequencesGHSA-4633-3j49-mh5q · 22 Jul 2026Fixed in 15.5.21
- ModerateNext.js: Unbounded Server Action payload in Edge runtimeGHSA-4c39-4ccg-62r3 · 22 Jul 2026Fixed in 15.5.21
- ModerateNext.js: Unauthenticated disclosure of internal Server Function endpointsGHSA-955p-x3mx-jcvp · 22 Jul 2026Fixed in 15.5.21
- ModerateNext.js has cross-site scripting in beforeInteractive scripts with untrusted inputGHSA-gx5p-jg67-6x7h · 11 May 2026Fixed in 15.5.16
- ModerateNext.js has a Denial of Service in the Image Optimization APIGHSA-h64f-5h5j-jqjh · 11 May 2026Fixed in 15.5.16
- ModerateNext.js: HTTP request smuggling in rewritesGHSA-ggv3-7p47-pfv8 · 17 Mar 2026Fixed in 15.5.13
- ModerateNext.js: Unbounded next/image disk cache growth can exhaust storageGHSA-3x4c-7xq6-9pq8 · 17 Mar 2026Fixed in 15.5.14
- ModerateNext.js self-hosted applications vulnerable to DoS via Image Optimizer remotePatterns configurationGHSA-9g9p-9gw9-jx7f · 27 Jan 2026Fixed in 15.5.10
- ModerateNext.js Affected by Cache Key Confusion for Image Optimization API RoutesGHSA-g5qg-72qw-gw5v · 29 Aug 2025Fixed in 14.2.31
- ModerateNext.js Content Injection Vulnerability for Image OptimizationGHSA-xv57-4mr9-wg8v · 29 Aug 2025Fixed in 14.2.31
- ModerateNext.js Improper Middleware Redirect Handling Leads to SSRFGHSA-4342-x723-ch2f · 29 Aug 2025Fixed in 14.2.32
- ModerateNext.js Allows a Denial of Service (DoS) with Server ActionsGHSA-7m27-7ghc-44w9 · 3 Jan 2025Fixed in 13.5.8
- ModerateDenial of Service condition in Next.js image optimizationGHSA-g77x-44xx-532m · 14 Oct 2024Fixed in 14.2.7
- LowNext.js's Middleware / Proxy redirects can be cache-poisonedGHSA-3g8h-86w9-wvmq · 11 May 2026Fixed in 15.5.16
- LowNext.js Race Condition to Cache PoisoningGHSA-qpjv-v59x-3qc4 · 15 May 2025Fixed in 14.2.24
- LowNext.js missing cache-control header may lead to CDN caching empty replyGHSA-c59h-r6p8-q9wc · 22 Oct 2023Fixed in 13.5.0
Release note
Core Changes
Use resolved url in flight entry loader
Handle redirects in new router
Combine redirect function in new router
InferGetServerSidePropsType and InferGetStaticPropsType
Update to leverage AsyncLocalStorage for app static handling
Change flight querystring to header
Improved bundling strategy for the server graph
Remove unnecessary experimental flag
next-swc: Add next-font-loaders to crates/core
Add next font package
Strip internal pages for pagesDir in app edge ssr
Add support for font loaders
Set
__NEXT_NEW_LINK_BEHAVIORin Jest tests whennewNextLinkBehavioris trueAdd handling for 404 in new router
Fix alias paths for bundling
Fix required server files for font loader manifest
Add local font loader
Update error handling during app static generation
Handle redirect in same way as 404 in new router
Allow export const in font loader
Update app-router options type
Flight client navigation error
Use startTransition for hydrateRoot to opt-in to non-blocking hydration
Add
optoutServerComponentsBundleoptionApply #40833
Upgrade react@experimental
Update handling of redirect/404 throw to cross server->client boundary
Update pre-compiled
Update font loader output path
Disable head element lint rule for appDir
Should resolve esm external module imports on server
edge-ssr: Bundle next/dist as ESM for better tree-shaking
Improve types for
<Image />andresponseLimitEnsure skipClientCache is honored for router.push
Fix bundling and module resolution in the server layer
Handle loading returning undefined
Fix SWC loader ignore for the server layer when Babel is used
Code refactoring for webpack-config
Rename 404 -> not-found for new router
Remove reducer from server bundle
Serialize custom config to middleware-manifest
Font loader support in app
experimental: Option to polyfill
fetchusingundiciin Node.js <18Update return shape of generateStaticParams
Remove legacy transform code
Revert "edge-ssr: bundle next/dist as ESM for better tree-shaking
Update to use HEAD request for middleware query hydration
edge-ssr: Bundle next/dist as ESM for better tree-shaking
Rename flight parameters to rsc/next
Remove outdated warning
misc: Add MANGLING_DEBUG option
Fix wrong code condition used when bundling the server
Move pagesDir handling out of wrappedRender
Fix unused CSS module imports are tracked on the server
Skip creating virtual app client entry for pages
Add support for fallback font and css variable for font/local
Use throw to trigger Suspense to avoid use() in reducer warning
Docs for experimental font optimization
adjustFontFallbacksDrop legacy React DOM Server in Edge runtime
misc: Make useReducerWithDevtools noop on server
Remove reload on serverComponentChanges in pages
Alias all client, shared, pages dist assets for esm
Add
with-xataexampleMake sure polyfills are added for browsers without module support
Move handling of navigation to pages from new router
Adding experimental size adjust based option
Improve experimental feature naming
Full page reload when navigating to new root layout
Use deterministic module IDs for server
Accept variable prop in google font loader
Font loader call json parsing fix
Skip pagesDirRules when pagesDir is not present
Fix experimental undici warning
Temporarily disable prefetch in new router
Add conflicting app and page error
Rename flush effects to server inserted html
Check required root layout tags
Lint files with
mjs,mts,cjsandctsextension by defaultImprove error messages of server compilation
Fix edge function req.url handling with rewrite
Ensure entry tracing applies for app correctly
Add attribution to web vitals
- Breaking
Update minimum required Node.js version to v14
Handle hmr for edge ssr in app dir
Remove unnecessary
moduleIdoptionApply experimental configs for middleware
Fix reading edge info for app paths
Fix warning messages for next export
Refactor app dir related flags
Fix prefetch for new router
Disable built-in css-in-js transform on server layer
Fix latest experimental react and experimental-edge and unpin test versions
Font loader with babel error
Remove hook_optimizer transform
Update edge runtime to 1.1.0-beta.37
Alias next/dynamic to lazy impl for appDir
Do not bundle
react-domin the SSR buildAdd response stream errorhandling in edge-function-runtime
App font file preload
Fix app static generation cases
Enabel appDir when flag and dir existed at the same time
Font loaders next config shape
Refactor dev overlay into hot reloader
middleware: 'instanceof Function' is dynamic code false-positive
Snyk upgrade 2701033
ts: Relax
AppPropsto not require genericRecover from font loader error in dev
Handle
ason next/link with new routerLoad
beforeInteractivescripts properly without blocking hydrationAdd test for link back to original page
Local font files adjust fallbacks
Update middleware query hydration handling
Fix NextUrl trailing slash normalize for data route
Global layouts error boundary
image: Don't show placeholder warning in Jest
Handle error overlay for new router
standalone: Support
type: "module"Lazyload the edge runtime in NextServer
Add pretty error when image import is invalid format
Client component directive: use client
Fix middleware rewrite for _next/data
Add codemods for
next/imageFix middleware URL normalize case
Update
next/imagecodemod to handlerequire()Ensure RSC paths are normalized in minimal mode
Refactor error overlay for new router
Inline httpproxy usage
Proper error if middleware or api/route not return a Response
Fix CSS imports tree-shaking
Ensure content is kept rendered below the error overlay on build errors in new router
Fix
onLoadprop innext/future/imageAdd exports for new router
App font loader tree shaking
Lazy eval headers from the requestStore
Disable css cache busting in production
Upgrade next-swc-napi to NAPI-RS v2
Fix prefetching for static app paths
Lazy evaluate more modules
- Breaking
Rename
next/imagetonext/legacy/image& renamenext/future/imagetonext/image Fix edge workers being re-used unexpectedly
Remove edge shared deps
Upgrade React experimental
Update edge runtime to 1.1.0-beta.39
Update flakey dev AMP tests
Add new diagnostics
Move root layout validation
Fix middleware dynamic route param on query hydration
Don't show error overlay for not found and redirect
Change useSearchParams to URLSearchParams
#41392: Improve cache busting inject performance
Rename reload to refresh in new router
Disable isNavigatingToNewRootLayout
app-render: Make css and font respect assetPrefix
Ignore serverComponentChanges in pages
Include frameworks in main-app
Update
next/imagedocs and examplesFix useSearchParams comment
stream: Allows body larger than 16 KiB with middleware
41456: Check src/app folder too in getHasAppDir
- Breaking
Enable newNextLinkBehavior
Avoid using the CSS href as the link tag key
Fix global css being marked as side effect free
Append the fragment in NextUrl.toString()
Add vary header to fix incorrectly caching RSC as HTML response
Enable swcMinify by default
Move fetch revalidate config under next options
Fix app sc_client componet HMR server-side
ts:
Cookies->NextCookiesUpdate edge runtime to 1.1.0-beta.40
- Breaking
Remove
target: serverless Fix next-app-loader bug in windows
Prebundle react for appDir
- Breaking
Remove
browsersListForSwcand change default tolegacyBrowsers: false Mark styled-jsx as client-only package
Fix case where dispatch was missing
Upgrade react-server-dom-webpack and precompiled assets
Improve type checking
Create hash digest for errors in app in production
Allow user directory with
styled-jsxprefix innext devFix
next/imagesvg blur placeholder withfillAdd TypeScript plugin
Update RSC detection in minimal mode and fix config collection
Add back() and forward() to new router
Update page config APIs
Improve server bundling strategy
Update error message for invalid react-dom/server imports
Support overriding request headers in middlewares
Check root layout change on client
Full remaining path in selected layout segment
Add back/forward test for new router
Refactor path logic in router + add LRU cache
Add transpilePackages option
Font loader types
Updating size-adjust calculation
Fix missing JSON.stringify in loader
Root layout head not required
edge: Adds AsyncLocalStorage support to the edge function sandbox
Add support for
images.loaderFileconfig- Breaking
Remove React 17
Update
next-image-experimentalcodemod to handle loadersFont loader default config
Disable using prebundled of react for appDir
Refactor hot-reloader client for app
Enable ReactRefreshLogBox-builtins.test.ts, remove loader from import trace
layout: Add build status for app routes
Change
data-nimgattribute onnext/imageUpdate to handle correct react version with app
Improve errors for invalid component export
Add experimental warning note
Bundle ssr client layer excepts react externals
Improve error message for wrong props
- Removed
Remove deprecated
webpack5config option Improve error messages
Create root layout
Ensure we properly normalize /index in minimal mode
Update params of PageProps to string map
Expose AsyncLocalStorage on global for react
Update URL malformed edge error
Update to latest react experimental
Revert "Add experimental warning note"
useSelectedLayoutSegment -> useSelectedLayoutSegments, add useSelectedLayoutSegment with previous behavior
Ensure
AsyncLocalStoragefor static generation is shared for client & serverApp dir sass
Disable esm resolving for appDir and alias react
Print error when next dev has conflicting app & page
Support next option for Request
Move redirect and notFound to navigation exports
Font subsets in function call
Include resolved external package dirs
Fail on prerendering with dynamic error config
Update precompiled react to next channel
Emit VSCode settings for TypeScript
Upgrade Edge Runtime v.1.1.0
Fix module trace error messages to not include queries
Fix ignored file path
Fix static generation and crawler requests
Add error if
appdetected but config is missingAdd default not found template
Remove unneeded types
Add message for
appDirfeedbackSet a better type for the default image loader
Fix edge entry layer resolution bug
Dont apply existing externals path changing to rsc layers
Pathname and search params SSG
Update react next channel
Font description and error messages
Updating avg width metrics for google fonts
- Breaking
Bump minimum Node.js version to 14.6.0
Throw error child in <Link>
Only import dev overlay for dev mode
Add initial head handling in app
Fix revalidate during dev
Fix no-store test case
Ensure async_hooks are not resolved for client
Make ship happen
Add head handling
Update async storage fix
Example Changes
Contentful webhook body parse.
Revert "Fix: Contentful webhook body parse."
[slug].tsx
Misc Changes
Add test case for /404 client transition
Fix flaky full reload hmr tests
Add missing release stats config for app
misc: Add benchmarking script for edge rendering
Add timeout to playwright setup job
Add test for rewrite from pages to app with existing pages path
Fix PR stats from experimental react
Add more test job timeouts
Fix errors entry in codeowners
Enable passing tests
Add test for link to catchall route in new router
misc: Add minimal server bench setup
Support aarch64 Linux with page size >= 16k
Add npm to
create-next-appenvironment package manager parsercna: Add template
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.