Releases: vstelmakh/url-highlight
Releases · vstelmakh/url-highlight
v3.1.1
v3.1.0
Changelog:
- Improved userinfo matching in compliance with RFC 3986 Uniform Resource Identifier (URI): Generic Syntax
v3.0.3
v3.0.2
v3.0.1
v3.0.0
Changelog:
- Refactored HighlighterInterface to be more flexible [BC break]
- Refactored HtmlHighlighter to follow template method pattern (much easy to extend)
- Refactored MarkdownHighlighter to aware of HTML content (extends HtmlHighlighter)
- Added MatcherFactory and ReplacerFactory
v2.3.0
Changelog:
- Added PHP 8 compatibility
- Renamed class
VStelmakh\UrlHighlight\Matcher\Match
toUrlMatch
Since PHP v8.0
match
is a reserved keyword.
This will affect you if custom Validator or Highlighter implemented.
Consider expecting UrlMatch instead ofMatch
in your implementations.
v2.2.0
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