Azure SDK for JavaScript (October 2023)
The Azure SDK team is pleased to announce our October 2023 client library releases.
34 packages released this month.
Stable Packages (14)
-
Azure Monitor OpenTelemetry
-
Communication Common
-
Core - Client - AMQP
-
Core - Client - Core Utils
-
Event Grid
-
Resource Management - Compute
-
Resource Management - CosmosDB for PostgreSQL
-
Resource Management - Hybridconnectivity
-
Resource Management - IoT Hub
-
Resource Management - Kubernetes Configuration
-
Resource Management - Managed Applications
-
Resource Management - Network
-
Resource Management - Recovery Services Site Recovery
-
Resource Management - Redis
Patch Updates (4)
-
Cognitive Search
-
Event Hubs
-
Identity
-
Service Bus
Beta Packages (14)
-
@azure/api-management-custom-widgets-scaffolder
-
@azure/api-management-custom-widgets-tools
-
App Configuration
-
Cognitive Search
-
Communication Chat
-
Communication Rooms
-
Content Safety
-
OpenAI
-
OpenTelemetry Exporter
-
Resource Management - Communication
-
Resource Management - Container Registry
-
Resource Management - Playwrighttesting
-
Resource Management - SQL
-
Resource Management - SignalR
Release highlights
@azure/api-management-custom-widgets-scaffolder 1.0.0-beta.3 Changelog
Features Added
- added options to specify tenant ID and redirect URI for InteractiveBrowserCredential of Azure Identity
@azure/api-management-custom-widgets-tools 1.0.0-beta.2 Changelog
Bugs Fixed
- crash of the Node “deploy” function on Mac on incorrect “redirectUri” being sent to “InteractiveBrowserCredential” class.
Features Added
- “parentLocation” object is being sent with “secrets” through askForSecrets function call, it contains location info of the Developer Portal window - href, origin, pathname, search…
- Node function “deploy” now accepts JSON config object with two options
- interactiveBrowserCredentialOptions
- config object for InteractiveBrowserCredential function from @azure/identity package, you can find the accepted values here
- by default: { redirectUri: “http://localhost:1337” }
- rootLocal
- relative path from where the script will load your local built files
- by default: “./dist/”
Breaking Changes
- Node function “deploy” no longer accepts a fourth optional “rootLocal” string parameter, but an optional “config” object parameter which contains multiple options to configure the function. The “rootLocal” param was moved into the object.
App Configuration 1.5.0-beta.2 Changelog
Features Added
- Allow setting
updateIntervalInMs
inCreateSnapshotOptions
Azure Monitor OpenTelemetry 1.0.0 Changelog
Bugs Fixed
- Avoid dependency telemetry for ingestion endpoint calls.
- Add custom AI Sampler to maintain data reliability in Standard Metrics.
- Fix issues with SDK version not propagating correctly.
Features Added
- Add support for Azure Functions programming model v4.
Azure Monitor OpenTelemetry 1.1.0 Changelog
Bugs Fixed
- Fix precedence of JSON config value changes over defaults.
- Fix custom MeterReaders not being able to collect metrics for instrumentations.
- Fix values for Statsbeat Features and Instrumentations.
Cognitive Search 11.3.3 Changelog
Bugs Fixed
- Fix some
SearchIndex
fields being improperly serialized.#27238
Cognitive Search 12.0.0-beta.4 Changelog
Features Added
- Added support for text based vector queries backed by a vectorizer #27338
- Added exhaustive k-nearest neighbors search algorithm for vector search #27338
- Added
SearchOptions.semanticQuery
, which allows for using an independent text query for semantic search features #27338 - Added support for
AzureOpenAIEmbeddingSkill
, which generates text embeddings through the Azure OpenAI service. #27338 - Added
SearchIndexerSkillset.IndexProjections
, which specifies additional projections to secondary search indexes. #27338
Breaking Changes
SearchOptions.vector
has been abstracted intoSearchOptions.vectorQueries
#27338SearchField.vectorSearchConfiguration
has been abstracted intoSearchField.vectorSearchProfile
#27338VectorSearch.algorithmConfiguration
has been renamed toVectorSearch.algorithms
#27338
Communication Chat 1.4.0-beta.2 Changelog
Features Added
- Updated @azure/communication-common to 2.3.0
- Updated @azure/communication-signaling to 1.0.0-beta.21
Communication Common 2.3.0 Changelog
Features Added
- Added support for a new communication identifier
MicrosoftTeamsAppIdentifier
. - Added a type
MicrosoftTeamsAppKind
. - Added a method
isMicrosoftTeamsAppIdentifier
to check if the identifier isMicrosoftTeamsAppIdentifier
. - Added a field
teamsAppId
toMicrosoftTeamsAppIdentifier
. - With this version, any rawId starting with
28:
will map to MicrosoftTeamsAppIdentifier. Previously it mapped toUnknownIdentifier
.
Communication Rooms 1.1.0-beta.1 Changelog
Features Added
- Added support for PSTN dial-out capability
Content Safety 1.0.0-beta.1 Changelog
- This is the initial beta release for Azure AI Content Safety, see README.md for details.
Core - Client - AMQP 4.0.0 Changelog
Features Added
- Changed
TokenProvider
to use native crypto libraries. This changes the signature fromgetToken
from being sync to async.
Breaking Changes
- The
TokenProvider
and thegetToken
method has been changed to be async as it uses the underlying native crypto which is async.
Core - Client - Core Utils 1.5.0 Changelog
Features Added
- Adds helper method
cancelablePromiseRace
, an abstraction that leverages"promise.race()"
and aborts the losers of the race as soon as the first promise settles. PR #26748
Event Grid 4.15.0 Changelog
Features Added
-
Added new System Events:
Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged
Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated
Microsoft.Communication.RouterWorkerDeregistered
Microsoft.Communication.RouterWorkerRegistered
Microsoft.Communication.RouterJobCancelled
Microsoft.Communication.RouterJobClassificationFailed
Microsoft.Communication.RouterJobClassified
Microsoft.Communication.RouterJobClosed
Microsoft.Communication.RouterJobCompleted
Microsoft.Communication.RouterJobDeleted
Microsoft.Communication.RouterJobExceptionTriggered
Microsoft.Communication.RouterJobQueued
Microsoft.Communication.RouterJobReceived
Microsoft.Communication.RouterJobSchedulingFailed
Microsoft.Communication.RouterJobUnassigned
Microsoft.Communication.RouterJobWaitingForActivation
Microsoft.Communication.RouterJobWorkerSelectorsExpire
Microsoft.Communication.RouterWorkerDeleted
Microsoft.Communication.RouterWorkerOfferAccepted
Microsoft.Communication.RouterWorkerOfferDeclined
Microsoft.Communication.RouterWorkerOfferExpired
Microsoft.Communication.RouterWorkerOfferIssued
Microsoft.Communication.RouterWorkerOfferRevoked
Event Hubs 5.11.2 Changelog
Bugs Fixed
- Fixes a memory leak #25426 in the
EventHubBufferedProducerClient
when there is no activity for a longer interval after sending some events. #26748
Identity 3.3.1 Changelog
Bug Fixes
- Bug fixes for developer credentials
OpenAI 1.0.0-beta.6 Changelog
Bugs Fixed
- Returns
usage
information when available. - Fixes a bug where errors weren’t properly being thrown from the streaming methods.
- Returns
error
information inContentFilterResults
when available. - Fixes parsing of
functionCall
inChatMessage
objects.
Features Added
- Introduces speech to text and translation capabilities for a wide variety of audio file formats.
- Adds
getAudioTranscription
andgetAudioTranslation
methods for transcribing and translating audio files. The result can be either a simple JSON structure with just atext
field or a more detailed JSON structure containing the text alongside additional information. In addition, VTT (Web Video Text Tracks), SRT (SubRip Text), and plain text formats are also supported. The type of the result depends on theformat
parameter if specified, otherwise, a simple JSON output is assumed. The methods could take as input an optional text prompt to guide the model’s style or continue a previous audio segment. The language of the prompt should match that of the audio file. - The available model at the time of this release supports the following list of audio file formats: m4a, mp3, wav, ogg, flac, webm, mp4, mpga, mpeg, and oga.
OpenTelemetry Exporter 1.0.0-beta.17 Changelog
Features Added
- Update OpenTelemetry dependency packages.
- Add support for aadAudience configuration using connection string.
Bugs Fixed
- Fix issue with credentialScopes setup not being passed to core-client.
- Fix Statsbeat metric names.
Resource Management - Communication 4.1.0-beta.1 Changelog
Resource Management - Compute 21.2.0 Changelog
Resource Management - Container Registry 11.0.0-beta.2 Changelog
Resource Management - Container Registry 11.0.0-beta.1 Changelog
Resource Management - CosmosDB for PostgreSQL 1.0.0 Changelog
Resource Management - Hybridconnectivity 1.0.0 Changelog
Resource Management - IoT Hub 6.3.0 Changelog
Resource Management - Kubernetes Configuration 6.1.0 Changelog
Resource Management - Managed Applications 3.0.0 Changelog
Resource Management - Network 32.2.0 Changelog
Resource Management - Playwrighttesting 1.0.0-beta.1 Changelog
Resource Management - Recovery Services Site Recovery 5.1.0 Changelog
Resource Management - Redis 8.0.0 Changelog
Resource Management - SQL 10.1.0-beta.2 Changelog
Resource Management - SignalR 6.0.0-beta.1 Changelog
Service Bus 7.9.2 Changelog
Bugs Fixed
- Fix an INTERNAL ERROR due to timing PR #27308
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/ai-content-safety@1.0.0-beta.1
$> npm install @azure/api-management-custom-widgets-scaffolder@1.0.0-beta.3
$> npm install @azure/api-management-custom-widgets-tools@1.0.0-beta.2
$> npm install @azure/app-configuration@1.5.0-beta.2
$> npm install @azure/arm-communication@4.1.0-beta.1
$> npm install @azure/arm-compute@21.2.0
$> npm install @azure/arm-containerregistry@11.0.0-beta.2
$> npm install @azure/arm-containerregistry@11.0.0-beta.1
$> npm install @azure/arm-cosmosdbforpostgresql@1.0.0
$> npm install @azure/arm-hybridconnectivity@1.0.0
$> npm install @azure/arm-iothub@6.3.0
$> npm install @azure/arm-kubernetesconfiguration@6.1.0
$> npm install @azure/arm-managedapplications@3.0.0
$> npm install @azure/arm-network@32.2.0
$> npm install @azure/arm-playwrighttesting@1.0.0-beta.1
$> npm install @azure/arm-recoveryservices-siterecovery@5.1.0
$> npm install @azure/arm-rediscache@8.0.0
$> npm install @azure/arm-signalr@6.0.0-beta.1
$> npm install @azure/arm-sql@10.1.0-beta.2
$> npm install @azure/communication-chat@1.4.0-beta.2
$> npm install @azure/communication-common@2.3.0
$> npm install @azure/communication-rooms@1.1.0-beta.1
$> npm install @azure/core-amqp@4.0.0
$> npm install @azure/core-util@1.5.0
$> npm install @azure/event-hubs@5.11.2
$> npm install @azure/eventgrid@4.15.0
$> npm install @azure/identity@3.3.1
$> npm install @azure/monitor-opentelemetry@1.0.0
$> npm install @azure/monitor-opentelemetry@1.1.0
$> npm install @azure/monitor-opentelemetry-exporter@1.0.0-beta.17
$> npm install @azure/openai@1.0.0-beta.6
$> npm install @azure/search-documents@11.3.3
$> npm install @azure/search-documents@12.0.0-beta.4
$> npm install @azure/service-bus@7.9.2
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