highlightjs/highlight.js
### [`v10.7.1`](https://togithub.com/highlightjs/highlight.js/blob/master/CHANGES.md#Version-1071)
[Compare Source](https://togithub.com/highlightjs/highlight.js/compare/10.7.0...10.7.1)
- fix(parser) Resolves issues with TypeScript types [Josh Goebel][]
##### Version 10.7.0
Parser:
- enh(api) add `unregisterLanguage` method ([#3009](https://togithub.com/highlightjs/highlight.js/issues/3009)) [Antoine du Hamel][]
- enh: Make alias registration case insensitive ([#3026](https://togithub.com/highlightjs/highlight.js/issues/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](https://togithub.com/highlightjs/highlight.js/issues/2988)) [John C][]
- Added 3rd party HLSL grammar to SUPPORTED_LANGUAGES ([#3002](https://togithub.com/highlightjs/highlight.js/issues/3002)) [Stef Levesque][]
- Added 3rd party Q# grammar to SUPPORTED_LANGUAGES([#3006](https://togithub.com/highlightjs/highlight.js/issues/3006)) [Vyron Vasileiadis][]
Language grammar improvements:
- fix(python) allow keywords immediately following numbers ([#2985](https://togithub.com/highlightjs/highlight.js/issues/2985)) [Josh Goebel][]
- fix(xml) char immediately following tag close mis-highlighted ([#3044](https://togithub.com/highlightjs/highlight.js/issues/3044)) [Josh Goebel][]
- fix(ruby) fix `defined?()` mis-highlighted as `def` ([#3025](https://togithub.com/highlightjs/highlight.js/issues/3025)) [Josh Goebel][]
- fix(c) comments after `#include ` blocks ([#3041](https://togithub.com/highlightjs/highlight.js/issues/3041)) [Josh Goebel][]
- fix(cpp) comments after `#include ` blocks ([#3041](https://togithub.com/highlightjs/highlight.js/issues/3041)) [Josh Goebel][]
- enh(cpp) Highlight all function dispatches ([#3005](https://togithub.com/highlightjs/highlight.js/issues/3005)) [Josh Goebel][]
- enh(python) support type hints and better type support ([#2972](https://togithub.com/highlightjs/highlight.js/issues/2972)) [Josh Goebel][]
- enh(gml) Add additional GML 2.3 keywords ([#2984](https://togithub.com/highlightjs/highlight.js/issues/2984)) [xDGameStudios][]
- fix(cpp) constructor support for initializers ([#3001](https://togithub.com/highlightjs/highlight.js/issues/3001)) [Josh Goebel][]
- enh(php) Add `trait` to class-like naming patterns ([#2997](https://togithub.com/highlightjs/highlight.js/issues/2997)) [Ayesh][]
- enh(php) Add `Stringable`, `UnhandledMatchError`, and `WeakMap` classes/interfaces ([#2997](https://togithub.com/highlightjs/highlight.js/issues/2997)) [Ayesh][]
- enh(php) Add `mixed` to list of keywords ([#2997](https://togithub.com/highlightjs/highlight.js/issues/2997)) [Ayesh][]
- enh(php) Add support binary, octal, hex and scientific numerals with underscore separator support ([#2997](https://togithub.com/highlightjs/highlight.js/issues/2997)) [Ayesh][]
- enh(php) Add support for Enums ([#3004](https://togithub.com/highlightjs/highlight.js/issues/3004)) [Ayesh][]
- enh(ecmascript) Add built-in types [Vaibhav Chanana][]
- enh(kotlin) Add `kts` as an alias for Kotlin ([#3021](https://togithub.com/highlightjs/highlight.js/issues/3021)) [Vaibhav Chanana][]
- enh(css) Add `font-smoothing` to attributes list for CSS ([#3027](https://togithub.com/highlightjs/highlight.js/issues/3027)) [AndyKIron][]
- fix(python) Highlight `print` and `exec` as a builtin ([#1468](https://togithub.com/highlightjs/highlight.js/issues/1468)) [Samuel Colvin][]
- fix(csharp) Fix unit being highlighted instead of uint ([#3046](https://togithub.com/highlightjs/highlight.js/issues/3046)) [Spacehamster][]
- enh(swift) add async/await keywords ([#3048](https://togithub.com/highlightjs/highlight.js/issues/3048)) [Bradley Mackey][]
Deprecations:
- `highlight(languageName, code, ignoreIllegals, continuation)` deprecated as of 10.7
- Please use the newer API which takes `code` and then accepts options as an object
- IE: `highlight(code, {language, ignoreIllegals})`
- `continuation` is for internal use only and no longer supported
- `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 `el` vs `block` attribute
- The old API and callbacks will be supported until v12.
[stef levesque]: https://togithub.com/stef-levesque
[josh goebel]: https://togithub.com/joshgoebel
[john cheung]: https://togithub.com/Real-John-Cheung
[xdgamestudios]: https://togithub.com/xDGameStudios
[ayesh]: https://togithub.com/Ayesh
[vyron vasileiadis]: https://togithub.com/fedonman
[antoine du hamel]: https://togithub.com/aduh95
[vaibhav chanana]: https://togithub.com/il3ven
[david ostrovsky]: https://togithub.com/davido
[andykiron]: https://togithub.com/AndyKIron
[samuel colvin]: https://togithub.com/samuelcolvin
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
10.7.0
->10.7.1
Release Notes
highlightjs/highlight.js
### [`v10.7.1`](https://togithub.com/highlightjs/highlight.js/blob/master/CHANGES.md#Version-1071) [Compare Source](https://togithub.com/highlightjs/highlight.js/compare/10.7.0...10.7.1) - fix(parser) Resolves issues with TypeScript types [Josh Goebel][] ##### Version 10.7.0 Parser: - enh(api) add `unregisterLanguage` method ([#3009](https://togithub.com/highlightjs/highlight.js/issues/3009)) [Antoine du Hamel][] - enh: Make alias registration case insensitive ([#3026](https://togithub.com/highlightjs/highlight.js/issues/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](https://togithub.com/highlightjs/highlight.js/issues/2988)) [John C][] - Added 3rd party HLSL grammar to SUPPORTED_LANGUAGES ([#3002](https://togithub.com/highlightjs/highlight.js/issues/3002)) [Stef Levesque][] - Added 3rd party Q# grammar to SUPPORTED_LANGUAGES([#3006](https://togithub.com/highlightjs/highlight.js/issues/3006)) [Vyron Vasileiadis][] Language grammar improvements: - fix(python) allow keywords immediately following numbers ([#2985](https://togithub.com/highlightjs/highlight.js/issues/2985)) [Josh Goebel][] - fix(xml) char immediately following tag close mis-highlighted ([#3044](https://togithub.com/highlightjs/highlight.js/issues/3044)) [Josh Goebel][] - fix(ruby) fix `defined?()` mis-highlighted as `def` ([#3025](https://togithub.com/highlightjs/highlight.js/issues/3025)) [Josh Goebel][] - fix(c) comments after `#includeRenovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.