The Azure SDK team is pleased to announce our January 2024 client library releases.

31 packages released this month.

Stable Packages (13)

  • Content Safety

  • Core - Client - Abort Controller

  • Event Grid

  • Resource Management - Batch

  • Resource Management - Compute

  • Resource Management - Container Service

  • Resource Management - Data Protection

  • Resource Management - Device Update

  • Resource Management - Healthcare APIs

  • Resource Management - Image Builder

  • Resource Management - Network

  • Resource Management - Service Fabric

  • Web PubSub Client

Patch Updates (1)

  • Core - Client - Rest

Beta Packages (16)

  • @azure/api-management-custom-widgets-scaffolder

  • Artifacts

  • Cosmos DB

  • Maps Geolocation

  • Maps Render

  • Maps Route

  • Maps Search

  • OpenAI

  • Resource Management - Communication

  • Resource Management - Container Service

  • Resource Management - Event Grid

  • Resource Management - Hybrid Network

  • Resource Management - NetApp Files

  • Resource Management - Postgresql

  • Resource Management - SQL

  • Resource Management - Self Help

Release highlights

@azure/api-management-custom-widgets-scaffolder 1.0.0-beta.4 Changelog

Breaking Changes

  • added a prefix to result of “displayNameToName” function to prevent conflicts in name with existing, build-in widgets

Artifacts 1.0.0-beta.14 Changelog

Other Changes

  • Fix runNotebook sessionId from number to string
  • Fix placeholder links causing 404s
  • Sync expression Support From DataFactory To Synapse

Content Safety 1.0.0 Changelog

Breaking Changes

Contract change for AnalyzeText, AnalyzeImage, Blocklist management related parameters

AnalyzeText
  • AnalyzeTextOptions
  • Renamed breakByBlocklists to haltOnBlocklistHit
  • Add outputType
  • AnalyzeTextResultOutput
  • Renamed blocklistsMatchResults to blocklistsMatch
  • Replaced TextAnalyzeSeverityResultOutput by TextCategoriesAnalysisOutput
AnalyzeImage
  • AnalyzeImageOptions
  • Add outputType
  • AnalyzeImageResultOutput
  • Replaced ImageAnalyzeSeverityResultOutput by ImageCategoriesAnalysisOutput
Blocklist management
  • Renamed "/text/blocklists/{blocklistName}:addBlockItems" to "/text/blocklists/{blocklistName}:addOrUpdateBlocklistItems"
  • Renamed "/text/blocklists/{blocklistName}:removeBlockItems" to "/text/blocklists/{blocklistName}:removeBlocklistItems"
  • Renamed "/text/blocklists/{blocklistName}/blockItems" to "/text/blocklists/{blocklistName}/blocklistItems"
  • Renamed "/text/blocklists/{blocklistName}/blockItems/{blockItemId}" to "/text/blocklists/{blocklistName}/blocklistItems/{blocklistItemId}"
  • Renamed AddBlockItemsOptions to AddOrUpdateTextBlocklistItemsOptions
  • Renamed blockItems to blocklistItems
  • Renamed AddBlockItemsResultOutput to AddOrUpdateTextBlocklistItemsResultOutput
  • Renamed value to blocklistItems
  • Renamed RemoveBlockItemsOptions to RemoveTextBlocklistItemsOptions
  • Renamed blockItemIds to blocklistItemIds
  • Renamed TextBlockItemInfo to TextBlocklistItem

Features Added

  • Support AAD Authentication
  • Support 8 severity levels output for Text Analyze

Core - Client - Abort Controller 2.0.0 Changelog

Breaking Changes

  • Removed our polyfill implementation for AbortSignal and AbortController as these are now supported across our minimum required runtime environments.

Core - Client - Rest 1.1.7 Changelog

Bugs Fixed

  • Fix serialization of binary data in multipart/form-data requests and in binary request bodies.
  • Fix the issue where onResponse is not called when asNodeStream or asBrowserStream are called.

Cosmos DB 4.0.1-beta.1 Changelog

Breaking Changes

Dropped Support for TypeScript 4.1
  • We have opted to discontinue support for TypeScript version 4.1. Consequently, the minimum supported TypeScript version has been elevated to 4.2. Kindly ensure that your environment is promptly updated to align with these changes.

Features Added

  • We have implemented support for Request Unit (RU) caps in Query operations. Clients can now seamlessly integrate RU caps into their fetch functions by specifying the desired cap within the operation options. If the specified RU cap is surpassed during the operation, clients will promptly receive an error notification, providing enhanced control and transparency over resource consumption.

Event Grid 5.1.0 Changelog

Features Added

  • Added new System Events:

  • Microsoft.Storage.StorageTaskAssignmentQueued
  • Microsoft.Storage.StorageTaskAssignmentCompleted

Maps Geolocation 1.0.0-beta.3 Changelog

Features Added

  • Support SAS token authentication.

Maps Render 1.0.0-beta.3 Changelog

Features Added

  • Support SAS token authentication.

Maps Route 1.0.0-beta.3 Changelog

Features Added

  • Support SAS token authentication.

Maps Search 2.0.0-beta.1 Changelog

Breaking Changes

  • All the paths in V1 are now deprecated. Please follow the section “Use V1 SDK” in README if you find paths in V1 are still needed.

Features Added

  • Introducing compliant Maps Search V2 features:
  • /geocode, /geocode:batch: Turn an address to coordinates. Replace the v1 /search/address, /search/address/batch/sync/.
  • /reverseGeocode, /reverseGeocode:batch: Turn coordinates to an address. Replace the v1 /search/address/reverse, /search/address/batch/reverse/sync/.
  • /search/polygon: Supplies polygon data of a geographical area outline such as a city or a country region. Replace the v1 /search/polygon.
  • Support SAS token authentication.

OpenAI 1.0.0-beta.9 Changelog

Breaking Changes

  • listChatCompletions and listCompletions are renamed to streamChatCompletions and streamCompletions respectively and their return types are updated to be a ReadableStream. For example, streamChatCompletions can be used as follows:
const events = await client.streamChatCompletions(deploymentId, messages);
for await (const event of events) {
// use event ...
}

OpenAI 1.0.0-beta.10 Changelog

Bugs Fixed

  • Fix responseFormat behavior in getAudioTranscription and getAudioTranslation methods where request wasn’t properly formed if it wasn’t specified.

Resource Management - Batch 9.1.0 Changelog

Resource Management - Communication 4.1.0-beta.2 Changelog

Resource Management - Compute 21.3.0 Changelog

Resource Management - Container Service 19.6.0 Changelog

Resource Management - Container Service 19.6.0-beta.1 Changelog

Resource Management - Data Protection 2.0.0 Changelog

Resource Management - Device Update 1.2.0 Changelog

Resource Management - Event Grid 14.2.0-beta.3 Changelog

Resource Management - Healthcare APIs 3.0.0 Changelog

Resource Management - Hybrid Network 1.0.0-beta.1 Changelog

Resource Management - Image Builder 4.0.0 Changelog

Resource Management - NetApp Files 20.0.0-beta.1 Changelog

Resource Management - Network 33.0.0 Changelog

Resource Management - Postgresql 8.0.0-beta.5 Changelog

Resource Management - SQL 10.1.0-beta.3 Changelog

Resource Management - Self Help 2.0.0-beta.2 Changelog

Resource Management - Service Fabric 3.0.0 Changelog

Web PubSub Client 1.0.0 Changelog

Other Changes

  • Use overload for SendToGroup and SendEvent

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
$> npm install @azure-rest/core-client@1.1.7
$> npm install @azure-rest/maps-geolocation@1.0.0-beta.3
$> npm install @azure-rest/maps-render@1.0.0-beta.3
$> npm install @azure-rest/maps-route@1.0.0-beta.3
$> npm install @azure-rest/maps-search@2.0.0-beta.1
$> npm install @azure/abort-controller@2.0.0
$> npm install @azure/api-management-custom-widgets-scaffolder@1.0.0-beta.4
$> npm install @azure/arm-batch@9.1.0
$> npm install @azure/arm-communication@4.1.0-beta.2
$> npm install @azure/arm-compute@21.3.0
$> npm install @azure/arm-containerservice@19.6.0
$> npm install @azure/arm-containerservice@19.6.0-beta.1
$> npm install @azure/arm-dataprotection@2.0.0
$> npm install @azure/arm-deviceupdate@1.2.0
$> npm install @azure/arm-eventgrid@14.2.0-beta.3
$> npm install @azure/arm-healthcareapis@3.0.0
$> npm install @azure/arm-hybridnetwork@1.0.0-beta.1
$> npm install @azure/arm-imagebuilder@4.0.0
$> npm install @azure/arm-netapp@20.0.0-beta.1
$> npm install @azure/arm-network@33.0.0
$> npm install @azure/arm-postgresql-flexible@8.0.0-beta.5
$> npm install @azure/arm-selfhelp@2.0.0-beta.2
$> npm install @azure/arm-servicefabric@3.0.0
$> npm install @azure/arm-sql@10.1.0-beta.3
$> npm install @azure/cosmos@4.0.1-beta.1
$> npm install @azure/eventgrid@5.1.0
$> npm install @azure/openai@1.0.0-beta.9
$> npm install @azure/openai@1.0.0-beta.10
$> npm install @azure/synapse-artifacts@1.0.0-beta.14
$> npm install @azure/web-pubsub-client@1.0.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