Azure SDK for Java (February 2020)
The Azure SDK team is pleased to announce our February 2020 client library releases.
GA
- Event Hubs
Updates
- Storage (Blobs, Blobs Batch, Queues, File Shares, DataLake)
Preview
- Cosmos
- Identity
- Key Vault (Keys)
- Text Analytics
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-data-appconfiguration</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-certificates</artifactId>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.1.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.2.0-beta.1</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-messaging-eventhubs</artifactId>
<version>5.0.1</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-messaging-eventhubs-checkpointstore-blob</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-blob</artifactId>
<version>12.4.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-blob-batch</artifactId>
<version>12.4.0-beta.1</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-blob-cryptography</artifactId>
<version>12.4.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-file-datalake</artifactId>
<version>12.0.0-beta.12</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-file-share</artifactId>
<version>12.2.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-queue</artifactId>
<version>12.3.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-tracing-opentelemetry</artifactId>
<version>1.0.0-beta.2</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-cosmos</artifactId>
<version>4.0.0-preview.1</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-ai-textanalytics</artifactId>
<version>1.0.0-beta.2</version>
</dependency>
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.
Changelog
Detailed changelogs are linked from the Quick Links below. Here are some of the highlights:
Event Hubs (Changelog)
- The Event Hub connection is reestablished when a transient failure is encountered.
- Error handling in
EventProcessor
is broken out and handled in several scenarios.
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-sdk
tag.
Identity (Changelog)
- All credential builders support setting a pipeline via
httpPipeline
method. - SharedTokenCacheCredentialBuilder supports setting the tenant id via
tenantId
method.
KeyVault Keys (Changelog)
KeyVaultKey
model can be instantiated using factory methodsfromKeyId(String keyId, JsonWebKey jsonWebKey)
andfromName(String name, JsonWebKey jsonWebKey)
.KeyEncryptionKeyClientBuilder
can consumeKeyVaultKey
and buildKeyEncryptionKey
andAsyncKeyEncryptionKey
viabuildKeyEncryptionKey(KeyVaultKey key)
andbuildAsyncKeyEncryptionKey(KeyVaultKey key)
methods respectively.
Text Analytics (Changelog)
- General class and method rename to comply with API guidelines.
- All single text operation methods now return an atomic type of operation result.
- Simplified
TextAnaylticsError
to only containcode
,message
, andtarget
. - Added the ability to create a Text Analytics client with a credential that can be updated in long-lived clients.
- All batch overload methods have been renamed by adding the suffix
Batch
. - Accessing a result on a
DocumentError
now raises aTextAnalyticsException
with a description of the error.
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-sdk
tag.
Latest Releases
View all the latest versions of Java packages here.