Changelog
All notable changes to Glide will be documented in this file.
3.0.0-RC1 - 2024-12-16
What’s Changed
- Use strict typing by @ADmad in https://github.com/thephpleague/glide/pull/404
- Add missing types by @ADmad in https://github.com/thephpleague/glide/pull/405
Full Changelog: https://github.com/thephpleague/glide/compare/3.0.0-beta2…3.0.0-RC1
3.0.0-beta2 - 2024-10-27
Due to change in intervention/image v3, image encoding is now a separate process and no longer a manipulator. Hence Mainpulator\Encode
has been removed.
What’s Changed
- 3.x-fix-quality by @nlemoine in https://github.com/thephpleague/glide/pull/397
- 3.x-use-xxh3 by @nlemoine in https://github.com/thephpleague/glide/pull/396
- Fully supports progressive JPGS and Interlaced images for 3.x by @konnng-dev in https://github.com/thephpleague/glide/pull/394
- Feat/progressive interlaced by @ADmad in https://github.com/thephpleague/glide/pull/399
- Optimize ImageInterface instance creation. by @ADmad in https://github.com/thephpleague/glide/pull/401
- Change default quality to 85. by @ADmad in https://github.com/thephpleague/glide/pull/402
- Add support for PHPUnit 11 by @ADmad in https://github.com/thephpleague/glide/pull/400
- Use phpstan by @ADmad in https://github.com/thephpleague/glide/pull/403
New Contributors
- @konnng-dev made their first contribution in https://github.com/thephpleague/glide/pull/394
Full Changelog: https://github.com/thephpleague/glide/compare/3.0.0-beta1…3.0.0-beta2
3.0.0-beta1 - 2024-02-05
intervention/image
v3 compatible release.
What’s Changed
- Add psalm baseline to .gitattributes by @VincentLanglet in https://github.com/thephpleague/glide/pull/373
- Update CI config. by @ADmad in https://github.com/thephpleague/glide/pull/376
- Upgrade to intervention/image 3 by @Art4 in https://github.com/thephpleague/glide/pull/380
- 3.x improve typing by @ADmad in https://github.com/thephpleague/glide/pull/381
- Add support HEIC image format by @ADmad in https://github.com/thephpleague/glide/pull/382
- Add docs for 3.0 by @ADmad in https://github.com/thephpleague/glide/pull/383
- Drop support for older dependency versions. by @ADmad in https://github.com/thephpleague/glide/pull/384
- Add ManipulatorInterface::getParam(). by @ADmad in https://github.com/thephpleague/glide/pull/386
- Cleanup code by @ADmad in https://github.com/thephpleague/glide/pull/388
- Fix interlacing by @ADmad in https://github.com/thephpleague/glide/pull/387
New Contributors
- @VincentLanglet made their first contribution in https://github.com/thephpleague/glide/pull/373
- @pxlrbt made their first contribution in https://github.com/thephpleague/glide/pull/375
- @Art4 made their first contribution in https://github.com/thephpleague/glide/pull/380
Full Changelog: https://github.com/thephpleague/glide/compare/2.3.0…3.0.0-beta1
2.3.0 - 2023-07-08
What’s Changed
- Custom path callable by @mlazze in https://github.com/thephpleague/glide/pull/282
- Cache path callable by @ADmad in https://github.com/thephpleague/glide/pull/370
New Contributors
- @mlazze made their first contribution in https://github.com/thephpleague/glide/pull/282
Full Changelog: https://github.com/thephpleague/glide/compare/2.2.4…2.3.0
2.2.4 - 2023-04-25
What’s Changed
- Fix build badge by @erikn69 in https://github.com/thephpleague/glide/pull/368
- Bump psr/http-message version by @erikn69 in https://github.com/thephpleague/glide/pull/367
Full Changelog: https://github.com/thephpleague/glide/compare/2.2.3…2.2.4
2.2.3 - 2023-02-14
What’s Changed
- Docs: Adjust default position of markpos by @jasonvarga in https://github.com/thephpleague/glide/pull/349
- Updates the docs regarding quality parameter by @freshleafmedia in https://github.com/thephpleague/glide/pull/351
- docs export ignore by @PaolaRuby in https://github.com/thephpleague/glide/pull/352
- Revert images in demo to 1.0 API by @joeworkman in https://github.com/thephpleague/glide/pull/355
- Break out the list of supported image formats by @Synchro in https://github.com/thephpleague/glide/pull/346
- Run testsuite on PHP 8.2 by @ADmad in https://github.com/thephpleague/glide/pull/357
- Fix: invalid img src attribute values by @BrandonOldenhof in https://github.com/thephpleague/glide/pull/365
- Do run resize operation on an image when crop zoom has changed by @ncla in https://github.com/thephpleague/glide/pull/363
New Contributors
- @freshleafmedia made their first contribution in https://github.com/thephpleague/glide/pull/351
- @PaolaRuby made their first contribution in https://github.com/thephpleague/glide/pull/352
- @joeworkman made their first contribution in https://github.com/thephpleague/glide/pull/355
- @BrandonOldenhof made their first contribution in https://github.com/thephpleague/glide/pull/365
Full Changelog: https://github.com/thephpleague/glide/compare/2.2.2…2.2.3
1.7.2 - 2023-02-14
What’s Changed
- [1.x] Do run resize operation on an image when crop zoom has changed by @ncla in https://github.com/thephpleague/glide/pull/364
Full Changelog: https://github.com/thephpleague/glide/compare/1.7.1…1.7.2
1.7.1 - 2022-04-27
What’s Changed
- [1.x] Fix PHP 8.1 deprecations by @erikn69 in https://github.com/thephpleague/glide/pull/350
New Contributors
- @erikn69 made their first contribution in https://github.com/thephpleague/glide/pull/350
Full Changelog: https://github.com/thephpleague/glide/compare/1.6.1…1.7.1
2.2.2 - 2022-02-21
What’s Changed
- Enable TIFF image format handling, fixes #344 by @Synchro in https://github.com/thephpleague/glide/pull/345
New Contributors
- @Synchro made their first contribution in https://github.com/thephpleague/glide/pull/345
Full Changelog: https://github.com/thephpleague/glide/compare/2.2.1…2.2.2
2.2.1 - 2022-01-14
What’s Changed
- allow league/flysystem v3 by @Nielsvanpach in https://github.com/thephpleague/glide/pull/340
New Contributors
- @Nielsvanpach made their first contribution in https://github.com/thephpleague/glide/pull/340
Full Changelog: https://github.com/thephpleague/glide/compare/2.2.0…2.2.1
2.2.0 - 2022-01-11
What’s Changed
- Add “fill-max” resizing option by @kjellknapen in https://github.com/thephpleague/glide/pull/332
New Contributors
- @kjellknapen made their first contribution in https://github.com/thephpleague/glide/pull/332
Full Changelog: https://github.com/thephpleague/glide/compare/2.1.1…2.2.0
2.1.1 - 2021-12-09
What’s Changed
- Fix PHP 8.1 deprecations by @bastien-phi in https://github.com/thephpleague/glide/pull/337
New Contributors
- @bastien-phi made their first contribution in https://github.com/thephpleague/glide/pull/337
Full Changelog: https://github.com/thephpleague/glide/compare/2.1.0…2.1.1
2.1.0 - 2021-10-26
- Add support for AVIF #333
1.6.1 - 2021-05-20
- Fix rounding issue #321
2.0.0 - Migrate to Flysystem 2 - 2021-03-04
This release is a major release: it may introduce Backward Compatibility issues in your project. Please be careful when you upgrade.
This release is mostly focused on migrating to Flysystem 2.0. It introduces a few BC breaks to use the new interfaces and abstractions but it should be quite straightforward to upgrade.
- BC break Migrate to Flysystem 2 (https://github.com/thephpleague/glide/pull/301)
- Fix rounding issue (https://github.com/thephpleague/glide/pull/310)
- Allow to configure the temporary directory used (https://github.com/thephpleague/glide/pull/304)
PHP 8 support - 2020-11-12
- Add support for PHP 8
Thanks @pascalbaljet !
1.6.0 - 2020-07-07
- Drop support for PHP 5.x.
- Set minimum requirement of PHP 7.2.
- Update dependencies.
Thanks @ADmad!
1.5.0 - 2019-04-03
- Added focal point zooming. Thanks Jason!
- Fixed an issue with deleting temp files. Thanks Barry!
- Dropped support for PHP 5.4.
1.4.0 - 2018-12-22
- Add WebP support. Thanks James!
1.3.0 - 2018-02-12
- Added new flip manipulation. Thanks James!
1.2.2 - 2017-05-09
- Fix issue with progressive JPEGs being saved as “.pjpg” when using extensions on cache filenames. Thanks Jason!
1.2.1 - 2017-01-19
- Fix issue where the source filename was being trimmed when it begins with the base URL. Thanks Jason!
1.2.0 - 2016-11-14
- Add ability to set the opacity of a watermark. Thanks Marek!
1.1.1 - 2016-11-14
- Fix bug with progressive jpeg encoding.
1.1.0 - 2016-08-19
- Add support for caching with file extensions. Thanks Jason!
1.0.1 - 2016-06-13
- Fix bug with stream rewinding caused by recent Flysystem changes. Thanks Jacob!
0.3.6 - 2016-01-25
- Add support for Symfony 3.x components.
1.0.0 - 2015-12-26
- Breaking: The
rect
parameter has been renamed tocrop
, and the previous crop modes have been added to thefit
parameter. See crop for more information. - Added default image manipulations.
- Added preset image manipulation groups.
- Added watermarking.
- Added pixel density (device pixel ratio).
- Added background colors.
- Added borders.
- Added crop focal point.
- Added new
fill
resize option. Thanks @jcarouth! - Added the ability to generate base64 images.
- Added ability to eager process images manipulations using. #72
- Added support for alternative response objects, including PSR-7. Thanks @simensen!
- Added progressive mode for JPEGs (
fm=pjpg
) to format parameter. - Added adapter libraries for easier framework specific integration, including Cake, Laravel, Slim, Symfony and Zend.
- Added the ability to delete cached images.
- Cached images are now grouped into folders by default. This can be disabled.
0.3.5 - 2015-05-22
- Fix bug with orientation not always working, due to EXIF data not being read. #47
0.3.4 - 2015-05-22
- Added the ability to use a
$path
/$params
combo when validating HTTP signatures. #41
0.3.3 - 2015-03-19
- Fix serious bug that prevented images from being resized. #45
- Bump
intervention/image
dependency to2.1
. #40 - Added PHP 7 support. #40
0.3.2 - 2015-02-26
- Added graceful handling of cache write failure due to already existent cache file caused by race condition. Thanks @kevin-thackorie! #38 #39
- Added note to README about security.
0.3.1 - 2015-02-02
- Fixed bug with URLs that contain spaces or other special characters. Thanks @jasonvarga! #33
0.3.0 - 2015-01-28
- Large refactor for improve code organization. Many classes moved and renamed.
- Changed
league/flysystem
dependency to version1.x
. Nice work @frankdejonge! - Responses will now return
304 Not Modified
on subsequent requests. #20 - Added new source path prefix option to
Server
, withsetSourcePathPrefix()
andgetSourcePathPrefix()
methods. #26 - Added new cache path prefix option to
Server
, withsetCachePathPrefix()
andgetCachePathPrefix()
methods. #26 - Added new
source_path_prefix
andcache_path_prefix
options toServerFactory
. #26 - Added new
FilesystemException\FilesystemException
exception, and additional file system checks. - Changed manipulators to return an instance of
Intervention\Image\Image
. This allows for more rigorous manipulations to occur. #25 - Updated output manipulator to use source format when format is not set or invalid. Previously this was set to
jpg
by default. #24 - Renamed server method
getSourceFilename()
togetSourcePath()
, andgetCacheFilename()
togetCachePath()
. - Removed
$baseUrl
parameter from theServer
constructor. UsesetBaseUrl()
method instead.
0.2.0 - 2015-01-08
- Removed
sign_key
option from theServer
class. For simplicity HTTP signatures are now configured and managed separately from the server. - Renamed
SignKey
toHttpSignature
. - Renamed
InvalidTokenException
toInvalidSignatureException
. - Added new
HttpSignature
interface, allowing for custom implementations. - Added new
HttpSignature
andUrlBuilder
factories. - Added new base URL option to server class.
0.1.1 - 2015-01-06
- Added new
cacheFileExists
andsourceFileExists
methods to server. - Updated
getCacheFilename
method to accept aRequest
object or$filename
,$params
combination.
0.1.0 - 2015-01-06
First release, woohoo!