Skip to content

Releases: j0k3r/php-readability

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

1.2.1

07 Feb 15:09
3c0289b
Compare
Choose a tag to compare
  • Enable PHPStan #46

1.2.0

04 Feb 10:35
6a0f333
Compare
Choose a tag to compare

⚠️ Drop PHP < 5.6 support (it's about time..)

Other changes are related to the way we use Tidy (:kissing_closed_eyes: @Kdecherf):

  • tidy: use tidy_repair_string instead of tidy_parse_string+tidy_clean_repair #42

Other small changes:

  • tests: fix possible typo in testPostFilters() leading to failure #36
  • Composer bump, php-cs bump to v2, travis update #43
  • Update path to coveralls bin #44
  • Update fixer rules #45

1.1.11

26 Nov 15:55
eef6d6d
Compare
Choose a tag to compare
  • Giphy added to allowed medias #40
  • Updating to support 7.2 #41

1.1.10

05 Jun 11:56
ed3393a
Compare
Choose a tag to compare
  • Fix PHP 5.3 builds #35
  • Keep elements with 'footnote' as possible candidates #37
  • Media class added to positive candidates #38