@azure/storage-queue 12.8.0-beta.1 → 12.8.0
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 +14 -4
- package/README.md +4 -3
- package/dist/index.js +178 -146
- package/dist/index.js.map +1 -1
- package/dist-esm/src/AccountSASSignatureValues.js +2 -2
- package/dist-esm/src/AccountSASSignatureValues.js.map +1 -1
- package/dist-esm/src/Pipeline.js +6 -6
- package/dist-esm/src/Pipeline.js.map +1 -1
- package/dist-esm/src/QueueClient.js +41 -39
- package/dist-esm/src/QueueClient.js.map +1 -1
- package/dist-esm/src/QueueSASSignatureValues.js +1 -1
- package/dist-esm/src/QueueSASSignatureValues.js.map +1 -1
- package/dist-esm/src/QueueServiceClient.js +16 -14
- package/dist-esm/src/QueueServiceClient.js.map +1 -1
- package/dist-esm/src/SASQueryParameters.js +1 -1
- package/dist-esm/src/SASQueryParameters.js.map +1 -1
- package/dist-esm/src/TelemetryPolicyFactory.js +1 -1
- package/dist-esm/src/TelemetryPolicyFactory.js.map +1 -1
- package/dist-esm/src/credentials/StorageSharedKeyCredential.js +1 -3
- package/dist-esm/src/credentials/StorageSharedKeyCredential.js.map +1 -1
- package/dist-esm/src/generated/src/models/parameters.js +1 -1
- package/dist-esm/src/generated/src/models/parameters.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/StorageBrowserPolicy.js +1 -1
- package/dist-esm/src/policies/StorageBrowserPolicy.js.map +1 -1
- package/dist-esm/src/policies/StorageRetryPolicy.js +5 -5
- package/dist-esm/src/policies/StorageRetryPolicy.js.map +1 -1
- package/dist-esm/src/policies/StorageSharedKeyCredentialPolicy.js +1 -1
- package/dist-esm/src/policies/StorageSharedKeyCredentialPolicy.js.map +1 -1
- package/dist-esm/src/policies/TelemetryPolicy.js +1 -1
- package/dist-esm/src/policies/TelemetryPolicy.js.map +1 -1
- package/dist-esm/src/utils/constants.js +8 -8
- package/dist-esm/src/utils/constants.js.map +1 -1
- package/dist-esm/src/utils/tracing.js +2 -2
- package/dist-esm/src/utils/tracing.js.map +1 -1
- package/dist-esm/src/utils/utils.common.js +1 -1
- package/dist-esm/src/utils/utils.common.js.map +1 -1
- package/package.json +37 -40
- package/{typings → types}/3.1/storage-queue.d.ts +8 -0
- /package/{typings → types}/latest/storage-queue.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
## 12.8.0 (2022-03-11)
|
|
4
|
+
|
|
5
|
+
### Features Added
|
|
6
|
+
|
|
7
|
+
- Added support for service version 2021-04-10.
|
|
8
|
+
|
|
9
|
+
### Bugs Fixed
|
|
10
|
+
|
|
11
|
+
- Fixed a bug where customized `ProxyOptions` is overwrited by a default one when initializing `QueueServiceClient` or `QueueClient` with connection string.
|
|
12
|
+
|
|
3
13
|
## 12.8.0-beta.1 (2021-11-09)
|
|
4
14
|
|
|
5
15
|
### Features Added
|
|
@@ -157,13 +167,13 @@
|
|
|
157
167
|
Before this change the option is specified as
|
|
158
168
|
```js
|
|
159
169
|
queueServiceClient.listShares({
|
|
160
|
-
include: "metadata"
|
|
170
|
+
include: "metadata",
|
|
161
171
|
});
|
|
162
172
|
```
|
|
163
173
|
After this change:
|
|
164
174
|
```js
|
|
165
175
|
queueServiceClient.listShares({
|
|
166
|
-
includeMetadata: true
|
|
176
|
+
includeMetadata: true,
|
|
167
177
|
});
|
|
168
178
|
```
|
|
169
179
|
|
|
@@ -179,7 +189,7 @@
|
|
|
179
189
|
- Updated HTTP client from axios to node-fetch in Node.js runtime.
|
|
180
190
|
- A new option `keepAliveOptions` added to parameter of `newPipeline()` which controls keep-alive configurations. Keep-alive is enabled by default.
|
|
181
191
|
- 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.
|
|
182
|
-
- Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - [typescript/proxyAuth.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/typescript/src/proxyAuth.ts)
|
|
192
|
+
- Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - [typescript/proxyAuth.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/v12/typescript/src/proxyAuth.ts)
|
|
183
193
|
- 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)
|
|
184
194
|
|
|
185
195
|
## 10.3.0 (2019-09-09)
|
|
@@ -236,7 +246,7 @@
|
|
|
236
246
|
- Connection string method is supported only in Node.js (not browsers).
|
|
237
247
|
- Creation/Deletion of child resources are duplicated to parent client type.
|
|
238
248
|
- HTTP proxy support is added (Node.js only).
|
|
239
|
-
- Please refer to the `proxyAuth.ts` sample in the `samples/typescript` folder.
|
|
249
|
+
- Please refer to the `proxyAuth.ts` sample in the `samples/v12/typescript` folder.
|
|
240
250
|
- Request and response headers are now logged at INFO level, with sensitive data redacted.
|
|
241
251
|
|
|
242
252
|
For release notes and more information please visit https://aka.ms/azsdk/releases/july2019preview
|
package/README.md
CHANGED
|
@@ -11,6 +11,7 @@ Use the client libraries in this package to:
|
|
|
11
11
|
- Send/Receive/Peek/Clear/Update/Delete Queue Messages
|
|
12
12
|
|
|
13
13
|
Key links:
|
|
14
|
+
|
|
14
15
|
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue)
|
|
15
16
|
- [Package (npm)](https://www.npmjs.com/package/@azure/storage-queue)
|
|
16
17
|
- [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/storage-queue)
|
|
@@ -29,7 +30,7 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
|
|
|
29
30
|
|
|
30
31
|
### Prerequisites
|
|
31
32
|
|
|
32
|
-
- An [Azure subscription](https://azure.microsoft.com/free/)
|
|
33
|
+
- An [Azure subscription](https://azure.microsoft.com/free/)
|
|
33
34
|
- A [Storage Account](https://docs.microsoft.com/azure/storage/common/storage-account-create)
|
|
34
35
|
|
|
35
36
|
### Install the package
|
|
@@ -270,7 +271,7 @@ async function main() {
|
|
|
270
271
|
main();
|
|
271
272
|
```
|
|
272
273
|
|
|
273
|
-
For a complete sample on iterating queues please see [samples/typescript/
|
|
274
|
+
For a complete sample on iterating queues please see [samples/v12/typescript/listQueues.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/v12/typescript/src/listQueues.ts).
|
|
274
275
|
|
|
275
276
|
### Create a new queue
|
|
276
277
|
|
|
@@ -428,7 +429,7 @@ async function main() {
|
|
|
428
429
|
main();
|
|
429
430
|
```
|
|
430
431
|
|
|
431
|
-
A complete example of
|
|
432
|
+
A complete example of simple `QueueServiceClient` scenarios is at [samples/v12/typescript/src/queueClient.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/v12/typescript/src/queueClient.ts).
|
|
432
433
|
|
|
433
434
|
## Troubleshooting
|
|
434
435
|
|