Packages

highlight.js

11.12.0 · 12 Aug 2026BSD-3-Clause56.9M / weekRepositoryHomepagenpmAtom feed

Upgrading highlight.js From 10.7.3 to 11.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 10.7.3Latest11.12.0
  1. 10.7.3yours
  2. 11.0.0target

Start here

Before you upgrade

Tick each one off as you go
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0
  • Breaking11.0.0

Release by release

  1. 11.0.0

    Migration needed30 May 202111 new · 6 fixes
    • Breaking

      This is a major release. As such it contains breaking changes which may require action from users.

    • Breaking

      Please read VERSION_11_UPGRADE.md for a detailed summary of all breaking changes. The below list should only be considered to be a summary.

    • Breaking

      initHighlighting() and initHighlightingOnLoad() deprecated. Use highlightAll().

    • Breaking

      highlightBlock(el) deprecated. Use highlightElement(el)

29 other lines we could not sort, mostly version bumps
  • enh(vala) improve language detection for Vala (#3195) [Konrad Rudolph]

    11.0.0
  • enh(parser) add beginScope and endScope to allow separate scoping begin and end (#3159) [Josh Goebel]

    11.0.0
  • enh(parser) highlightElement now always tags blocks with a consistent language-[name] class [Josh Goebel]

    11.0.0
  • enh(parser) support multi-class matchers (#3081) [Josh Goebel]

    11.0.0
  • enh(parser) Detect comments based on english like text, rather than keyword list [Josh Goebel]

    11.0.0
  • enh(all) .meta-keyword => .meta .keyword (nested scopes) (#3167) [Josh Goebel]

    11.0.0
  • enh(swift) add actor keyword (#3171) [Bradley Mackey]

    11.0.0
  • enh(swift) add @resultBuilder attribute (#3151) [Bradley Mackey]

    11.0.0
  • enh(processing) added pde alias (#3142) [Dylan McBean]

    11.0.0
  • enh(thrift) Use proper scope for types [Josh Goebel]

    11.0.0

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.