Skip to content

Version 9.16.2.0

Compare
Choose a tag to compare
@allejo allejo released this 13 Dec 03:08
· 85 commits to master since this release
e1f92b6

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 the final keyword.
  • JsonRef::decode() has been deprecated and will be removed in v10.x. It has been replaced by JsonRef::decodeRef().
  • The Language class has been marked as @final and will be made final 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 the Language class.
  • Language::$caseInsensitive has been deprecated and has been replaced with Language::$case_insensitive to match highlight.js naming conventions.