Skip to content

Releases: scrivo/highlight.php

Version 9.15.6.0

06 Mar 07:57
5b5fc5e
Compare
Choose a tag to compare

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

06 Mar 07:51
Compare
Choose a tag to compare

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

06 Mar 07:50
Compare
Choose a tag to compare

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

08 Feb 06:02
4f76c84
Compare
Choose a tag to compare

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 an E_ERROR or E_WARNING, you'll get an exception now.

Version 9.14.1.0

08 Feb 05:53
Compare
Choose a tag to compare

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

08 Feb 05:52
Compare
Choose a tag to compare

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

15 Jan 05:59
Compare
Choose a tag to compare

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

23 Nov 02:18
e453ed4
Compare
Choose a tag to compare

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 and shell as known auto-detection test failures
  • Auto-detection test failures will now display relevance scores

Version 9.13.0.0

23 Nov 02:17
Compare
Choose a tag to compare

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 and ext-mbstring has been added to composer.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

24 Aug 15:59
Compare
Choose a tag to compare

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