This repository was 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
setRequestOptionsfor service options, instead, addedmiddlewares,middlewareStack,numberOfConcurrency,isStreaming,locationModeanddecodeContentfor user to specify the corresponding options. - Added
MicrosoftAzure\Storage\Common\Middlewares\RetryMiddlewareto support retry from secondary endpoint. Advice to use this instead of Guzzle's retry middleware for secondary endpoint retry support. - By setting
$locationModeinMicrosoftAzure\Storage\Common\Models\ServiceOptions, user can perform read operations from secondary endpoint. - Added support for user to use proxies. If
HTTP_PROXYis set as a system variable, the proxy specified with it will be used for HTTP connections. - Removed
MicrosoftAzure\Storage\Common\Models\ServiceProperties::getMetricsandMicrosoftAzure\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
AccessConditionhas been changed to multipleAccessConditionfor the options which support access conditions. - Added
appendPosition,maxBlobSize,ifSequenceNumberLessThan,ifSequenceNumberEqualandifSequenceNumberLessThanOrEqualtoAccessConditionclass. - Added access conditions support for
getContainerProperties,setContainerProperties,getContainerMetadataandsetContainerMetadata.
- Single
-
Copy blob feature parity:
- Added new API
abortCopy. - Added
setIncludeCopytoListBlobsOptionsto support getting copy state information when listing blobs. - Added properties and getters/setters for
CopyIdandCopyStatustoCopyBlobResultclass.
- Added new API
-
Lease feature parity
- Added lease support for
getContainerProperties,setContainerProperties,getContainerMetadata,setContainerMetadataanddeleteContainer. - Renamed
LeaseBlobResulttoLeaseResultto support container and blob lease. - Added container lease support - passing
nullto$blobparameter of the lease related APIs. - Added new parameters
$proposedLeaseIdand$leaseDurationtoacquireLeaseAPI and changed the$optionsparameter fromAcquireLeaseOptionstoBlobServiceOptions. - Added the API
changeLeaseto support changing lease. - Added new parameter
$breakPeriodtobreakLeaseAPI and removed the$leaseIdparameter. - Added properties and getters/setters for
LeaseStatus,LeaseStateandLeaseDurationtoContainerPropertiesclass.
- Added lease support for
-
Container/Blob properties feature parity:
- Added properties and getters/setters for
ContentDisposition,LeaseState,LeaseDurationandCopyStatetoBlobPropertiesclass.
- Added properties and getters/setters for
-
Refactored Options class:
- Exracted
getLeaseId,setLeaseId,getAccessConditionsandsetAccessConditionsto the base options classBlobServiceOptions. - Refactored the
CreateBlobOptions,CommitBlobBlocksOptionsclass to remove duplicate options and standardize the content settings related properties likeContentType,ContentMD5,ContentEncoding,ContentLanguage,CacheControlandContentDisposition.
- Exracted
-
Blob service properties feature parity:
- Added
getDefaultServiceVersion,setDefaultServiceVersion,getMinuteMetricsandsetMinuteMetricstoServicePropertiesclass.
- Added
-
Changed the return type of API
commitBlobBlocksfromvoidtoPutBlobResult. -
Removed the useless API
ctrCryptfromUtilitiesclass. -
Added
getServiceStatsandgetServiceStatsAsyncfor 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
getServiceStatsandgetServiceStatsAsyncfor user to request service statistics from the server's secondary endpoint.
Queue
- Added
getServiceStatsandgetServiceStatsAsyncfor user to request service statistics from the server's secondary endpoint.