Version 11.3.0
Build:
- add
HighlightJS
named export (#3295) Josh Goebel - add
.default
named export to CJS builds (#3333) Josh Goebel
Parser:
- add first rough performance testing script (#3280) Austin Schick
- add
throwUnescapedHTML
to warn against potential HTML injection Josh Goebel - expose
regex
helper functions viahljs
injection Josh Goebel- concat
- lookahead
- either
- optional
- anyNumberOfTimes
Grammars:
- fix(ts) some complex types would classify as JSX (#3278) Josh Goebel
- fix(js/ts) less false positives for
class X extends Y
(#3278) Josh Goebel - enh(css): add properties from several W3C (Candidate) Recommendations (#3308)
- fix(js/ts)
Float32Array
highlighted incorrectly (#3353) Josh Goebel - fix(css) single-colon psuedo-elements no longer break highlighting (#3240) Josh Goebel
- fix(scss) single-colon psuedo-elements no longer break highlighting (#3240) Josh Goebel
- enh(fsharp) rewrite most of the grammar, with many improvements Melvyn Laïly
- enh(go) better type highlighting, add
error
type Josh Goebel - fix(js/ts) regex inside
SUBST
is no longer highlighted Josh Goebel - fix(python) added support for unicode identifiers (#3280) Austin Schick
- enh(css/less/stylus/scss) improve consistency of function dispatch (#3301) Josh Goebel
- enh(css/less/stylus/scss) detect block comments more fully (#3301) Josh Goebel
- fix(cpp) switch is a keyword (#3312) Josh Goebel
- fix(cpp) fix
xor_eq
keyword highlighting. Denis Kovalchuk - enh(c,cpp) highlight type modifiers as type (#3316) Josh Goebel
- enh(css/less/stylus/scss) add support for CSS Grid properties monochromer
- enh(java) add support for Java Text Block (#3322) Teletha
- enh(scala) add missing
do
andthen
keyword (#3323) Nicolas Stucki - enh(scala) add missing
enum
,export
andgiven
keywords (#3328) Nicolas Stucki - enh(scala) remove symbol syntax and fix quoted code syntax (#3324) Nicolas Stucki
- enh(scala) add Scala 3
extension
soft keyword (#3326) Nicolas Stucki - enh(scala) add Scala 3
end
soft keyword (#3327) Nicolas Stucki - enh(scala) add
inline
soft keyword (#3329) Nicolas Stucki - enh(scala) add
using
soft keyword (#3330) Nicolas Stucki - enh(fsharp) added
f#
alias (#3337) Bahnschrift - enh(bash) added gnu core utilities (#3342) katzeprior
- enh(nsis) add new NSIS commands (#3351) idleberg
- fix(nsis) set
case_insensitive
totrue
(#3351) idleberg - fix(css/less/stylus/scss) highlight single-colon psuedo-elements properly (#3240) zsoltlengyelit
- fix(css) add css hex color alpha support (#3360) ierehon1905