2.0.0-rc
Pre-release
Pre-release
Attention! There are backwards incompatible changes!
Now the commands are semantic.
Renamed methods:
interfaces\commands\HasAcl::setAcl($acl)→interfaces\commands\HasAcl::withAcl($acl)interfaces\commands\HasBucket::setBucket($bucket)→interfaces\commands\HasBucket::inBucket($name)DeleteCommand::setBucket($bucket)→DeleteCommand::inBucket($name)DeleteCommand::setFilename($filename)→DeleteCommand::byFilename($filename)DeleteCommand::setVersionId($versionId)→DeleteCommand::withVersionId($versionId)DeleteCommand::setOptions($options)→DeleteCommand::withOptions($options)DeleteCommand::setOption($name, $value)→DeleteCommand::withOption($name, $value)ExistCommand::setBucket($bucket)→ExistCommand::inBucket($name)ExistCommand::setFilename($bucket)→ExistCommand::byFilename($filename)ExistCommand::setOptions($options)→ExistCommand::withOptions($options)ExistCommand::setOption($name, $value)→ExistCommand::withOption($name, $value)GetCommand::setBucket($bucket)→GetCommand::inBucket($name)GetCommand::setFilename($filename)→GetCommand::byFilename($filename)GetCommand::setOptions($options)→GetCommand::withOptions($options)GetCommand::setOption($name, $value)→GetCommand::withOption($name, $value)GetPresignedUrlCommand::setBucket($bucket)→GetPresignedUrlCommand::inBucket($name)GetPresignedUrlCommand::setFilename($filename)→GetPresignedUrlCommand::byFilename($filename)GetPresignedUrlCommand::getExpires()→GetPresignedUrlCommand::getExpiration()GetPresignedUrlCommand::setExpires($expires)→GetPresignedUrlCommand::withExpiration($expiration)GetUrlCommand::setBucket($bucket)→GetUrlCommand::inBucket($name)GetUrlCommand::setFilename($filename)→GetUrlCommand::byFilename($filename)PutCommand::setBucket($bucket)→PutCommand::inBucket($name)PutCommand::setFilename($filename)→PutCommand::withFilename($filename)PutCommand::setAcl($acl)→PutCommand::withAcl($acl)PutCommand::setBody($body)→PutCommand::withBody($body)PutCommand::setMetadata($metadata)→PutCommand::withMetadata($metadata)PutCommand::setContentType($contentType)→PutCommand::withContentType($contentType)PutCommand::getExpires()→PutCommand::getExpiration()PutCommand::setExpires($expires)→PutCommand::withExpiration($expiration)PutCommand::setOptions($options)→PutCommand::withOptions($options)PutCommand::setOption($name, $value)→PutCommand::withOption($name, $value)RestoreCommand::setBucket($bucket)→RestoreCommand::inBucket($name)RestoreCommand::setFilename($filename)→RestoreCommand::byFilename($filename)RestoreCommand::getDays()→RestoreCommand::getLifetime()RestoreCommand::setDay($days)→RestoreCommand::withLifetime($days)RestoreCommand::setVersionId($versionId)→RestoreCommand::withVersionId($versionId)UploadCommand::setBucket($bucket)→UploadCommand::inBucket($name)UploadCommand::setFilename($filename)→UploadCommand::withFilename($filename)UploadCommand::setAcl($acl)→UploadCommand::withAcl($acl)UploadCommand::setSource($source)→UploadCommand::withSource($source)UploadCommand::setContentType($contentType)→UploadCommand::withContentType($contentType)UploadCommand::setContentDisposition($contentDisposition)→UploadCommand::withContentDisposition($contentDisposition)UploadCommand::setPartSize($partSize)→UploadCommand::withPartSize($partSize)UploadCommand::setConcurrency($concurrency)→UploadCommand::withConcurrency($concurrency)UploadCommand::setMupThreshold($mupThreshold)→UploadCommand::withMupThreshold($mupThreshold)
Added methods:
UploadCommand::getParam($name, $default = null)UploadCommand::withParam($name, $value)
Deleted methods:
UploadCommand::getParams()UploadCommand::setParams($params)