Skip to content

Releases: 68publishers/file-storage

v1.1.3

06 Aug 02:41
Compare
Choose a tag to compare

Added

  • Added support for psr/log:^2.0 and psr/log:^3.0.

v1.1.2

20 Mar 01:45
Compare
Choose a tag to compare

Fixed

  • Fixed Content-Type header parsing in ResourceFactory::getResourceFromUrl().

v1.1.1

12 Mar 04:30
Compare
Choose a tag to compare

Added

  • added method FileInfoInterface::toArray() (same output as FileInfoInterface::jsonSerialize())

v1.1.0

12 Mar 03:15
Compare
Choose a tag to compare

Added

  • added resource class StreamResource
  • added methods ResourceInterface::getMimeType() and ResourceInterface::getFilesize()

Changed

  • renamed method ResourceFactoryInterface::createResourceFromLocalFile() to ResourceFactoryInterface::createResourceFromFile()
  • ResourceFactory can now create a resource from a URL
  • changed PHP-Cs-Fixer configuration

Removed

  • removed resource class SimpleResource

Fixed

  • fixed unit tests

v1.0.0

29 Dec 15:01
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)
  • updated version of Symfony dependencies to ^5.4 || ^6.0

Changes

  • interfaces (and their implementors) PathInfoInterface and FileInfoInterface are now immutable
  • added strict types for all properties and
  • added return types for all methods
  • improved coding style
  • updated README

Development

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

v0.2.0

26 Dec 00:51
Compare
Choose a tag to compare

Changes

  • added support for PHP 8.1 only
  • refactored the code with PHP 8.1 features
  • improved config style
  • added PHPStan
  • added Dockerfile and docker-compose.yml with PHP 8.1
  • added Makefile
  • added GitHub Actions
  • updated README

v0.1.2

27 Oct 22:27
Compare
Choose a tag to compare
Fix: the method `Path::parse` returned a string `.` when an empty str…

…ing was passed as the argument

v0.1.1

28 Jan 19:34
Compare
Choose a tag to compare
Fixed whitespaces in README and return type declaration in Resource

v0.1

28 Jan 18:33
Compare
Choose a tag to compare

Initial release 🎉