Releases: scrivo/highlight.php
Releases · scrivo/highlight.php
Version 9.15.6.0
Versions 9.15.2 through 9.15.6 of the highlight.js project have consisted solely of hotfixes for the JS package only. This means that no core changes have been made to the actual highlighter nor have updated definitions been added. The 9.15.6.0 tag for highlight.php is functionally equivalent to 9.15.1.0 and only exists to match the current version of the highlight.js project.
Version 9.15.1.0
Changes
- Ported over language definition, and stylesheet changes from the highlight.js 9.15.1 release. See the highlight.js 9.15.1 changelog for more details as to what changed.
Version 9.15.0.0
Changes
- Ported over language definition, and stylesheet changes from the highlight.js 9.15.0 release. See the highlight.js 9.15.0 changelog for more details as to what changed.
Version 9.14.2.0
Changes
- Ported over language definition, and stylesheet changes from the highlight.js 9.14.2 release. See the highlight.js 9.14.2 changelog for more details as to what changed.
Development
- Add new
DISABLE_WARN_EXCEPTIONS
environment variable to disable the functionality of casting PHP warnings into exceptions in the unit tests for this project preg_match()
warnings are now silenced and an exception is thrown instead- These warnings would only ever be triggered if a language definition had invalid regular expressions; this shouldn't have any side effects as language definitions maintained by the project should have valid regex anyways.
This change will affect you if you have written your own custom language definitions and you have invalid regex in them. Instead of anE_ERROR
orE_WARNING
, you'll get an exception now.
- These warnings would only ever be triggered if a language definition had invalid regular expressions; this shouldn't have any side effects as language definitions maintained by the project should have valid regex anyways.
Version 9.14.1.0
Changes
- Ported over language definition, and stylesheet changes from the highlight.js 9.14.1 release. See the highlight.js 9.14.1 changelog for more details as to what changed.
Version 9.14.0.0
Changes
- Ported over language definition, and stylesheet changes from the highlight.js 9.14.0 release. See the highlight.js 9.14.0 changelog for more details as to what changed.
Version 9.13.1.1
Thanks a lot to @assertchris for helping fix PHP 7.3 support! 🎉 The way references are handled in the language and the PCRE engine were changed, so this tag incorporates the necessary changes for this project to run on PHP 7.3. Support for PHP 5.4+ remains unchanged.
Changes
- Fix support for PHP 7.3 (#34)
Version 9.13.1.0
Changes
- Ported over core, language definition, and stylesheet changes from the highlight.js 9.13.1 release. See the highlight.js 9.13.1 changelog for more details as to what changed.
Development
- Added
composer test
script for quicker unit testing - Added
java
andshell
as known auto-detection test failures - Auto-detection test failures will now display relevance scores
Version 9.13.0.0
Changes
- Ported over core, language definition, and stylesheet changes from the highlight.js 9.13.0 release. See the highlight.js 9.13.0 changelog for more details as to what changed.
- A dependency on
ext-json
andext-mbstring
has been added tocomposer.json
. The dependency on these extensions has existed for years, it's just never been explicitly listed. This change should not have any adverse side effects.
Version 9.12.0.5
Changes
- Minor performance improvements during language registration (#26)
Development
- Configure Travis to run unit tests and style checks
- Add demo for how to use line numbers with the highlighted code