Skip to content

Releases: vstelmakh/url-highlight

v3.0.3

04 Nov 19:15
986c32c
Compare
Choose a tag to compare

Changelog:

  • Updated top level domain list to recent changes
  • Added CI build for PHP 8.3

v3.0.2

15 Jan 17:03
458f1af
Compare
Choose a tag to compare

Changelog:

  • Updated top level domain list to recent changes
  • Added CI build for PHP 8.2
  • Added declare strict types and corresponding sniffer rule

v3.0.1

14 Nov 16:23
7dffee7
Compare
Choose a tag to compare

Changelog:

  • Updated top level domain list to recent changes
  • Added CI build for PHP 8.1

v3.0.0

05 Nov 21:12
294fe9b
Compare
Choose a tag to compare

Changelog:

v2.3.0

24 Sep 14:01
9add94b
Compare
Choose a tag to compare

Changelog:

  • Added PHP 8 compatibility
  • Renamed class VStelmakh\UrlHighlight\Matcher\Match to UrlMatch

    Since PHP v8.0 match is a reserved keyword.
    This will affect you if custom Validator or Highlighter implemented.
    Consider expecting UrlMatch instead of Match in your implementations.

v2.2.0

04 Sep 15:05
bc22dfa
Compare
Choose a tag to compare

Changelog:

  • Fixed match complex urls with brackets (e.g. ELK urls)
  • Improved matcher performance (~3x faster)
  • Fixed html entity encoder regex builder (not all html entities were encoded)
  • Added fallback to encoded matcher to skip match if encoder not able to encode
  • Improved url match regex to cover more cases
  • Added match emails by default in validator

v2.1.0

28 Jul 15:09
cb2ee5d
Compare
Choose a tag to compare

Changelog:

  • Added html highlighter tag attributes
  • Added markdown highlighter

v2.0.0

19 May 20:49
fbd8ad1
Compare
Choose a tag to compare

Changelog:

  • Replaced array configuration by specific interfaces: Validator, Highlighter, Encoder [BC break]
  • Added support for html escaped input
  • Fixed html highlight when href for urls contains " (double quote)
  • Added changelog

v1.2.4

01 May 20:48
aab2639
Compare
Choose a tag to compare

Changelog:

  • Fixed match by host includes colon at the end (e.g. example.com: will not include colon anymore)

v1.2.3

04 Apr 18:48
8d3a3f7
Compare
Choose a tag to compare

Changelog:

  • Fixed match scheme without host (e.g. http:// will not match anymore)