@azure/storage-file-share 12.10.0 → 12.10.1-alpha.20220520.1
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/dist/index.js +2 -2
- package/dist/index.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/utils/constants.js +1 -1
- package/dist-esm/src/utils/constants.js.map +1 -1
- package/package.json +7 -7
- package/CHANGELOG.md +0 -359
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
import * as coreHttp from "@azure/core-http";
|
9
9
|
const packageName = "azure-storage-file-share";
|
10
|
-
const packageVersion = "12.10.
|
10
|
+
const packageVersion = "12.10.1";
|
11
11
|
export class StorageClientContext extends coreHttp.ServiceClient {
|
12
12
|
/**
|
13
13
|
* Initializes a new instance of the StorageClientContext class.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"storageClientContext.js","sourceRoot":"","sources":["../../../../src/generated/src/storageClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAG7C,MAAM,WAAW,GAAG,0BAA0B,CAAC;AAC/C,MAAM,cAAc,GAAG,SAAS,CAAC;AAEjC,MAAM,OAAO,oBAAqB,SAAQ,QAAQ,CAAC,aAAa;IAK9D;;;;;OAKG;IACH,YAAY,GAAW,EAAE,OAAqC;QAC5D,IAAI,GAAG,KAAK,SAAS,EAAE;YACrB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;SACzC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QAED,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE;YACtB,MAAM,gBAAgB,GAAG,QAAQ,CAAC,wBAAwB,EAAE,CAAC;YAC7D,OAAO,CAAC,SAAS,GAAG,GAAG,WAAW,IAAI,cAAc,IAAI,gBAAgB,EAAE,CAAC;SAC5E;QAED,KAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAE1B,IAAI,CAAC,kBAAkB,GAAG,iCAAiC,CAAC;QAE5D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC;QAE3C,wBAAwB;QACxB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QAEf,0CAA0C;QAC1C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,YAAY,CAAC;QAC/C,IAAI,CAAC,qBAAqB,GAAG,OAAO,CAAC,qBAAqB,IAAI,QAAQ,CAAC;IACzE,CAAC;CACF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport { StorageClientOptionalParams } from \"./models\";\n\nconst packageName = \"azure-storage-file-share\";\nconst packageVersion = \"12.10.
|
1
|
+
{"version":3,"file":"storageClientContext.js","sourceRoot":"","sources":["../../../../src/generated/src/storageClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAG7C,MAAM,WAAW,GAAG,0BAA0B,CAAC;AAC/C,MAAM,cAAc,GAAG,SAAS,CAAC;AAEjC,MAAM,OAAO,oBAAqB,SAAQ,QAAQ,CAAC,aAAa;IAK9D;;;;;OAKG;IACH,YAAY,GAAW,EAAE,OAAqC;QAC5D,IAAI,GAAG,KAAK,SAAS,EAAE;YACrB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;SACzC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QAED,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE;YACtB,MAAM,gBAAgB,GAAG,QAAQ,CAAC,wBAAwB,EAAE,CAAC;YAC7D,OAAO,CAAC,SAAS,GAAG,GAAG,WAAW,IAAI,cAAc,IAAI,gBAAgB,EAAE,CAAC;SAC5E;QAED,KAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAE1B,IAAI,CAAC,kBAAkB,GAAG,iCAAiC,CAAC;QAE5D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC;QAE3C,wBAAwB;QACxB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QAEf,0CAA0C;QAC1C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,YAAY,CAAC;QAC/C,IAAI,CAAC,qBAAqB,GAAG,OAAO,CAAC,qBAAqB,IAAI,QAAQ,CAAC;IACzE,CAAC;CACF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport { StorageClientOptionalParams } from \"./models\";\n\nconst packageName = \"azure-storage-file-share\";\nconst packageVersion = \"12.10.1\";\n\nexport class StorageClientContext extends coreHttp.ServiceClient {\n url: string;\n version: string;\n fileRangeWriteFromUrl: string;\n\n /**\n * Initializes a new instance of the StorageClientContext class.\n * @param url The URL of the service account, share, directory or file that is the target of the\n * desired operation.\n * @param options The parameter options\n */\n constructor(url: string, options?: StorageClientOptionalParams) {\n if (url === undefined) {\n throw new Error(\"'url' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n\n if (!options.userAgent) {\n const defaultUserAgent = coreHttp.getDefaultUserAgentValue();\n options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;\n }\n\n super(undefined, options);\n\n this.requestContentType = \"application/json; charset=utf-8\";\n\n this.baseUri = options.endpoint || \"{url}\";\n\n // Parameter assignments\n this.url = url;\n\n // Assigning values to Constant parameters\n this.version = options.version || \"2021-06-08\";\n this.fileRangeWriteFromUrl = options.fileRangeWriteFromUrl || \"update\";\n }\n}\n"]}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
2
2
|
// Licensed under the MIT license.
|
3
|
-
export const SDK_VERSION = "12.10.
|
3
|
+
export const SDK_VERSION = "12.10.1";
|
4
4
|
export const SERVICE_VERSION = "2021-06-08";
|
5
5
|
export const FILE_MAX_SIZE_BYTES = 4 * 1024 * 1024 * 1024 * 1024; // 4TB
|
6
6
|
export const FILE_RANGE_MAX_SIZE_BYTES = 4 * 1024 * 1024; // 4MB
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"12.10.
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"12.10.1\";\nexport const SERVICE_VERSION: string = \"2021-06-08\";\n\nexport const FILE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024 * 1024 * 1024; // 4TB\nexport const FILE_RANGE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024; // 4MB\nexport const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS: number = 5;\nexport const DEFAULT_HIGH_LEVEL_CONCURRENCY: number = 5;\n\nexport const URLConstants = {\n Parameters: {\n FORCE_BROWSER_NO_CACHE: \"_\",\n SHARE_SNAPSHOT: \"sharesnapshot\",\n SIGNATURE: \"sig\",\n TIMEOUT: \"timeout\",\n },\n};\n\nexport const HttpUrlConnection = {\n HTTP_CONFLICT: 409,\n HTTP_NOT_FOUND: 404,\n HTTP_PRECON_FAILED: 412,\n HTTP_RANGE_NOT_SATISFIABLE: 416,\n};\n\nexport const HeaderConstants = {\n AUTHORIZATION: \"authorization\",\n AUTHORIZATION_SCHEME: \"Bearer\",\n CONTENT_ENCODING: \"content-encoding\",\n CONTENT_LANGUAGE: \"content-language\",\n CONTENT_LENGTH: \"content-length\",\n CONTENT_MD5: \"content-md5\",\n CONTENT_TYPE: \"content-type\",\n COOKIE: \"Cookie\",\n DATE: \"date\",\n IF_MATCH: \"if-match\",\n IF_MODIFIED_SINCE: \"if-modified-since\",\n IF_NONE_MATCH: \"if-none-match\",\n IF_UNMODIFIED_SINCE: \"if-unmodified-since\",\n PREFIX_FOR_STORAGE: \"x-ms-\",\n RANGE: \"Range\",\n USER_AGENT: \"User-Agent\",\n X_MS_CLIENT_REQUEST_ID: \"x-ms-client-request-id\",\n X_MS_COPY_SOURCE: \"x-ms-copy-source\",\n X_MS_DATE: \"x-ms-date\",\n};\n\nexport const ETagNone = \"\";\nexport const ETagAny = \"*\";\nexport const FileAttributesPreserve = \"Preserve\";\nexport const FileAttributesNone = \"None\";\n\nexport const StorageFileLoggingAllowedHeaderNames = [\n \"Access-Control-Allow-Origin\",\n \"Cache-Control\",\n \"Content-Length\",\n \"Content-Type\",\n \"Date\",\n \"Request-Id\",\n \"traceparent\",\n \"Transfer-Encoding\",\n \"User-Agent\",\n \"x-ms-client-request-id\",\n \"x-ms-date\",\n \"x-ms-error-code\",\n \"x-ms-request-id\",\n \"x-ms-return-client-request-id\",\n \"x-ms-version\",\n \"Accept-Ranges\",\n \"Content-Disposition\",\n \"Content-Encoding\",\n \"Content-Language\",\n \"Content-MD5\",\n \"Content-Range\",\n \"ETag\",\n \"Last-Modified\",\n \"Server\",\n \"Vary\",\n \"x-ms-content-crc64\",\n \"x-ms-copy-action\",\n \"x-ms-copy-completion-time\",\n \"x-ms-copy-id\",\n \"x-ms-copy-progress\",\n \"x-ms-copy-status\",\n \"x-ms-has-immutability-policy\",\n \"x-ms-has-legal-hold\",\n \"x-ms-lease-state\",\n \"x-ms-lease-status\",\n \"x-ms-range\",\n \"x-ms-request-server-encrypted\",\n \"x-ms-server-encrypted\",\n \"x-ms-snapshot\",\n \"x-ms-source-range\",\n \"x-ms-cache-control\",\n \"x-ms-content-disposition\",\n \"x-ms-content-encoding\",\n \"x-ms-content-language\",\n \"x-ms-content-length\",\n \"x-ms-content-md5\",\n \"x-ms-content-type\",\n \"x-ms-file-attributes\",\n \"x-ms-file-change-time\",\n \"x-ms-file-creation-time\",\n \"x-ms-file-id\",\n \"x-ms-file-last-write-time\",\n \"x-ms-file-parent-id\",\n \"x-ms-handle-id\",\n \"x-ms-number-of-handles-closed\",\n \"x-ms-recursive\",\n \"x-ms-share-quota\",\n \"x-ms-type\",\n \"x-ms-write\",\n];\n\nexport const StorageFileLoggingAllowedQueryParameters = [\n \"comp\",\n \"maxresults\",\n \"rscc\",\n \"rscd\",\n \"rsce\",\n \"rscl\",\n \"rsct\",\n \"se\",\n \"si\",\n \"sip\",\n \"sp\",\n \"spr\",\n \"sr\",\n \"srt\",\n \"ss\",\n \"st\",\n \"sv\",\n \"copyid\",\n \"restype\",\n];\n"]}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@azure/storage-file-share",
|
3
3
|
"sdk-type": "client",
|
4
|
-
"version": "12.10.
|
4
|
+
"version": "12.10.1-alpha.20220520.1",
|
5
5
|
"description": "Microsoft Azure Storage SDK for JavaScript - File",
|
6
6
|
"main": "./dist/index.js",
|
7
7
|
"module": "./dist-esm/src/index.js",
|
@@ -133,11 +133,11 @@
|
|
133
133
|
},
|
134
134
|
"devDependencies": {
|
135
135
|
"@azure/storage-blob": "^12.10.0",
|
136
|
-
"@azure/dev-tool": "
|
137
|
-
"@azure/eslint-plugin-azure-sdk": "
|
138
|
-
"@azure/test-utils": "
|
136
|
+
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
137
|
+
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
|
138
|
+
"@azure/test-utils": ">=1.0.0-alpha <1.0.0-alphb",
|
139
139
|
"@azure-tools/test-recorder": "^1.0.0",
|
140
|
-
"@azure/test-utils-perf": "
|
140
|
+
"@azure/test-utils-perf": ">=1.0.0-alpha <1.0.0-alphb",
|
141
141
|
"@microsoft/api-extractor": "7.18.11",
|
142
142
|
"@types/chai": "^4.1.6",
|
143
143
|
"@types/mocha": "^7.0.2",
|
@@ -147,7 +147,7 @@
|
|
147
147
|
"dotenv": "^8.2.0",
|
148
148
|
"downlevel-dts": "^0.8.0",
|
149
149
|
"es6-promise": "^4.2.5",
|
150
|
-
"eslint": "^
|
150
|
+
"eslint": "^8.0.0",
|
151
151
|
"esm": "^3.2.18",
|
152
152
|
"inherits": "^2.0.3",
|
153
153
|
"karma": "^6.2.0",
|
@@ -167,7 +167,7 @@
|
|
167
167
|
"mocha-junit-reporter": "^2.0.0",
|
168
168
|
"nyc": "^15.0.0",
|
169
169
|
"prettier": "^2.5.1",
|
170
|
-
"puppeteer": "^
|
170
|
+
"puppeteer": "^14.0.0",
|
171
171
|
"rimraf": "^3.0.0",
|
172
172
|
"source-map-support": "^0.5.9",
|
173
173
|
"ts-node": "^10.0.0",
|
package/CHANGELOG.md
DELETED
@@ -1,359 +0,0 @@
|
|
1
|
-
# Release History
|
2
|
-
|
3
|
-
## 12.10.0 (2022-05-12)
|
4
|
-
|
5
|
-
### Features Added
|
6
|
-
|
7
|
-
- Includes all features released in 12.10.0-beta.1.
|
8
|
-
|
9
|
-
### Bugs Fixed
|
10
|
-
|
11
|
-
- Refined user-agent value to avoid failure when os information is not available on some platforms.
|
12
|
-
|
13
|
-
## 12.10.0-beta.1 (2022-04-19)
|
14
|
-
|
15
|
-
### Features Added
|
16
|
-
|
17
|
-
- Added support for service version 2021-06-08.
|
18
|
-
- Added ability to maintain a file's current last write time when calling ShareFileClient.uploadRange() and ShareFileClient.uploadRangeFromURL().
|
19
|
-
- Added ability to specify a file or directory's change time when calling ShareFileClient.create(), ShareDirectoryClient.create(), ShareFileClient.setProperties(), ShareDirectoryClient.setProperties(), ShareFileClient.resize(), ShareFileClient.rename() and ShareDirectoryClient.rename().
|
20
|
-
- Added ability to specify content-type on a file when calling ShareFileClient.rename().
|
21
|
-
|
22
|
-
### Bugs Fixed
|
23
|
-
|
24
|
-
- Add `react-native` mapping to ESM entry point
|
25
|
-
|
26
|
-
## 12.9.0 (2022-03-11)
|
27
|
-
|
28
|
-
### Features Added
|
29
|
-
|
30
|
-
- Includes all features released in 12.9.0-beta.1, 12.9.0-beta.2, 12.9.0-beta.3 and 12.9.0-beta.4.
|
31
|
-
|
32
|
-
## 12.9.0-beta.4 (2022-03-04)
|
33
|
-
|
34
|
-
### Bugs Fixed
|
35
|
-
|
36
|
-
- Fixed bug where ShareFileClient.startCopyFromURL() was not sending the ignoreReadonly parameter correctly.
|
37
|
-
- Set correct content length in requests for uploading operations to avoid unexpected failure if customized content length is incorrect.
|
38
|
-
|
39
|
-
## 12.9.0-beta.3 (2022-02-11)
|
40
|
-
|
41
|
-
### Features Added
|
42
|
-
|
43
|
-
- Added support for service version 2021-04-10.
|
44
|
-
- Added support for renaming a file or a directory.
|
45
|
-
|
46
|
-
## 12.9.0-beta.2 (2021-12-03)
|
47
|
-
|
48
|
-
### Features Added
|
49
|
-
|
50
|
-
- Added support for service version 2021-02-12.
|
51
|
-
- Added support for premium file share `provisionedBandwidthMiBps` property.
|
52
|
-
|
53
|
-
## 12.9.0-beta.1 (2021-11-09)
|
54
|
-
|
55
|
-
### Features Added
|
56
|
-
|
57
|
-
- Added support for service version 2020-12-06.
|
58
|
-
|
59
|
-
## 12.8.0 (2021-09-10)
|
60
|
-
|
61
|
-
### Features Added
|
62
|
-
|
63
|
-
- Includes all features released in 12.8.0-beta.1.
|
64
|
-
|
65
|
-
## 12.7.0 (2021-08-02)
|
66
|
-
|
67
|
-
- Support for Node.js 8 and IE 11 has been dropped. Please see our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
|
68
|
-
- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features
|
69
|
-
- Updated our internal core package dependencies to their latest versions in order to add support for Opentelemetry 1.0.0 which is compatible with the latest versions of our other client libraries.
|
70
|
-
|
71
|
-
## 12.8.0-beta.1 (2021-07-28)
|
72
|
-
|
73
|
-
### Features Added
|
74
|
-
|
75
|
-
- Added support for service version 2020-10-02.
|
76
|
-
- Added support for including additional information in `ShareDirectoryClient.listFilesAndDirectories()`.
|
77
|
-
- Added support for OAuth in copying source in `ShareFileClient.uploadRangeFromURL()` when source is a Blob.
|
78
|
-
- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
|
79
|
-
|
80
|
-
## 12.6.0 (2021-06-09)
|
81
|
-
|
82
|
-
- Updated Azure Storage Service API version to 2020-08-04.
|
83
|
-
- Fixed bug where ShareFileClient.download, ShareFileClient.downloadToBuffer or ShareFileClient.downloadToFile could corrupt data if source is modified when retrying.
|
84
|
-
|
85
|
-
## 12.5.0 (2021-03-10)
|
86
|
-
|
87
|
-
- Updated Azure Storage Service API version to 2020-06-12.
|
88
|
-
|
89
|
-
## 12.4.1 (2021-02-03)
|
90
|
-
|
91
|
-
- Fixed a bug where `generateFileSASQueryParameters()` won't correctly set the resource type if `FileSASSignatureValues.permissions` is not specified. Fixed issue [13223](https://github.com/Azure/azure-sdk-for-js/issues/13223).
|
92
|
-
- The `"Unclosed root tag"` XML parser error is now retriable. [PR #13076](https://github.com/Azure/azure-sdk-for-js/pull/13076).
|
93
|
-
|
94
|
-
## 12.4.0 (2021-01-12)
|
95
|
-
|
96
|
-
- This release contains bug fixes to improve quality.
|
97
|
-
|
98
|
-
## 12.4.0-beta.1 (2020-12-09)
|
99
|
-
|
100
|
-
- Updated Azure Storage Service API version to 2020-04-08.
|
101
|
-
- Share now supports for NFS. User can specify the `protocols` when creating a Share via `ShareClient.create()`. Also added an `rootSquash` option for NFS shares.
|
102
|
-
- Added `generateSasUrl` to `ShareClient` and `ShareFileClient` to generate a service-level SAS URI for the client.
|
103
|
-
- Added `generateAccountSasUrl` to `ShareServiceClient` to generate an account-level SAS URI for the client.
|
104
|
-
- Won't remove the first space in the `userAgentOptions.userAgentPrefix` passed to the `newPipeline()` now. Fixed bug [7536](https://github.com/Azure/azure-sdk-for-js/issues/7536).
|
105
|
-
|
106
|
-
## 12.3.0 (2020-11-10)
|
107
|
-
|
108
|
-
- Removed ability to create a ShareLeaseClient for a Share or Share Snapshot. This feature has been rescheduled for future release.
|
109
|
-
- Replaced `ShareClient.setAccessTier()` with `ShareClient.setProperties()`, which can be used to set both Share Tier and Share Quota.
|
110
|
-
- Fixed a bug where `ShareDirectoryClient.deleteIfExists()` and `ShareFileClient.deleteIfExists()` would throw an exception if the directory or file's parent directory doesn't exist.
|
111
|
-
|
112
|
-
## 12.3.0-beta.1 (2020-10-13)
|
113
|
-
|
114
|
-
- Updated Azure Storage Service API version to 2020-02-10.
|
115
|
-
- Added support for SMB Multichannel.
|
116
|
-
- Added support for Share and Share Snapshot Leases. Now can initialize a `ShareLeaseClient` with a `ShareClient` to manage leases for a share or share snapshot. Most operations on share now also support lease conditions.
|
117
|
-
- Added support for Get File Range Diff. Added `ShareFileClient.getRangeListDiff()` for getting the list of ranges that differ between a previous share snapshot and the file.
|
118
|
-
- Added support for Set Share Tier. Added `ShareClient.setAccessTier()` for setting the access tier of the share.
|
119
|
-
|
120
|
-
## 12.2.0 (2020-09-08)
|
121
|
-
|
122
|
-
- Added share soft delete support. Added `undeleteShare` to `ShareServiceClient`. `listShares` now can return deleted shares. Note: share soft delete only take effect on accounts with share soft delete feature enabled.
|
123
|
-
- Bug fix - `credential` parameter of `newPipeline()` function is now optional. If not specified, `AnonymousCredential` is used. Fixes bug [9628](https://github.com/Azure/azure-sdk-for-js/issues/9628).
|
124
|
-
- Bug fix - Content-Length header is no more ignored. Fixes bugs [8903](https://github.com/Azure/azure-sdk-for-js/issues/8903), [9300](https://github.com/Azure/azure-sdk-for-js/issues/9300) and [10614](https://github.com/Azure/azure-sdk-for-js/issues/10614).
|
125
|
-
|
126
|
-
## 12.2.0-preview.1 (2020-07-03)
|
127
|
-
|
128
|
-
- Updated Azure Storage Service API version to 2019-12-12.
|
129
|
-
- Support 4 TB files.
|
130
|
-
- Added `exists` and `deleteIfExists()` to `ShareClient`, `ShareDirectoryClient`, and `ShareFileClient`.
|
131
|
-
- Added `createIfNotExists()` to `ShareClient` and `ShareDirectoryClient`.
|
132
|
-
|
133
|
-
## 12.1.2 (2020-05-20)
|
134
|
-
|
135
|
-
- Fix data corruption failure error [issue #6411](https://github.com/Azure/azure-sdk-for-js/issues/6411) when downloading compressed files. [PR #7993](https://github.com/Azure/azure-sdk-for-js/pull/7993)
|
136
|
-
- Fix un-handled TypeError [issue #8499](https://github.com/Azure/azure-sdk-for-js/issues/8499) in Electron applications. [PR #8568](https://github.com/Azure/azure-sdk-for-js/pull/8568)
|
137
|
-
- Updated to use `@opentelemetry/api` 0.6.1 via `@azure/core-tracing`. [PR #7998](https://github.com/Azure/azure-sdk-for-js/pull/7998)
|
138
|
-
- Updated to use `typescript` 3.8.3. [PR #8659](https://github.com/Azure/azure-sdk-for-js/pull/8659)
|
139
|
-
|
140
|
-
## 12.1.1 (2020-03-10)
|
141
|
-
|
142
|
-
- Fixed unexpected hang issue when uploading empty body. Fixed bug [6904](https://github.com/Azure/azure-sdk-for-js/issues/6904).
|
143
|
-
|
144
|
-
## 12.1.0 (2020-02-11)
|
145
|
-
|
146
|
-
- Updated Azure Storage Service API version to 2019-07-07.
|
147
|
-
- A new type `ShareLeaseClient` is added to manage leases.
|
148
|
-
- New SMB parameters for file copy.
|
149
|
-
- Force Close Handles Response now includes the number of handles that failed to close.
|
150
|
-
- `ShareProperties` now has 4 additional properties for premium file shares.
|
151
|
-
- Fixed a bug where the package didn't work as expected when bundling web applications. [PR #7298](https://github.com/Azure/azure-sdk-for-js/pull/7298)
|
152
|
-
|
153
|
-
## 12.0.1 (2020-01-09)
|
154
|
-
|
155
|
-
- Bug fix - Name properties on clients now support more kinds of endpoints(IPv4/v6 hosts, single word domains). [PR #6755](https://github.com/Azure/azure-sdk-for-js/pull/6755)
|
156
|
-
- Service clients now share a single http client instance by default. [PR #6657](https://github.com/Azure/azure-sdk-for-js/pull/6657)
|
157
|
-
|
158
|
-
Previously, a new http client was created for each service client if none was provided by the user. This could result in TCP port exhaustion under heavy usage with the keepAlive option enabled because each http client has its own persistent TCP connection. This change creates a single http client instance which is shared among all service clients by default.
|
159
|
-
|
160
|
-
## 12.0.0 (2019-12-04)
|
161
|
-
|
162
|
-
- [Breaking] The default browser bundle has been removed from the npm package. Bundling your application with a bundler such as Webpack is the recommended approach to building a browser bundle. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
163
|
-
- [Breaking] The `expiryTime` and `startTime` members of the `AccountSASSignatureValues` and `FileSASSignatureValues` types, as well as the `expiry` and `start` members of the `accessPolicy` field of the `SignedIdentifier` type, have all been renamed to `expiresOn` and `startsOn` respectively for consistency with `@azure/storage-blob` and `@azure/storage-queue`.
|
164
|
-
- [Breaking] `forceCloseAllHandles` will return `CloseHandlesInfo` type instead of number.
|
165
|
-
- [Breaking] `forceCloseHandle` will return `closedHandlesCount` property instead of `numberOfHandlesClosed` to be compatible with `CloseHandlesInfo`.
|
166
|
-
- Updated to use OpenTelemetry 0.2 via `@azure/core-tracing`
|
167
|
-
- Bug Fix - Convert empty prefixes (`""`) to `undefined` when passed as options to the `listFiles` or `listShares` methods to avoid sending an invalid request to the service. Fixes bug [5817](https://github.com/Azure/azure-sdk-for-js/issues/5817).
|
168
|
-
- The `ShareFileClient.downloadToBuffer()` helper method has a new overload where it is not required to pass a `Buffer`. The attributes `offset` and `count` are optional, and it downloads the entire file if they are not provided.
|
169
|
-
- [Breaking] `shareName` on `ShareClient` has been renamed to `name`. [PR 6135](https://github.com/Azure/azure-sdk-for-js/pull/6135)
|
170
|
-
- `ShareFileClient` and `ShareDirectoryClient` now have a `name` property that returns the file or directory name respectively. [PR 6135](https://github.com/Azure/azure-sdk-for-js/pull/6135)
|
171
|
-
- [Breaking] In browsers, `blobBody` on `FileDownloadResponse` has been renamed to `contentAsBlob` in order to avoid naming confusion between browser `Blob` objects and `Blob`s from `@azure/storage-blob`. [PR 6183](https://github.com/Azure/azure-sdk-for-js/pull/6183)
|
172
|
-
- [Breaking] Removed `uploadBrowserData` from `ShareFileClient` in favor of a unified method `uploadData` that accepts both browser `Blob` objects as well as Node.js `Buffer` objects.
|
173
|
-
- Added a warning to the documentation of `downloadToBuffer` that explains the limitations of Node.js `Buffer` sizes to around 2GB on 64-bit architectures and 1GB on 32-bit architectures.
|
174
|
-
- Documented the behavior of `getProperties` methods with respect to metadata keys and their casing inconsistency when compared to the metadata keys returned through corresponding "list" methods with the `includeMetadata` option.
|
175
|
-
|
176
|
-
## 12.0.0-preview.6 (2019-10-30)
|
177
|
-
|
178
|
-
- [Breaking] `@azure/storage-file` package is renamed to `@azure/storage-file-share` to better align with the upcoming new package for Azure Storage Files DataLake. As a consequence,
|
179
|
-
- `FileServiceClient` becomes `ShareServiceClient`
|
180
|
-
- `DirectoryClient` becomes `ShareDirectoryClient`
|
181
|
-
- `FileClient` becomes `ShareFileClient`
|
182
|
-
- Bug Fix - Previous versions of `@azure/storage-file` library failed for the react-apps because of the usage of `fs.stat` method which is not available in browsers. The issue is fixed in this new release.
|
183
|
-
- [Breaking] The custom browser and retry policies that are specific to the Storage libraries have been
|
184
|
-
renamed to have the `Storage` prefix. [PR 5862](https://github.com/Azure/azure-sdk-for-js/pull/5862).
|
185
|
-
Below are the entities that now have the Storage prefix
|
186
|
-
- BrowserPolicy
|
187
|
-
- BrowserPolicyFactory
|
188
|
-
- RetryPolicy
|
189
|
-
- RetryPolicyType
|
190
|
-
- RetryOptions
|
191
|
-
- RetryPolicyFactory
|
192
|
-
- [Breaking] The properties in the StoragePipelineOptions interface have been updated as below:
|
193
|
-
- The `proxy` property of type `ProxySettings | string` has been renamed to `proxyOptions` and
|
194
|
-
will be of type `ProxyOptions`. If you have been passing url directly, split the value into `host`
|
195
|
-
and `port` then pass it as a json object.
|
196
|
-
- The `telemetry` property of type `TelemetryOptions` has been renamed to `userAgentOptions` of
|
197
|
-
type `UserAgentOptions`. - The `logger` is no longer a property available to configure. To enable logging, please see the
|
198
|
-
[Troubleshooting](https://github.com/Azure/azure-sdk-for-js/blob/0ddc2f3c3d4658b20d96910acc37a77e5209e5e3/sdk/storage/storage-queue/README.md#troubleshooting) section of our readme.
|
199
|
-
- [Breaking] The `UniqueRequestIdPolicy` and `KeepAlivePolicy` are no longer exported from this library. The
|
200
|
-
corresponding policies from the `@azure/core-http` library are meant to be used instead.
|
201
|
-
- Bug Fix - Previous versions of `@azure/storage-file` library failed for the react-apps because of the usage of `fs.stat` method which is not available in browsers. The issue is fixed in this new release.
|
202
|
-
|
203
|
-
## 12.0.0-preview.5 (2019-10-22)
|
204
|
-
|
205
|
-
- [Breaking] `IPRange` is renamed to `SasIPRange`. [PR #5551](https://github.com/Azure/azure-sdk-for-js/pull/5551)
|
206
|
-
- Created new interface `CommonOptions`. This interface is for standard options that apply to all methods that invoke remote operations. This interface currently contains options that enable client-side tracing of the SDK. [PR #5550](https://github.com/Azure/azure-sdk-for-js/pull/5550)
|
207
|
-
- `offset` parameter is optional in `downloadToBuffer` method of `FileClient`. [PR #5592](https://github.com/Azure/azure-sdk-for-js/pull/5592)
|
208
|
-
- Async iterator with pagination support is added to list Handles - `listHandles` [PR #5536](https://github.com/Azure/azure-sdk-for-js/pull/5536)
|
209
|
-
- [Breaking] `Models` is no longer exported in public API surface. Instead generated model types required by the public API are explicitly re-exported. [PR #5532](https://github.com/Azure/azure-sdk-for-js/pull/5532)
|
210
|
-
- [Breaking] Cancelling an operation now throws a standardized error with the name `AbortError`. [PR #5633](https://github.com/Azure/azure-sdk-for-js/pull/5663)
|
211
|
-
- [Breaking] `filePath` is on `FileClient` is renamed to `path`. `dirPath` is added to `DirectoryClient` is renamed to `path`. [PR #5613](https://github.com/Azure/azure-sdk-for-js/pull/5613)
|
212
|
-
- [Breaking] `body` field from `RestError` Object in core-http Library is removed, the `response` property on the error will now have the `parsedBody` & `headers` along with raw body & headers that are already present. PRs [#5670](https://github.com/Azure/azure-sdk-for-js/pull/5670), [#5437](https://github.com/Azure/azure-sdk-for-js/pull/5437)
|
213
|
-
- Errors from the storage service can be seen in an extra field `details` with the expected error code. [#5688](https://github.com/Azure/azure-sdk-for-js/pull/5688)
|
214
|
-
- [Breaking] `progress` callback in the option bags of all the helper methods is renamed to `onProgress`. [PR #5676](https://github.com/Azure/azure-sdk-for-js/pull/5676)
|
215
|
-
- [Breaking] Type of the `permissions` attribute in the options bag `FileSASSignatureValues` to be passed into `generateFileSASQueryParameters` is changed to `FileSASPermissions` from type `string`. [PR #5626](https://github.com/Azure/azure-sdk-for-js/pull/5626)
|
216
|
-
- Similarly, `AccountSASPermissions` for `generateAccountSASQueryParameters` instead of type `string`.
|
217
|
-
- Example - permissions attribute in `generateFileSASQueryParameters`
|
218
|
-
- `permissions: FileSASPermissions.parse("racwd").toString()` changes to `FileSASPermissions.parse("racwd")`
|
219
|
-
- [Breaking] `sourceModifiedAccessConditions` attribute in `FileUploadRangeFromURLOptions` is renamed to `sourceConditions`. [PR #5682](https://github.com/Azure/azure-sdk-for-js/pull/5682)
|
220
|
-
- Renames for following Options interfaces. [PR #5650](https://github.com/Azure/azure-sdk-for-js/pull/5650)
|
221
|
-
- `UploadStreamToAzureFileOptions` -> `FileUploadStreamOptions`,
|
222
|
-
- `UploadToAzureFileOptions` -> `FileParallelUploadOptions`,
|
223
|
-
- `DownloadFromAzureFileOptions` -> `FileDownloadToBufferOptions`
|
224
|
-
- [Breaking] Appropriate attribute renames in all the interfaces [PR #5610](https://github.com/Azure/azure-sdk-for-js/pull/5610)
|
225
|
-
- Example - `nextMarker` -> `continuationToken`, `HTTPClient` -> `HttpClient`, `permission` -> `permissions`, `parallelism` -> `concurrency`
|
226
|
-
- [Breaking] `forceCloseHandlesSegment` is not exposed from the library in favour of the new method `forceCloseAllHandles` on `FileClient` and `DirectoryClient`. [PR #5620](https://github.com/Azure/azure-sdk-for-js/pull/5620)
|
227
|
-
- [Breaking] IE11 needs `Object.assign` polyfill loaded. [PR #5727](https://github.com/Azure/azure-sdk-for-js/pull/5727)
|
228
|
-
|
229
|
-
## 12.0.0-preview.4 (2019-10-09)
|
230
|
-
|
231
|
-
- Library tries to load the proxy settings from the environment variables like HTTP_PROXY if the proxy settings are not provided when clients like `FileServiceClient` or `FileClient` are instantiated.
|
232
|
-
- Added name properties on all the clients for convenience.
|
233
|
-
- `accountName` is added for `DirectoryClient`, `FileClient`, `FileServiceClient` and `ShareClient`.
|
234
|
-
- `shareName` is added to `DirectoryClient`, `FileClient` and `ShareClient`.
|
235
|
-
- `filePath` is added to `FileClient`.
|
236
|
-
- `dirPath` is added to `DirectoryClient`.
|
237
|
-
- [Breaking] `Models.StorageServiceProperties` is renamed into `Models.FileServiceProperties`.
|
238
|
-
- [Breaking] Replace string array with boolean flags to specify dataset to include when listing shares.
|
239
|
-
Before this change the option is specified as
|
240
|
-
```js
|
241
|
-
fileServiceClient.listShares({
|
242
|
-
include: ["metadata", "snapshots"],
|
243
|
-
});
|
244
|
-
```
|
245
|
-
After this change:
|
246
|
-
```js
|
247
|
-
fileServiceClient.listShares({
|
248
|
-
includeMetadata: true,
|
249
|
-
includeSnapshots: true,
|
250
|
-
});
|
251
|
-
```
|
252
|
-
|
253
|
-
## 10.3.0 (2019-09-01)
|
254
|
-
|
255
|
-
- Updated Azure Storage Service API version to 2019-02-02.
|
256
|
-
- Added a new API `ShareURL.createPermission()` which allows for the creation of a security descriptor at the Azure File share level. This descriptor can be used for files and directories in the share.
|
257
|
-
- Added a new API `ShareURL.getPermission()` which allows for the retrieval of the security descriptor set on a share.
|
258
|
-
- Added APIs `DirectoryURL.setProperties()` and `FileURL.setProperties()`, and updated APIs `DirectoryURL.create()` and `FileURL.create()` for setting file permission, attributes, creation time, and last write time.
|
259
|
-
- Added a new API `FileURL.uploadRangeFromURL()` which allows range in a file to be written using a range of another file as a source. This permits synchronous server-side copies to be orchestrated for files of any size.
|
260
|
-
|
261
|
-
## 12.0.0-preview.3 (2019-08-01)
|
262
|
-
|
263
|
-
- Updated Azure Storage Service API version to 2019-02-02.
|
264
|
-
- Added a new API `ShareClient.createPermission()` which allows for the creation of a security descriptor at the Azure File share level. This descriptor can be used for files and directories in the share.
|
265
|
-
- Added a new API `ShareClient.getPermission()` which allows for the retrieval of the security descriptor set on a share.
|
266
|
-
- Added APIs `DirectoryClient.setProperties()` and `FileClient.setProperties()`, and updated APIs `DirectoryClient.create()` and `FileClient.create()` for setting file permission, attributes, creation time, and last write time.
|
267
|
-
- Added a new API `FileClient.uploadRangeFromURL()` which allows range in a file to be written using a range of another file as a source. This permits synchronous server-side copies to be orchestrated for files of any size.
|
268
|
-
- Fixed a bug of `FileClient.downloadToBuffer()` when provided offset is not 0.
|
269
|
-
- Fixed a bug that `Aborter` cannot work during retry interval.
|
270
|
-
- Fixed a bug that `Aborter` throws timeout error even though it succeeds of `FileClient.download()`.
|
271
|
-
- Fixed a bug that "err.code.toUpperCase is not a function" when retries in browser.
|
272
|
-
- `Aborter` doesn't require `dom` as tsconfig lib requirement anymore for `Event` type.
|
273
|
-
- Export `RetryPolicyType`.
|
274
|
-
- Updated HTTP client from axios to node-fetch in Node.js runtime.
|
275
|
-
- A new option `keepAliveOptions` added to parameter of `newPipeline()` which controls keep-alive configurations. Keep-alive is enabled by default.
|
276
|
-
- The `ShareClient.getStatistics()` now returns the approximate size in bytes with `shareUsageBytes`.
|
277
|
-
- Added `DirectoryClient.listHandlesSegment()` and `FileClient.listHandlesSegment()` to returns a list of open handles on a directory or a file.
|
278
|
-
- Added `DirectoryClient.forceCloseHandlesSegment()`, `FileClient.forceCloseHandlesSegment()`, `DirectoryClient.forceCloseHandle()` and `FileClient.forceCloseHandle()` to close handles.
|
279
|
-
- Pass through `options.abortSignal` to the optional `abortSignal` attribute in option bags instead of using `AbortSignal.none` as the default value when `options.abortSignal` is not specified.
|
280
|
-
- Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - [proxyAuth.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-file-share/samples-dev/proxyAuth.ts)
|
281
|
-
- Connection strings for explicit storage endpoints are supported. - [Configure Azure Storage connection strings](https://docs.microsoft.com/azure/storage/common/storage-configure-connection-string#create-a-connection-string-for-an-explicit-storage-endpoint)
|
282
|
-
|
283
|
-
## 12.0.0-preview.2 (2019-08-01)
|
284
|
-
|
285
|
-
- [Breaking] Aborter class is no longer exposed from the package. Use the package [@azure/abort-controller](https://www.npmjs.com/package/@azure/abort-controller) to pass an abort signal to any of the async operations.
|
286
|
-
`AbortController.timeout(<milliseconds>)` can be utitlized as an abort signal.
|
287
|
-
- Storage service allows SAS connection string with SAS string and endpoints along with the Account connection string(account name, key and endpoint).
|
288
|
-
In this preview, SAS connection string support is added to the existing connection string client constructors and static methods.
|
289
|
-
- Account connection string example - `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`
|
290
|
-
- SAS connection string example - `BlobEndpoint=https://myaccount.blob.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`
|
291
|
-
- SAS connection string is supported in both NodeJS and browser runtimes unlike the Account Connection String which is supported only in the NodeJS runtime.
|
292
|
-
|
293
|
-
## 12.0.0-preview.1 (2019-07-01)
|
294
|
-
|
295
|
-
- [Breaking] Client types are renamed from *URL to *Client.
|
296
|
-
- ServiceURL, ShareURL, DirectoryURL and FileURL to FileServiceClient, ShareClient, DirectoryClient and FileClient respectively.
|
297
|
-
- [Breaking] Aborter parameters are now moved into option bags.
|
298
|
-
- `abortSignal` attrubute(optional) in the option-bag of respective module has to be utitlized for the `Aborter.timeout(<milliseconds>)` functionality.
|
299
|
-
- `Aborter.none` is the default value.
|
300
|
-
- [Breaking] I- prefixes are removed from interface names.
|
301
|
-
- Example- `IDirectoryCreateOptions` is updated to `DirectoryCreateOptions`, the new names must to be used.
|
302
|
-
- [Breaking] The static methods to create client types are removed. The functionality is moved into new instance methods added to the parent clients.
|
303
|
-
- [Breaking] The telemetry strings have been updated.
|
304
|
-
- `Azure-Storage/${SDK_VERSION}` is updated to `azsdk-js-storageblob/${SDK_VERSION}`.
|
305
|
-
- [Breaking] `withPipeline()` method is removed.
|
306
|
-
- Async iterators with pagination support are added for listing methods
|
307
|
-
- `listFilesAndDirectories()` and `listShares()`
|
308
|
-
- Please refer to the samples for async iterators in the `samples` folder.
|
309
|
-
- [Breaking] Methods that list segments(`listFilesAndDirectoriesSegment()` and `listSharesSegment()`) are no longer exposed in public api.
|
310
|
-
- [Breaking] High level convenience functions are moved into clients as their instance member function.
|
311
|
-
- `uploadFileToAzureFile()`, `uploadStreamToAzureFile()`, `downloadAzureFileToBuffer()` and `uploadBrowserDataToAzureFile()` -> `FileClient.uploadFile()`,
|
312
|
-
`FileClient.uploadStream()`, `FileClient.downloadToBuffer()` and `FileClient.uploadBrowserData()` respectively.
|
313
|
-
- [Breaking] `StorageClient` is no longer exposed. `StorageClient.newPipeline()` static method is moved to the top level exported function `newPipeline()`.
|
314
|
-
- Updated dependency `@azure/ms-rest-js` to `@azure/core-http`.
|
315
|
-
- Constructor overloads added into client types so they can be constructed from a url and a pipeline/credential and connection string.
|
316
|
-
- Constructors with overloads - `FileServiceClient` and `ShareClient`
|
317
|
-
- Connection string method is supported only in Node.js (not browsers).
|
318
|
-
- Creation/Deletion of child resources are duplicated to parent client type.
|
319
|
-
- HTTP proxy support is added (Node.js only).
|
320
|
-
|
321
|
-
- Please refer to the `proxyAuth.ts` sample in the `samples/v12/typescript` folder.
|
322
|
-
|
323
|
-
- Request and response headers are now logged at INFO level, with sensitive data redacted.
|
324
|
-
- `downloadToFile()` is added to `FileClient`.
|
325
|
-
|
326
|
-
For release notes and more information please visit https://aka.ms/azsdk/releases/july2019preview
|
327
|
-
|
328
|
-
## 10.2.0 (2019-06-01)
|
329
|
-
|
330
|
-
- Fixed a bug of `downloadBlobToBuffer()` and `downloadAzureFileToBuffer()` when provided offset is not 0.
|
331
|
-
- Fixed a bug that `Aborter` cannot work during retry interval.
|
332
|
-
- Fixed a bug that `Aborter` throws timeout error even though it succeeds of `FileURL.download()`.
|
333
|
-
- Fixed a bug that "err.code.toUpperCase is not a function" when retries in browser.
|
334
|
-
- `Aborter` doesn't require `dom` as tsconfig lib requirement anymore for `Event` type.
|
335
|
-
- Export `RetryPolicyType`.
|
336
|
-
- Updated HTTP client from axios to node-fetch in Node.js runtime.
|
337
|
-
- A new option `keepAliveOptions` added to parameter of `StorageURL.newPipeline()` which controls keep-alive configurations. Keep-alive is enabled by default.
|
338
|
-
- Updated Azure Storage Service API version to [2018-11-09](https://docs.microsoft.com/rest/api/storageservices/version-2018-11-09).
|
339
|
-
- The `ShareURL.getStatistics()` now returns the approximate size in bytes with `shareUsageBytes`.
|
340
|
-
- Added `DirectoryURL.listHandlesSegment()` and `FileURL.listHandlesSegment()` to returns a list of open handles on a directory or a file.
|
341
|
-
- Added `DirectoryURL.forceCloseHandlesSegment()`, `FileURL.forceCloseHandlesSegment()`, `DirectoryURL.forceCloseHandle()` and `FileURL.forceCloseHandle()` to close handles.
|
342
|
-
- Updated Azure Storage Service API version to [2018-11-09](https://docs.microsoft.com/rest/api/storageservices/version-2018-11-09).
|
343
|
-
|
344
|
-
## 10.1.0 (2019-01-01)
|
345
|
-
|
346
|
-
- [Breaking] Updated convenience layer methods enum type parameters into typescript union types, this will help reducing bundle footprint.
|
347
|
-
- [Breaking] Updated URL encoding strategy for `url` parameters of `new XXXURL(url, pipeline)` methods, such as `new FileURL(url, pipeline)`.
|
348
|
-
- URL will accept both encoded or non-encoded URL string. It will escape non-escaped special characters, like Chinese characters. However, if directory/file name includes `%`, `url` must be encoded manually.
|
349
|
-
- [Breaking] `SASQueryParameters` is not going to be exported in browser bundle, and will be exported in Node.js runtime.
|
350
|
-
- [Breaking] IE11 needs `Array.prototype.includes` and `Object.keys` polyfills loaded.
|
351
|
-
- Updated dependency `ms-rest-js` to `@azure/ms-rest-js`.
|
352
|
-
- Fixed `Aborter.timeout()` misleading scale description.
|
353
|
-
- Removed default 60s server timeout value for retry options `tryTimeoutInMs` to avoid large blob download stream unexpected ending.
|
354
|
-
- Fixed an issue that when body is string with special characters, `FileURL.uploadRange` will fail to upload.
|
355
|
-
- Exported `HttpRequestBody` type for who wants to implement a customized HTTP client.
|
356
|
-
|
357
|
-
## 10.0.0-preview (2018-12-01)
|
358
|
-
|
359
|
-
- Initial Release. API version 2018-03-28 supported. Please see the README for information on the new design.
|