All Versions
94
Latest Version
Avg Release Cycle
19 days
Latest Release
17 days ago

Changelog History
Page 5

  • v9.4.0

    πŸ†• New languages:

    πŸ†• New styles:

    πŸ‘Œ Improvements to existing languages and styles:

    • We now highlight function declarations in Go.
    • Taisuke Fujimoto contributed very convoluted rules for raw and interpolated strings in C#.
    • ⚑️ Boone Severson updated Verilog to comply with IEEE 1800-2012 SystemVerilog.
    • Victor Zhou improved rules for comments and strings in PowerShell files.
    • ⚑️ Janis VoigtlΓ€nder updated the definition of Elm to version 0.17 of the languages. Elm is now featured on the front page of https://highlightjs.org.
    • Special variable $this is highlighted as a keyword in PHP.
    • usize and isize are now highlighted in Rust.
    • πŸ›  Fixed labels and directives in x86 assembler.
  • v9.3.0

    πŸ†• New languages:

    πŸ†• New styles:

    πŸ‘Œ Improvements to existing languages and styles:

    • More robust handling of unquoted HTML tag attributes
    • Relevance tuning for QML which was unnecessary eager at seizing other languages' code
    • πŸ‘Œ Improve GAMS language parsing
    • πŸ›  Fixed a bunch of bugs around selectors in Less
    • ⚑️ Kotlin's got a new definition for annotations, updated keywords and other minor improvements
    • βž• Added move to Rust keywords
    • Markdown now recognizes ```-fenced code blocks
    • πŸ‘Œ Improved detection of function declarations in C++ and C#
  • v9.2.0

    πŸ†• New languages:

    πŸ†• New styles:

    πŸ‘Œ Improvements to existing languages and styles:

    • We now correctly handle JSX with arbitrary node tree depth.
    • Argument list for (lambda) in Scheme is no longer highlighted as a function call.
    • Stylus syntax doesn't break on valid CSS.
    • More correct handling of comments and strings and other improvements for VimScript.
    • πŸ’… More subtle work on the default style.
    • We now use anonymous modules for AMD.
    • macro_rules! is now recognized as a built-in in Rust.
  • v9.1.0

    πŸ†• New languages:

    πŸ†• New Styles:

    πŸ‘Œ Improvements to existing languages and styles:

    • πŸ– Handle return type annotations in Python
    • πŸ‘ Allow shebang headers in Javascript
    • πŸ‘Œ Support strings in Rust meta
    • Recognize struct as a class-level definition in Rust
    • πŸ›  Recognize b-prefixed chars and strings in Rust
    • πŸ‘ Better numbers handling in Verilog
  • v9.0.0

    The new major version brings a reworked styling system. Highlight.js now defines a limited set of highlightable classes giving a consistent result across all the πŸ’… styles and languages. You can read a more detailed explanation and background in the tracking issue that started this long process back in May.

    This change is backwards incompatible for those who uses highlight.js with a πŸ’… custom stylesheet. The [new style guide][sg] explains how to write styles in this new world.

    Bundled themes have also suffered a significant amount of improvements and may look different in places, but all the things now consistent and make more sense. πŸ’… Among others, the Default style has got a refresh and will probably be tweaked πŸš€ some more in next releases. Please do give your feedback in our issue tracker.

    πŸ†• New languages in this release:

    πŸ‘Œ Improvements to existing languages and styles:

    • ECMAScript 6 modules import now do not require closing semicolon.
    • ECMAScript 6 classes constructors now highlighted.
    • πŸ‘ Template string support for Typescript, as for ECMAScript 6.
    • πŸ›  Scala case classes params highlight fixed.
    • Built-in names introduced in Julia v0.4 added by Kenta Sato.
    • πŸ’… Refreshed Default style.

    Other notable changes:

    • πŸ‘· [Web workers support][webworkers] added bu Jan KΓΌhle.
    • πŸ— We now have tests for compressed browser builds as well.
    • πŸ— The building tool chain has been switched to node.js 4.x. and is now shamelessly uses ES6 features all over the place, courtesy of Jeremy Hull.
    • πŸ— License added to non-compressed browser build.

    πŸ‘· [webworkers]: https://github.com/isagalaev/highlight.js#web-workers

    πŸ’… [sg]: http://highlightjs.readthedocs.org/en/latest/style-guide.html

  • v8.9.1

    πŸ— Some last-minute changes reverted due to strange bug with minified browser build:

    • πŸ›  Scala case classes params highlight fixed
    • ECMAScript 6 modules import now do not require closing semicolon
    • ECMAScript 6 classes constructors now highlighted
    • πŸ‘ Template string support for Typescript, as for ECMAScript 6
    • πŸ— License added to not minified browser build
  • v8.9.0

    πŸ†• New languages:

    πŸ›  Notable fixes and improvements to existing languages:

    • βž• Added abstract and namespace keywords to TypeScript by Daniel Rosenwasser
    • βž• Added label support to Dockerfile by Ladislav Prskavec
    • Crystal highlighting improved by Tsuyusato Kitsune
    • Missing Swift keywords added by Nate Cook
    • πŸ‘Œ Improve detection of C block comments
    • πŸ›  Scala case classes params highlight fixed
    • ECMAScript 6 modules import now do not require closing semicolon
    • ECMAScript 6 classes constructors now highlighted
    • πŸ‘ Template string support for Typescript, as for ECMAScript 6

    Other notable changes:

    • πŸ— License added to not minified browser build
  • v8.8.0

    πŸ†• New languages:

    πŸ›  Notable fixes and improvements to existing languages:

    • 0️⃣ JavaScript highlighting no longer fails with ES6 default parameters
    • βž• Added keywords async and await to Python
    • πŸ‘ PHP heredoc support improved
    • πŸ‘ Allow preprocessor directives within C++ functions

    Other notable changes:

    • πŸ”„ Change versions to X.Y.Z SemVer-compatible format
    • βž• Added ability to build all targets at once
  • v8.7

    πŸ†• New languages:

    πŸ†• New styles:

    πŸ›  Notable fixes and improvements to existing languages:

    • πŸ›  Fix encoding of images when copied over in certain builds
    • πŸ›  Fix incorrect highlighting of the word "bug" in comments
    • Treat decorators different from matrix multiplication in Python
    • πŸ›  Fix traits inheritance highlighting in Rust
    • πŸ›  Fix incorrect document
    • Oracle keywords added to SQL language definition by Vadimtro
    • Postgres keywords added to SQL language definition by Benjamin Auder
    • πŸ›  Fix registers in x86asm being highlighted as a hex number
    • πŸ›  Fix highlighting for numbers with a leading decimal point
    • Correctly highlight numbers and strings inside of C/C++ macros
    • 🚚 C/C++ functions now support pointer, reference, and move returns
  • v8.6

    πŸ†• New languages:

    πŸ†• New styles:

    πŸ›  Notable fixes and improvements to existing languages:

    • πŸ‘ Multi-line raw strings from C++11 are now supported
    • πŸ›  Fix class names with dashes in HAML
    • πŸ‘ The async keyword from ES6/7 is now supported
    • πŸ‘ TypeScript functions handle type and parameter complexity better
    • We unified phpdoc/javadoc/yardoc etc modes across all languages
    • CSS .class selectors relevance was dropped to prevent wrong language detection
    • πŸ— Images is now included to CDN build
    • πŸš€ Release process is now automated