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
On this page
Latest version 11.12.0, released August 12, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 10.0.0 to 11.12.0: 64 breaking changes in 2 versions.
- From 9.0.0 to 11.12.0: 72 breaking changes in 3 versions.
highlight.js 11.12.0 breaking changes
- 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
highlight.js 11.0.0 breaking changes
- Removed
Add a plugin if you need HTML passthrough; core no longer includes it. github.com - 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 - Removed
'highlight.js/lib/core.js'
'highlight.js/lib/core.js' was removed in highlight.js 11.0.0 npmjs.com - Removed
'highlight.js/lib/core'
'highlight.js/lib/core' was removed in highlight.js 11.0.0 npmjs.com - Removed
AutoHighlightResult
AutoHighlightResult was removed in highlight.js 11.0.0 npmjs.com - Removed
c-like
Use c, cpp or arduino instead. github.com - Removed
CompiledMode
CompiledMode was removed in highlight.js 11.0.0 npmjs.com - Removed
EmitterConstructor
EmitterConstructor was removed in highlight.js 11.0.0 npmjs.com - Removed
endSameAsBegin
Use the END_SAME_AS_BEGIN mode rule or function instead. github.com - Removed
freepascal
Use delphi instead. github.com
And 53 more in this version. Sign up to see every change
highlight.js 10.0.0 breaking changes
- Removed
Version 9 CDN files cannot be used with version 10 and must be replaced. github.com - Removed
Source must be built before use; use a static CDN build, the cdn-release repo, or the highlightjs-dist npm package. github.com - Removed
Browsers without ES2015 support, such as IE11, may no longer work with the library. github.com - Renamed
Update the script URL from the .pack.js file to the .min.js file. github.com - Renamed
nimrod
Check renamed grammars and update links or registerLanguage calls that use the old names. github.com - Behavior changed
Custom integrations using the raw GitHub source must adapt to ES6 modules and the new build system. github.com - Behavior changed
*text*
Only the nohighlight and no-highlight CSS classes skip highlighting now; use one of those instead. github.com - Configuration changed
Users who link darkula.css must switch to darcula.css. github.com
highlight.js 9.0.0 breaking changes
- 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
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.