Releases: j0k3r/php-readability
Releases · j0k3r/php-readability
1.2.10
What's Changed
- Using assertSame to make assertion equal strict by @peter279k in #68
- Strip script and style tags through
::clean()
method instead ofpreg_replace
by @Kdecherf in #74
New Contributors
- @peter279k made their first contribution in #68
Full Changelog: 1.2.9...1.2.10
2.0.0
What could be a BC
- The lib now require PHP >= 7.2
loadHtml()
was originally called in__construct
avoiding ability to use a proper logger (because it's defined after), see #59. The method has now moved toinit()
to fix that.- The lib is now in sync with mozilla/readability
What's Changed
- Using assertSame to make assertion equal strict by @peter279k in #68
- Require PHP >= 7.2 by @j0k3r in #69
- Improvements / backports from mozilla/readability by @Kdecherf in #64
- Add Rector by @j0k3r in #71
- Fix
isPhrasingContent
conditions, text node replacement by @Kdecherf in #73
New Contributors
- @peter279k made their first contribution in #68
Full Changelog: 1.2.9...2.0.0
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
The main change is related to the drop of electrolinux/php-html5lib (which was quite old and incompatible with the upcoming Composer 2.0) in flavor to masterminds/html5 (which is still maintained, compatible with Composer 2.0 and already used by Symfony).
That replacement should be transparent but if you find an issue, don't hesitate to report them.
Also, the HTML5 parser wasn't the one defined by default, so if you never forced the parser
option, you won't notice any changes.
PRs merged: