@next/mdx
16.4.6 · 9 Nov 2026MIT2.2M / weekRepositoryHomepagenpmAtom feed
9.5.5 is the newest release of 9.x.
In short
1 removed44 new207 fixed3 changed5 internal
- Removed
Remove components from client router
Release note
Major
Remove
withAmpand do not exposeisInAmpMode
Minor
Add Typescript compilation
Add support for /public
Add API routes support
Make next/dynamic loading component return
nullby defaultAutomatic static optimization
Patches
Add declaration files to /dist
Updated broken test in Windows
Add AMP label to AMP only pages in build tree
More Specific Info on Script Loading Error
Make next export respect experimental.exportTrailingSlash
Add more TypeScript types
Rewrote .circleci/config.yml to 2.1 schema
Wait for entry to resolve in production build
Add repository to next-server package.json
Update types for with-router
Replace the typescript compiler with @babel/preset-typescript
Revert "Detect built ins in externals "
Update removing AMP pages to not require during build
Make styles compatible in AMP mode
Cache Babel and AutoDll plugin in
dirDir/cacheRemove un-needed config from example
Update AMP example
Update AMP example to AMP-first wording: 5499652
Add test for /dashboard/index
With-apollo example: explicitly pass fetch to HttpLink
Update fela example
Disable Terser loader when debugging
Fix broken link
Upgrade with-reasonml example to Reason React 0.7 and JSX 3
Update the recommendation section in examples/with-reasonml
Run optimizer after validating in dirty AMP mode
Detect built ins in externals
Move react-ssr-prepass import inside of
Export 404 even if undefined in exportPathMap
Remove dynamic-import-node from the preset
Update to share HMR and ondemand SSE connection
Upgrade Terser
Add .d.ts for next-server
Always use AllModulesIdentifiedPlugin after HashedModuleIdsPlugin
TypeScript preset should always be enabled
Remove old debugging logs
A webpack bug is preventing us from hashing chunks
Don't re-use the same page file for error-recovery tests
Add --target serverless flag
Move generating types to before deploy
Replace --target serverless with env var
Move type generating
Remove list_dist from debugging
Remove type defs for non-ts files and fix wrong import for router in _app
Add stale-while-revalidate when no getInitialProps
Update to render directly to body in AMP mode
Add support for .ts / .tsx import without extension
Add missing property types for styled-jsx
Add types for next/dynamic
Add types for next/link
Add missing .d.ts for next/dynamic
Add warning for @zeit/next-typescript
Prefer type over interface
Reduce CircleCI Parallelism
Run Prettier on webpack configuration
Don't resolve ts|tsx for non-TypeScript users
Update Prettier configuration: 00e8ba4
Add types for getInitialProps
Make sure to 404 for AMP client bundles in dev mode
Update cache-control header when no getInitialProps
Improve contributing guide
Fix missing webpack buildin
Allow _app and _document to be extended with other props
Make sure not to require react before NODE_ENV has been set
Browserstack optimisations
Make sure Cache-Control header is set when no getInitialProps
Fix firefox bug with detecting instanceof Promise in dynamic
Add theme to styled-components example
Fix wrong task name on watch for next/export files
Use intersection observer to preload in viewport
Create CODE_OF_CONDUCT.md
Use modern syntax in Next client code (e.g. async await)
Clean up code/testing artifacts from #7014
Make sure next-head class isn't added to title
Add stats to build tree
Clear stale files from Next.js' babel-loader cache
Fix missing injectCaller
Remove unnecessary type from LinkProps
Fix default meta tag being added in AMP mode
Tweak ReasonML example
Fix webpack fetch error
Make sure to update asPath on hashOnlyChange to
Remove reload and use only location.reload
Update to latest version of browserstack-local
Fix application output
Add docs to public
Fix attempting to observe non-DOM refs in Link
Add test for invalid ref in Link
Renamed IContext to be NextPageContext
With apollo auth proxy
Fix FOUC issue on with-fela example
Add example with babel-plugin-react-css-modules
Revert migrating babel-loader into Next.js
- Removed
Remove components from client router
Integrate type checking into compilation pipeline
Add initial docs for TypeScript
Merged with-jest and with-flow examples into a new with-jest-flow example.
Removed unusable React importing in _document.tsx and added esModuleInterop:true in tsconfig.json
Add automatic TypeScript setup
Update styling of TypeScript config: 37ebd61
Format chunk graph plugin: 92cbe13
Separate shared shuttle modules
Update readme to use @next/mdx
Re-add prefetch prop type with deprecated
Make sure API routes are built in production
Fix:5049 Make Count in with-reasonml persist in runtime
Demonstrate how to use kea actions in getInitialProps for server side rendering with state transferred to client-side
Fix:7271 with-rematch - make sever rendered user list persist
Fix POST and PUT on api routes
Update the with-graphql-react example.
Redesigned page output
Fix windows backslashes not being replaced when identifying AMP pages
Update with-styletron example, add debug mode and useStyletron
Update typescript example to reflects out of box usage
Fix error overlay dismiss after fixing build error
Remove
allowSyntheticDefaultImportsin favor ofesModuleInteropAnchor TypeScript check to fix invalid detection
Updated typescript examples
Changed non-existent-page link to <a> tag
Update 8.Question_about_next.md
Show helpful warning when @types/react isn't found
#7362Add
with-sentry-simpleexample.Add retrying to CircleCi and fixes for ncc'ed webpack
Remove outdir line from tsconfig.server.json:
Re-add retrying tests in CircleCi to prevent false failures
Fix broken link
Remove outdated "extras" section in
with-tailwindcssexample READMEReduce the maximum number of shuttles: 931cd3d
Fix string type on router.query
Remove obsolete TypeScript plugin and updated readme
Update to latest webpack-bundle-analyzer
Document useAmp in readme
Add auto static/dynamic
Make sure rendering behavior is only changed when autoExport is enabled
Upgrade dependencies
Revert fs-extra upgrade due to issue in latest version with jest
Fixed custom server build issues
Types description
Don't load from serverless in dev mode
Create with-redux-persist example
Show both internal and shared state managment.
Add document middleware
Opt out of cache header if _app has custom getInitialProps
Refactor server router
Fix duplicate dynamic chunks
Update Tailwind CSS to v1.0
Dynamic routing mark 2
Remove deploy to now button from all examples
Allow passing of title to default error page
Implement UI to show building activity
Update styles on build indicator container
Bundle only server code for API routes
Improvements to build watcher
Enable strict export presence in webpack
Add tests for build activity indicator
Run lint-fix: c7276bc
Add amp.canonicalBase option to set absolute URL
Do not force
noEmitoption into TypeScript configurationCorrectly pass props down in with-lingui example HOC
Move syntax formatting to prettier
Remove react-ssr-prepass as it’s only needed for experimental feature
Disable optional param routing code paths
Don't run standard for tsx files in husky to match lint-fix
Format missed files
Make react-ssr-prepeass external if not enabled
Render valid optimized AMP by default
Improve contributing doc without yarn link
Revise dynamic route generation (mark 3)
Remove old optional dynamic <Link> test
Do not leave Promise unresolved
Reuse router logic instead of duping in client
Add new stub file for exports: 7f187b4
Refresh query on mount for exported pages
Consolidate import statements: f8e9cbb
Upgrade to latest typescript
Remove .includes from _app for ie compatibility
Update ant design examples
Allow to describe initial props in the NextPage type
Disable <title/> warning when React Helmet is used
Fix serverDir resolving for autoExporting
Fix create command - react-relay-network-modern
Fix serverless dynamic routes
API interface extensions
Simplify a few parts of the codebase
Fix autoExport on windows and add tests
Fix auto export in serverless
Replace recursive-copy with own implementation
Clean up _document documentation
Add types for
<Html>and<Head>elementDefault
targetinloadConfiginstead ofnext buildRestore onMouseEnter event
With-cookie-auth: don't rely on the Host header
Fixes
constantslink in readmeTS: don't set page component props to the App's props by default
Add Typescript to next-mdx readme
Add export const config support and make withAmp a no-op
Fix next start in serverless mode with public directory
Fix sentence in with-context-api example
Create file referencing Next.js types
Don't confuse the user with an eagerly created
tsconfig.jsonAdding TypeScript description to next export
Improve TypeScript package install experience
Remove invalid meta type
Add static page marker to page info
Mark whether page is a lambda or static file in build output
Tune default Terser configuration
Strip queries before matching route on client
Added new blog example
Add handling for invalid pages during autoExport
Improve docs
Added nodemon config to watch for .ts and .js files in the server folder
Re-require all module information for client-side initializers list
Add
next/dynamictest(examples/with-immutable-redux-wrapper) Fix README.md
Ensure Node types are installed (for
processtypes)Correctly define NODE_ENV and
process.browsertypeof windowwill always be undefined on the servertypeof windowisobjecton the clientAdd error handling for
_errorpageExit process after build
(example/with-react-relay-network-modern) Fix example
Extract isDynamicRoute helper
Dynamic Routes: Change impl from $param to [param]
Set __next-build-watcher width and height to 0
Fixes serverless target in development
Update example: with redux reselect recompose
Revert "ncc Webpack build redux "
_documentmiddleware is experimentalCompile dependencies for IE11
Allow opting out of automatic prefetch for Link
Fix TypeScript typings
Avoid lambda nomenclature when
target != 'serverless'Remove usage of
process.browserUpdate prefetch check to prevent re-prefetching
Unflag Dynamic Routing
Fix memory leak from requiring pages
Parallelize requiring pages for static check
Fix maxConcurrentCalls used instead of maxConcurrentWorkers
Updating hapijs package name
Asynchronously check for type errors
Re-add require cache clearing
Update typescript example
Clean up AMP logic and naming
Dynamic routes for API
Helpers update
Remove coveralls
Expand automatic pre-rendering docs
Improve prefetch docs
Updated with-now-env example
Add updated de-duping logic for next/dynamic
Add path to exportPathMap query missing message
Fix styled-jsx not rendering when used in node_modules
Add back in second line of comment
Remove "small" wording from runtime config overhead
Upgrade
watchpackto removeeslint-config-prettierServerless build for API routes
Remove Next.js debug mode
Do not default TypeScript to
strict: trueAdd
prerenderPageConfig optionUpdate with-zones example and Multi Zones documentation
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.