Releases: scrivo/highlight.php
Releases · scrivo/highlight.php
Version 9.18.1.0
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.
- related: #66
Version 9.18.0.0
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
Fixes
classPrefix
andtabReplace
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
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
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.
Version 9.15.10.0
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
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
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
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
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
- Add new
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