highlight.js
11.12.0 · 12 Aug 2026BSD-3-Clause56.9M / weekRepositoryHomepagenpmAtom feed
Upgrading highlight.js From 10.4.1 to 10.5.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 5
- new
- 4
- fixes
Before you upgrade
Tick each one off as you go- Deprecated10.5.0
- Deprecated10.5.0
Release by release
- Deprecated
HTML "merging" is deprecated. (#2873) [Josh Goebel]
- Deprecated
requireLanguageAPI is deprecated, will be removed in v11.0. - New
Add Subresource Integrity digest lists to
cdn-assets[Josh Goebel] - New
Add
matchas sugar for simplebeginonly matches (#2834) [Josh Goebel]
- Deprecated
11 other lines we could not sort, mostly version bumps
- 10.5.0
R and VB.net grammars now ship in our default build (
:common) [Josh Goebel] - 10.5.0
enh(swift) Improved grammar for strings (#2819) [Steven Van Impe]
- 10.5.0
enh(swift) Grammar improvements (#2908) [Steven Van Impe]
- 10.5.0
enh(swift) Improved highlighting for types and generic arguments (#2920) [Steven Van Impe]
- 10.5.0
enh(scheme) Allow `` for argument lists (#2913) [Josh Goebel]
- 10.5.0
enh(vb) Large rework of VB.net grammar (#2808) [Jan Pilzer]
- 10.5.0
enh(dart) Fix empty block-comments from breaking highlighting (#2898) [Jan Pilzer]
- 10.5.0
enh(dart) Fix empty doc-comment eating next line [Jan Pilzer]
- 10.5.0
enh(c-like) Incorrect highlighting for interger suffix (#2919) [Vaibhav Chanana]
- 10.5.0
enh(properties) Correctly handle trailing backslash (#2922) [Vaibhav Chanana]
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.