Version 9.16.2.0
There are no 9.16.0.0 and 9.16.1.0 releases due to them being very minor JS releases, so they're all combined into a single 9.16.2.0 tag.
Changes
- Ported over language definition and stylesheet changes from the highlight.js 9.16.2 release. See the highlight.js 9.16.2 changelog for more details as to what changed.
Deprecations
These deprecations only exist because they were never marked as "internal," meaning some crazy library users could potentially be using these functions. These changes will likely not affect you if you're not doing anything crazy.
- The
JsonRef
class has been marked as@final
. In v10.x, this class will be marked as final through thefinal
keyword. JsonRef::decode()
has been deprecated and will be removed in v10.x. It has been replaced byJsonRef::decodeRef()
.- The
Language
class has been marked as@final
and will be madefinal
in v10.x. Language::complete()
has been deprecated and will be removed in v10.x.Language::$mode
has been deprecated and will no longer be accessible. Any properties originally in$mode
will now be available directly from theLanguage
class.Language::$caseInsensitive
has been deprecated and has been replaced withLanguage::$case_insensitive
to match highlight.js naming conventions.