Azure SDK for JavaScript (July 2020)
The Azure SDK team is pleased to make available the July 2020 client library release.
GA
- Azure Cognitive Search
Updates
- Azure App Configuration
- Core libraries
- Azure Event Hubs
Preview
- Storage
- Azure Event Hubs
- Azure Cognitive Form Recognizer
- Azure Service Bus
Installation Instructions
To install the packages, copy and paste the below into a terminal.
$> npm install @azure/storage-blob
$> npm install @azure/storage-blob-changfeed
$> npm install @azure/storage-file-datalake
$> npm install @azure/storage-file-share
$> npm install @azure/storage-queue
$> npm install @azure/app-configuration
$> npm install @azure/search-documents
$> npm install @azure/ai-form-recognizer
$> npm install @azure/service-bus@next
To install the stable version of the Event Hubs library:
$> npm install @azure/event-hubs
To install the preview version of the Event Hubs library:
$> npm install @azure/event-hubs@next
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
Changelog
Detailed changelogs are linked from the Quick Links below. Here are some of the highlights:
Storage
Blob Changelog
New Features
- Added support for Blob Tags, Blob Versioning, Quick Query, Jumbo Blobs, and more
- Added convenience method
createIfNotExists
forContainerClient
,AppendBlobClient
, andPageBlobClient
- Added convenience method
deleteIfExists
forContainerClient
andBlobClients
Blob ChangeFeed Changelog
New Features
- Added a preview version of this library to support change feed
File DataLake Changelog
New Features
- Block size is increased to 4 GB max
- Added more mapping for Blob and DFS endpoints
File Share Changelog
New Features
- Supports 4 TB files
Search (CHANGELOG)
This is the first stable GA release of the Cognitive Search library.
Breaking Changes from Last Preview
- In Suggest API & Search API return values, a new property called
document
is introduced. All user-defined fields are moved inside thisdocument
property. - In
analyzeText
API, thetext
parameter is moved from method level to insideoptions
bag. - In
search
API,includeTotalResultCount
property is renamed toincludeTotalCount
. - In
ServiceCounters
, theskillsetCounter
property has been removed. - Modified the names of several properties. Please refer #9321 for a detailed list of renames.
App Configuration (CHANGELOG)
New Features
- Added browser support for the latest versions of Chrome, Edge and Firefox.
Event Hubs (CHANGELOG)
We have released two versions of the Event Hubs library this time. An update to the stable version with bug fixes, and a preview version with new features.
Key Bug Fixes
- The update to the stable version i.e version 5.2.2 has improved the application reliability when closing
EventHubConsumerClient
andSubscriptions
.
New Features
- The preview version 5.3.0-preview.1 now supports configuring
loadBalancingOptions
when constructing theEventHubConsumerClient
for more control over performance tuning while load balancing.
Form Recognizer (CHANGELOG)
New Features
- Added an
expiresOn
property to theCopyAuthorization
type containing the time that the Copy Authorization will expire encoded as a JavaScriptDate
type.
Breaking Changes from Last Preview
- Replace
RecognizedReceiptArray
with the more genericRecognizedFormArray
in the Poller response type returned bybeginRecognizeReceipts
andbeginRecognizeReceiptsFromUrl
. - Rename the
textContent
field of theFieldData
andFormTableCell
types tofieldElements
to mirror the change in its type. - Rename the
FormField
type’slabelText
andvalueText
fields tolabelData
andvalueData
respectively, to mirror the change of their type toFieldData
; - Rename the
includeTextContent
request option toincludeFieldElements
to mirror the change toFieldData
andFormElement
. - Rename
FieldText
toFieldData
andFormContent
toFormElement
to reflect that fields may contain more than textual information. - Rename
includeTextDetails
toincludeTextContent
in custom form and receipt recognition options to be consistent with other languages. - Rename properties
requestedOn
totrainingStartedOn
andcompletedOn
totrainingCompletedOn
inCustomFormModel
andCustomFormModelInfo
types.
Service Bus (CHANGELOG)
New Features
- Adds abortSignal support throughout Sender and non-session Receivers.
-
(Receiver SessionReceiver).subscribe() now returns a closeable object which will stop new messages from arriving but still leave the receiver open so they can be settled via methods like complete(). OperationOptions
has been added for the methods underServiceBusManagementClient
, this adds support for abortSignal, requestOptions when creating and sending HTTP requests.
Breaking Changes from Last Preview
- Standardized methods on senders and receivers to use the
Messages
suffix, removed dedicated methods dealing with a single message to reduce API surface. - Standardized methods that peek and receive a given number of messages to use a similar signature.
Old:
peekMessages(options);
andreceiveMessages(maxMessages, options);
New:peekMessages(maxMessageCount, options);
andreceiveMessages(maxMessageCount, options);
- Removed
isReceivingMessages
method on theReceiver
. -
Management api updates
- Renamed
createdOn
,accessedOn
andmodifiedOn
properties tocreatedAt
,accessedAt
andmodifiedAt
, updated the corresponding type fromISO-8601 timestamp string
to theDate
type in the responses for theruntimeInfo
methods for Queue, Topic and Subscription. - The property
top
in the options passed to any of the methods that get information for multiple entities likegetQueues
orgetQueuesRuntimeInfo
is renamed tomaxCount
. - The “update” methods (
updateQueue
,updateTopic
andupdateSubscription
) now require all properties on the given queue/topic/subscription object to be set though only a subset of them are actually updatable. Therefore, the suggested flow is to use the “get” methods to get the queue/topic/subscription object, update as needed, and then pass it to the “update” methods.
- Renamed
Key Bug Fixes
- Fixed the bug where the messages scheduled in parallel with the
scheduleMessage
method have the same sequence number in response. - Fixed the bug where the
userProperties
in a correlation filter are not populated in the rule while using theServiceBusManagementClient.createRule()
method.
Latest Releases
View all the latest versions of JavaScript packages here.