The Azure SDK team is pleased to make available the July 2019 client library preview release. This represents the first release of the ground-up rewrite of the client libraries to ensure consistency, idiomatic design, and excellent developer experience and productivity. This preview release includes new client libraries for Key Vault (keys and secrets), Event Hubs, Storage (blob, files and queues) and Cosmos.
To install the packages, copy and paste the below into a terminal.
$> npm install @firstname.lastname@example.org $> npm install @email@example.com $> npm install @firstname.lastname@example.org $> npm install @email@example.com $> npm install @firstname.lastname@example.org $> npm install @email@example.com
If you have a bug or feature request for one of the libraries, please post an issue at the azure-sdk-for-js repository
Detailed change logs are linked to in the Quick Links below. Here are some critical call outs.
- Designed based on the Azure SDK Design Guidelines for Typescript, resulting in a consistent API design and common feature set such as HTTP retries, logging, transport protocols, authentication protocols, cancellation mechanisms etc.
- Support for Azure Active Directory credentials created using the new @azure/identity library. Moving forward, this would be the common mode of authentication for all Azure SDK libraries.
- Modernized API making use of async functions and async iterators, to offer an improved and more productive developer experience.
- Added new user credential types, allowing authentication within client applications.
- Expanded support for sending multiple messages in a single call by adding the ability to create a batch which avoids the error scenario of exceeding size limits. Users having bandwidth concerns can control the batch size as desired.
- Introduced a new model for consuming events via the EventProcessor class. This simplifies the process of checkpointing today and will handle load balancing across partitions in upcoming updates.
- Added support for cryptographic operations (such as sign, verify, encrypt, and decrypt) using KeyVault keys.
- Added support for challenge based authentication.
- Added browser support for keys and secrets.
- Added support for SAS connection strings.
See Nov Release