All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support for async uploads with
Client::uploadAsync()
;
- Improve error message for HTTP 400 errors during uploads (#16);
- Support created/modified dates without microseconds on
info
andlist
; - FileInfo
__construct
signature;
- Checksum uploads in
Client::upload()
andClient::putContents()
. It can be disabled using thebool $withChecksum
parameter;
- Support for retrieving an object's metadata with
Client::info()
;
listFiles
now returns an array ofBunny\Storage\FileInfo
;delete
,download
,putContents
,upload
now returnvoid
;
- PHP 7.4 support;
- Support for directories in
Client::delete()
andClient::deleteMultiple()
;
- Support for download/upload content in memory with
Client::getContents()
andClient::putContents()
; - Support for deleting multiple files in parallel with
Client::deleteMultiple()
;
- Replaced
ext-curl
withguzzlehttp/guzzle
, which might use either cURL or PHP streams;
- Composer support;
- Strict types support;
- Minimum PHP version;
- Static analysis checks;