Azure SDK for JavaScript (April 2020)
The Azure SDK team is pleased to make available the April 2020 client library release.
- Updates for Core libraries
- Update for Azure Event Hubs
- New preview for Azure Text Analytics
- New preview of Azure Cognitive Search
- New preview of Azure Identity
- Initial preview of Azure Service Bus v7
Installation Instructions
To install the packages, copy and paste the below into a terminal.
$> npm install @azure/event-hubs
$> npm install @azure/ai-text-analytics
$> npm install @azure/identity
$> npm install @azure/search-documents
$> npm install @azure/service-bus@next
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
Changelog
Detailed change logs for each of the libraries can be found in the source repository linked to in the Quick Links table. Below are some noteworthy changes in the current release.
Core libraries
@azure/core-auth
- addKeyCredential
,AzureKeyCredential
and its respective request policy.@azure/core-http
- improve cross-version compatibility by adding new interfacesWebResourceLike
andHttpHeadersLike
.
Event Hubs
- Additional known AMQP message properties are now accessible on received events’
systemProperties
.
Text Analytics
- [Breaking] Removed PII entity detection methods from
TextAnalyticsClient
as well as all associated samples and documentation. - [Breaking] Replaced
TextAnalyticsApiKeyCredential
withAzureKeyCredential
(re-exported through this package from@azure/core-auth
).
Cognitive Search
- [Breaking] Package renamed to
@azure/search-documents
and version number reset to1.0.0-preview.2
. - Support for index management operations using the
SearchServiceClient
. - [Breaking]
indexDocuments
onSearchIndexClient
now takes anIndexDocumentsBatch
object instead of a raw action array. This new type helps compose an array of actions to be performed on the index. - [Breaking] In
SearchIndexClient
, removed optionsmergeIfExists
anduploadIfNotExists
onuploadDocuments
andmergeDocuments
and replaced them with new helpermergeOrUploadDocuments
. - The type
IndexAction
was renamed toIndexDocumentsAction
. - [Breaking] Removed
SearchApiKeyCredential
and replaced withAzureKeyCredential
. - [Breaking] Search results accessed
byPage
now have an opaquecontinuationToken
in place ofnextLink
andnextPageParameters
.
Azure Identity
- Add support of authentication using Visual Studio Code credentials.
Service Bus
- Initial preview of Azure Service Bus client library version 7.
- This version of library has been designed based on the Azure SDK Design Guidelines for TypeScript to ensure consistency, idiomatic design, and excellent developer experience and productivity.
Latest Releases
View all the latest versions of JavaScript packages here.