Skip to content

Releases: 68publishers/image-storage

v1.3.0

27 Jul 03:16
Compare
Choose a tag to compare

Added

  • [DX] Added Docker image for PHP 8.3.

Changed

  • Improved image persistence - if the source image has not really been modified, the original is used, thus avoiding the increase in filesize.
  • Methods LinkGeneratorInterface::srcSet() and ImageStorageInterface::srcSet() now returns an object of type SrcSet instead of a string.

Fixed

  • [DX] Fixed Imagick installations in Dockerfile.

v1.2.1

20 Mar 00:39
Compare
Choose a tag to compare

Changed

  • An image is now downloaded as a tmp file when the method ResourceFactory::createResourceFromFile() is called with a url. Thanks to that a file size can be detected.

v1.2.0

12 Mar 06:04
Compare
Choose a tag to compare

Changed

  • changed minimal version of 68publishers/file-storage to ^1.1.1
  • the original link is created when path info does not have any modifiers instead of throwing exception
  • updated PHP-Cs-Fixer configuration

v1.1.0

09 Aug 04:47
Compare
Choose a tag to compare

Added

  • added support for AVIF format
  • added support for animated WebP

v1.0.2

05 Jan 01:28
Compare
Choose a tag to compare

Fixed

  • fixed error Cannot set a default value when using InputOption::VALUE_NONE mode. in CleanCommandConfigurator

v1.0.1

05 Jan 01:04
Compare
Choose a tag to compare

Fixed

  • fixed route registration in the ImageStorageExtension (the option route)
  • fixed test ImagePersisterTest

v1.0.0

03 Jan 22:41
Compare
Choose a tag to compare

Version 1.0.0 🎉

Support

  • added support for PHP ^8.1 (PHP 7 not supported)
  • added support for Latte ^3.0 (Latte 2 not supported)

Changes

  • integrated with 68publishers/file-storage in the version ^1.0.0
  • added strict types for all properties
  • added return types for all methods
  • improved coding style
  • removed class AbstractImageServerPresenter
  • ImageServer presenter and routes are now automatically registered and configured in the application if the option route: yes is defined in the configuration for a storage
  • updated README

Development

  • added Dockerfile and docker-compose.yml with containers for all supported PHP versions
  • added tests
  • added Makefile
  • added GitHub actions
  • added PHPStan (level 8)

v0.5.8

20 Mar 16:52
Compare
Choose a tag to compare
Added Latte function `no_image()`

v0.5.7

04 Nov 23:24
Compare
Choose a tag to compare
Improved processing of animated GIFs

- an image iterator is reset to the first frame during an Imagick image initialization
- commands for all frames are now executed on the same `Image` instance but with moved cursor inside the Imagick instance

v0.5.6

02 Nov 02:05
Compare
Choose a tag to compare
Fixed presets usage

- removed strict return type from a method `PathInfoInterface::getModifiers()` (the method can returns null, an array or a string)
- added missing calling of a method `ModifierFacadeInterface::setPresets()` in a compiler extension `ImageStorageExtension`