mdast-util-to-markdown breaking changes
mdast-util-to-markdown 2.1.3 (September 27, 2026) is its newest release with breaking changes, 3 of them. The first: Removed State.attentionEncodeSurroundingInfo. Every breaking API change we have recorded in mdast-util-to-markdown on npm: 3 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 2.2.6, released December 4, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
mdast-util-to-markdown 2.1.3 breaking changes
- Removed
State.attentionEncodeSurroundingInfo
State.attentionEncodeSurroundingInfo was removed in mdast-util-to-markdown 2.1.3 npmjs.com - Signature changed
defaultHandlers.emphasis.peek
Was function emphasisPeek(_: Emphasis, _1: Parents | undefined, state: State): string; now function peek(_: Emphasis, _1: Parents | undefined, state: State): string. npmjs.com - Signature changed
defaultHandlers.strong.peek
Was function strongPeek(_: Strong, _1: Parents | undefined, state: State): string; now function peek(_: Strong, _1: Parents | undefined, state: State): string. npmjs.com
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.