The Azure SDK team is pleased to announce our April 2022 client library releases.

58 packages released this month.

Stable Packages (30)

  • @azure/arm-appservice-profile-2020-09-01-hybrid

  • @azure/arm-databoxedge-profile-2020-09-01-hybrid

  • @azure/arm-dns-profile-2020-09-01-hybrid

  • @azure/arm-keyvault-profile-2020-09-01-hybrid

  • @azure/arm-monitor-profile-2020-09-01-hybrid

  • @azure/arm-mysql-flexible

  • Administration

  • Azure Core Http Compat

  • Certificates

  • Communication Chat

  • Core - Client - Core Rest Pipeline

  • Core - Client - Tracing

  • Event Grid

  • Keys

  • Resource Management - Batch

  • Resource Management - Cognitive Services

  • Resource Management - Container Instances

  • Resource Management - Container Service

  • Resource Management - Content Delivery Network

  • Resource Management - Data Factory

  • Resource Management - Hardware Security Modules

  • Resource Management - Health Care APIs

  • Resource Management - Kubernetes Configuration

  • Resource Management - Redis Cache

  • Resource Management - Security

  • Resource Management - SignalR

  • Resource Management - Storage

  • Resource Management - Storage Cache

  • Secrets

  • Tables

Patch Updates (3)

  • Resource Management - Advisor

  • Resource Management - Api Management

  • Resource Management - Compute

Beta Packages (21)

  • Artifacts

  • Avro

  • Communication Identity

  • Communication Phone Numbers

  • Container Registry

  • Core

  • Core - Client - Rest

  • Event Hubs

  • Identity

  • Monitor OpenTelemetry Exporter

  • Purview Catalog

  • Resource Management - App

  • Resource Management - App Configuration

  • Resource Management - App Platform

  • Resource Management - Application Insights

  • Resource Management - Event Grid

  • Resource Management - Managed Service Identity

  • Resource Management - Mobilenetwork

  • Resource Management - Policy Insights

  • Resource Management - Securityinsight

  • Service Bus

Release highlights

@azure/arm-appservice-profile-2020-09-01-hybrid 2.0.0 Changelog

@azure/arm-databoxedge-profile-2020-09-01-hybrid 2.0.0 Changelog

@azure/arm-dns-profile-2020-09-01-hybrid 2.0.0 Changelog

@azure/arm-keyvault-profile-2020-09-01-hybrid 2.0.0 Changelog

@azure/arm-monitor-profile-2020-09-01-hybrid 2.0.0 Changelog

@azure/arm-mysql-flexible 2.0.0 Changelog

Administration 4.2.0 Changelog

Other Changes

  • This release updates BackupClient and AccessControlClient to support service version 7.3 by default.

Artifacts 1.0.0-beta.9 Changelog

Features Added

Added more supported types in LinkedServiceOperations

Avro 1.0.0-beta.7 Changelog

Breaking Changes

  • AvroEncoder has been renamed to AvroSerializer
  • The encodeMessageData method has been renamed to serializeMessageData
  • The decodeMessageData method has been renamed to deserializeMessageData

Avro 1.0.0-beta.8 Changelog

Breaking Changes

  • The encodeMessageData method has been renamed to serialize.
  • The decodeMessageData method has been renamed to deserialize.
  • The MessageWithMetadata interface has been renamed to MessageContent.
  • MessageContent’s body has been renamed to data.
  • MessageAdapter’s consumeMessage and produceMessage have been renamed to consume and produce.

Features Added

  • A new error type, AvroError, is added and is thrown in all error cases except for service calls.

Azure Core Http Compat 1.2.0 Changelog

Features Added

  • Updated response object to have a custom _response property. Please refer #21004 for further details.

Certificates 4.4.0 Changelog

Other Changes

  • This release updates CertificateClient to support service version 7.3 by default.

Communication Chat 1.2.0 Changelog

Features Added

  • Updated to @azure/communication-signaling@1.0.0-beta.13.
  • Updated to @azure/communication-common@2.0.0.

Communication Identity 1.1.0-beta.2 Changelog

Features Added

  • Migrated from using @azure/core-http to @azure/core-rest-pipeline for the handling of HTTP requests. See Azure Core v1 vs v2 for more on the difference and benefits of the move.

Communication Phone Numbers 1.2.0-beta.3 Changelog

Features Added

  • Added environment variable AZURE_USERAGENT_OVERRIDE that overrides the HTTP header x-ms-useragent during tests

Container Registry 1.1.0-beta.1 Changelog

Features Added

  • Add a new ContainerRegistryBlobClient to allow upload and download of OCI blobs and manifests. PR #20529

Core 1.1.0-beta.1 Changelog

Features Added

  • 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 for more details.
  • 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.
  • Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features
  • Added support for property sourceTime.

Core - Client - Core Rest Pipeline 1.7.0 Changelog

Bugs Fixed

  • Bug #20778 Customers can provide abort signals in the options bags for the client libraries but they were not being checked when requests were being retried. The issue is fixed in #20781.
  • Fixed a bug introduced on 1.4.0 that prevented the retry policies from throwing errors after all the retry steps are exhausted.
  • Fixed a bug introduced on 1.4.0 that prevented the exponential retry policy to retry when the server answered with some expected errors.

Features Added

  • Supports the "retry-after-ms" and "x-ms-retry-after-ms" headers along with the "Retry-After" header from throttling retry responses from the services. #20817

Core - Client - Core Rest Pipeline 1.8.0 Changelog

Bugs Fixed

  • Updated redirectPolicy to remove the Authorization header from redirected requests. #21026
  • Fixed an issue introduced in 1.6.0 where redirects were not properly followed in the browser. #21051

Features Added

  • Support resettable streams in the form of () => NodeJS.ReadableStream for NodeJS and () => ReadableStream for browser. #21013
  • Add a React-Native mapping for default HTTP Client to the old XhrHttpClient because the Fetch API implementation in React-Native runtime is missing streaming support.

Core - Client - Rest 1.0.0-beta.9 Changelog

Features Added

  • Handle Binary and FormData content. #18753
  • Support custom base url with path parameters. #19463
  • Added new ClientOptions member additionalPolicies to allow passing custom pipeline policies to client constructors. #20175

Core - Client - Tracing 1.0.0 Changelog

This release marks the GA release of our @azure/core-tracing libraries and is unchanged from preview.14

Event Grid 4.9.0 Changelog

Features Added

  • Added new System Events:

  • Microsoft.HealthcareApis.FhirResourceCreated
  • Microsoft.HealthcareApis.FhirUpdatedCreated
  • Microsoft.HealthcareApis.FhirDeletedCreated

Event Hubs 5.8.0-beta.2 Changelog

Bugs Fixed

  • createEventDataAdapter is updated so that consumeMessage returns the original binary payload instead of the Buffer representation of it.

Event Hubs 5.8.0-beta.3 Changelog

Bugs Fixed

  • The Uint8Array payload was being stringified first before it gets sent which caused the receiver to treat it as an object instead of a Uint8Array. This is now fixed and Uint8Array is being treated the same as a Buffer.
  • The hashing algorithm used to map partition keys to IDs in the buffered producer is no longer sensitive to the endianness of the local machine Issue #21190.

Breaking Changes

  • MessageWithMetadata has been renamed to MessageContent.
  • MessageContent’s body has been renamed to data.
  • MessageAdapter’s consumeMessage and produceMessage have been renamed to consume and produce.

Identity 2.1.0-beta.2 Changelog

Bugs Fixed

Features Added

  • Added stronger types to the DefaultAzureCredential and ManagedIdentityCredential constructors so that TypeScript users will trigger a type error by providing both a Managed Identity client ID and resource ID to the same credential instance.
  • Added stronger types to the ClientCertificateCredential and OnBehalfOfCredential constructors so that TypeScript users will trigger a type error by providing both a Client certificate and certificate path to the same credential instance.
  • Added support for App Service 2019 resource in Managed Identity Credential.
  • All of our credentials now support a new option on their constructor: loggingOptions, which allows configuring the logging options of the HTTP pipelines.
  • Within the new loggingOptions we have also added allowLoggingAccountIdentifiers, a property that if set to true logs information specific to the authenticated account after each successful authentication, including: the Client ID, the Tenant ID, the Object ID of the authenticated user, and if possible the User Principal Name.

Keys 4.4.0 Changelog

Features Added

  • Added support for KeyClient.getRandomBytes which, when connected to a managed HSM, can be used to generate a byte array of a given length with random values.
  • Added support for Secure key Release from a Managed HSM.
  • Added KeyClient.releaseKey to release a key from a Managed HSM.
  • Added exportable and releasePolicy to KeyVaultKey.properties, createKeyOptions, and importKeyOptions in order to specify whether the key is exportable and to associate a release policy to a given key.
  • Added support for automated key rotation in Azure Key Vault and Managed HSM.
  • Added KeyClient.rotateKey to rotate a key on-demand.
  • Added KeyClient.updateKeyRotationPolicy to update a key’s automated rotation policy.
  • Added support for KeyClient.getCryptographyClient(keyName, options) which provides a simple way to create a CryptographyClient for a given key (identified by its name).
  • An optional keyVersion property may be used in the options parameter to create a cryptography client targeting a specific key version. The latest version is used by default.

Monitor OpenTelemetry Exporter 1.0.0-beta.7 Changelog

Features Added

  • Added authentication support using @azure/identity TokenCredential.
  • Added file access control in Windows for retriable telemetry.

Purview Catalog 1.0.0-beta.4 Changelog

  • Fix bug for listing entities by guids

Resource Management - Advisor 3.0.1 Changelog

Resource Management - Api Management 8.0.1 Changelog

Resource Management - App 1.0.0-beta.1 Changelog

Resource Management - App Configuration 3.0.0-beta.2 Changelog

Resource Management - App Configuration 3.0.0-beta.3 Changelog

Resource Management - App Platform 2.0.0-beta.4 Changelog

Resource Management - Application Insights 5.0.0-beta.3 Changelog

Resource Management - Batch 7.1.0 Changelog

Resource Management - Cognitive Services 7.1.0 Changelog

Resource Management - Compute 17.3.1 Changelog

Resource Management - Container Instances 8.1.0 Changelog

Resource Management - Container Service 15.2.0 Changelog

Resource Management - Content Delivery Network 7.0.0 Changelog

Resource Management - Data Factory 10.3.0 Changelog

Resource Management - Event Grid 14.0.0-beta.1 Changelog

Resource Management - Hardware Security Modules 1.0.0 Changelog

Resource Management - Health Care APIs 2.1.0 Changelog

Resource Management - Kubernetes Configuration 5.0.0 Changelog

Resource Management - Managed Service Identity 2.1.0-beta.1 Changelog

Resource Management - Mobilenetwork 1.0.0-beta.2 Changelog

Resource Management - Policy Insights 6.0.0-beta.1 Changelog

Resource Management - Redis Cache 6.1.0 Changelog

Resource Management - Security 5.0.0 Changelog

Resource Management - Securityinsight 1.0.0-beta.2 Changelog

Resource Management - SignalR 5.1.0 Changelog

Resource Management - Storage 17.2.0 Changelog

Resource Management - Storage Cache 5.1.0 Changelog

Secrets 4.4.0 Changelog

Other Changes

  • This release updates SecretClient to support service version 7.3 by default.

Service Bus 7.6.0-beta.1 Changelog

Bugs Fixed

  • Correct typing of propertiesToModify options to abandonMessages(), deferMessages(), and “deadLetterMessages()” PR #20577

Tables 13.1.0 Changelog

Bugs Fixed

  • Fix issue when the Service returns an empty nextRowKey. #20916.
  • Fix issue with getStatistics() operation consistently failing and added test. #20398

Latest Releases

View all the latest versions of JavaScript packages here.

Installation Instructions

To install the packages, copy and paste the below into a terminal.

$> npm install @azure-rest/core-client@1.0.0-beta.9
$> npm install @azure-rest/purview-catalog@1.0.0-beta.4
$> npm install @azure/arm-advisor@3.0.1
$> npm install @azure/arm-apimanagement@8.0.1
$> npm install @azure/arm-app@1.0.0-beta.1
$> npm install @azure/arm-appconfiguration@3.0.0-beta.2
$> npm install @azure/arm-appconfiguration@3.0.0-beta.3
$> npm install @azure/arm-appinsights@5.0.0-beta.3
$> npm install @azure/arm-appplatform@2.0.0-beta.4
$> npm install @azure/arm-appservice-profile-2020-09-01-hybrid@2.0.0
$> npm install @azure/arm-batch@7.1.0
$> npm install @azure/arm-cdn@7.0.0
$> npm install @azure/arm-cognitiveservices@7.1.0
$> npm install @azure/arm-compute@17.3.1
$> npm install @azure/arm-containerinstance@8.1.0
$> npm install @azure/arm-containerservice@15.2.0
$> npm install @azure/arm-databoxedge-profile-2020-09-01-hybrid@2.0.0
$> npm install @azure/arm-datafactory@10.3.0
$> npm install @azure/arm-dns-profile-2020-09-01-hybrid@2.0.0
$> npm install @azure/arm-eventgrid@14.0.0-beta.1
$> npm install @azure/arm-hardwaresecuritymodules@1.0.0
$> npm install @azure/arm-healthcareapis@2.1.0
$> npm install @azure/arm-keyvault-profile-2020-09-01-hybrid@2.0.0
$> npm install @azure/arm-kubernetesconfiguration@5.0.0
$> npm install @azure/arm-mobilenetwork@1.0.0-beta.2
$> npm install @azure/arm-monitor-profile-2020-09-01-hybrid@2.0.0
$> npm install @azure/arm-msi@2.1.0-beta.1
$> npm install @azure/arm-mysql-flexible@2.0.0
$> npm install @azure/arm-policyinsights@6.0.0-beta.1
$> npm install @azure/arm-rediscache@6.1.0
$> npm install @azure/arm-security@5.0.0
$> npm install @azure/arm-securityinsight@1.0.0-beta.2
$> npm install @azure/arm-signalr@5.1.0
$> npm install @azure/arm-storage@17.2.0
$> npm install @azure/arm-storagecache@5.1.0
$> npm install @azure/communication-chat@1.2.0
$> npm install @azure/communication-identity@1.1.0-beta.2
$> npm install @azure/communication-phone-numbers@1.2.0-beta.3
$> npm install @azure/container-registry@1.1.0-beta.1
$> npm install @azure/core-http-compat@1.2.0
$> npm install @azure/core-rest-pipeline@1.7.0
$> npm install @azure/core-rest-pipeline@1.8.0
$> npm install @azure/core-tracing@1.0.0
$> npm install @azure/data-tables@13.1.0
$> npm install @azure/digital-twins-core@1.1.0-beta.1
$> npm install @azure/event-hubs@5.8.0-beta.2
$> npm install @azure/event-hubs@5.8.0-beta.3
$> npm install @azure/eventgrid@4.9.0
$> npm install @azure/identity@2.1.0-beta.2
$> npm install @azure/keyvault-admin@4.2.0
$> npm install @azure/keyvault-certificates@4.4.0
$> npm install @azure/keyvault-keys@4.4.0
$> npm install @azure/keyvault-secrets@4.4.0
$> npm install @azure/monitor-opentelemetry-exporter@1.0.0-beta.7
$> npm install @azure/schema-registry-avro@1.0.0-beta.7
$> npm install @azure/schema-registry-avro@1.0.0-beta.8
$> npm install @azure/service-bus@7.6.0-beta.1
$> npm install @azure/synapse-artifacts@1.0.0-beta.9

Feedback

If you have a bug or feature request for one of the libraries, please post an issue at the azure-sdk-for-js repository