---
title: "rehype-pretty-code 0.13.0 Breaking Changes on npm"
description: "What each rehype-pretty-code release removed, renamed or changed: 7 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/rehype-pretty-code
last_updated: 2026-12-04
---

# 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

Latest version `0.14.6`. 

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.10.0](#v-0-10-0) to [0.13.0](#v-0-13-0): 3 breaking changes in 2 versions.

## rehype-pretty-code 0.13.0 breaking changes

rehype-pretty-code 0.13.0, released February 8, 2024: 1 breaking change.

- **Signature changed** `Options.transformers`  

Was transformers?: ShikijiTransformer\[\]; now transformers?: ShikiTransformer\[\]. [npmjs.com](https://www.npmjs.com/package/rehype-pretty-code/v/0.13.0)

## rehype-pretty-code 0.12.0 breaking changes

rehype-pretty-code 0.12.0, released December 3, 2023: 2 breaking changes.

- **Signature changed** `Options.getHighlighter`  

Was getHighlighter?(options: Pick\<Options, 'theme'>): Promise\<Highlighter>; now getHighlighter?(options: BundledHighlighterOptions): Promise\<Highlighter>. [npmjs.com](https://www.npmjs.com/package/rehype-pretty-code/v/0.12.0)
- **Signature changed** `Theme`  

Was type Theme = IShikiTheme | string; now type Theme = BuiltinTheme | ThemeRegistrationRaw. [npmjs.com](https://www.npmjs.com/package/rehype-pretty-code/v/0.12.0)

## rehype-pretty-code 0.10.0 breaking changes

rehype-pretty-code 0.10.0, released June 24, 2023: 4 breaking changes.

- **Removed** `Options.onVisitHighlightedWord`  

Options.onVisitHighlightedWord was removed in rehype-pretty-code 0.10.0 [npmjs.com](https://www.npmjs.com/package/rehype-pretty-code/v/0.10.0)
- **Renamed** `VisitableElement`  

Use LineElement instead. [npmjs.com](https://www.npmjs.com/package/rehype-pretty-code/v/0.10.0)
- **Signature changed** `Options.onVisitHighlightedLine`  

Was onVisitHighlightedLine?(element: VisitableElement): void; now onVisitHighlightedLine?(element: LineElement): void. [npmjs.com](https://www.npmjs.com/package/rehype-pretty-code/v/0.10.0)
- **Signature changed** `Options.onVisitLine`  

Was onVisitLine?(element: VisitableElement): void; now onVisitLine?(element: LineElement): void. [npmjs.com](https://www.npmjs.com/package/rehype-pretty-code/v/0.10.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
