This repository has been archived by the owner on May 8, 2024. It is now read-only.
Storage Client Library 0.15.0
Pre-release
Pre-release
2017.04 - version 0.15.0
All
- Removed
setRequestOptions
for service options, instead, addedmiddlewares
,middlewareStack
,numberOfConcurrency
,isStreaming
,locationMode
anddecodeContent
for user to specify the corresponding options. - Added
MicrosoftAzure\Storage\Common\Middlewares\RetryMiddleware
to support retry from secondary endpoint. Advice to use this instead of Guzzle's retry middleware for secondary endpoint retry support. - By setting
$locationMode
inMicrosoftAzure\Storage\Common\Models\ServiceOptions
, user can perform read operations from secondary endpoint. - Added support for user to use proxies. If
HTTP_PROXY
is set as a system variable, the proxy specified with it will be used for HTTP connections. - Removed
MicrosoftAzure\Storage\Common\Models\ServiceProperties::getMetrics
andMicrosoftAzure\Storage\Common\Models\ServiceProperties::setMetrics
. Added following methods to access hour metrics and minute metrics.
MicrosoftAzure\Storage\Common\Models\ServiceProperties::getHourMetrics
MicrosoftAzure\Storage\Common\Models\ServiceProperties::setHourMetrics
MicrosoftAzure\Storage\Common\Models\ServiceProperties::getMinuteMetrics
MicrosoftAzure\Storage\Common\Models\ServiceProperties::setMinuteMetrics
Blob
-
Access condition feature parity:
- Single
AccessCondition
has been changed to multipleAccessCondition
for the options which support access conditions. - Added
appendPosition
,maxBlobSize
,ifSequenceNumberLessThan
,ifSequenceNumberEqual
andifSequenceNumberLessThanOrEqual
toAccessCondition
class. - Added access conditions support for
getContainerProperties
,setContainerProperties
,getContainerMetadata
andsetContainerMetadata
.
- Single
-
Copy blob feature parity:
- Added new API
abortCopy
. - Added
setIncludeCopy
toListBlobsOptions
to support getting copy state information when listing blobs. - Added properties and getters/setters for
CopyId
andCopyStatus
toCopyBlobResult
class.
- Added new API
-
Lease feature parity
- Added lease support for
getContainerProperties
,setContainerProperties
,getContainerMetadata
,setContainerMetadata
anddeleteContainer
. - Renamed
LeaseBlobResult
toLeaseResult
to support container and blob lease. - Added container lease support - passing
null
to$blob
parameter of the lease related APIs. - Added new parameters
$proposedLeaseId
and$leaseDuration
toacquireLease
API and changed the$options
parameter fromAcquireLeaseOptions
toBlobServiceOptions
. - Added the API
changeLease
to support changing lease. - Added new parameter
$breakPeriod
tobreakLease
API and removed the$leaseId
parameter. - Added properties and getters/setters for
LeaseStatus
,LeaseState
andLeaseDuration
toContainerProperties
class.
- Added lease support for
-
Container/Blob properties feature parity:
- Added properties and getters/setters for
ContentDisposition
,LeaseState
,LeaseDuration
andCopyState
toBlobProperties
class.
- Added properties and getters/setters for
-
Refactored Options class:
- Exracted
getLeaseId
,setLeaseId
,getAccessConditions
andsetAccessConditions
to the base options classBlobServiceOptions
. - Refactored the
CreateBlobOptions
,CommitBlobBlocksOptions
class to remove duplicate options and standardize the content settings related properties likeContentType
,ContentMD5
,ContentEncoding
,ContentLanguage
,CacheControl
andContentDisposition
.
- Exracted
-
Blob service properties feature parity:
- Added
getDefaultServiceVersion
,setDefaultServiceVersion
,getMinuteMetrics
andsetMinuteMetrics
toServiceProperties
class.
- Added
-
Changed the return type of API
commitBlobBlocks
fromvoid
toPutBlobResult
. -
Removed the useless API
ctrCrypt
fromUtilities
class. -
Added
getServiceStats
andgetServiceStatsAsync
for user to request service statistics from the server's secondary endpoint.
Table
- Removed
MicrosoftAzure\Storage\Table\Models\BatchError
. When batch operation fails, exception is thrown immediately instead. - Added
getServiceStats
andgetServiceStatsAsync
for user to request service statistics from the server's secondary endpoint.
Queue
- Added
getServiceStats
andgetServiceStatsAsync
for user to request service statistics from the server's secondary endpoint.