Azure SDK for JavaScript (June 2022)
The Azure SDK team is pleased to announce our June 2022 client library releases.
39 packages released this month.
Stable Packages (15)
-
Core - Client - Core Rest Pipeline
-
Cosmos DB
-
Resource Management - App Platform
-
Resource Management - Appcontainers
-
Resource Management - Azure Stack HCI
-
Resource Management - Changes
-
Resource Management - Compute
-
Resource Management - Confidentialledger
-
Resource Management - Container Service
-
Resource Management - Data Factory
-
Resource Management - Imagebuilder
-
Resource Management - Network
-
Resource Management - Orbital
-
Resource Management - Recovery Services Backup
-
Resource Management - Servicelinker
Patch Updates (4)
-
Cosmos DB
-
Monitor Query
-
Resource Management - Device Provisioning Services
-
Tables
Beta Packages (16)
-
Communication Email
-
Core - Client - LRO
-
Core - Client - Rest
-
Form Recognizer
-
Resource Management - Application Insights
-
Resource Management - Communication
-
Resource Management - Container Registry
-
Resource Management - Container Service
-
Resource Management - Deviceupdate
-
Resource Management - Dynatrace
-
Resource Management - Education
-
Resource Management - Event Grid
-
Resource Management - Machinelearning
-
Resource Management - Securityinsight
-
Service Bus
-
Text Analytics
Release highlights
Communication Email 1.0.0-beta.1 Changelog
The first preview of the Azure Communication Email Client has the following features:
- send emails to multiple recipients with attachments
- get the status of a sent message
Core - Client - Core Rest Pipeline 1.9.0 Changelog
Features Added
- Add TLS policy in
createPipelineFromOptions
. #21949
Core - Client - LRO 2.3.0-beta.1 Changelog
Features Added
lroEngine
now supports cancellation of the long-running operation.
Core - Client - Rest 1.0.0-beta.10 Changelog
Fixes
- Fix to avoid skip
JSON.stringify
when the body is already a string. 20753
Other Changes
- Create new pipeline using @azure/core-rest-pipeline’s
createPipelineFromOptions
, instead of a custom pipeline. #21949 - Fix URL encoding for query parameters. #20972
Cosmos DB 3.16.0 Changelog
Features Added
- Allow users like cosmos-explorer to specify hierarchical partition keys. https://github.com/Azure/azure-sdk-for-js/pull/21934
- Support Dedicated Gateway RequestOptions and Max Integrated Cache Staleness. https://github.com/Azure/azure-sdk-for-js/pull/21240
Cosmos DB 3.16.1 Changelog
Bugs Fixed
Form Recognizer 4.0.0-beta.4 Changelog
Breaking Changes
- [DEPRECATION] Deprecated
PrebuiltModels
. In a future version (prior to a stable release),PrebuiltModels
and its fields will be replaced with an out-of-tree solution for obtaining strongly-typed analysis results. - [DEPRECATION] Deprecated
beginExtractLayout
,beginExtractGeneralDocument
, andbeginReadDocument
. In a future version (prior to a stable release), these methods will be removed, andbeginAnalyzeDocument
will be enhanced to provide the same restricted types. - Renamed the
beginCopyModel
method ofDocumentModelAdministrationClient
tobeginCopyModelTo
. #20775 - Renamed
BoundingRegion#boundingBox
toBoundingRegion#polygon
, as the service may now provide arbitrary, polygonal bounding areas rather than just rectangles. - The polygon is represented as an array of
Point2D
, clockwise from the left, -180 degrees inclusive. - Removed the
entities
property from theAnalyzeResult
type. This field may be reintroduced in a future version, but service API version2022-06-30-preview
no longer returns this field. - Renamed the
languageCode
property in theDocumentLanguage
type tolocale
. - Made the
angle
,height
,lines
,unit
,width
, andwords
properties ofDocumentPage
optional, as not all page kinds are guaranteed to support these fields.
Features Added
- Updated the SDK to use the latest preview version of the Form Recognizer service:
2022-06-30-preview
. - Added a
paragraphs
property to theAnalyzeResult
type and a newDocumentParagraph
type. This property represents the paragraph structure of the input document’s text. - Documents may now contain a
DocumentAddressField
type, which has an object with several fields related to physical addresses, such asstreetAddress
,city
, andstate
as its value. This field is identified by the value"address"
in thekind
field. - Added a
kind
field toDocumentPage
. For now, the only supported value of this field is"document"
. In the future, other page kinds may be added, indicating different dispositions of the extracted page elements.
Monitor Query 1.0.2 Changelog
Bugs Fixed
- Fixed a typo in the string for user-provided scope for
MetricsQueryClient
andLogsQueryClient
.
Resource Management - App Platform 2.0.0 Changelog
Resource Management - Appcontainers 1.0.0 Changelog
Resource Management - Application Insights 5.0.0-beta.4 Changelog
Resource Management - Azure Stack HCI 3.0.0 Changelog
Resource Management - Changes 1.0.0 Changelog
Resource Management - Communication 4.0.0-beta.1 Changelog
Resource Management - Compute 18.0.0 Changelog
Resource Management - Compute 19.0.0 Changelog
Resource Management - Confidentialledger 1.0.0 Changelog
Resource Management - Container Registry 10.1.0-beta.3 Changelog
Resource Management - Container Service 16.1.0-beta.2 Changelog
Resource Management - Container Service 16.1.0 Changelog
Resource Management - Container Service 17.0.0-beta.1 Changelog
Resource Management - Data Factory 10.5.0 Changelog
Resource Management - Data Factory 10.6.0 Changelog
Resource Management - Device Provisioning Services 5.0.1 Changelog
Resource Management - Deviceupdate 1.0.0-beta.1 Changelog
Resource Management - Dynatrace 1.0.0-beta.1 Changelog
Resource Management - Education 1.0.0-beta.1 Changelog
Resource Management - Event Grid 14.0.0-beta.2 Changelog
Resource Management - Imagebuilder 2.0.0 Changelog
Resource Management - Machinelearning 1.0.0-beta.1 Changelog
Resource Management - Network 28.0.0 Changelog
Resource Management - Orbital 1.0.0 Changelog
Resource Management - Recovery Services Backup 9.0.0 Changelog
Resource Management - Securityinsight 1.0.0-beta.3 Changelog
Resource Management - Servicelinker 2.0.0 Changelog
Service Bus 7.6.0-beta.3 Changelog
Features Added
- Add an option
omitMessageBody
inPeekMessagesOptions
allowing omitting message body when peeking messages usingreceiver.peekMessages()
Service Bus 7.6.0-beta.4 Changelog
Features Added
- Add support to add, retrieve, and remove subscription-level rules via AMQP links. PR #22018
Tables 13.1.2 Changelog
Features Added
- Support cross tenant authentication #21678
Bugs Fixed
- fix react native bundling issue by adding a
react-native
mapping to ESM entry point so that dependencies can be loaded asynchronously.
Text Analytics 6.0.0-beta.1 Changelog
Breaking Changes
- This version targets Azure Cognitive Language Service API version
2022-04-01-preview
and newer. It is not compatible with the Text Analytics service API. To continue to use the Text Analytics API version 3.1, please use major version 5 of the client library (@azure/ai-text-analytics@^5.1.0
). TextAnalyticsClient
has been replaced byTextAnalysisClient
.- The new
beginAnalyzeBatch
method replaces the previousbeginAnalyzeActions
andbeginAnalyzeHealthcareEntities
methods. The specification of actions and their results has changed to be a flat list instead of being an object where actions of the same kind are grouped into their own properties. - The new
analyze
method replaces the text analysis methods of the previous client. It provides a single method that can analyze documents using an action name. It replacesanalyzeSentiment
,extractKeyPhrases
,recognizeEntities
,recognizePiiEntities
,recognizeLinkedEntities
, anddetectLanguage
. The new method produces anAnalyzeResult
that gets specialized to the type of results corresponding to the input action. - Previously, types were named such that they follow the naming convention of actions as verb phrases, e.g.
RecognizeEntitiesResult
. Actions are now renamed as nouns and so their corresponding types, soRecognizeEntitiesResult
is now namedEntityRecognitionResult
. Please consult the migration guide for a full list of all renames. - In many output types, properties are now marked as read-only.
SingleCategoryClassifyActionSuccessResult
is renamed toCustomSingleLabelClassificationSuccessResult
and theclassification
property has been renamed toclassifications
and is now an array.statistics
andmodelVersion
has been removed from result arrays, e.g.RecognizeEntitiesResultArray
has been replaced byEntityRecognitionResult[]
.
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.10
$> npm install @azure/ai-form-recognizer@4.0.0-beta.4
$> npm install @azure/ai-text-analytics@6.0.0-beta.1
$> npm install @azure/arm-appcontainers@1.0.0
$> npm install @azure/arm-appinsights@5.0.0-beta.4
$> npm install @azure/arm-appplatform@2.0.0
$> npm install @azure/arm-azurestackhci@3.0.0
$> npm install @azure/arm-changes@1.0.0
$> npm install @azure/arm-communication@4.0.0-beta.1
$> npm install @azure/arm-compute@18.0.0
$> npm install @azure/arm-compute@19.0.0
$> npm install @azure/arm-confidentialledger@1.0.0
$> npm install @azure/arm-containerregistry@10.1.0-beta.3
$> npm install @azure/arm-containerservice@16.1.0-beta.2
$> npm install @azure/arm-containerservice@16.1.0
$> npm install @azure/arm-containerservice@17.0.0-beta.1
$> npm install @azure/arm-datafactory@10.5.0
$> npm install @azure/arm-datafactory@10.6.0
$> npm install @azure/arm-deviceprovisioningservices@5.0.1
$> npm install @azure/arm-deviceupdate@1.0.0-beta.1
$> npm install @azure/arm-dynatrace@1.0.0-beta.1
$> npm install @azure/arm-education@1.0.0-beta.1
$> npm install @azure/arm-eventgrid@14.0.0-beta.2
$> npm install @azure/arm-imagebuilder@2.0.0
$> npm install @azure/arm-machinelearning@1.0.0-beta.1
$> npm install @azure/arm-network@28.0.0
$> npm install @azure/arm-orbital@1.0.0
$> npm install @azure/arm-recoveryservicesbackup@9.0.0
$> npm install @azure/arm-securityinsight@1.0.0-beta.3
$> npm install @azure/arm-servicelinker@2.0.0
$> npm install @azure/communication-email@1.0.0-beta.1
$> npm install @azure/core-lro@2.3.0-beta.1
$> npm install @azure/core-rest-pipeline@1.9.0
$> npm install @azure/cosmos@3.16.0
$> npm install @azure/cosmos@3.16.1
$> npm install @azure/data-tables@13.1.2
$> npm install @azure/monitor-query@1.0.2
$> npm install @azure/service-bus@7.6.0-beta.3
$> npm install @azure/service-bus@7.6.0-beta.4
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