github highlightjs/highlight.js 11.9.0
11.9.0 - Fall is in the air!

latest releases: 11.10.0, stable-11
13 months ago

Version 11.9.0

CAVEATS / POTENTIALLY BREAKING CHANGES

  • Drops support for Node 14.x, which is no longer supported by Node.js.
  • In the node build styles/*.css files now ship un-minified
    with minified counterparts as: styles/*.min.css mvorisek
    (this makes things consistent with our cdn builds)

Parser:

  • (enh) prevent re-highlighting of an element [joshgoebel][]
  • (chore) Remove discontinued badges from README Bradley Mackey
  • (chore) Fix build size report Bradley Mackey

New Grammars:

  • added 3rd party Iptables grammar to SUPPORTED_LANGUAGES Checconio
  • added 3rd party x86asmatt grammar to SUPPORTED_LANGUAGES gondow
  • added 3rd party riscv64 grammar to SUPPORTED_LANGUAGES aana-h2
  • added 3rd party Ballerina grammar to SUPPORTED_LANGUAGES Yasith Deelaka

Core Grammars:

  • fix(rust) added negative-lookahead for callable keywords if while for [Omar Hussein][]
  • enh(armasm) added x0-x30 and w0-w30 ARMv8 registers Nicholas Thompson
  • enh(haxe) added final, is, macro keywords and $ identifiers Robert Borghese
  • enh(haxe) support numeric separators and suffixes Robert Borghese
  • fix(haxe) fixed metadata arguments and support non-colon syntax Robert Borghese
  • fix(haxe) differentiate abstract declaration from keyword Robert Borghese
  • fix(bash) do not delimit a string by an escaped apostrophe [hancar][]
  • enh(swift) support macro keyword Bradley Mackey
  • enh(swift) support parameter pack keywords Bradley Mackey
  • enh(swift) regex literal support Bradley Mackey
  • enh(swift) @unchecked and @Sendable support Bradley Mackey
  • enh(scala) add using directives support //> using foo bar [Jamie Thompson][]
  • fix(scala) fixed comments in constructor arguments not being properly highlighted Isaac Nonato
  • enh(swift) ownership modifiers support Bradley Mackey
  • enh(nsis) Add !assert compiler flag [idleberg][]
  • fix(haskell) do not treat double dashes inside infix operators as comments [Zlondrej][]
  • enh(rust) added eprintln! macro qoheniac
  • enh(leaf) update syntax to 4.0 Samuel Bishop
  • fix(reasonml) simplify syntax and align it with ocaml jchavarri
  • fix(swift) warn_unqualified_access is an attribute Bradley Mackey
  • enh(swift) macro attributes are highlighted as keywords Bradley Mackey
  • enh(stan) updated for version 2.33 (#3859) Brian Ward
  • fix(css) added '_' css variable detection Md Saad Akhtar
  • enh(groovy) add record and var as keywords Guillaume Laforge

Developer Tool:

Don't miss a new highlight.js release

NewReleases is sending notifications on new releases.