Skip to content

Releases: j0k3r/graby

2.1.1

23 Jan 09:03
6b3e53b
Compare
Choose a tag to compare
  • Lock to PHPUnit 7 #220
  • Handle meta refresh url when attributes are reversed #221

2.1.0

12 Nov 15:21
8dcacf7
Compare
Choose a tag to compare

Graby got a logo!

🎉 Thanks to @caneco, Graby has a logo! 🎉

Formatted date

This release include a fix for date. Before, we validated a date and if the date wasn't valid, we return null. Now, if the date is valid, we return it as a W3C formatted date: Y-m-d\TH:i:sP.

List of PR merged

  • Fix tests #213
  • Fix typo #215
  • Convert date to a known format #216
  • Add brand new logo to the project #214
  • JSON LD multiple authors #218
  • Improve readme with logo & credits #217

2.0.2

25 Jul 10:53
5ed35e8
Compare
Choose a tag to compare
  • Enable inferPrivatePropertyTypeFromConstructor on PHPStan #208
  • Add data-srcset as lazyload attributes #209

2.0.1

27 Jun 20:30
da49da0
Compare
Choose a tag to compare
  • Applied some changes from Full-Text RSS #206
  • Change the way to merge config for find & replace string #207

2.0.0

23 May 07:16
e09fa58
Compare
Choose a tag to compare

✨ Major changes ✨

The 2.0 started almost 2 years ago on an initiative of @aaa2000 👏 to add support for HTTPlug.

The 1.x was coupled to Guzzle 5 which is quite old now and some people started to complain about how coupled it was. It was obvious that the best solution was to switch to HTTPlug to let the final user decide which HTTP client to use.

The 2.0.0 is tested using these clients:

  • Guzzle 6
  • Guzzle 5
  • cURL

There are many more available HTTP client which should work too.

Other changes are:

  • dropping support PHP < 7.1
  • Tidy extension is now required
  • enable PHPStan level 7
  • open graph & json-ld are fetched first, information from the html overide them

If you want to upgrade, follow these steps.

Finally, huge thanks to @aaa2000 to have started the work 2 years ago. Also thanks to @jtojnar for helping me on that release.

1.20.1

22 May 11:53
c1fe002
Compare
Choose a tag to compare
  • Logger infos added for JsonLd parsing #203

1.20.0

11 May 20:46
c7fcea0
Compare
Choose a tag to compare
  • Fix tests on multipage (clubic) #202
  • Add support of referrerpolicy for img tags #201

1.19.1

13 Feb 14:10
6c1506f
Compare
Choose a tag to compare
  • Rework JsonLd extraction: ignore some objects and some names #196

2.0.0-alpha.0

06 Feb 14:39
42f298a
Compare
Choose a tag to compare
2.0.0-alpha.0 Pre-release
Pre-release

That 2.0 is using HTTPlug 1.0 which means you can use any HTTP client implementation from it.
Also, this is the latest version supporting PHP 5.

The final 2.0.0 will use HTTPlug 2.0 and required PHP >= 7.1.

1.19.0

22 Jan 15:45
c9e85d2
Compare
Choose a tag to compare
  • Handle "if_page_contains" for "next_page_link" #193