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.9 - 2023-12-01
4.4.8 - 2023-05-22
4.4.7 - 2022-12-12
- Href attributes with
undefined
values #501, #502 - Deprecated warning for var interpolation in PHP 8.2 #506
- Prevent unsupported operand types exception #507
4.4.6 - 2022-10-02
- Some code issues detected by phpstan: #495, #496, #497, #498.
- Fix for quotation marks in redirect URL #499
4.4.5 - 2022-09-06
- Updated oembed endpoints #494
4.4.4 - 2022-04-13
- Error getting data from Linked data #481.
4.4.3 - 2022-03-13
- PHP 8.1 deprecation notice #480.
4.4.2 - 2022-02-13
- Options to customize the CurlClient to perform http queries #474.
4.4.1 - 2022-02-06
- PHP 8.1 deprecation notice #473.
4.4.0 - 2022-01-08
4.3.5 - 2021-10-10
- Fixed a possible XML Quadratic Blowup vulnerability.
4.3.4 - 2021-06-22
- Urls of images should include the same url for the
$info->image
value. #452
4.3.3 - 2021-06-22
4.3.2 - 2021-04-04
- 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
- 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
- New function
$embed->setSettings()
to pass the settings before get the site info
4.2.7 - 2020-09-23
- New option
twitch:parent
to fix Twitch embed with iframes #384
- Added
datePublished
check toPublishedTime
extractor #385 #386 - Added
@property-read
for IDE suppport #387 #388
4.2.6 - 2020-08-28
- Code width and height when the provided value is not numeric (ex: 100%) #380
4.2.5 - 2020-08-01
- Github TypeError exception with some urls #375
4.2.4 - 2020-07-06
- Ignore invalid urls instead throw an exception
- Updated oembed list of endpoints
4.2.3 - 2020-06-12
- Suppport for other non-latin alphabets such Persian or Arabic #366
4.2.2 - 2020-05-31
- Provided a fallback for oEmbed compatible sites like Instagram that redirects to login page #357
4.2.1 - 2020-05-25
- Redirect urls like
t.co
.
4.2.0 - 2020-05-23
- Added the
ignored_errors
settings to ignore some curls errors instead throw an exception #355 - Support for Twitch embeds #332
- Ignored linkedData errors #356
4.1.1 - 2020-04-24
- Updated oembed endpoints from
oembed.com
- Add support for tiktok.com
4.1.0 - 2020-04-19
- Ability to send settings to
CurlClient
. Added thecookies_path
setting to customize the file used for cookies. #345 Document::selectCss()
function to select elements using css selectors instead xpath (it requiressymfony/css-selector
)Document::removeCss()
function to remove elements using css selectors instead xpath (it requiressymfony/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.
- Support for multiple parallel request with
curl_multi
- Support for PSR-7 Http Messages, PSR-17 Http Factories and PSR-18 Http Client
cms
valuelanguage
to detect the page languagelanguages
to detect urls to versions in different languagesfavicon
to detect small favicons (16 or 32px)icon
to detect big icons (from 48px)
- Changed providers (oEmbed, Html, OpenGraph etc) by independent detectors (title, url, language etc).
- The
tags
value is renamed tokeywords
- Use Psr standards instead custom interfaces.
- Improved tests using cached responses.
- Support for PHP<7.4
type
value (is was very confusing)images
valueproviderImage
(usefavicon
oricon
instead)- Support for files (pdf, jpg, video, etc).