fumadocs-twoslash breaking changes
fumadocs-twoslash 4.0.0 (September 4, 2026) is its newest release with breaking changes, 21 of them. The first: Removed @showEmit. Every breaking API change we have recorded in fumadocs-twoslash on npm: 21 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.5. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
fumadocs-twoslash 4.0.0 breaking changes
- Removed
@showEmit
The @showEmit annotation is not supported because TypeScript 7 has no emit API yet. github.com - Removed
rendererRich.classExtra
The classExtra option of rendererRich is removed, so code that passes it must drop it. github.com - Removed
rendererRich.errorRendering
The errorRendering option of rendererRich is removed, so code that passes it must drop it. github.com - Removed
rendererRich.hast
The hast extensions option of rendererRich is removed, so code that passes it must drop it. github.com - Removed
rendererRich.queryRendering
The queryRendering option of rendererRich is removed, so code that passes it must drop it. github.com - Removed
rendererRich.renderer
The custom renderer option of rendererRich is removed, so code that passes it must drop it. github.com - Removed
twoslashOptions.cache
The cache option is removed, so code that passes it must drop it. github.com - Removed
twoslashOptions.customTransformers
The customTransformers option is removed, so code that passes it must drop it. github.com - Removed
twoslashOptions.fsMap
The fsMap option is removed, so code that passes it must drop it. github.com - Removed
twoslashOptions.positionCompletions
The per-call positionCompletions option is removed, so code that passes it must drop it. github.com - Removed
twoslashOptions.positionHighlights
The per-call positionHighlights option is removed, so code that passes it must drop it. github.com - Removed
twoslashOptions.positionQueries
The per-call positionQueries option is removed, so code that passes it must drop it. github.com - Removed
twoslashOptions.tsLibDirectory
The tsLibDirectory option is removed in favor of the native TypeScript 7 compiler. github.com - Removed
twoslashOptions.tsModule
The tsModule option is removed in favor of the native TypeScript 7 compiler. github.com - Renamed
twoslashOptions.vfsRoot
The vfsRoot option is replaced by cwd, so code using vfsRoot must switch to cwd. github.com - Behavior changed
Twoslash now uses the TypeScript 7 native compiler rather than its own bundled TypeScript 6, so popup types come from the compiler your project uses. Projects must run on TypeScript 7 and fumadocs-core 16.15.7 or later for the concurrent... github.com - Signature changed
transformerTwoslash
Was function transformerTwoslash(_options?: TransformerTwoslashOptions): ShikiTransformer; now function transformerTwoslash(options?: TransformerTwoslashOptions): ShikiTransformer. npmjs.com - Signature changed
TransformerTwoslashOptions
Was type TransformerTwoslashOptions = TransformerTwoslashIndexOptions; now interface TransformerTwoslashOptions. npmjs.com - Signature changed
twoslashOptions.compilerOptions
compilerOptions accepts tsconfig.json values such as 'bundler' instead of enum values from the typescript package, so existing enum-based settings must be rewritten. github.com - Signature changed
ui:Popup
Was function Popup({delay, children}: {delay?: number; children: ReactNode;}): import("react").JSX.Element; now function Popup({openDelay, closeDelay, children}: {openDelay?: number; closeDelay?: number; children: ReactNode;})... npmjs.com - Signature changed
ui:PopupTrigger
Was function PopupTrigger({children, ...props}: ComponentProps<typeof Popover.Trigger>): import("react").JSX.Element; now function PopupTrigger(props: ComponentProps<typeof Popover.Trigger>): import("react").JSX.Element. npmjs.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.