Azure SDK for JavaScript (March 2023)
The Azure SDK team is pleased to announce our March 2023 client library releases.
38 packages released this month.
Stable Packages (16)
-
Core - Client - Core Utils
-
Event Hubs
-
Load Testing
-
Monitor Ingestion
-
Resource Management - Cognitive Services
-
Resource Management - Cosmos DB
-
Resource Management - Data Factory
-
Resource Management - Kusto
-
Resource Management - Recovery Services
-
Resource Management - Reservations
-
Resource Management - Storage Cache
-
Resource Management - Storagemover
-
Storage - Blobs
-
Storage - Files Data Lake
-
Storage - Files Share
-
Storage - Queues
Patch Updates (8)
-
Communication Chat
-
Core - Client - Client
-
Core - Client - Core Rest Pipeline
-
Core - Client - Logger
-
Core - Client - Rest
-
Core - Client - XML
-
Cosmos DB
-
Service Bus
Beta Packages (14)
-
Communication Email
-
Identity
-
Language Text
-
Purview Workflow
-
Resource Management - Container Registry
-
Resource Management - Container Service
-
Resource Management - Data Protection
-
Resource Management - Service Bus
-
Resource Management - Storagemover
-
Resource Management - Synapse
-
Resource Management - Voiceservices
-
Resource Management - Workloads
-
Service Bus
-
farmbeats
Release highlights
Communication Chat 1.3.1 Changelog
Features Added
- Updated to
@azure/communication-common
2.2.0. - Updated to @azure/communication-signaling@1.0.0-beta.16. Added GCCM real-time notification support.
Communication Email 1.0.0-beta.2 Changelog
Breaking Changes
- Reworked the SDK to follow the LRO (long running operation) approach. The ‘beginSend’ method returns a poller that can be used to check for the status of sending the email and retrieve the result. The return object has been adjusted to fit this approach.
- The
getSendStatus
method has been removed. - The
sender
property has been changed tosenderAddress
. - The
email
property under the recipient object has been changed toaddress
. - The
attachmentType
property underattachments
has been changed to ‘contentType’. This now accepts the attachment mime type. - The EmailRecipients “cC” and “bCC” properties have been changed to “cc” and “bcc”
- The
contentBytesBase64
property underattachments
has been changed tocontentInBase64
- Custom headers in the email message are now key/value pairs.
- The importance property was removed. Email importance can now be specified through either the
x-priority
orx-msmail-priority
custom headers.
Core - Client - Client 1.7.2 Changelog
Bugs Fixed
- Fix a deserializer issue where setting null value when it’s necessary.
Core - Client - Core Rest Pipeline 1.10.2 Changelog
Bugs Fixed
- Remove oscpu from OS sniffing PR #24809
Core - Client - Core Utils 1.2.0 Changelog
Features Added
- Add
createAbortablePromise
which creates promises that can be aborted.
Core - Client - Logger 1.0.4 Changelog
Other Changes
- Improve docstring for setLogLevel PR #24998
Core - Client - Rest 1.1.1 Changelog
Bug Fixed
- Fix issue where multiple parameters within same path segment are not replaced correctly 24997
Core - Client - XML 1.3.3 Changelog
Other Changes
- port https://github.com/Azure/ms-rest-js/pull/475 PR # 24962
Cosmos DB 3.17.3 Changelog
Features Added
- Changes in bulk api to honour size restictions (i.e 2Mb) while creating individual batches.#23923
- Enriched Timeout error response. We had defined Timeout error as custom error in our sdk but we were not sending up any message along with it, now we are throwing the specific Error. #23025
- Added functionality to delete entire data for a partition id. #22091
- SDK now defines all possible error types, namely Export RestError, AbortError, TimeoutError, and ErrorResponse. 22789
Bugs Fixed
- Removed excessive log warnings during bulk operations on a container with no partitionkey set.
- Fix issue with GlobalEndpointManager never making endpoints available after they fall-back #22726
- Fix issue that caused parallel queries to break when returning a result of 0 or false. #24493
Event Hubs 5.9.0 Changelog
Bugs Fixed
- Fixing a bug where events were not always received in order [#23993].
Identity 3.2.0-beta.1 Changelog
Features Added
- Added support to disable instance discovery on AAD credentials.
- Added
AzureDeveloperCliCredential
#24180 and added it to theDefaultAzureCredential
#24826 auth flow - Added support for
WokloadIdentityCredential
#24830, added it toDefaultAzureCredential
auth flow and replaced the in-house implementation ofToken Exchange MSI
inManagedIdentity
withWorkloadIdentityCredential
.
Language Text 1.1.0-beta.2 Changelog
Breaking Changes
- Remove
defaultLanguage
from theBeginAnalyzeBatchOptions
interface.
Features Added
- Add support for logging API warnings that are part of warn-text response headers.
- Add support for
partiallySucceeded
status and parse action error pointers. - Change
AbstractiveSummarizationAction
property frommaxSentenceCount
tosentenceCount
.
Load Testing 1.0.0 Changelog
First stable release of Azure Load Testing client library for Javascript.
Monitor Ingestion 1.0.0 Changelog
Breaking Changes
- The
upload
API throws anAggregateLogsUploadError
in case of an error and returnsvoid
when operation succeeds. - Renamed
LogsUploadError
toLogsUploadFailure
.
Features Added
- Added an error callback functionality for inspecting individual log uploads via
LogsUploadOptions
.
Purview Workflow 1.0.0-beta.1 Changelog
Features Added
- Initial release of the Purview Workflow client library for JavaScript.
Resource Management - Cognitive Services 7.4.0 Changelog
Resource Management - Container Registry 10.1.0-beta.5 Changelog
Resource Management - Container Service 17.4.0-beta.2 Changelog
Resource Management - Cosmos DB 15.3.0 Changelog
Resource Management - Data Factory 11.0.0 Changelog
Resource Management - Data Protection 1.0.0-beta.2 Changelog
Resource Management - Kusto 7.3.0 Changelog
Resource Management - Recovery Services 5.2.0 Changelog
Resource Management - Reservations 8.0.0 Changelog
Resource Management - Service Bus 6.2.0-beta.1 Changelog
Resource Management - Storage Cache 6.0.0 Changelog
Resource Management - Storagemover 1.0.0-beta.1 Changelog
Resource Management - Storagemover 1.0.0 Changelog
Resource Management - Synapse 9.0.0-beta.1 Changelog
Resource Management - Voiceservices 1.0.0-beta.1 Changelog
Resource Management - Workloads 1.0.0-beta.3 Changelog
Service Bus 7.8.1-beta.1 Changelog
Bugs Fixed
- Pass
skipParsingBodyAsJson
andskipConvertingDate
options to peek operations. (PR #24950)[https://github.com/Azure/azure-sdk-for-js/pull/24950]
Service Bus 7.8.1 Changelog
Bugs Fixed
- Pass
skipParsingBodyAsJson
andskipConvertingDate
options to peek operations. (PR #24950)[https://github.com/Azure/azure-sdk-for-js/pull/24950]
Storage - Blobs 12.13.0 Changelog
Features Added
- Includes all features released in 12.13.0-beta.1.
- Added BlobDownloadHeaders.createdOn property for interface BlobClient.Download().
Bugs Fixed
- Fixed an issue of getting 403 error for file or directory name with ‘./’ or ‘../’
Storage - Files Data Lake 12.12.0 Changelog
Features Added
- Includes all features released in 12.12.0-beta.1.
- Added FileReadHeaders.CreatedOn property for interface DataLakeFileClient.read().
Bugs Fixed
- Renamed option ‘leaseDuration’ to ‘leaseDurationInSeconds’ in methods DataLakeFileClient.append() and flush(), the option was added in 12.12.0-beta.1.
- Fixed an issue of getting 403 error for file or directory name with ‘./’ or ‘../’
Storage - Files Share 12.13.0 Changelog
Features Added
- Includes all features released in 12.13.0-beta.1.
Bugs Fixed
- Fixed an issue of getting 403 error for blob name with ‘./’ or ‘../’
Storage - Queues 12.12.0 Changelog
Features Added
- Added support for service version 2021-12-02.
farmbeats 1.0.0-beta.2 Changelog
Features Added
- Adding clients for Sensor Integration which includes crud operations on DeviceDataModels, Devices, SensorDataModels, Sensors, SensorMappings, SensorPartnerIntegration and get Sensor events.
- Adding new APIs for STAC search and get feature
- Adding breedingMethods and Measurements as part of Crop Entity
- Adding geographicIdentifier as part of Season Entity
- Adding trait, relativeMeasurements and treatments as part of CropVariety Entity
- Adding type, crs, centroid and bbox(bounding box of the geometry) as part of Boundary Entity
- Adding Source field in Party, Farm, Field, Seasonal Field, Boundary, Crop, Crop variety, Season and Attachment
- CreatedBy and ModifiedBy in all entities
- Measure renamed to measurements in Prescription & Crop
- Acreage renamed to area in Boundary
- Get Feature and Search Feature APIs for Sentinel 2 L2A and Sentinel 2 L1C STAC collections
- Adding Weather Data APIs to fetch IBM weather data
- Re-generate with latest generator version. This contains splitting models into input and output models and typing improvements #20059
- Export pagination helper function. #15831
Breaking Changes
- Removing primaryBoundaryId & boundaryIds from Field and Seasonal Field
- Removing isPrimary flag from Boundary
- Removing avgYields from Seasonal Field
- Renaming Farmer to Party
- Renaming CropVariety to CropProduct
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/agrifood-farming@1.0.0-beta.2
$> npm install @azure-rest/core-client@1.1.1
$> npm install @azure-rest/load-testing@1.0.0
$> npm install @azure-rest/purview-workflow@1.0.0-beta.1
$> npm install @azure/ai-language-text@1.1.0-beta.2
$> npm install @azure/arm-cognitiveservices@7.4.0
$> npm install @azure/arm-containerregistry@10.1.0-beta.5
$> npm install @azure/arm-containerservice@17.4.0-beta.2
$> npm install @azure/arm-cosmosdb@15.3.0
$> npm install @azure/arm-datafactory@11.0.0
$> npm install @azure/arm-dataprotection@1.0.0-beta.2
$> npm install @azure/arm-kusto@7.3.0
$> npm install @azure/arm-recoveryservices@5.2.0
$> npm install @azure/arm-reservations@8.0.0
$> npm install @azure/arm-servicebus@6.2.0-beta.1
$> npm install @azure/arm-storagecache@6.0.0
$> npm install @azure/arm-storagemover@1.0.0-beta.1
$> npm install @azure/arm-storagemover@1.0.0
$> npm install @azure/arm-synapse@9.0.0-beta.1
$> npm install @azure/arm-voiceservices@1.0.0-beta.1
$> npm install @azure/arm-workloads@1.0.0-beta.3
$> npm install @azure/communication-chat@1.3.1
$> npm install @azure/communication-email@1.0.0-beta.2
$> npm install @azure/core-client@1.7.2
$> npm install @azure/core-rest-pipeline@1.10.2
$> npm install @azure/core-util@1.2.0
$> npm install @azure/core-xml@1.3.3
$> npm install @azure/cosmos@3.17.3
$> npm install @azure/event-hubs@5.9.0
$> npm install @azure/identity@3.2.0-beta.1
$> npm install @azure/logger@1.0.4
$> npm install @azure/monitor-ingestion@1.0.0
$> npm install @azure/service-bus@7.8.1-beta.1
$> npm install @azure/service-bus@7.8.1
$> npm install @azure/storage-blob@12.13.0
$> npm install @azure/storage-file-datalake@12.12.0
$> npm install @azure/storage-file-share@12.13.0
$> npm install @azure/storage-queue@12.12.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