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.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
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).