Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

Commit 89ccf27

Browse files
committed
Adding samples to cover external sample cases, and refine the BreakingChanges.md and Changelog.md
1 parent f299e1e commit 89ccf27

File tree

6 files changed

+707
-35
lines changed

6 files changed

+707
-35
lines changed

BreakingChanges.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ Tracking Breaking changes in 0.15.0
33
All
44
* Removed `setRequestOptions` for service options, instead, added `middlewares`, `middlewareStack`, `numberOfConcurrency`, `isStreaming`, `locationMode` and `decodeContent` for user to specify the corresponding options.
55
* 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.
6+
* Removed `MicrosoftAzure\Storage\Common\Models\ServiceProperties::getMetrics` and `MicrosoftAzure\Storage\Common\Models\ServiceProperties::setMetrics`. Added following methods to access hour metrics and minute metrics.
7+
```
8+
MicrosoftAzure\Storage\Common\Models\ServiceProperties::getHourMetrics
9+
MicrosoftAzure\Storage\Common\Models\ServiceProperties::setHourMetrics
10+
MicrosoftAzure\Storage\Common\Models\ServiceProperties::getMinuteMetrics
11+
MicrosoftAzure\Storage\Common\Models\ServiceProperties::setMinuteMetrics
12+
```
613

714
Blob
815
* Lease feature parity
@@ -15,9 +22,6 @@ Blob
1522
- Exracted `getLeaseId`, `setLeaseId`, `getAccessConditions` and `setAccessConditions` to the base options class `BlobServiceOptions`.
1623
- Refactored the `CreateBlobOptions`, `CommitBlobBlocksOptions` class to remove duplicate options and standardize the content settings related properties like `ContentType`, `ContentMD5`, `ContentEncoding`, `ContentLanguage`, `CacheControl` and `ContentDisposition`.
1724

18-
* Blob service properties feature parity:
19-
- Renamed `getMetrics` to `getHourMetrics` and `setMetrics` to `setHourMetrics` of `ServiceProperties` class.
20-
2125
* Removed the useless API `ctrCrypt` from `Utilities` class.
2226

2327
Table

ChangeLog.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All
55
* 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.
66
* By setting `$locationMode` in `MicrosoftAzure\Storage\Common\Models\ServiceOptions`, user can perform read operations from secondary endpoint.
77
* 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.
8+
* Removed `MicrosoftAzure\Storage\Common\Models\ServiceProperties::getMetrics` and `MicrosoftAzure\Storage\Common\Models\ServiceProperties::setMetrics`. Added following methods to access hour metrics and minute metrics.
9+
```
10+
MicrosoftAzure\Storage\Common\Models\ServiceProperties::getHourMetrics
11+
MicrosoftAzure\Storage\Common\Models\ServiceProperties::setHourMetrics
12+
MicrosoftAzure\Storage\Common\Models\ServiceProperties::getMinuteMetrics
13+
MicrosoftAzure\Storage\Common\Models\ServiceProperties::setMinuteMetrics
14+
```
815

916
Blob
1017
* Access condition feature parity:
@@ -35,7 +42,6 @@ Blob
3542

3643
* Blob service properties feature parity:
3744
- Added `getDefaultServiceVersion`, `setDefaultServiceVersion`, `getMinuteMetrics` and `setMinuteMetrics` to `ServiceProperties` class.
38-
- Renamed `getMetrics` to `getHourMetrics` and `setMetrics` to `setHourMetrics` of `ServiceProperties` class.
3945

4046
* Changed the return type of API `commitBlobBlocks` from `void` to `PutBlobResult`.
4147
* Removed the useless API `ctrCrypt` from `Utilities` class.

0 commit comments

Comments
 (0)