Skip to content

Releases: scrivo/highlight.php

Version 9.18.1.0

03 Feb 02:26
a57c858
Compare
Choose a tag to compare

Fixes

  • Ported over language definition and stylesheet changes from the highlight.js 9.18.1 release. See the highlight.js 9.18.1 changelog for more details as to what changed.

Version 9.18.0.0

29 Jan 15:44
0e78600
Compare
Choose a tag to compare

Changes

  • Ported over language definition and stylesheet changes from the highlight.js 9.18.0 release. See the highlight.js 9.18.0 changelog for more details as to what changed.

Version 9.17.1.1

27 Jan 15:33
abe5a2f
Compare
Choose a tag to compare

Fixes

  • classPrefix and tabReplace settings are now propagated to sub-languages (#61 @taufik-nurrohman)
  • The "safe mode" setting is now propagated down to sub-languages

Development

  • A lot of improvements to typings via PHPDoc annotations
  • Fix Travis unit testing in PHP 5.4 and 5.5
  • Fix example.php in the demo folder

Version 9.17.1.0

14 Dec 00:48
5451a9a
Compare
Choose a tag to compare

There is no 9.17.0.0 release. The 9.17.1 release of the JS project was a hotfix so both 9.17.0 and 9.17.1 were combined into this one release.

Changes

  • Ported over language definition and stylesheet changes from the highlight.js 9.17.0 release. See the highlight.js 9.17.1 changelog for more details as to what changed.

Version 9.16.2.0

13 Dec 03:08
e1f92b6
Compare
Choose a tag to compare

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.

Version 9.15.10.0

27 Aug 04:28
9ad3adb
Compare
Choose a tag to compare

Changes

  • Ported over language definition and stylesheet changes from the highlight.js 9.15.10 release. See the highlight.js 9.15.10 changelog for more details as to what changed.

Version 9.15.9.0

09 Aug 05:08
fdc7a51
Compare
Choose a tag to compare

Changes

  • Ported over language definition and stylesheet changes from the highlight.js 9.15.9 release. See the highlight.js 9.15.9 changelog for more details as to what changed.

Version 9.15.8.1

20 Jul 04:38
5c80fcb
Compare
Choose a tag to compare

New

  • Added new functions to HighlightUtilities for accessing bundled stylesheets (#47)
    • getAvailableStyleSheets(bool $filePaths = false)
    • getStyleSheet(string $name)
    • getStyleSheetFolder()
    • getStyleSheetPath(string $name)

Version 9.15.8.0

31 May 06:27
2626bf8
Compare
Choose a tag to compare

There is no 9.15.7.0 release.

Version 9.15.7 was the main release of highlight.js with language updates. However, 9.15.8 was an immediate hotfix so both these versions are bundled up into a single release for highlight.php.

Changes

  • Ported over core changes, language definitions, and stylesheet changes from the highlight.js 9.15.7 - 9.15.8 releases. See the highlight.js 9.15.8 changelog for more details as to what changed.

Version 9.15.6.1

02 Apr 06:16
00cf4aa
Compare
Choose a tag to compare

New

  • The HighlightUtilities namespace was introduced as part of the official package
    • Add new splitCodeIntoArray() utility function to split highlighted results into an array of strings; i.e. an official way of handling line numbers

Changes

  • License headers for files have been updated to be less of a paradox

Development

  • The demo.php script no longer times out and it'll just run for a ridiculously long time instead