rehype-pretty-code breaking changes
rehype-pretty-code 0.13.0 (February 8, 2024) is its newest release with breaking changes. The first: Signature changed Options.transformers. Every breaking API change we have recorded in rehype-pretty-code on npm: 7 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.14.6.
Packages on npm run on Node.js. Node.js end of life dates.
rehype-pretty-code 0.13.0 breaking changes
- Signature changed
Options.transformers
Was transformers?: ShikijiTransformer[]; now transformers?: ShikiTransformer[]. npmjs.com
rehype-pretty-code 0.12.0 breaking changes
- Signature changed
Options.getHighlighter
Was getHighlighter?(options: Pick<Options, 'theme'>): Promise<Highlighter>; now getHighlighter?(options: BundledHighlighterOptions): Promise<Highlighter>. npmjs.com - Signature changed
Theme
Was type Theme = IShikiTheme | string; now type Theme = BuiltinTheme | ThemeRegistrationRaw. npmjs.com
rehype-pretty-code 0.10.0 breaking changes
- Removed
Options.onVisitHighlightedWord
Options.onVisitHighlightedWord was removed in rehype-pretty-code 0.10.0 npmjs.com - Renamed
VisitableElement
Use LineElement instead. npmjs.com - Signature changed
Options.onVisitHighlightedLine
Was onVisitHighlightedLine?(element: VisitableElement): void; now onVisitHighlightedLine?(element: LineElement): void. npmjs.com - Signature changed
Options.onVisitLine
Was onVisitLine?(element: VisitableElement): void; now onVisitLine?(element: LineElement): void. 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.