diff --git a/ChangeLog.md b/ChangeLog.md index e6be01f..6fbdd8b 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,6 @@ +2020.08 - version 1.5.1 +* Lower case query parameter names. + 2020.01 - version 1.5.0 * Added support to include deleted in blob list. diff --git a/composer.json b/composer.json index 5d9be17..9a26c78 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "microsoft/azure-storage-blob", - "version": "1.5.0", + "version": "1.5.1", "description": "This project provides a set of PHP client libraries that make it easy to access Microsoft Azure Storage Blob APIs.", "keywords": [ "php", "azure", "storage", "sdk", "blob" ], "license": "MIT", @@ -12,7 +12,7 @@ ], "require": { "php": ">=5.6.0", - "microsoft/azure-storage-common": "~1.4" + "microsoft/azure-storage-common": "~1.5" }, "autoload": { "psr-4": { diff --git a/src/Blob/BlobRestProxy.php b/src/Blob/BlobRestProxy.php index e386874..d2d3cc3 100644 --- a/src/Blob/BlobRestProxy.php +++ b/src/Blob/BlobRestProxy.php @@ -864,17 +864,17 @@ public function listContainersAsync( ); $this->addOptionalQueryParam( $queryParams, - Resources::QP_PREFIX, + Resources::QP_PREFIX_LOWERCASE, $options->getPrefix() ); $this->addOptionalQueryParam( $queryParams, - Resources::QP_MARKER, + Resources::QP_MARKER_LOWERCASE, $options->getNextMarker() ); $this->addOptionalQueryParam( $queryParams, - Resources::QP_MAX_RESULTS, + Resources::QP_MAX_RESULTS_LOWERCASE, $options->getMaxResults() ); $isInclude = $options->getIncludeMetadata(); @@ -1522,12 +1522,12 @@ public function listBlobsAsync( ); $this->addOptionalQueryParam( $queryParams, - Resources::QP_PREFIX, + Resources::QP_PREFIX_LOWERCASE, str_replace('\\', '/', $options->getPrefix()) ); $this->addOptionalQueryParam( $queryParams, - Resources::QP_MARKER, + Resources::QP_MARKER_LOWERCASE, $options->getNextMarker() ); $this->addOptionalQueryParam( @@ -1537,7 +1537,7 @@ public function listBlobsAsync( ); $this->addOptionalQueryParam( $queryParams, - Resources::QP_MAX_RESULTS, + Resources::QP_MAX_RESULTS_LOWERCASE, $options->getMaxResults() ); diff --git a/src/Blob/Internal/BlobResources.php b/src/Blob/Internal/BlobResources.php index c7f3041..ec736e4 100644 --- a/src/Blob/Internal/BlobResources.php +++ b/src/Blob/Internal/BlobResources.php @@ -41,7 +41,7 @@ class BlobResources extends Resources { // @codingStandardsIgnoreStart - const BLOB_SDK_VERSION = '1.5.0'; + const BLOB_SDK_VERSION = '1.5.1'; const STORAGE_API_LATEST_VERSION = '2017-11-09'; // Error messages