Skip to content

Releases: php-embed/Embed

3.0.7

26 Apr 19:38
Compare
Choose a tag to compare

3.0.6

10 Apr 19:04
Compare
Choose a tag to compare
  • Removed thematic.co because it has shutted down
  • Removed video.mit.edu because it redirects to youtube
  • Improved error messages in the InvalidUrlException
  • Used a SSL cert with sites failing with disabled CURLOPT_SSL_VERIFYPEER
  • Improved feeds extraction #199

3.0.5

12 Feb 22:05
Compare
Choose a tag to compare
  • Fixed some bugs related with the user agent. Now, the default user agent used is Embed PHP library and if the response is 403, retry again with a more realistic user agent.
  • Fixed urls with encoded chars
  • Do not use phpunit 6.0 for testing

3.0.4

28 Jan 10:46
Compare
Choose a tag to compare
  • Changed the default user agent header to fix bugs in serveral sites relying in this header #191
  • Use the header Accept: text/html to fetch content to avoid a redirect in imageshack.com
  • Fixed a UTF-8 encoding bug in some sites #190
  • Fixed spotify oembed
  • Ignore errors using iconv to convert strings to UTF-8

3.0.3

26 Jan 20:41
Compare
Choose a tag to compare
  • Improved authorUrl in twitterCards provider, generating the url using the username
  • Improved html provider, detecting article:* meta tags.
  • Restored autoload.php file #182 #187
  • Fixed embeds of twitter and gist #188

3.0.2

19 Jan 18:51
Compare
Choose a tag to compare
  • Improved charset support #180
  • Added __isset() magic method (fixes #181)

3.0.1

11 Jan 20:36
Compare
Choose a tag to compare
  • Fixed choose_bigger_image option #178
  • Fixed the demo page that contains a call to an undefined method
  • Fixed some tests.

3.0.0

19 Dec 22:44
Compare
Choose a tag to compare

New major version with some breaking changes

  • Drop support for php 5.4
  • Removed$info->source and replaced by $info->feeds that returns an array of rss/atom feeds
  • Removed Embed::createSource() and all Embed\Sources\* classes
  • Removed the support for Guzzle 5
  • Changed the options array to a more simple structure.
  • Removed the Embed\RequestResolvers\* and Embed\ImageInfo\* classes and replaced by an unique Embed\Http\DispatcherInterface.
  • Improved speed avoiding some useless requests
  • Most code has been refactored to be more simple and clear.

2.7.7

07 Oct 18:32
Compare
Choose a tag to compare
  • Added support for cadenaser.com
  • Make temporary cookies file name unique #167
  • Added tests for php7.1 and remove hhvm

2.7.6

01 Sep 15:41
Compare
Choose a tag to compare
  • Fixed demo page on use unencoded urls
  • Html provider use author and contributors meta tags to get the authorName
  • Fixed opengraph canonical url pointing to homepage #160
  • Added support for amcharts.com #163