---
title: "highlight.js 11.12.0 Breaking Changes on npm | Since.dev"
description: "What each highlight.js release removed, renamed or changed: 73 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/highlight.js
last_updated: 2026-12-04
---

# highlight.js breaking changes

highlight.js 11.12.0 (August 12, 2026) is its newest release with breaking changes. The first: Signature changed 'highlight.js'.Mode.keywords. Every breaking API change we have recorded in highlight.js on npm: 73 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `11.12.0`, released August 12, 2026. [Source repository](https://github.com/highlightjs/highlight.js)

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

- From [10.0.0](#v-10-0-0) to [11.12.0](#v-11-12-0): 64 breaking changes in 2 versions.
- From [9.0.0](#v-9-0-0) to [11.12.0](#v-11-12-0): 72 breaking changes in 3 versions.

## highlight.js 11.12.0 breaking changes

highlight.js 11.12.0, released August 12, 2026: 1 breaking change.

- **Signature changed** `'highlight.js'.Mode.keywords`  

Was keywords?: string | string\[\] | Record\<string, string | string\[\]>; now keywords?: string | string\[\] | Record\<string, string | string\[\] | RegExp>. [npmjs.com](https://www.npmjs.com/package/highlight.js/v/11.12.0)

## highlight.js 11.0.0 breaking changes

highlight.js 11.0.0, released May 30, 2021: 63 breaking changes.

- **Removed**  

Add a plugin if you need HTML passthrough; core no longer includes it. [github.com](https://github.com/highlightjs/highlight.js/releases/tag/11.0.0)
- **Removed**  

Apache, http, nginx, properties and coffeescript are no longer in the default highlight.min.js build; create a custom build if needed. [github.com](https://github.com/highlightjs/highlight.js/blob/main/VERSION%5F11%5FUPGRADE.md)
- **Removed** `'highlight.js/lib/core.js'`  

'highlight.js/lib/core.js' was removed in highlight.js 11.0.0 [npmjs.com](https://www.npmjs.com/package/highlight.js/v/11.0.0)
- **Removed** `'highlight.js/lib/core'`  

'highlight.js/lib/core' was removed in highlight.js 11.0.0 [npmjs.com](https://www.npmjs.com/package/highlight.js/v/11.0.0)
- **Removed** `AutoHighlightResult`  

AutoHighlightResult was removed in highlight.js 11.0.0 [npmjs.com](https://www.npmjs.com/package/highlight.js/v/11.0.0)
- **Removed** `c-like`  

Use c, cpp or arduino instead. [github.com](https://github.com/highlightjs/highlight.js/blob/main/VERSION%5F11%5FUPGRADE.md)
- **Removed** `CompiledMode`  

CompiledMode was removed in highlight.js 11.0.0 [npmjs.com](https://www.npmjs.com/package/highlight.js/v/11.0.0)
- **Removed** `EmitterConstructor`  

EmitterConstructor was removed in highlight.js 11.0.0 [npmjs.com](https://www.npmjs.com/package/highlight.js/v/11.0.0)
- **Removed** `endSameAsBegin`  

Use the END_SAME_AS_BEGIN mode rule or function instead. [github.com](https://github.com/highlightjs/highlight.js/blob/main/VERSION%5F11%5FUPGRADE.md)
- **Removed** `freepascal`  

Use delphi instead. [github.com](https://github.com/highlightjs/highlight.js/blob/main/VERSION%5F11%5FUPGRADE.md)

And 53 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## highlight.js 10.0.0 breaking changes

highlight.js 10.0.0, released April 21, 2020: 8 breaking changes.

- **Removed**  

Version 9 CDN files cannot be used with version 10 and must be replaced. [github.com](https://github.com/highlightjs/highlight.js/releases/tag/10.0.0)
- **Removed**  

Source must be built before use; use a static CDN build, the cdn-release repo, or the highlightjs-dist npm package. [github.com](https://github.com/highlightjs/highlight.js/releases/tag/10.0.0)
- **Removed**  

Browsers without ES2015 support, such as IE11, may no longer work with the library. [github.com](https://github.com/highlightjs/highlight.js/releases/tag/10.0.0)
- **Renamed**  

Update the script URL from the .pack.js file to the .min.js file. [github.com](https://github.com/highlightjs/highlight.js/releases/tag/10.0.0)
- **Renamed** `nimrod`  

Check renamed grammars and update links or registerLanguage calls that use the old names. [github.com](https://github.com/highlightjs/highlight.js/releases/tag/10.0.0)
- **Behavior changed**  

Custom integrations using the raw GitHub source must adapt to ES6 modules and the new build system. [github.com](https://github.com/highlightjs/highlight.js/releases/tag/10.0.0)
- **Behavior changed** `*text*`  

Only the nohighlight and no-highlight CSS classes skip highlighting now; use one of those instead. [github.com](https://github.com/highlightjs/highlight.js/releases/tag/10.0.0)
- **Configuration changed**  

Users who link darkula.css must switch to darcula.css. [github.com](https://github.com/highlightjs/highlight.js/releases/tag/10.0.0)

## highlight.js 9.0.0 breaking changes

highlight.js 9.0.0, released December 2, 2015: 1 breaking change.

- **Behavior changed**  

Custom stylesheets written for earlier versions no longer work as before. Rewrite them following the new style guide, and expect the bundled themes to look different. [github.com](https://github.com/isagalaev/highlight.js/blob/9.0.0/CHANGES.md)

## 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.
