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.
- Add a new
RESIZE
setting to choose betweenimagecopyresized
andimagecopyresampled
- By default, thumbnails are now resized using
imagecopyresampled
. This does not affect existing cache.
- 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.
- Fix boolean being passed to method isImageString expecting a string
- Instagram: include query parameters in thumbnail URL
- Compatibility with PHP 8.0.
- Compatibility with PHPUnit 9.x and phpunit/php-text-template v2.x
- 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
- Drop support for PHP 5.6 and PHP 7.0.
- Remove PHP extension dependecies in
composer.json
to prevent docker multi stage build failure
- Add a setting to force Apache version for htaccess syntax
- PHPDocs improvements
- Parameter
PATH_TYPE
has been removed - WebThumbnailer no longer try to resolve relative path to thumbnails, it now relies on provided
path.cache
setting
- Fix a issue where download_mode from JSON config has no effect
- 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 forfinder
and granted forthumb
)
- The relative path to the thumbnail cache file is now retrieved using
SCRIPT_FILENAME
.
- Fix an issue with thumbs path with Apache alias where DOCUMENT_ROOT is not set properly
- Support redirection in cURL download callback
- 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
- Fixed dev dependency
Warning: this release will invalidates existing cache.
- 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
- 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.
- Make Github ignore HTML test files for language detection.
First public release.
First release.