Skip to content

Latest commit

 

History

History
152 lines (83 loc) · 3.29 KB

CHANGELOG.md

File metadata and controls

152 lines (83 loc) · 3.29 KB

Change Log

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.

v2.2.0 - 2022-11-24

Added

  • Add a new RESIZE setting to choose between imagecopyresized and imagecopyresampled

Changed

  • By default, thumbnails are now resized using imagecopyresampled. This does not affect existing cache.

v2.1.0 - 2021-05-08

Changed

  • Switch autoloading from PSR-0 to PSR-4 and remove src subfolder (no impact on lib's composer autoloading).
  • Switch CI from Travis to Github Actions.

v2.0.5 - 2021-03-27

Fixed

  • Fix boolean being passed to method isImageString expecting a string

v2.0.4 - 2021-02-22

Fixed

  • Instagram: include query parameters in thumbnail URL

v2.0.3 - 2020-09-29

Added

  • Compatibility with PHP 8.0.

v2.0.2 - 2020-09-29

Added

  • Compatibility with PHPUnit 9.x and phpunit/php-text-template v2.x

v2.0.1 - 2020-01-17

Fixed

  • Remote UT uses new LeMonde website image CDN
  • Catch exceptions even with custom handlers
  • Support file_get_contents() PHP 7.1 change with WebAccess URL downloader

v2.0.0 - 2019-08-10

Removed

  • Drop support for PHP 5.6 and PHP 7.0.

v1.3.1 - 2018-08-11

Removed

  • Remove PHP extension dependecies in composer.json to prevent docker multi stage build failure

v1.3.0 - 2018-08-11

Added

  • Add a setting to force Apache version for htaccess syntax

Fixed

  • PHPDocs improvements

Removed

  • Parameter PATH_TYPE has been removed
  • WebThumbnailer no longer try to resolve relative path to thumbnails, it now relies on provided path.cache setting

v1.2.1 - 2018-07-17

Fixed

  • Fix a issue where download_mode from JSON config has no effect

v1.2.0 - 2018-06-30

Added

  • Path type parameter, to retrieve either a relative or an absolute path to the thumbnail cache file
  • .htaccess files are now created in cache folders (denied for finder and granted for thumb)

Changed

  • The relative path to the thumbnail cache file is now retrieved using SCRIPT_FILENAME.

v1.1.3 - 2018-06-13

Fixed

  • Fix an issue with thumbs path with Apache alias where DOCUMENT_ROOT is not set properly

v1.1.2 - 2018-05-05

Added

  • Support redirection in cURL download callback

Fixed

  • Fix an issue preventing the relative path to work properly in a subfolder
  • Decode HTML entities on thumb urls (e.g. &)
  • Fixed an issue where an empty cache folder where created

v1.1.1 - 2018-05-01

Fixed

  • Fixed dev dependency

v1.1.0 - 2018-05-01

Warning: this release will invalidates existing cache.

Added

  • An exception is now thrown if PHP extension requirements are not satisfied.
  • CI:
    • Coverall PR check added
    • Scrutinizer PR check added
    • PHP CodeSniffer PSR-2 syntax is now run along unit tests

Changed

  • Image cache files are now stored as JPEG instead of PNG to save disk space.
  • Image cache domain folders are now stored using a hash instead of the raw domain name.

Fixed

  • Make Github ignore HTML test files for language detection.

v1.0.1 - 2017-11-27

First public release.

v1.0.0 - 2017-11-27

First release.