Packages

@next/mdx

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

Your version

13.2.0

23 Feb 2023Where it was published

13.5.11 is the newest release of 13.x.

In short

1 deprecated43 new1 faster76 fixed100 changed88 internal

  • Deprecated

    misc: Deprecate custom config from being passed to next/build (2/6)

Release note

Core Changes

  • Move reducer types into separate file

  • Move reducers to separate file per action

  • Add support for tsconfig 'nodenext' | 'node16'

  • Add support for --experimental-app-only

  • Add shared mutable type in router-reducer

  • Refactor TS plugin code structure

  • Fix trailing slash redirect applying for data request

  • Update robots meta and add verification rendering

  • Check message type before formatting server error

  • Fix invalid source maps from terser-webpack-plugin

  • Add support for navigating to external urls

  • Export the Metadata type

  • Add data attributes on @next/font usage

  • Update error message for dynamic = "error"

  • Fix metadata alternate and refactor twitter item

  • Apply traceIgnores to turbotrace

  • misc: Refactor webpack build out of build/index (1/6)

  • Deprecated

    misc: Deprecate custom config from being passed to next/build (2/6)

  • misc: Move entrypoints creation into webpack build step (3/6)

  • misc: Refactor build context/webpack build step (4/6)

  • Support generateMetadata export

  • Split router utils into smaller modules

  • Improve TS experience for metadata

  • Make client boundary unserializable props a warning instead of an error

  • Fix middleware matcher for i18n with negative look ahead

  • Update SWC transform to attach the export name

  • Add skipEntries option to turbotrace

  • Reload on server component change

  • Add more JSDoc to metadata interface

  • Fix image blur cover when fill and blurDataURL

  • Improve error when create root layout fails

  • Error when exporting AMP config in app dir

  • Rename precedence

  • Avoid overwriting pre-existing VSCode settings

  • Add editor links to module import traces

  • Separate next/dynamic implementation for app and pages

  • Refactor navigateReducer to handle mutable consistently

  • Fix SWC test

  • Improve swc transforms

  • Fix AsyncLocalStorage included in the client bundle

  • Fix invalid sourcemaps in taskfile-swc

  • Optimize size for the error component

  • Implement loader and entry creation for server

  • Emit plugin errors for metadata API in client entries

  • Refactor server-patch-reducer and refresh-reducer to use applyFlightData and handleMutable

  • Fix unexpected polyfills in edge-runtime

  • misc: Fix precompiled script generation

  • Fix TS plugin completions

  • Use only 1 worker for type checking and linting

  • Avoid loading project config multiple times

  • Add same-origin to fetchServerResponse

  • Use higher instanceId for redux devtools

  • Fix issue where layout-router wouldn't auto-scroll if we imported styles or fonts

  • Avoid injecting the TS plugin if extends is used

  • Support filebased metadata icon and apple touch icons

  • Update app dir react for client reference updates

  • Improve client-only imported in external package error

  • Picking apple-icon instead of apple-touch-icon

  • Add app dir to default linting directories

  • Skip prefetching for bots in app-router too

  • Fix directive parsing in SWC

  • Add warning for head.js with metadata docs link

  • Fix missing hasHeader mock during revalidate

  • Fix CSS loaders in pages when app dir is enabled

  • Allow generateMetadata to be synchronous

  • Turbopack experimental fields docs and schema

  • Allow setting metadataBase for metadata

  • Add IntelliSense for generateMetadata

  • Ensure bundle 404 can be rewritten in dev

  • More explicit errors for invalid exports in SWC

  • Fix global CSS loader behavior when appDir is enabled

  • Return a special result when a route can't be resolved

  • Forward type definition with the TS plugin

  • Prefix basePath in navigate and prefix methods in app router

  • Fix applyFocusAndScroll with server patch

  • Make turbotrace run after the webpack build

  • Apply module default interop for app-dynamic

  • Fix displayName prop access for client reference

  • next-dev: Change cluster usage to child process + stabilise inspect port #45745

  • Fix type checking for generateStaticParams #45788

  • Add experimental route type checking

  • Use text/x-component for RSC response

  • Update server manifest and entry creation

  • Disable un-necessary lint rule by default

  • Update warning links back to new Metadata docs.

  • Remove unnecessary await when calling findPagesDir

  • Fix wrong variables assignment

  • Proper check for plugin in tsconfig

  • Add status code to app-render redirect response

  • Static og and twitter image files as metadata

  • Fix hash in route types

  • Add tests for parallel routes / interception and handle router state patch merging client-side

  • Update middleware prefetch handling

  • next-swc: Enable ignoreDynamic for auto_cjs

  • Update default tracing root handling

  • Fix redirect for the root path with i18n and defaultLocale

  • Use text/plain content-type for RSC responses

  • Add missing isRootLayout when creating optimistic tree

  • Disable streaming for pages

  • Improve TypeScript plugin for metadata

  • Upgrade turbopack

  • Add top-level trace include/exclude config

  • Add warning when mismatching @next/swc version is being used

  • Ensure terminal sequence is reset on dev exit

  • Server Router Improvements

  • Use details tag in collapsed call stacks

  • Rename manifest file names

  • next/navigation Typescript support for pages/

  • Improve server-only imported in external package error

  • Make app-render error logging less verbose in dev

  • Proper type for typed Link

  • Fix app routes on deploy

  • link: Do not reload when Link is in SVG

  • Freeze resolved metadata object in dev mode

  • Improve type checking with tests

  • Log dev error in Server Router

  • Stop overriding the user's TS config with defaults during next build

  • Metadata fields improvements

  • Fix windows path while searching matched page path

  • Skip auto static entries in turbotrace

  • Use metadata API in automatically created root layout

  • Add next/font import

  • Add next/font imports codemod

  • Add edge support for route handlers

  • Fix windows paths for invalid import errors

  • Exclude system entrypoints from client manifest's chunk list

  • Improve RSC related bundling error messages

  • Fix folders included in trace

  • Support edge-light exports when bundling edge functions

  • Skip collecting modules from page dir in the client reference plugin

  • Fix metadata manifest field rendering

  • Remove swcMinifyDebugOptions from the config

  • Skip including test files in dist

  • Refactor freezing metadata while resolving and fix title merging

  • Move initial head

  • next-image-experimental codemod

  • Improve generic namings

  • Fix normalization of .rsc extension

  • Fix RSC navigation when overriding headers in middleware

  • @next/font migration warning

  • Add jsdoc examples to metadata

  • Make shebangs portable used in the repo portable

  • Remove stray console.log line (fixes #46027)

  • Show version staleness in error overlay

  • Revert part of #45971

  • Codemod next/image within monorepo

  • Check for windows paths in server matchers

  • Fix export conditions in Webpack config

  • Add loader-runner to compiled packages

  • Fix next/font error parsing on windows

  • Add vary header to responses from pages and Edge SSR

  • Fix manifest error when using route.js

  • Typedroute routes for window

  • Fix React key warning when using metadata.twitter.images

  • Detect invalid metadata exports errors in next-swc

  • Polish metadata interface jsdoc

  • Speeds O(n^2) execution of detectConflictingPaths

  • Use tsx parser in built-in-next-font codemod tests

  • Send correct stats in hot reloader sync event

  • OpenGraph metadata images rendering

  • Improve app-render error log with edge runtime

  • Add instrumentation hook

  • Update flakey instrumentation test cases

  • Update added instrument check

  • Add icon descriptor property media and fetchPriority

  • Fix "use client" in pages dir errors

  • Fix client boundary defined in a module

  • Adding next-multilingual as a new i18n option

  • Use next/font in create-next-app

  • Update CI test setup

  • Add invariant error when the pageData is incorrectly assigned

  • Fix handle extracted CSS modules without layer info

  • Add ISR handling for app routes

  • Fix route.js trailingSlash handling

  • Fix file name in next/font unresolved import error

  • Image optimization content-type

  • Fix turbopack route resolver (#46206

  • Update flaky dev tests

  • Fix flaky script test

  • Update Turbopack to turbopack-230221.3

  • Don't append domain to absolute urls when using i18n

  • CNA issues when using @/ in custom import alias

  • Breakup telemetry test further

  • Update app dir cache handling

  • Fix app-dir vary test in deploy mode

  • Skip build step for docs only change

  • Don't enable dev watcher when turbopack is used

  • Fix API route matched as page on Windows in dev

  • Fix missing metadataBase for static tw,og image resolving

  • Add OTEL instrumentation for next-server + OTEL example

  • Fix precompiled of react scheduler

  • Make build error urls clickable

  • Add contentDispositionType config to Image Optimization API

  • Add test for next-found and redirect for metadata

  • Update turbopack

  • Remove cache built files step

  • Skip pre-rendering the default param when no params are provided

  • Update app-dir react bundle to leverage edge build

  • Improve type checking

  • Update Turbopack to turbopack-230222.3

  • Rename: OgTypFields variable to OgTypeFields

  • Add client router filter handling

  • Update app dir cache heuristics

  • Update app dir cache handling

Example Changes

  • next-mdx: Mark mdx-js/* as optional

  • <title> problem in example/blog-starter

Misc Changes

  • Revert "Fix release stats"

  • Ensure PATH env matches CI locally

  • Fix nested example setup with create-next-app

  • Fix flakey app metadata test

  • Enable more hydration error overlay tests

  • Add @jankaifer as codeowner of docs, .github and examples

  • Fix unsafe caching for isolated tests

  • Fix error page line height

  • Fix CNA file initializing order

  • Support favicon.ico for metadata (#45759

  • Add additional tests for @next/mdx

  • Fix flaky rsc-build-error test

  • Fix flakey app cli output checks

  • Fix cache built files step

  • Fix failed cache restoring

  • Fix adding-exmaples.md doc

  • Fix flaky invalid import test

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.