Packages

@next/mdx

16.4.6 · 9 Nov 2026MIT2.2M / weekRepositoryHomepagenpmAtom feed

Your version

10.0.5

6 Jan 2021Where it was published

10.2.3 is the newest release of 10.x.

In short

10 new33 fixed14 changed69 internal

Release note

Core Changes

  • Remove extra redirect for index with i18n

  • Update revalidate checks

  • Ensure query is present with i18n and history navigation

  • Ensure index rewrite is matched with i18n correctly

  • next/image: Inherit parent visibility

  • Fix Fast Refresh tests with webpack@5

  • Ensure path encoding is handled consistently for prerendered pages

  • Remove import type syntax from core files

  • Add error for invalid webpack 5 version

  • Ignore emacs lockfiles

  • next/image: Ignore typography prose styles

  • Clean up webpack 5 version error

  • Update sharp optional dependency to support NPM 7

  • Remove unnecessary unfetch polyfill for dev

  • Add profiling to webpack loaders

  • Ensure next/image loads correctly with basePath

  • next/link: Reset scroll before lifecycles

  • Refactor GS(S)P notFound client-side handling

  • Ensure index basePath is detected correctly

  • Ensure domain locales are redirected client-side

  • build: Require test files be full name or extension

  • router: Consistent scroll behavior for Link/Router#push

  • next/image: Reduce byte waste for 3x screens

  • Fix memory leak in useIntersection

  • next/image: Preload priority images

  • Move CSS Preloads to top of head at document render

  • Ensure SSG data 404 handles correctly for non-notFound

  • Fallback font tag repetition

  • Upgrade to ncc@0.26.1

  • Ensure href is updated for locale domain

  • experimental scroll: Use sessionStorage instead of history

  • Add isReady field on router

  • overlay: Skip disable & upgrade platform

  • Fix react-dev-overlay rem style conflict

  • next/image: Do not pass-through srcSrc on lazy image

  • Ensure all entries are cleared from cache on runtime change

  • Update error when internal href and external as are used

  • source map: Correctly generate source maps

  • next/babel: Read env from caller, not process

  • Don't dedupe meta tags with the same name but unique keys

  • Ensure isReady is set correctly for auto static dynamic route

  • Call res.write('') inside apiRes.redirect() helper to prevent an edge case

  • next: Add missing peer dependencies for sass support

  • next-mdx: Resolve webpack loader

  • Move sizes var declaration just before used

  • next/head: Assign bool attrs to match server

  • Fix notFound false pages returning 404

  • Add pr section to azure config

  • Support for custom image loaders via image component prop

  • Ensure path starts with / when deleting index basePath with query

  • Ensure i18n + API rewrite is handled correctly

  • Update error for mis-matching path in getStaticPaths

  • Only prefetch Link if router is in context

  • Add missing isReady declaration to NextRouter type

Example Changes

  • Build time error for with-mysql example #19635

  • Add Twilio Paste example

Misc Changes

  • Ensure webpack 5 test set-up matches integration flow

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.