This repository has been archived by the owner on May 8, 2024. It is now read-only.
Releases: Azure/azure-storage-php
Releases · Azure/azure-storage-php
Storage Client Library 0.14.0
2017.04 - version 0.14.0
ALL
- Improved the documentation.
- Restructured the classes based on their intended functionality and visiblity. The changes includes:
MicrosoftAzure\Storage\Common\Internal\InvalidArgumentTypeException
was moved toMicrosoftAzure\Storage\Common\Exceptions\InvalidArgumentTypeException
MicrosoftAzure\Storage\Common\ServiceException
was moved toMicrosoftAzure\Storage\Exceptions\ServiceException
MicrosoftAzure\Storage\Common\Internal\HttpFormatter
was moved toMicrosoftAzure\Storage\Common\Internal\Http\HttpFormatter
MicrosoftAzure\Storage\Common\ServiceOptionsBase
was moved toMicrosoftAzure\Storage\Common\Internal\ServiceOptionsBase
MicrosoftAzure\Storage\Common\Internal\Logger
was moved toMicrosoftAzure\Storage\Common\Logger
MicrosoftAzure\Storage\Common\Internal\Middlewares\HistoryMiddleware
was moved toMicrosoftAzure\Storage\Common\Middlewares\HistoryMiddleware
MicrosoftAzure\Storage\Common\Internal\IMiddleware
was moved toMicrosoftAzure\Storage\Common\Middlewares\IMiddleware
MicrosoftAzure\Storage\Common\Internal\Middlewares\MiddlewareBase
was moved toMicrosoftAzure\Storage\Common\Middlewares\MiddlewareBase
MicrosoftAzure\Storage\Common\Internal\RetryMiddlewareFactory
was moved toMicrosoftAzure\Storage\Common\Middlewares\RetryMiddlewareFactory
- Added Cross-Origin Resource Sharing (CORS) support. Now setting service properties can set CORS rules at the same time.
- Added support for account-level Shared Access Signature generation.
- Resolved an error reported from some IDEs about the phpcs.xml.
- Fixed multiple test issues.
Blob
- Added API
createPageBlobFromContent
to support creating page blob directly from contents which includes local file, stream, etc... - Added support for append blob.
- Added support for Container ACL.
Queue
- Added support for Queue ACL.
Table
- Added support for Table ACL.
- Fixed an issue that user could not set entity type to be double and integer as a value for PHP 7
Storage Client Library 0.13.0
2017.02 - version 0.13.0
ALL
- The
ServiceException
now provides more detailed information about the request ID and date parsed from the error response. - Changed the setters in the following class from public to protected to avoid possible misuse of the data structure.
MicrosoftAzure\Storage\Common\Models\GetServicePropertiesResult
- Removed version tags in each of the files.
- Added support for the SDK to access Azure Storage Emulator.
- Introduced full support for middlewares. The usage manual can be found in README.md.
- Turned on the verification of SSL certificate issuer in the client options.
Blob
- Applied a more robust fix for the issue where
createBlockBlob
would fail for some files with size larger than 1MB and smaller than 32MB. - Changed the setters in the following classes from public to protected to avoid possible misuse of the data structure.
MicrosoftAzure\Storage\Blob\Models\BreakLeaseResult MicrosoftAzure\Storage\Blob\Models\CopyBlobResult MicrosoftAzure\Storage\Blob\Models\CreateBlobPagesResult MicrosoftAzure\Storage\Blob\Models\CreateBlobSnapshotResult MicrosoftAzure\Storage\Blob\Models\GetBlobMetadataResult MicrosoftAzure\Storage\Blob\Models\GetBlobPropertiesResult MicrosoftAzure\Storage\Blob\Models\GetBlobResult MicrosoftAzure\Storage\Blob\Models\GetContainerACLResult MicrosoftAzure\Storage\Blob\Models\GetContainerPropertiesResult MicrosoftAzure\Storage\Blob\Models\LeaseBlobResult MicrosoftAzure\Storage\Blob\Models\ListBlobBlocksResult MicrosoftAzure\Storage\Blob\Models\ListBlobsResult MicrosoftAzure\Storage\Blob\Models\ListPageBlobRangesResult MicrosoftAzure\Storage\Blob\Models\PutBlobResult MicrosoftAzure\Storage\Blob\Models\PutBlockResult MicrosoftAzure\Storage\Blob\Models\SetBlobMetadataResult MicrosoftAzure\Storage\Blob\Models\SetBlobPropertiesResult
Table
- Changed the setters in the following classes from public to protected to avoid possible misuse of the data structure.
MicrosoftAzure\Storage\Table\Models\BatchResult MicrosoftAzure\Storage\Table\Models\GetEntityResult MicrosoftAzure\Storage\Table\Models\GetTableResult MicrosoftAzure\Storage\Table\Models\InsertEntityResult MicrosoftAzure\Storage\Table\Models\QueryEntitiesResult MicrosoftAzure\Storage\Table\Models\QueryTablesResult MicrosoftAzure\Storage\Table\Models\UpdateEntityResult
Queue
- Changed the setters in the following classes from public to protected to avoid possible misuse of the data structure.
MicrosoftAzure\Storage\Queue\Models\GetQueueMetadataResult MicrosoftAzure\Storage\Queue\Models\ListMessagesResult MicrosoftAzure\Storage\Queue\Models\ListQueuesResult MicrosoftAzure\Storage\Queue\Models\PeekMessagesResult MicrosoftAzure\Storage\Queue\Models\UpdateMessageResult
Storage Client Library 0.12.1
2017.01 - version 0.12.1
Blob
- Fixed an issue where
createBlockBlob
would fail for some files with size larger than 1MB and smaller than 32MB.
Storage Client Library 0.12.0
2017.01 - version 0.12.0
ALL
- Applied type hinting for the project. The rules are listed below:
- For class arguments:
ClassName $arguments
- For array arguments:
array $arguments
- For nullable arguments:
ClassName $argument = null
- Try to avoid
mixed
type. - Use unions for nullable types. e.g.
ClassName|null
. - Use
ClassName[]
instead of array, if the type of array is determined.
- For class arguments:
- Added support for Guzzle async programming model for all APIs.
- Added support for SAS authentication.
Blob - Changed the return value of following APIs to be more reasonable.
createPageBlob createBlockBlob createBlobBlock renewLease acquireLease
- Merged
StorageAuthScheme
intoSharedKeyAuthScheme
andTableSharedKeyLiteAuthScheme
now inheritsSharedKeyAuthScheme
. This is because Azure Storage now supports Shared Key authentication and SAS authentication so the nameStorageAuthScheme
was not representative anymore. - Fixed an issue where the newest Guzzle failed to validate the path passed in when
withPath()
is called.
Storage Client Library 0.11.0
2016.11 - version 0.11.0
ALL
- Fix error string when an error occurs while parsing a connection string and is passed to _createException in
MicrosoftAzure\Storage\Common\Internal\ConnectionStringParser
. - Added support to create Guzzle's customizable retry middleware to handle the request after the response is received. Also added a default retry policy in case a retry policy is not specified.
- Fixed a bug in unit test where getting properties from service failed to match the expected result due to previous settings have not yet taken effect.
- Fixed some coding style issue. This work will be continued in the following serveral releases, and strictly follows PSR-2 coding style.
- Updated the documentation of
setMetadata
, now in the comments of the following methods$metadata
is an array instead of a string. - Removed test code from composer package.
StorageAuthScheme::computeCanonicalizedResource
assumes that the query parameters are already grouped. That is, multi-value query parameters must be assembled usingServiceRestProxy::groupQueryValues
. This fixes an issue with other single-value query parameters that might contain the separator character in the value.
Blob
- Added support for user to upload large files with minimum memory usage.
- Added concurrent upload for Block Blob.
- Added
MicrosoftAzure\Storage\Blob.saveBlobToFile
for user to download a blob into a file.
Storage Client Library 0.10.2
2016.08 - version 0.10.2
ALL
- Allow passing an array of options to a service. Currently only Guzzle options are supported via the
http
parameter.
Storage Client Library 0.10.1
2016.05 - version 0.10.1
Blob
- Fixed the issue that blobs upload with size multiple of 4194304 bytes and larger than 33554432 bytes.
- Fixed the issue that extra / is appended in blob URL.
Storage Client Library 0.10.0
2016.04 - version 0.10.0
ALL
- Separated Azure Storage APIs in Azure-SDK-for-PHP to establish an independent release cycle.
- Remove all pear dependencies: HTTP_Request2, Mail_mime, and Mail_mimeDecode. Use Guzzle as underlying http client library.
- Update storage REST API version to 2015-04-05.
- Change root namespace from "WindowsAzure" to "MicrosoftAzure/Storage".
- When set metadata operations contains invalid characters, it throws a ServiceException with 400 bad request error instead of Http_Request2_LogicException.
Blob
- Fixed the issue that upload large block blob fails. (Azure/azure-sdk-for-php#757)
- MicrosoftAzure\Storage\Blob\Models\Blocks.setBlockId now requires a base64 encoded string.
Table
- MicrosoftAzure\Storage\Table\Models\Property.getEdmType now returns EdmType::STRING instead of null if the property data type is not set in server.