Packages

@next/mdx

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

Upgrading @next/mdx From 9.4.2 to 9.5.5

8 releases in betweenevery note read

Other targets from 9.4.2Latest16.4.6

Before you upgrade

Tick each one off as you go
  • Breaking9.5.4
  • Breaking9.5.0
  • Breaking9.5.0
  • Deprecated9.5.0

Security

  • A security team from one of our partners noticed an issue in Next.js that allowed for open redirects to occur.

    9.5.4
  • Specially encoded paths could be used with the trailing slash redirect to allow an open redirect to occur to an external site.

    9.5.4
  • We've landed a patch that ensures encoding is handled properly for these types of redirects so the open redirect can no longer occur.

    9.5.4
  • Regression tests for this attack were added to the security integration test suite.

    9.5.4

Release by release

  1. 9.5.5

    10 Oct 20201 fix
    • Fixed

      Handle css-loader file resolving change

  2. 9.5.4

    Security fix7 Oct 20206 new · 14 fixes
    • Security

      A security team from one of our partners noticed an issue in Next.js that allowed for open redirects to occur.

    • Security

      Specially encoded paths could be used with the trailing slash redirect to allow an open redirect to occur to an external site.

    • Security

      We've landed a patch that ensures encoding is handled properly for these types of redirects so the open redirect can no longer occur.

    • Security

      Regression tests for this attack were added to the security integration test suite.

  3. 9.5.3

    1 Sep 202017 new · 22 fixes
    • New

      Add codemod documentation

    • New

      Add initial handling for dynamic route href resolving and rewrites on the client

    • New

      Allow React experimental version without warning

    • New

      Add experimental webpack 5 cache option

  4. 9.5.2

    10 Aug 202011 new · 13 fixes
    • New

      Add additional pageProps check

    • New

      Support persisting the dev cache buster

    • New

      Add missing nomodule polyfills and suggest using features only up to ES2019 for browser compatibility

    • New

      Add support for fallback: 'blocking'

  5. 9.5.1

    30 Jul 20203 new · 5 fixes
    • New

      Add polyfill for process and Buffer in webpack 5

    • New

      Add better typing for redirect

    • New

      Add release hook to format the changelog by labels

    • Fixed

      UnhandledPromiseRejectionWarning when unknown flag provided for cli commands

  6. 9.5.0

    Migration needed27 Jul 202033 new · 152 fixes
    • Breaking

      Remove granularChunks experimental option as it was launched

    • Breaking

      Remove deprecated webpack plugin in favor of the option

    • Deprecated

      Deprecate with-sentry in favor of with-sentry-simple

    • New

      Use buildManifest to load page JS

  7. 9.4.4

    28 May 20201 new · 1 fix
    • New

      Add note about GS(S)P imports

    • Fixed

      Do not import from fs-extra

  8. 9.4.3

    28 May 202014 new · 62 fixes
    • New

      Better formatted Sass errors

    • New

      Add support for sass-loader prependData option

    • New

      Make page path case sensitive in dev

    • New

      cli: Use default template when GH is offline

105 other lines we could not sort, mostly version bumps
  • Update to have default locale matched on root

    9.5.5
  • We have released patch versions for both the stable and canary channels of Next.js.

    9.5.4
  • To upgrade run npm install next@latest --save

    9.5.4
  • Affected: Users of Next.js between 9.5.0 and 9.5.3

    9.5.4
  • Not affected: Deployments on Vercel (vercel.com) are not affected

    9.5.4
  • Not affected: Deployments using next export

    9.5.4
  • We have notified known Next.js users in advance of this publication.

    9.5.4
  • A public CVE was released.

    9.5.4
  • If you want to stay on top of our security related news impacting Next.js or other Vercel projects, please join this mailing list.

    9.5.4
  • We encourage responsible disclosure of future issues. Please email us at security@vercel.com. We are actively monitoring this mailbox.

    9.5.4

410 internal lines (docs, tests, tooling) left out.

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.