Url highlight v3.0.0 Release Notes
Release Date: 2020-11-05 // almost 4 years ago-
๐ 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
- Refactored HighlighterInterface to be more flexible [BC break]
Previous changes from 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.