---
title: "react-syntax-highlighter 16.0.0 Breaking Changes on npm"
description: "What each react-syntax-highlighter release removed, renamed or changed: 5 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/react-syntax-highlighter
last_updated: 2026-12-04
---

# 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

Latest version `16.1.2`, released October 8, 2026. [Source repository](https://github.com/react-syntax-highlighter/react-syntax-highlighter)

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

- From [15.0.0](#v-15-0-0) to [16.0.0](#v-16-0-0): 1 breaking change in 1 version.
- From [14.0.0](#v-14-0-0) to [16.0.0](#v-16-0-0): 2 breaking changes in 2 versions.

## react-syntax-highlighter 16.0.0 breaking changes

react-syntax-highlighter 16.0.0, released October 22, 2025: 1 breaking change.

- **Behavior changed**  

The major refractor dependency update may cause breaking changes in your app's dependencies, so update with care. [github.com](https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases/tag/v16.0.0)

## react-syntax-highlighter 15.0.0 breaking changes

react-syntax-highlighter 15.0.0, released October 4, 2020: 1 breaking change.

- **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](https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases/tag/v15.0.0)

## react-syntax-highlighter 14.0.0 breaking changes

react-syntax-highlighter 14.0.0, released October 2, 2020: 3 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](https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases/tag/v14.0.0)
- **Behavior changed** `showLineNumbers`  

Code using showLineNumbers that expects a separate code element for line numbers will break unless showInlineLineNumbers={false} is passed. [github.com](https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases/tag/v14.0.0)
- **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](https://github.com/react-syntax-highlighter/react-syntax-highlighter/releases/tag/v14.0.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.
