Bugfixes of release 1.1.0
- FIX Convert stream to string before setting it to the filebody in S3StorageManager when downloading files
Allow to use cakephp 4.x instead only 4.1.x
Added support for S3 Compatible storage, Upload and download are now handling StorageManagers.
- ADD Support for S3 Compatible storage
- ADD new Component for Download files from storage
- ADD new
storage_typekey into configuration for components - ADD AWS SDK to requirements
- ADD
FileUpload\Exceptions\FileContentException - ADD
LocalStorageManagerandS3StorageManagerwhich handling upload and download files from storage - ADD New configuration for
S3client (for more informations check README) - ADD
StorageConfigInterface,StorageManagerInterfaceandStoredFileInterface - UPDATE Return type for
getFile()was changed to\FileUpload\File\StoredFileInterfacefrom\Psr\Http\Message\UploadedFileInterfaceWhich returning more informations about file - UPDATE
UploadComponent::getFile()from now can throwHttpExceptionin case there isNot supported storage typein configuration