2019.07 Version 12.0.0-preview.1
- [Breaking] Client types are renamed from *URL to *Client.
- QueueURL, MessagesURL, MessageIdURL, ServiceURL, StorageURL to QueueClient, MessagesClient, MessageIdClient, QueueServiceClient, StorageClient respectively.
- [Breaking] Aborter parameters are now moved into option bags.
abortSignal
attrubute(optional) in the option-bag of respective module has to be utitlized for theAborter.timeout(<milliseconds>)
functionality.Aborter.none
is the default value.
- [Breaking] I- prefixes are removed from interface names
- Example-
IQueueCreateOptions
is updated toQueueCreateOptions
, the new names must to be used.
- Example-
- [Breaking] The static methods to create client types are removed. The functionality is moved into new instance methods added to the parent clients.
- [Breaking] The telemetry strings have been updated.
Azure-Storage/${SDK_VERSION}
is updated toazsdk-js-storagequeue/${SDK_VERSION}
.
- [Breaking] withPipeline method is removed.
- Async iterators with pagination support are added for listing queues
listQueues()
- Please refer to the samples for async iterators in the
samples
folder.
- Please refer to the samples for async iterators in the
- [Breaking] Methods that list segments(
listQueuesSegment()
) is no longer exposed in public api. - [Breaking]
StorageClient
is no longer exposed.StorageClient.newPipeline()
static method is moved to the top level exported functionnewPipeline()
. - [Breaking]
TokenCredential
has been renamed toRawTokenCredential
to make way for the new@azure/identity
library'sTokenCredential
interface. - [Breaking] The type of the
include
field of bothServiceListQueuesOptions
andServiceListQueuesSegmentOptions
has changed fromListQueuesIncludeType
toListQueuesIncludeType[]
due to changes in the underlying OpenAPI specification. - [Breaking] Blob/Container member methods that manage leases are removed. A new type
LeaseClient
is added to manage leases. - Updated dependency
@azure/ms-rest-js
to@azure/core-http
. - Constructor overloads added into client types so they can be constructed from a url and a pipeline/credential and connection string.
- Constructors with overloads -
MessageIdClient
,MessagesClient
,QueueClient
andQueueServiceClient
. - Connection string method is supported only in Node.js (not browsers).
- Constructors with overloads -
- Creation/Deletion of child resources are duplicated to parent client type.
- HTTP proxy support is added (Node.js only).
- Please refer to the
proxyAuth.ts
sample in thesamples/typescript
folder.
- Please refer to the
- Request and response headers are now logged at INFO level, with sensitive data redacted.
For release notes and more information please visit https://aka.ms/azure-sdk-preview1-js