@azure/storage-file-share 12.9.0-alpha.20220128.2 → 12.9.0-alpha.20220302.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/CHANGELOG.md +13 -4
- package/dist/index.js +592 -50
- package/dist/index.js.map +1 -1
- package/dist-esm/src/Clients.js +125 -1
- package/dist-esm/src/Clients.js.map +1 -1
- package/dist-esm/src/generated/src/models/index.js.map +1 -1
- package/dist-esm/src/generated/src/models/mappers.js +232 -0
- package/dist-esm/src/generated/src/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/src/models/parameters.js +103 -37
- package/dist-esm/src/generated/src/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/src/operations/directory.js +48 -0
- package/dist-esm/src/generated/src/operations/directory.js.map +1 -1
- package/dist-esm/src/generated/src/operations/file.js +51 -7
- package/dist-esm/src/generated/src/operations/file.js.map +1 -1
- package/dist-esm/src/generated/src/storageClientContext.js +2 -2
- package/dist-esm/src/generated/src/storageClientContext.js.map +1 -1
- package/dist-esm/src/generatedModels.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/dist-esm/src/utils/utils.common.js +22 -0
- package/dist-esm/src/utils/utils.common.js.map +1 -1
- package/package.json +2 -2
- package/types/3.1/storage-file-share.d.ts +225 -4
- package/types/latest/storage-file-share.d.ts +231 -4
package/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
-
## 12.9.0-beta.
|
3
|
+
## 12.9.0-beta.4 (Unreleased)
|
4
4
|
|
5
5
|
### Features Added
|
6
6
|
|
@@ -8,8 +8,17 @@
|
|
8
8
|
|
9
9
|
### Bugs Fixed
|
10
10
|
|
11
|
+
- Set correct content length in requests for uploading operations to avoid unexpected failure if customized content length is incorrect.
|
12
|
+
|
11
13
|
### Other Changes
|
12
14
|
|
15
|
+
## 12.9.0-beta.3 (2022-02-11)
|
16
|
+
|
17
|
+
### Features Added
|
18
|
+
|
19
|
+
- Added support for service version 2021-04-10.
|
20
|
+
- Added support for renaming a file or a directory.
|
21
|
+
|
13
22
|
## 12.9.0-beta.2 (2021-12-03)
|
14
23
|
|
15
24
|
### Features Added
|
@@ -206,14 +215,14 @@
|
|
206
215
|
Before this change the option is specified as
|
207
216
|
```js
|
208
217
|
fileServiceClient.listShares({
|
209
|
-
include: ["metadata", "snapshots"]
|
218
|
+
include: ["metadata", "snapshots"],
|
210
219
|
});
|
211
220
|
```
|
212
221
|
After this change:
|
213
222
|
```js
|
214
223
|
fileServiceClient.listShares({
|
215
224
|
includeMetadata: true,
|
216
|
-
includeSnapshots: true
|
225
|
+
includeSnapshots: true,
|
217
226
|
});
|
218
227
|
```
|
219
228
|
|
@@ -244,7 +253,7 @@
|
|
244
253
|
- Added `DirectoryClient.listHandlesSegment()` and `FileClient.listHandlesSegment()` to returns a list of open handles on a directory or a file.
|
245
254
|
- Added `DirectoryClient.forceCloseHandlesSegment()`, `FileClient.forceCloseHandlesSegment()`, `DirectoryClient.forceCloseHandle()` and `FileClient.forceCloseHandle()` to close handles.
|
246
255
|
- 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.
|
247
|
-
- Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - [
|
256
|
+
- 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)
|
248
257
|
- 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)
|
249
258
|
|
250
259
|
## 12.0.0-preview.2 (2019-08-01)
|