Azure SDK for JavaScript (August 2022)
The Azure SDK team is pleased to announce our August 2022 client library releases.
63 packages released this month.
Stable Packages (36)
-
Azure Confidential Ledger
-
Blobs
-
Certificates
-
Communication Common
-
Communication Identity
-
Core
-
Core - Client - Auth
-
Core - Client - Rest
-
Core - Client - XML
-
Event Grid
-
Files Data Lake
-
Files Shares
-
Identity
-
Keys
-
Queues
-
Resource Management - Automanage
-
Resource Management - Batch
-
Resource Management - Container Instances
-
Resource Management - Container Service
-
Resource Management - Cosmos DB
-
Resource Management - Fluidrelay
-
Resource Management - HDInsight
-
Resource Management - Machinelearning
-
Resource Management - Market Place Ordering
-
Resource Management - Media Services
-
Resource Management - NetApp
-
Resource Management - Network
-
Resource Management - Networkfunction
-
Resource Management - Orbital
-
Resource Management - Power BI Dedicated
-
Resource Management - Recovery Services
-
Resource Management - Relay
-
Resource Management - Resource Health
-
Resource Management - Storage Cache
-
Secrets
-
Service Bus
Patch Updates (7)
-
Administration
-
Communication Chat
-
Core - Client - Client
-
Core - Client - Core Rest Pipeline
-
Core - Client - HTTP
-
Core - Client - LRO
-
Cosmos DB
Beta Packages (18)
-
@azure/monitor-ingestion
-
Certificates
-
Communication Rooms
-
Form Recognizer
-
Keys
-
Language Text
-
Resource Management - Container Service
-
Resource Management - Cosmos DB
-
Resource Management - Deviceupdate
-
Resource Management - Dynatrace
-
Resource Management - Extendedlocation
-
Resource Management - Mobilenetwork
-
Resource Management - Monitor
-
Resource Management - Portal
-
Resource Management - Scvmm
-
Resource Management - Securityinsight
-
Resource Management - Workloads
-
Secrets
Release highlights
@azure/monitor-ingestion 1.0.0-beta.1 Changelog
Features Added
- First beta release for the @azure/monitor-ingestion library.
Administration 4.2.1 Changelog
Bugs Fixed
- The scope of the token used for authentication now reflects the scope required by the service in the WWW-Authenticate header.
Administration 4.2.2 Changelog
Other Changes
- Improvements to documentation.
Azure Confidential Ledger 1.0.0 Changelog
- Pageable collections and consortium endpoints
- Renaming ledgerUri to ledgerEndpoint
- postLedgerEntry changed to createLedgerEntry
Blobs 12.11.0 Changelog
Features Added
- Includes all features released in 12.11.0-beta.1.
Certificates 4.5.0-beta.1 Changelog
Breaking Changes
- As a result of the migration to Core v2:
- The response types no longer contain the raw response
_response. To access the raw response, anonResponsecallback has to be passed in the request options bag, for example:let rawResponse: FullOperationResponse | undefined; await client.operationName(/* ...parameters... */, { onResponse: (response) => (rawResponse = response), }); - The re-export of the
PipelineOptionstype from@azure/core-httphas been removed. If you previously relied on this export, consider either using the more specificCertificateClientOptionstype or importingPipelineOptionsfrom@azure/core-httpdirectly.
Certificates 4.5.0 Changelog
Breaking Changes
- Migrated to the Core v2 HTTP pipeline. As a result of this migration:
- The response types no longer contain the raw response
_response. To access the raw response, anonResponsecallback has to be passed in the request options bag, for example:let rawResponse: FullOperationResponse | undefined; await client.operationName(/* ...parameters... */, { onResponse: (response) => (rawResponse = response), }); - The re-export of the
PipelineOptionstype from@azure/core-httphas been removed. If you previously relied on this export, consider either using the more specificCertificateClientOptionstype or importingPipelineOptionsfrom@azure/core-httpdirectly.
Communication Chat 1.2.1 Changelog
Features Added
- Updated to @azure/communication-signaling@1.0.0-beta.14.
Communication Common 2.1.0 Changelog
Bugs Fixed
- Made internal
CommunicationIdentifierSerializerresilient to unknown additional response properties.
Features Added
- Added
getIdentifierRawIdandcreateIdentifierFromRawIdto translate between aCommunicationIdentifierand its underlying canonical rawId representation. Developers can now use the rawId as an encoded format for identifiers to store in their databases or as stable keys in general. - Always include
rawIdwhen serializing identifiers to wire format.
Communication Identity 1.1.0 Changelog
Features Added
- Added support to integrate communication as Teams user with Azure Communication Services:
- Added
getTokenForTeamsUser(teamsUserAadToken: string, appId: string, userId: string, options: OperationOptions = {})method that provides the ability to exchange an AAD access token of a Teams user for a Communication Identity access token toCommunicationIdentityClient.
Communication Rooms 1.0.0-beta.1 Changelog
The first preview of the Azure Communication Rooms Client has the following features:
- create a room with upto 6 months validity
- add, remove and update participants to the room
- create open or closed rooms
Core 1.1.0 Changelog
Features Added
- Added support for twin and component metadata property
$lastUpdateTime, signifying the date and time a twin or component was last updated.
Core - Client - Auth 1.4.0 Changelog
Features Added
- Added
claimsoptional property to theGetTokenOptionsinterface. Ifclaimsis set, it indicates that we are in challenge process and force to refresh the token.
Core - Client - Client 1.6.1 Changelog
Bugs Fixed
- Fix serializer to find the correct discriminator index. Please refer to #22523 for further details.
Core - Client - Core Rest Pipeline 1.9.1 Changelog
Bugs Fixed
- Fixed a bug in claim challenge we failed to refresh our token. #22324
Core - Client - HTTP 2.2.6 Changelog
Other Changes
- Removed the constraints check during serialization. Please refer #21839 for further details.
- Address Trusted Types compliance issue.
Core - Client - LRO 2.2.5 Changelog
Bugs Fixed
LroEngineno longer throws an error when it receives a 204 polling response.
Core - Client - Rest 1.0.0 Changelog
- Releasing the first stable version of @azure-rest/client
Fixes
- Fix the duplicate
api-versionissue in apiVersionPolicy
Core - Client - XML 1.3.0 Changelog
Features Added
- Add support for CDATA secions with the
cdataPropName - Add support for exempting nodes from parsing with
stopNodes.
Cosmos DB 3.16.3 Changelog
Bugs Fixed
- Fixes issues with “id” encoding when using special characters that should be allowed in the “id” property of a document. #22548
Cosmos DB 3.16.4 Changelog
Bugs Fixed
- Reverts changes of PR 22548 to avoid possible regression when customers use id with special characters and their account is on ComputeGateway already. - See PR 22818
Event Grid 4.10.0 Changelog
Bugs Fixed
- Fixed an issue where
generateSharedAccessSignaturewould generate an invalid signature if the experation time was between 12:00pm and 1:00pm. Thank you to @donut87 for discovering the issue and providing the fix.
Files Data Lake 12.10.0 Changelog
Features Added
- Includes all features released in 12.10.0-beta.1.
Files Shares 12.11.0 Changelog
Features Added
- Added support for service version 2021-08-06.
Form Recognizer 4.0.0-beta.6 Changelog
Features Added
- Refactored generic
DocumentModelsupport to be more robust to different kinds of models. It now supports strongly-typed results forprebuilt-read,prebuilt-layout, andprebuilt-document. See the “Breaking Changes” section for more information about how to replace existing usage ofPrebuiltModelswith new model code. DocumentModelAdministrationClient#getOperationreturns additionalresult(operation result) anderror(includes detailed error info) fields.
Breaking Changes
- Removed
PrebuiltModelsand all of its fields as well as related helper types. The strongly-typed functionality previously provided byPrebuiltModelsis now provided by sample code that you can copy into your own project. See theprebuiltsamples directory for models compatible with the current Form Recognizer API. - Separated URL-based and file-based analysis inputs into two separate methods:
beginAnalyzeDocument(for file stream inputs) andbeginAnalyzeDocumentFromUrl(for URL-based inputs). Previously, both were accepted as inputs to a singlebeginAnalyzeDocumentmethod, and a string value would be interpreted as if it were a URL, but this was confusing. The two inputs now have distinct signatures and documentation. - Removed the
beginExtractLayout,beginExtractGeneralDocument, andbeginReadDocumentmethods. Strongly-typedDocumentModelinstances for the correspondingprebuilt-layout,prebuilt-document, andprebuilt-readmodels are located in theprebuiltsamples directory. - Changed the suffix
-Infofor the methods and interfaces such asDocumentModelAdministrationClient#getResourceInfoandDocumentModelInfoto-Details. - Array properties of
AnalyzeResult, such asdocuments,languages, andpagesare now optional. If the value isundefined, then the model does not support the given feature. Previously, we returned an empty array, even if the model didn’t support the feature.
Identity 2.1.0 Changelog
Features Added
- Added support for new credential
ClientAssertionCredential, which accepts a callback function for the signed JWT assertion for a client certificate. See MSAL Client Assertion for more information.
Bugs Fixed
- Fixed a bug that would break the AzureCliCredential if the Azure CLI reported a warning. See: 21075.
- Fixed a bug in
AuthorizationCodeCredentialwhere the tenant id was not being used. Thecommontenant was the only tenant being used by this credential. - Fixed a bug in
AuthorizationCodeCredentialwhere the public client was not being used. Due to this bug, without passing in the client secret, this credential would fail. - Fixed a bug in
DefaultAzureCredentialandAzureCLICredentialwhere the errors thrown by the latter credential were not of typeCredentialUnavailableError. This caused only the error ofAzureCLICredentialbeing thrown and the other chained errors ofDefaultAzureCredentialwere not thrown. See: 22066
Keys 4.5.0-beta.1 Changelog
Breaking Changes
- As a result of the migration to Core v2:
- The response types no longer contain the raw response
_response. To access the raw response, anonResponsecallback has to be passed in the request options bag, for example:let rawResponse: FullOperationResponse | undefined; await client.operationName(/* ...parameters... */, { onResponse: (response) => (rawResponse = response), }); - The re-export of the
PipelineOptionstype from@azure/core-httphas been removed. If you previously relied on this export, consider either using the more specificCertificateClientOptionstype or importingPipelineOptionsfrom@azure/core-httpdirectly.
Keys 4.5.0 Changelog
Breaking Changes
- Migrated to the Core v2 HTTP pipeline. As a result of this migration:
- The response types no longer contain the raw response
_response. To access the raw response, anonResponsecallback has to be passed in the request options bag, for example:let rawResponse: FullOperationResponse | undefined; await client.operationName(/* ...parameters... */, { onResponse: (response) => (rawResponse = response), }); - The re-export of the
PipelineOptionstype from@azure/core-httphas been removed. If you previously relied on this export, consider either using the more specificCertificateClientOptionstype or importingPipelineOptionsfrom@azure/core-httpdirectly.
Language Text 1.0.0-beta.1 Changelog
- Initial release
Queues 12.10.0 Changelog
Features Added
- Added support for service version 2021-08-06.
Resource Management - Automanage 1.0.0 Changelog
Resource Management - Batch 7.2.0 Changelog
Resource Management - Container Instances 8.2.0 Changelog
Resource Management - Container Service 17.1.0-beta.1 Changelog
Resource Management - Container Service 17.0.0 Changelog
Resource Management - Cosmos DB 15.1.0 Changelog
Resource Management - Cosmos DB 16.0.0-beta.3 Changelog
Resource Management - Deviceupdate 1.0.0-beta.2 Changelog
Resource Management - Dynatrace 1.0.0-beta.2 Changelog
Resource Management - Extendedlocation 1.0.0-beta.2 Changelog
Resource Management - Fluidrelay 1.0.0 Changelog
Resource Management - HDInsight 1.2.0 Changelog
Resource Management - Machinelearning 1.0.0 Changelog
Resource Management - Market Place Ordering 3.1.0 Changelog
Resource Management - Media Services 12.1.0 Changelog
Resource Management - Mobilenetwork 1.0.0-beta.3 Changelog
Resource Management - Monitor 8.0.0-beta.2 Changelog
Resource Management - NetApp 16.1.0 Changelog
Resource Management - Network 29.0.0 Changelog
Resource Management - Networkfunction 1.0.0 Changelog
Resource Management - Orbital 1.1.0 Changelog
Resource Management - Portal 1.0.0-beta.4 Changelog
Resource Management - Power BI Dedicated 4.0.0 Changelog
Resource Management - Recovery Services 5.1.0 Changelog
Resource Management - Relay 3.1.0 Changelog
Resource Management - Resource Health 3.1.0 Changelog
Resource Management - Scvmm 1.0.0-beta.2 Changelog
Resource Management - Securityinsight 1.0.0-beta.4 Changelog
Resource Management - Storage Cache 5.2.0 Changelog
Resource Management - Workloads 1.0.0-beta.2 Changelog
Secrets 4.5.0-beta.1 Changelog
Breaking Changes
- As a result of the migration to Core v2:
- The response types no longer contain the raw response
_response. To access the raw response, anonResponsecallback has to be passed in the request options bag, for example:let rawResponse: FullOperationResponse | undefined; await client.operationName(/* ...parameters... */, { onResponse: (response) => (rawResponse = response), }); - The re-export of the
PipelineOptionstype from@azure/core-httphas been removed. If you previously relied on this export, consider either using the more specificSecretClientOptionstype or importingPipelineOptionsfrom@azure/core-httpdirectly.
Secrets 4.5.0 Changelog
Breaking Changes
- Migrated to the Core v2 HTTP pipeline. As a result of this migration:
- The response types no longer contain the raw response
_response. To access the raw response, anonResponsecallback has to be passed in the request options bag, for example:let rawResponse: FullOperationResponse | undefined; await client.operationName(/* ...parameters... */, { onResponse: (response) => (rawResponse = response), }); - The re-export of the
PipelineOptionstype from@azure/core-httphas been removed. If you previously relied on this export, consider either using the more specificSecretClientOptionstype or importingPipelineOptionsfrom@azure/core-httpdirectly.
Service Bus 7.7.0 Changelog
Bugs Fixed
- Fix an invalid date issue when converting a
ServiceBusMessagewithtimeToLiveproperty set to aRheaMessage.
Features Added
- Add Client Identifier support tracking issue: #21902
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/confidential-ledger@1.0.0
$> npm install @azure-rest/core-client@1.0.0
$> npm install @azure/ai-form-recognizer@4.0.0-beta.6
$> npm install @azure/ai-language-text@1.0.0-beta.1
$> npm install @azure/arm-automanage@1.0.0
$> npm install @azure/arm-batch@7.2.0
$> npm install @azure/arm-containerinstance@8.2.0
$> npm install @azure/arm-containerservice@17.1.0-beta.1
$> npm install @azure/arm-containerservice@17.0.0
$> npm install @azure/arm-cosmosdb@15.1.0
$> npm install @azure/arm-cosmosdb@16.0.0-beta.3
$> npm install @azure/arm-deviceupdate@1.0.0-beta.2
$> npm install @azure/arm-dynatrace@1.0.0-beta.2
$> npm install @azure/arm-extendedlocation@1.0.0-beta.2
$> npm install @azure/arm-fluidrelay@1.0.0
$> npm install @azure/arm-hdinsight@1.2.0
$> npm install @azure/arm-machinelearning@1.0.0
$> npm install @azure/arm-marketplaceordering@3.1.0
$> npm install @azure/arm-mediaservices@12.1.0
$> npm install @azure/arm-mobilenetwork@1.0.0-beta.3
$> npm install @azure/arm-monitor@8.0.0-beta.2
$> npm install @azure/arm-netapp@16.1.0
$> npm install @azure/arm-network@29.0.0
$> npm install @azure/arm-networkfunction@1.0.0
$> npm install @azure/arm-orbital@1.1.0
$> npm install @azure/arm-portal@1.0.0-beta.4
$> npm install @azure/arm-powerbidedicated@4.0.0
$> npm install @azure/arm-recoveryservices@5.1.0
$> npm install @azure/arm-relay@3.1.0
$> npm install @azure/arm-resourcehealth@3.1.0
$> npm install @azure/arm-scvmm@1.0.0-beta.2
$> npm install @azure/arm-securityinsight@1.0.0-beta.4
$> npm install @azure/arm-storagecache@5.2.0
$> npm install @azure/arm-workloads@1.0.0-beta.2
$> npm install @azure/communication-chat@1.2.1
$> npm install @azure/communication-common@2.1.0
$> npm install @azure/communication-identity@1.1.0
$> npm install @azure/communication-rooms@1.0.0-beta.1
$> npm install @azure/core-auth@1.4.0
$> npm install @azure/core-client@1.6.1
$> npm install @azure/core-http@2.2.6
$> npm install @azure/core-lro@2.2.5
$> npm install @azure/core-rest-pipeline@1.9.1
$> npm install @azure/core-xml@1.3.0
$> npm install @azure/cosmos@3.16.3
$> npm install @azure/cosmos@3.16.4
$> npm install @azure/digital-twins-core@1.1.0
$> npm install @azure/eventgrid@4.10.0
$> npm install @azure/identity@2.1.0
$> npm install @azure/keyvault-admin@4.2.1
$> npm install @azure/keyvault-admin@4.2.2
$> npm install @azure/keyvault-certificates@4.5.0-beta.1
$> npm install @azure/keyvault-certificates@4.5.0
$> npm install @azure/keyvault-keys@4.5.0-beta.1
$> npm install @azure/keyvault-keys@4.5.0
$> npm install @azure/keyvault-secrets@4.5.0-beta.1
$> npm install @azure/keyvault-secrets@4.5.0
$> npm install @azure/monitor-ingestion@1.0.0-beta.1
$> npm install @azure/service-bus@7.7.0
$> npm install @azure/storage-blob@12.11.0
$> npm install @azure/storage-file-datalake@12.10.0
$> npm install @azure/storage-file-share@12.11.0
$> npm install @azure/storage-queue@12.10.0
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