Azure SDK for Java (June 2020)
The Azure SDK team is pleased to announce our June 2020 client library releases.
GA
- Core
- Core - AMQP
- Core - Http - Netty
- Core - Http - OkHttp
- Text Analytics
- Azure Cosmos
Updates
- KeyVault (Certificates, Keys, Secrets)
Preview
- Form Recognizer
- KeyVault (Certificates, Keys, Secrets)
- Service Bus
- Tracing OpenTelemetry
Installation Instructions
To use the GA and beta libraries, refer to the Maven dependency information below, which may be copied into your projects Maven pom.xml file as appropriate. If you are using a different build tool, refer to its documentation on how to specify dependencies.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.5.1</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-amqp</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.5.2</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-okhttp</artifactId>
<version>1.2.3</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-tracing-opentelemetry</artifactId>
<version>1.0.0-beta.5</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-ai-formrecognizer</artifactId>
<version>1.0.0-beta.3</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-ai-textanalytics</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-data-appconfiguration</artifactId>
<version>1.1.2</version
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-messaging-servicebus</artifactId>
<version>7.0.0-beta.3</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.0.4</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.1.0-beta.3</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.1.4</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.2.0-beta.4</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.1.4</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.2.0-beta.3</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.0.1</version>
</dependency>
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.
Changelog
Core (Changelog)
Here are some of the highlights:
Bug fixes
- Better handling of custom
Content-Typeheaders, exapplication/custom+json.
Core - AMQP (Changelog)
Here are some of the highlights:
New features
- Added support for AMQP transactions.
Bug fixes
- Fixed receiver recovery after losing network connection.
- Fixed triggering multiple retries occuring when creating a new AMQP channel.
- Fixed adding credits to new AMQP receive links upon creation.
Core - Http - Netty (Changelog)
Here are some of the highlights:
Bug fixes
- Fixed incorrect handling of environment inferred proxies when they don’t use authentication.
Form Recognizer (Changelog)
Here are some of the highlights:
Breaking changes
- Method
getFormTrainingClient()is removed fromFormRecognizerClientandgetFormRecognizerClient()is added toFormTrainingClient USReceiptand related types have been removed. Information about aRecognizedReceiptmust now be extracted from itsRecognizedForm.- Other method and property renaming detailed in changelog
New features
- Added support to copy a custom model from one Form Recognizer resource to another.
- Added support for authentication using Azure Active Directory credential.
KeyVault Keys
4.1.4 (Changelog)
Functional Changes
404responses fromlistPropertiesOfKeyVersionsinKeyAsyncClientandKeyClientnow throw aResourceNotFoundException.
4.2.0-beta.4 (Changelog)
Functional Changes
404responses fromlistPropertiesOfKeyVersionsinKeyAsyncClientandKeyClientnow throw aResourceNotFoundException.buildAsyncKeyEncryptionKeyinLocalKeyEncryptionKeyClientBuildernow throws an exception when no ID is present in a givenJsonWebKey.
KeyVault Secrets
4.2.0-beta.3 (Changelog)
Bug fixes
- Fixed
ByteBuffresource leak inKeyVaultCredentialPolicy.
Text Analytics
1.0.0 (Changelog)
- Initial release of
azure-ai-textanalyticsversion 1.0.0 which targets Azure Text Analytics service API version v3.0.
1.0.0-beta.5 (Changelog)
New features
- Added Text property and
getText()toSentenceSentiment. - Added
getWarnings()toCategorizedEntityCollection,KeyPhrasesCollection,LinkedEntityCollectionto retrieve warnings. - Text analytics SDK update the service to version
v3.0fromv3.0-preview.1.
Breaking changes
- Removed pagination feature, which removed
TextAnalyticsPagedIterable,TextAnalyticsPagedFluxandTextAnalyticsPagedResponse - Removed overload methods for API that takes a list of String, only keep max-overload API that has a list of String, language or country hint, and
TextAnalyticsRequestOption. - Renamed
apiKey()tocredential()on TextAnalyticsClientBuilder. - Removed
getGraphemeLength()andgetGraphemeOffset()fromCategorizedEntity,SentenceSentiment, andLinkedEntityMatch. - Removed
TextDocumentInput(String id, String text, String language)constructor, but addedsetLanguage()setter sincelanguageis optional.
Service Bus (Changelog)
Here are some of the highlights:
New Features
- Added support for transactions. APIs to create, commit and rollback a transaction and to send and settle messages using a transaction.
Tracing OpenTelemetry (Changelog)
Here are some of the highlights:
Breaking changes
- Changed
Tracerloading from using all on classpath to only using the first.
Azure Cosmos (Changelog)
4.0.1 (2020-06-10)
New Features
- Renamed
QueryRequestOptionstoCosmosQueryRequestOptions. - Updated
ChangeFeedProcessorBuilderto builder pattern. - Updated
CosmosPermissionPropertieswith new container name and child resources APIs.Key Bug Fixes
- Fixed ConnectionPolicy
toString()Null Pointer Exception.
4.0.1-beta.4 (2020-06-03)
New Features
- Added more samples & enriched docs to
CosmosClientBuilder. - Updated
CosmosDatabase&CosmosContainerAPIs with throughputProperties for autoscale/autopilot support. - Renamed
CosmosClientExceptiontoCosmosException. - Replaced
AccessCondition&AccessConditionTypebyifMatchETag()&ifNoneMatchETag()APIs. - Merged all
Cosmos*AsyncResponse&CosmosResponsetypes to a singleCosmosResponsetype. - Renamed
CosmosResponseDiagnosticstoCosmosDiagnostics. - Wrapped
FeedResponseDiagnosticsinCosmosDiagnostics. - Removed
jacksondependency from azure-cosmos & relying on azure-core. - Replaced
CosmosKeyCredentialwithAzureKeyCredentialtype. - Added
ProxyOptionsAPIs toGatewayConnectionConfig. - Updated SDK to use
Instanttype instead ofOffsetDateTime. - Added new enum type
OperationKind. - Renamed
FeedOptionstoQueryRequestOptions. - Added
getETag()&getTimestamp()APIs toCosmos*Propertiestypes. - Added
userAgentinformation inCosmosException&CosmosDiagnostics. - Updated new line character in
Diagnosticsto System new line character. - Removed
readAll*APIs, use query select all APIs instead. - Added
ChangeFeedProcessorestimate lag API.Key Bug Fixes
- Fixed issue with parsing of query results in case of Value order by queries.
Need help
- For reference documentation visit the Azure SDK for Java documentation.
- For tutorials, samples, quick starts and other documentation, visit Azure for Java Developers.
- For build reports on code quality, test coverage, etc, visit Azure Java SDK.
- File an issue via Github Issues.
- Check previous questions or ask new ones on StackOverflow using
azure-java-sdktag.
Latest Releases
View all the latest versions of Java packages here.