Releases: buglinjo/laravel-webp
v3.1.0
What's Changed
- refactor: when getimagesize returns false then throw exception by @samuel-lujan in #37
- Suppress warning messages by
imagecreatefrompng()by @mokalovesoulmate in #38 - Laravel 12.x Compatibility by @laravel-shift in #39
New Contributors
- @samuel-lujan made their first contribution in #37
- @mokalovesoulmate made their first contribution in #38
Full Changelog: v3.0.1...v3.1.0
Small Bugfixes
Details:
Bug: CwebpShellExecutionFailed Exception Misconfiguration
- Issue: When transitioning to the
Processclass for shell execution, theCwebpShellExecutionFailedexception was not correctly configured to handle an array input, leading to improper error handling. - Fix: Updated the
CwebpShellExecutionFailedexception to properly expect and handle an array input, ensuring accurate error reporting and handling during theProcessexecution.
Utilizing CWebp with Laravel's Process Class
To ensure compatibility with the rewritten CWebp, which now utilizes the Laravel Process class, it is necessary to update the minimum required version of Laravel to 10. This change is essential because the Process class was introduced in Laravel 10, and setting this requirement helps avoid any breaking changes.
Full Changelog: v2.3.4...v3.0.0
Adding Laravel 11.x Compatibility
Fixed the bug with config overwrite
Config overwrite on composer update fixed
Adding Laravel 10.x Compatibility
v2.3.2 Bump dependencies for Laravel 10
Adding Config Tag Publisher
Fixes the issue when config file was not being published when using --tab=config flag.
Now both
php artisan vendor:publish --provider="Buglinjo\LaravelWebp\WebpServiceProvider"
and
php artisan vendor:publish --provider="Buglinjo\LaravelWebp\WebpServiceProvider" --tag=config
works correctly and publishes config file.
PHP GD Driver Support
New driver php-gd support added and cleaned up code.
To choose this driver, update default_driver in laravel-webp.php config file to php-gd instead of cwebp.
Note: it requires php-gd extension to be installed!
Laravel 9 Support
Merge pull request #20 from laravel-shift/l9-compatibility Laravel 9.x Compatibility
PHP 8 Support
Merge pull request #17 from abdallhsamy/master add php 8 support