react-syntax-highlighter breaking changes
react-syntax-highlighter 16.0.0 (October 22, 2025) is its newest release with breaking changes. The first: Upgrades the refractor dependency to major version 5 in react-syntax-highlighter 16.0.0. Every breaking API change we have recorded in react-syntax-highlighter on npm: 5 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 16.1.2, released October 8, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 15.0.0 to 16.0.0: 1 breaking change in 1 version.
- From 14.0.0 to 16.0.0: 2 breaking changes in 2 versions.
react-syntax-highlighter 16.0.0 breaking changes
- Behavior changed
The major refractor dependency update may cause breaking changes in your app's dependencies, so update with care. github.com
react-syntax-highlighter 15.0.0 breaking changes
- Behavior changed
Nested tokens can now be styled via CSS, which the release notes call a breaking change for theme styling. Check custom themes that style tokens and adjust them if their output changed. github.com
react-syntax-highlighter 14.0.0 breaking changes
- Behavior changed
The inline style on the code tag now sets white-space, which can override white-space set in external CSS. Adjust your CSS if it relied on the old behavior. github.com - Behavior changed
showLineNumbers
Code using showLineNumbers that expects a separate code element for line numbers will break unless showInlineLineNumbers={false} is passed. github.com - Default changed
showInlineLineNumbers
Line numbers render inline inside the code element by default. To keep the separate line number element, pass showInlineLineNumbers={false} explicitly. github.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.