Azure SDK for JavaScript (March 2021)
The Azure SDK team is pleased to make available the March 2021 client library release.
GA
- Core v2
- Storage - Files Shares
- Storage - Blobs
- Storage - Files Data Lake
- Storage - Queues
- Event Grid
Updates
- App Configuration
- Identity
- Core - Abort Controller
- Core - Client
- Core - Rest-Pipeline
- Cosmos DB
- Event Grid
Beta
- Key Vault - Secrets
- Key Vault - Keys
- Azure Communication Common
- Azure Communication Identity
- Azure Communication Chat
- Azure Communication Phone Numbers
- Azure Communication SMS
- Event Hubs
- Azure Data Tables
- Azure Text Analytics
Installation Instructions
To install the packages, copy and paste the below into a terminal.
$> npm install @azure/app-configuration:1.1.1
$> npm install @azure/identity@1.2.4
$> npm install @azure/core-client@1.0.0
$> npm install @azure/core-rest-pipeline@1.0.0
$> npm install @azure/core-rest-pipeline@1.0.1
$> npm install @azure/core-rest-pipeline@1.0.2
$> npm install @azure/abort-controller@1.0.3
$> npm install @azure/abort-controller:1.0.4
$> npm install @azure/ai-text-analytics@5.1.0-beta.5
$> npm install @azure/keyvault-secrets@4.2.0-beta.3
$> npm install @azure/keyvault-keys@4.2.0-beta.4
$> npm install @azure/communication-common@1.0.0-beta.6
$> npm install @azure/communication-identity@1.0.0-beta.5
$> npm install @azure/communication-chat@1.0.0-beta.5
$> npm install @azure/communication-phone-numbers@1.0.0-beta.4
$> npm install @azure/storage-file-share@12.5.0
$> npm install @azure/storage-blob@12.5.0
$> npm install @azure/storage-file-datalake@12.4.0
$> npm install @azure/storage-queue@12.4.0
$> npm install @azure/cosmos@3.10.2
$> npm install @azure/cosmos@3.10.3
$> npm install @azure/cosmos@3.10.4
$> npm install @azure/cosmos@3.10.5
$> npm install @azure/communication-sms@1.0.0-beta.4
$> npm install @azure/event-hubs@5.5.0-beta.1
$> npm install @azure/eventgrid@4.0.0
$> npm install @azure/eventgrid@4.1.0
$> npm install @azure/data-tables@12.0.0-beta.1
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
Release highlights
App Configuration 1.1.1 Changelog
- Fix issues with
select
ing fields to be returned fromlistConfigurationSettings
,listConfigurationRevisions
andgetConfigurationSetting
wherelast_modified
andcontent_type
could not properly be passed in. PR #13258Identity 1.2.4 Changelog
This release doesn’t have the changes from
1.2.4-beta.1
. Those will be present in the next beta release. - Bug fix: Now if the
managedIdentityClientId
optional parameter is provided toDefaultAzureCredential
, it will be properly passed through to the underlyingManagedIdentityCredential
. Related to customer issue: 13872. - Bug fix:
ManagedIdentityCredential
now also properly handlesEHOSTUNREACH
errors. Fixes issue 13894.Event Hubs 5.5.0-beta.1 Changelog
- Adds support for enabling idempotent partition event publishing with the EventHubProducerClient.
Core - Abort Controller 1.0.3 Changelog
Support Typescript version < 3.6 by down-leveling the type definition files. (PR 12793)
Core - Abort Controller 1.0.4 Changelog
Fixes issue 13985 where abort event listeners that removed themselves when invoked could prevent other event listeners from being invoked.
Core - Rest Pipeline 1.0.0 Changelog
- Includes all changes in 1.0.0-beta.2 @azure/core-rest-pipeline package
Core Rest Pipeline 1.0.1 Changelog
- Fixed an issue where
timeout
andabortSignal
of requests was not honored on Node after requests had already been issued to the server. PR 14359
Core Rest Pipeline 1.0.2 Changelog
- Fixed an issue where chunked HTTP responses would sometimes be decoded incorrectly when multibyte characters were used. PR 14517
Core - Client 1.0.0 Changelog
- Includes all changes in 1.0.0-beta.2 @azure/core-client package
Key Vault - Secrets 4.2.0-beta.3 Changelog
- Updated the Latest service version to 7.2.
- Added a
certificateKeyId?: string
secret property to use instead of the deprecatedkeyId?: URL
and removed"lib": ["dom"]
fromtsconfig.json
Key Vault - Keys 4.2.0-beta.4 Changelog
- Updated the Latest service version to 7.2.
- Added
curve
tocreateKeyOptions
to be used when creating anEC
key. - Deprecated the current
encrypt
anddecrypt
methods in favor of the more flexible overloads that take an{Encrypt|Decrypt}Parameters
and allow passing in algorithm specific parameters. This enables support for the various AES algorithms used in Managed HSM. The deprecated methods continue to function and there’s no timeline for their removal. - Added
additionalAuthenticatedData
,iv
, andauthenticationTag
toEncryptResult
in order to support AES encryption and decryption. - Refactored the various cryptography providers and updated the error messages to be clearer and more descriptive.
Azure Communication Administration is deprecated
PhoneNumberAdministrationClient
is moved into the new package @azure/communication-phone-numbers and replaced byPhoneNumbersClient
.
Azure Communication Phone Numbers 1.0.0-beta.4 Changelog
Breaking Changes
- Removed
dist-browser
from the output folders. To bundle the Azure SDK libraries, please read our bundling guide.
Azure Communication Chat 1.0.0-beta.5 Changelog
Breaking Changes
- Removed
_response
from returned models. - Updated to @azure/communication-common@1.0.0-beta.6. Now uses
CommunicationIdentifier
in place ofCommunicationUserIdentifier
. - Swap the parameter order in
ChatThreadClient
constructor. - Generates
repeatabilityRequestId
if not populated increateChatThread
operation.
Azure Communication Common 1.0.0-beta.6 Changelog
New Features
- Updated @azure/communication-common version.
Azure Communication Identity 1.0.0-beta.5 Changelog
Breaking Changes
CommunicationIdentityClient
methodissueToken
renamed togetToken
.CommunicationIdentityClient
methodcreateUserWithToken
renamed tocreateUserAndToken
.- Renamed
CommunicationIdentityOptions
toCommunicationIdentityClientOptions
. - Removed
_response
from returned models. - Removed
dist-browser
from the output folders. To bundle the Azure SDK libraries, please read our bundling guide..
Azure Communication SMS 1.0.0-beta.4 Changelog
New Features
SmsClient
added a constructor that supportsTokenCredential
.- Added support for 1:N SMS messaging.
- Added support for tagging SMS messages.
-
send
method inSmsClient
is idempotent under retry policy.Breaking Changes
SendRequest
renamed toSmsSendRequest
.SendOptions
renamed toSmsSendOptions
and now has an additional fieldtag
to add a custom tag to delivery reports (when enabled).send
no longer returnsRestResponse
, now returns an array ofSmsSendResults
. This contains fields to validate success/failure of each sent message.Storage - Files Shares 12.5.0 Changelog
- Updated Azure Storage Service API version to 2020-06-12.
Storage - Blobs 12.5.0 Changelog
- Includes all features released in 12.5.0-beta.1.
Storage - Files Data Lake 12.4.0 Changelog
- Includes all features released in 12.4.0-beta.1.
Storage - Queues 12.4.0 Changelog
- Updated Azure Storage Service API version to 2020-06-12.
Cosmos DB 3.10.2 Changelog
- BUGFIX: Fixes @azure/identity dependency in dev deps.
Cosmos DB 3.10.3 Changelog
- BUGFIX: Removes direct dependency on @azure/identity while retaining compatibility.
Cosmos DB 3.10.4 Changelog
- FEATURE: Adds Bulk continueOnError option
Cosmos DB 3.10.5 Changelog
- BUGFIX: Pins node-abort-controller version as we depend on a type in v1.2.0.
Azure Data Tables 12.0.0-beta.1 Changelog
- Exclude browser unsupported headers when building a Batch request in the browser #13955)
- Make connection string keys case-insensitive #13954
Azure Text Analytics 5.1.0-beta.5 Changelog
New Features
- Targets the service’s v3.1-preview.4 API as the default instead of v3.1-preview.3.
beginAnalyzeHealthcareEntities
returns a list of relations between healthcare entities.recognizePiiEntities
takes a new option, categoriesFilter, that specifies a list of Pii categories to return.
Breaking Changes
- Aspects in opinions mining are now called targets and each individual opinion is now called an assessment. The new naming simplifies the naming of different parts of the response.
Event Grid 4.0.0 Changelog
- Update version to 4.0.0 to align with other EventGrid SDKs
Breaking Changes
EventGridConsumer
no longer applies any conversions to thedata
property of system events. The interfaces that describe the data payload of each system event has been updated to reflect this. The most visible impact of this change is that some properties of events are no longer converted into JavaScriptDate
objects, and instead are kepts as strings which contain ISO 8601 timestamps.- Related to the above,
EventGridConsumer
no longer accepts a set of custom converters that can be used to further transform thedata
property of a specific event type when deserializing events. - The interfaces which describe the shape of the
data
member of system events have been updated so that properties always included in the event are not typed as optional.
Event Grid 4.1.0 Changelog
- The system event names
Microsoft.Communication.ChatParticipantAddedToThread
andMicrosoft.Communication.ChatParticipantRemovedFromThread
have been removed, andMicrosoft.Communication.ChatThreadParticipantAdded
andMicrosoft.Communication.ChatThreadParticipantRemoved
have been added. The old names did not match the the type names that Azure Communication Services was using for these events. TypeScript users will now see compliation errors if they are callingisSystemEvent
with eitherMicrosoft.Communication.ChatParticipantAddedToThread
orMicrosoft.Communication.ChatParticipantRemovedFromThread
as the event name. To fix these issues, replace all uses ofMicrosoft.Communication.ChatParticipantAddedToThread
withMicrosoft.Communication.ChatThreadParticipantAdded
andMicrosoft.Communication.ChatParticipantRemovedFromThread
withMicrosoft.Communication.ChatThreadParticipantRemoved
. - Add
Microsoft.Communications.RecordingFileStatusUpdated
system event.
Latest Releases
View all the latest versions of JavaScript packages here.