10.7.1 - Spring Edition
This .1 patch release fixes an issue with the TypeScript typing info in 10.7.0.
Release notes from 10.7.0
Parser:
- enh(api) add
unregisterLanguagemethod (#3009) Antoine du Hamel - enh: Make alias registration case insensitive (#3026) David Ostrovsky
- fix(parser)
highlightAll()now works if the library is lazy loaded Josh Goebel
New Languages:
- Added 3rd party RiScript grammar to SUPPORTED_LANGUAGES (#2988) [John C][]
- Added 3rd party HLSL grammar to SUPPORTED_LANGUAGES (#3002) Stef Levesque
- Added 3rd party Q# grammar to SUPPORTED_LANGUAGES(#3006) Vyron Vasileiadis
Language grammar improvements:
- fix(python) allow keywords immediately following numbers (#2985) Josh Goebel
- fix(xml) char immediately following tag close mis-highlighted (#3044) Josh Goebel
- fix(ruby) fix
defined?()mis-highlighted asdef(#3025) Josh Goebel - fix(c) comments after
#include <str>blocks (#3041) Josh Goebel - fix(cpp) comments after
#include <str>blocks (#3041) Josh Goebel - enh(cpp) Highlight all function dispatches (#3005) Josh Goebel
- enh(python) support type hints and better type support (#2972) Josh Goebel
- enh(gml) Add additional GML 2.3 keywords (#2984) xDGameStudios
- fix(cpp) constructor support for initializers (#3001) Josh Goebel
- enh(php) Add
traitto class-like naming patterns (#2997) Ayesh - enh(php) Add
Stringable,UnhandledMatchError, andWeakMapclasses/interfaces (#2997) Ayesh - enh(php) Add
mixedto list of keywords (#2997) Ayesh - enh(php) Add support binary, octal, hex and scientific numerals with underscore separator support (#2997) Ayesh
- enh(php) Add support for Enums (#3004) Ayesh
- enh(ecmascript) Add built-in types Vaibhav Chanana
- enh(kotlin) Add
ktsas an alias for Kotlin (#3021) Vaibhav Chanana - enh(css) Add
font-smoothingto attributes list for CSS (#3027) AndyKIron - fix(python) Highlight
printandexecas a builtin (#1468) Samuel Colvin - fix(csharp) Fix unit being highlighted instead of uint (#3046) [Spacehamster][]
- enh(swift) add async/await keywords (#3048) [Bradley Mackey][]
Deprecations:
highlight(languageName, code, ignoreIllegals, continuation)deprecated as of 10.7- Please use the newer API which takes
codeand then accepts options as an object - IE:
highlight(code, {language, ignoreIllegals}) continuationis for internal use only and no longer supported
- Please use the newer API which takes
highlightBlock(el)deprecated as of 10.7.- Please use
highlightElement(el)instead. - Plugin callbacks renamed
before/after:highlightBlock=>before/after:highlightElement - Plugin callback now takes
elvsblockattribute - The old API and callbacks will be supported until v12.
- Please use