Skip to content

Releases: j0k3r/php-readability

1.2.10

13 Jun 05:33
5638357
Compare
Choose a tag to compare

What's Changed

  • Using assertSame to make assertion equal strict by @peter279k in #68
  • Strip script and style tags through ::clean() method instead of preg_replace by @Kdecherf in #74

New Contributors

Full Changelog: 1.2.9...1.2.10

2.0.0

17 Feb 08:13
0c0653d
Compare
Choose a tag to compare

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 to init() 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

Full Changelog: 1.2.9...2.0.0

1.2.9

29 Nov 20:07
c506b7e
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.2.8...1.2.9

1.2.8

02 Nov 12:44
8ce1663
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.2.7...1.2.8

1.2.7

09 Mar 10:18
9a490fa
Compare
Choose a tag to compare
  • Body can be wiped without tidy #62
  • Skip empty (empty innerHTML) nodes when grabbing article #52

1.2.6

07 Dec 20:56
9632c4d
Compare
Choose a tag to compare
  • Enable tests for PHP 8 #58
  • Readability: stop tidy from wrapping noscript text #60
  • Ditch Travis to use GitHub Actions #61

1.2.5

08 Jun 06:05
3fa8846
Compare
Choose a tag to compare

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:

  • Fix PHPStan (again) #54
  • Cleanup travis #55
  • Use a new deps for HTML5 parser #57

1.2.4

25 Jun 15:16
9306996
Compare
Choose a tag to compare
  • Add openload.co to media detection #53

1.2.3

11 May 20:08
f808c1b
Compare
Choose a tag to compare
  • Fix “A non well formed numeric value encountered” #50

1.2.2

23 Apr 09:12
de1b1d9
Compare
Choose a tag to compare
  • \bout removed from negative content #48