Packages

next

16.4.5 · 3 Nov 2026MIT98.4M / weekRepositoryHomepagenpmAtom feed

Your version

10.0.2

18 Nov 2020Where it was published

10.2.3 is the newest release of 10.x.

In short

11 new1 faster28 fixed29 changed67 internal

Security

18 advisories affect 10.0.2; 15.5.29 fixes them

13 more

Release note

Core Changes

  • Fix router not working on some protocol

  • Remove @babel/preset-modules

  • Omit ignored property from <Image/ > to prevent confusion

  • Update Image docs with links to examples

  • Print error when Image src is protocol-relative

  • Disable image optimization for Data URLs

  • Ncc inlining optimizations

  • Ensure redirects are handled properly from cache

  • Update ncc

  • Speed up SSG prefetching

  • Make getInlineScriptSource arg Readonly

  • Upgrade browserslist

  • Ncc Babel inlining

  • (docs) Add format to notFound for consistency

  • Add props objectFit and objectPosition to Image component

  • Fix chromedriver set-up to test electron separately

  • Yarn dev regression fix, ncc revert

  • Fix lazy loaded images on IE 11 when no IntersectionObserver detected

  • Ensure we prefetch on hover

  • Ncc 0.25.0 upgrade and fixes

  • Upgrade cssnano

  • Load CSS early instead of only preloading

  • Ensure correct target is used for ncc'ing web-vitals

  • Control <Image /> prefetching with React

  • Fix redirect query handling for param like values

  • Fix html validation for Image component

  • Ensure auto-export dynamic routes work with i18n next start

  • Export ImageProps from Image component

  • Fix false positive in isSerializable with shared references in arrays

  • Add etag header to optimized image response

  • Remove next-head-count

  • Fixed wrong function name in error message

  • Ensure correct defaultLocale is provided for locale domain

  • Ensure basePath behavior with GS(S)P redirect

  • Update chokidar to latest

  • next: Resolve absolute path to @babel/runtime

  • Print error during next export with default image loader

  • Replace page loader with new route loader

  • Ensure params and locale are parsed correctly in fallback mode

  • Add test and errsh for mixed notFound/redirect error

  • Add experimental Next.js plugin version locking

  • Ensure i18n with basePath works properly

  • Upgrade use-subscription for React 16/17 bicompat

  • Adjust how CSS files are fetched

  • Update node-html-parser lib

  • Fix grammar in isSerializableProps

  • Issue #18338 - don't add a trailing slash to external links

  • Ensure optional catchall prerendered indexes and i18n

  • Fallback to default config to enable testing Image component

  • Remove preload for priority images

  • Fix component lifecycle order for style swap

  • Add missing sizes prop on image component

  • Respect next/babel user provided runtime option

  • Add "nonce" from <Head> to the injected <style> to satisfy CSP

  • Upgrade Cosmic example to Next.js 10, image load fix, post sorting by -created_at

  • Add locale: false for custom-routes + i18n

  • Enable handling for revalidate and notFound

  • Fix minifying inline CSS comments

  • Fix prefetching in IE11

  • Upgrade styled-jsx

  • Ensure data prefetch for default locale is correct

  • Ensure i18n + trailingSlash: true handles correctly

Example Changes

  • Issue #18256 - examples/with-firebase-authentication: fix to use getIdToken to get the token

Misc Changes

  • Fix production test compatibility for ie11

  • Fix relay-analytics test on Azure

  • Add additional tests

  • Update create-next-app to init with main as initial branch

  • Add test for .ico image bypass

  • Fix incorrect example

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.