Skip to content

Latest commit

 

History

History
211 lines (176 loc) · 7.92 KB

CHANGELOG.md

File metadata and controls

211 lines (176 loc) · 7.92 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

4.4.4 - 2022-04-13

Fixed

  • Error getting data from Linked data #481.

4.4.3 - 2022-03-13

Fixed

  • PHP 8.1 deprecation notice #480.

4.4.2 - 2022-02-13

Added

  • Options to customize the CurlClient to perform http queries #474.

4.4.1 - 2022-02-06

Fixed

  • PHP 8.1 deprecation notice #473.

4.4.0 - 2022-01-08

Added

  • New settings option twitter:token to use Twitter API to get the data #364 #468.

Fixed

  • Headers not sent properly by curl #466, #467.

4.3.5 - 2021-10-10

Fixed

  • Updated oEmbed endpoints
  • Fixed embed code for Instagram #456, #459

Security

  • Fixed a possible XML Quadratic Blowup vulnerability.

4.3.4 - 2021-06-22

Fixed

  • Urls of images should include the same url for the $info->image value. #452

4.3.3 - 2021-06-22

Fixed

  • Facebook embed redirects to /login. #450, #451

4.3.2 - 2021-04-04

Fixed

  • Add configured oEmbed query parameters to all oEmbed endpoints #437
  • Updated oEmbed endpoints.
  • Replaced Travis with Github workflows for testing

4.3.1 - 2021-03-21

Added

  • Support for binary files (video, audio, images, etc) #412 #413

Fixed

  • Oembed for facebook photos #405 #406
  • Oembed for facebook videos #432 #433
  • Added more ways to detect data using meta tags #427
  • Bandcamp provider name #429 #430

4.3.0 - 2020-11-04

Added

  • New function $embed->setSettings() to pass the settings before get the site info

Fixed

  • PHP 8 compatibility #394
  • Facebook and Instagram adapted to the new API changes #392 #399

4.2.7 - 2020-09-23

Added

  • New option twitch:parent to fix Twitch embed with iframes #384

Fixed

  • Added datePublished check to PublishedTime extractor #385 #386
  • Added @property-read for IDE suppport #387 #388

4.2.6 - 2020-08-28

Fixed

  • Code width and height when the provided value is not numeric (ex: 100%) #380

4.2.5 - 2020-08-01

Fixed

  • Github TypeError exception with some urls #375

4.2.4 - 2020-07-06

Fixed

  • Ignore invalid urls instead throw an exception
  • Updated oembed list of endpoints

4.2.3 - 2020-06-12

Fixed

  • Suppport for other non-latin alphabets such Persian or Arabic #366

4.2.2 - 2020-05-31

Fixed

  • Provided a fallback for oEmbed compatible sites like Instagram that redirects to login page #357

4.2.1 - 2020-05-25

Fixed

  • Redirect urls like t.co.

4.2.0 - 2020-05-23

Added

  • Added the ignored_errors settings to ignore some curls errors instead throw an exception #355
  • Support for Twitch embeds #332

Fixed

  • Ignored linkedData errors #356

4.1.1 - 2020-04-24

Added

  • Updated oembed endpoints from oembed.com
  • Add support for tiktok.com

4.1.0 - 2020-04-19

Added

  • Ability to send settings to CurlClient. Added the cookies_path setting to customize the file used for cookies. #345
  • Document::selectCss() function to select elements using css selectors instead xpath (it requires symfony/css-selector)
  • Document::removeCss() function to remove elements using css selectors instead xpath (it requires symfony/css-selector)
  • Ability to configure OEmbed parameters from the outside using the oembed:query_parameters setting #346

4.0.0 - 2020-03-13

Full library refactoring.

Added

  • Support for multiple parallel request with curl_multi
  • Support for PSR-7 Http Messages, PSR-17 Http Factories and PSR-18 Http Client
  • cms value
  • language to detect the page language
  • languages to detect urls to versions in different languages
  • favicon to detect small favicons (16 or 32px)
  • icon to detect big icons (from 48px)

Changed

  • Changed providers (oEmbed, Html, OpenGraph etc) by independent detectors (title, url, language etc).
  • The tags value is renamed to keywords
  • Use Psr standards instead custom interfaces.
  • Improved tests using cached responses.

Removed

  • Support for PHP<7.4
  • type value (is was very confusing)
  • images value
  • providerImage (use favicon or icon instead)
  • Support for files (pdf, jpg, video, etc).