Changelog History
Page 7
-
v9.7.0 Changes
π A comprehensive bugfix release. This is one of the best things about π highlight.js: even boring things keep getting better (even if slow).
- β‘οΈ VHDL updated with PSL keywords and uses more consistent styling.
- π Nested C-style comments no longer break highlighting in many languages.
- β‘οΈ JavaScript updated with
=>
functions, highlighted object attributes and parsing within template string substitution blocks (${...}
). - π Fixed another corner case with self-closing
<tag/>
in JSX. - β Added
HEALTHCHECK
directive in Docker. - β‘οΈ Delphi updated with new Free Pascal keywords.
- π Fixed digit separator parsing in C++.
- β‘οΈ C# updated with new keywords and fixed to allow multiple identifiers within
generics
<...>
. - π Fixed another slow regex in Less.
-
v9.6.0 Changes
π New languages:
- ABNF and EBNF by Alex McKibben
- Awk by Matthew Daly
- SubUnit by Sergey Bronnikov
π New styles:
- Atom One in both Dark and Light variants by Daniel Gamage
Plus, a few smaller updates for Lasso, Elixir, C++ and SQL.
-
v9.5.0 Changes
π New languages:
- Excel by Victor Zhou
- Linden Scripting Language by [Builder's Brewery][]
- TAP (Test Anything Protocol) by Sergey Bronnikov
- Pony by Joe Eli McIlvain
- Coq by Stephan Boyer
- dsconfig and LDIF by Jacob Childress
π New styles:
- Ocean Dark by Gavin Siu
Notable changes:
- Minh Nguyα» n added more built-ins to Objective C.
- π Jeremy Hull fixed corner cases in C++ preprocessor directives and Diff comments.
- π Victor Zhou added support for digit separators in C++ numbers.
π [Builder's Brewery]: https://github.com/buildersbrewery
-
v9.4.0 Changes
π New languages:
- PureBASIC by Tristano Ajmone
- BNF by Oleg Efimov
- Ada by Lars Schulna
π New styles:
- PureBASIC by Tristano Ajmone
π 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
andisize
are now highlighted in Rust.- π Fixed labels and directives in x86 assembler.
-
v9.3.0 Changes
π New languages:
- π· Tagger Script by Philipp Wolfer
- MoonScript by Billy Quith
π New styles:
- xt256 by Herbert Shin
π 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 Changes
π New languages:
- QML by John Foster
- HTMLBars by Michael Johnston
- CSP by Taras
- Maxima by Robert Dodier
π New styles:
- Gruvbox by Qeole
- Dracula by Denis Ciccale
π 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 Changes
π New languages:
- Stan by Brendan Rocks
- BASIC by RaphaΓ«l AssΓ©nat
- GAUSS by Matt Evans
- DTS by Martin Braun
- Arduino by Stefania Mellai
π New Styles:
- Arduino Light by Stefania Mellai
π 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 Changes
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:
- CachΓ© Object Script by Nikita Savchenko
- YAML by Stefan Wienert
- MIPS Assembler by Nebuleon Fumika
- HSP by prince
π 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 Changes
π 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 Changes
π New languages:
- crmsh by Kristoffer Gronlund
- SQF by Soren Enevoldsen
π Notable fixes and improvements to existing languages:
- β Added
abstract
andnamespace
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 semicolonECMAScript 6 classes constructors now highlighted- π
Template string support for Typescript, as for ECMAScript 6
Other notable changes:
- π
License added to not minified browser build