Skip to content
Merged
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
119 changes: 105 additions & 14 deletions releases/2020-06/js.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,25 @@ repository: azure/azure-sdk-for-js

The Azure SDK team is pleased to make available the June 2020 client library release.

#### GA

- _Add packages_

#### Updates

- _Add packages_

#### Preview

- _Add packages_

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the GA release of Text Analytics.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@willmtemple other languages list both preview.5 and GA. Should we do that? Feel free to submit suggestion if needed.

- General Availability of Azure Cognitive Text Analytics
- Updates for Core libraries
- Update for Azure Event Hubs
- New preview of Azure Identity
- New preview of Azure Cognitive Search
- New preview of Azure Cognitive Form Recognizer
- New preview of Azure Service Bus

## Installation Instructions

To install the packages, copy and paste the below into a terminal.

```bash
$> npm install @azure/package-name
$> npm install @azure/event-hubs
$> npm install @azure/identity
$> npm install @azure/search-documents
$> npm install @azure/ai-form-recognizer
$> npm install @azure/ai-text-analytics
$> npm install @azure/service-bus@next
```

## Feedback
Expand All @@ -36,9 +37,99 @@ If you have a bug or feature request for one of the libraries, please post an is

Detailed changelogs are linked from the [Quick Links](#quick-links) below. Here are some of the highlights:

### _Package name_
### Text Analytics

Text Analytics library is now GA release version.
Comment thread
jeremymeng marked this conversation as resolved.
Outdated

#### Breaking Changes

- Renamed all result array types that extend JavaScript's base `Array` class to end with the word `Array` instead of `Collection` (e.g. `AnalyzeSentimentResultCollection` is now `AnalyzeSentimentResultArray`)
- Renamed `score` to `confidenceScore` in the `Match`, `Entity`, and `DetectedLanguage` types.
- Removed the `graphemeOffset` and `graphemeLength` properties of the `Match`, `Entity`, and `SentenceSentiment` types.
- Renamed the `graphemeCount` property of `TextDocumentStatistics` back to `characterCount`
- Removed the `warnings` property of `SentenceSentiment`.

#### New Features

- The library now uses the Text Analytics v3.0 (General Availability) service endpoint.
- Added a `text` property to `SentenceSentiment` that contains the sentence text
- Added `warnings` property to every document response object containing a list of `TextAnalyticsWarning` objects relevant to the corresponding document.

### Event Hubs

#### Key Bug Fixes

- Fixed an issue where a `TypeError` was sometimes thrown as an uncaught exception.
Comment thread
jeremymeng marked this conversation as resolved.
Outdated

### Identity

#### Breaking Changes
Comment thread
jeremymeng marked this conversation as resolved.
Outdated

- TODO

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a breaking change coming in for Identity:

  • Switch to using CredentialUnavailable to differentiate from expected and unexpected errors during DefaultAzureCredential startup. PR #8172. Note: this changes the original behavior for ManagedIdentityCredential, which previously would return null instead of throwing an exception.


#### New Features

- TODO

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Switch to using CredentialUnavailable to differentiate from expected and unexpected errors during DefaultAzureCredential startup. PR #8172

  • Make all developer credentials public as well as the list used by DefaultAzureCredential PR #9274


#### Key Bug Fixes

- TODO

- TODO
Comment thread
jeremymeng marked this conversation as resolved.
Outdated

### Search

#### Breaking Changes

- Results of `ListIndexes` operation can now be listed by pages.
- Added `onlyIfUnchanged` parameter for CreateOrUpdate and Delete operations.
- Removed `$select` property for the List operations.
- Refactored `SearchServiceClient` and split it to `SearchIndexClient` and `SearchIndexerClient` and changed `SearchIndexClient` class to `SearchClient` class.
- All required parameters are moved out of options bag.
- Renamed `countDocuments` method to `getDocumentsCount` method.
- In `search` method, moved the `searchText` parameter from the options bag to method parameter.
- In `indexDocuments` method, the options parameter is renamed to `IndexDocumentsOptions`.
- Modified `deleteDocuments` method to get documents as a parameter.
- In `getIndexStatistics` method, renamed the return type from `GetIndexStatisticsResult` to `SearchIndexStatistics`.
- In `getServiceStatistics` method, renamed the return type from `ServiceStatistics` to `SearchServiceStatistics`.
- Modified `DataSource` model name to `DataSourceConnection`. Changed all references in the method names, parameters, etc.
- Renamed `SimpleDataType` model to `SearchFieldDataType` model.
- Modified the names of several models & parameters. Please refer [#8984](https://github.com/Azure/azure-sdk-for-js/issues/8984), [#9037](https://github.com/Azure/azure-sdk-for-js/issues/9037) and [#8383](https://github.com/Azure/azure-sdk-for-js/issues/8383) for a detailed list of renames.

#### New Features

- Added separate methods for getting just names such as `listIndexesNames`, `listSynonymMapsNames`, etc.
- Added `getSearchClient` method to the `SearchIndexClient` class.

### Form Recognizer

#### Breaking Changes


- Recognition and training methods now return results directly, instead of wrapping the result in a response object.
- Rename refactoring for many public APIs for cross-language consistency.
- Remove `USReceipt` and related types.

#### New Features

- Add support to copy custom model from one Form Recognizer resource to another.
- Add support for Azure Active Directory credential.


### Service Bus

#### Breaking Changes

- `Sender` now has an `open()` method to proactively initialize the connection. In addition `ServiceBusClient.createSender()` is no longer an `async` method.
Comment thread
jeremymeng marked this conversation as resolved.
Outdated

#### New Features

- TODO
Comment thread
HarshaNalluru marked this conversation as resolved.
Outdated
Comment thread
richardpark-msft marked this conversation as resolved.
Outdated
Comment thread
jeremymeng marked this conversation as resolved.
Outdated

#### Key Bug Fixes


- Major changes only!
- TODO
Comment thread
jeremymeng marked this conversation as resolved.
Outdated

## Latest Releases

Expand Down