@azure/storage-file-share 12.9.0-alpha.20220210.2 → 12.9.0-alpha.20220304.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -1
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/dist-esm/src/generated/src/models/parameters.js +2 -2
- package/dist-esm/src/generated/src/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/src/storageClientContext.js +1 -1
- package/dist-esm/src/generated/src/storageClientContext.js.map +1 -1
- package/dist-esm/src/policies/StorageSharedKeyCredentialPolicy.js +3 -1
- package/dist-esm/src/policies/StorageSharedKeyCredentialPolicy.js.map +1 -1
- package/dist-esm/src/utils/constants.js +2 -2
- package/dist-esm/src/utils/constants.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,23 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
-
## 12.9.0-beta.
|
3
|
+
## 12.9.0-beta.5 (Unreleased)
|
4
|
+
|
5
|
+
### Features Added
|
6
|
+
|
7
|
+
### Breaking Changes
|
8
|
+
|
9
|
+
### Bugs Fixed
|
10
|
+
|
11
|
+
### Other Changes
|
12
|
+
|
13
|
+
## 12.9.0-beta.4 (2022-03-04)
|
14
|
+
|
15
|
+
### Bugs Fixed
|
16
|
+
|
17
|
+
- Fixed bug where ShareFileClient.startCopyFromURL() was not sending the ignoreReadonly parameter correctly.
|
18
|
+
- Set correct content length in requests for uploading operations to avoid unexpected failure if customized content length is incorrect.
|
19
|
+
|
20
|
+
## 12.9.0-beta.3 (2022-02-11)
|
4
21
|
|
5
22
|
### Features Added
|
6
23
|
|
package/dist/index.js
CHANGED
@@ -334,8 +334,8 @@ function ipRangeToString(ipRange) {
|
|
334
334
|
|
335
335
|
// Copyright (c) Microsoft Corporation.
|
336
336
|
// Licensed under the MIT license.
|
337
|
-
const SDK_VERSION = "12.9.0-beta.
|
338
|
-
const SERVICE_VERSION = "2021-
|
337
|
+
const SDK_VERSION = "12.9.0-beta.5";
|
338
|
+
const SERVICE_VERSION = "2021-04-10";
|
339
339
|
const FILE_MAX_SIZE_BYTES = 4 * 1024 * 1024 * 1024 * 1024; // 4TB
|
340
340
|
const FILE_RANGE_MAX_SIZE_BYTES = 4 * 1024 * 1024; // 4MB
|
341
341
|
const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS = 5;
|
@@ -7607,8 +7607,8 @@ const filePermissionCopyMode = {
|
|
7607
7607
|
const ignoreReadOnly1 = {
|
7608
7608
|
parameterPath: ["options", "copyFileSmbInfo", "ignoreReadOnly"],
|
7609
7609
|
mapper: {
|
7610
|
-
serializedName: "x-ms-file-copy-ignore-
|
7611
|
-
xmlName: "x-ms-file-copy-ignore-
|
7610
|
+
serializedName: "x-ms-file-copy-ignore-readonly",
|
7611
|
+
xmlName: "x-ms-file-copy-ignore-readonly",
|
7612
7612
|
type: {
|
7613
7613
|
name: "Boolean"
|
7614
7614
|
}
|
@@ -10168,7 +10168,9 @@ class StorageSharedKeyCredentialPolicy extends CredentialPolicy {
|
|
10168
10168
|
*/
|
10169
10169
|
signRequest(request) {
|
10170
10170
|
request.headers.set(HeaderConstants.X_MS_DATE, new Date().toUTCString());
|
10171
|
-
if (request.body &&
|
10171
|
+
if (request.body &&
|
10172
|
+
(typeof request.body === "string" || request.body !== undefined) &&
|
10173
|
+
request.body.length > 0) {
|
10172
10174
|
request.headers.set(HeaderConstants.CONTENT_LENGTH, Buffer.byteLength(request.body));
|
10173
10175
|
}
|
10174
10176
|
const stringToSign = [
|
@@ -10349,7 +10351,7 @@ function convertTracingToRequestOptionsBase(options) {
|
|
10349
10351
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
10350
10352
|
*/
|
10351
10353
|
const packageName = "azure-storage-file-share";
|
10352
|
-
const packageVersion = "12.9.0-beta.
|
10354
|
+
const packageVersion = "12.9.0-beta.5";
|
10353
10355
|
class StorageClientContext extends coreHttp__namespace.ServiceClient {
|
10354
10356
|
/**
|
10355
10357
|
* Initializes a new instance of the StorageClientContext class.
|