The Azure SDK team is pleased to announce our June 2021 client library releases.

GA

  • Communication Chat

Updates

  • Communication Common

Beta

  • Core

  • Core Credential

  • Core HTTP

  • Core HTTP HttpUrlConnection

  • Core HTTP OkHttp

  • Core Jackson

  • Core Logging

  • Core REST

  • Core Test

Installation Instructions

To use the latest GA and beta libraries, refer to the dependency information below, which may be copied into your projects Gradle build.gradle or Maven pom.xml file as appropriate. If you are using a different build tool, refer to its documentation on how to specify dependencies.

Gradle

Java

dependencies {
    ...
    implementation 'com.azure.android:azure-communication-chat:1.0.0'
    implementation 'com.azure.android:azure-communication-common:1.0.1'
    implementation 'com.azure.android:azure-core:1.0.0-beta.6'
    implementation 'com.azure.android:azure-core-credential:1.0.0-beta.6'
    implementation 'com.azure.android:azure-core-http:1.0.0-beta.6'
    implementation 'com.azure.android:azure-core-http-httpurlconnection:1.0.0-beta.6'
    implementation 'com.azure.android:azure-core-http-okhttp:1.0.0-beta.6'
    implementation 'com.azure.android:azure-core-jackson:1.0.0-beta.6'
    implementation 'com.azure.android:azure-core-logging:1.0.0-beta.6'
    implementation 'com.azure.android:azure-core-rest:1.0.0-beta.6'
    implementation 'com.azure.android:azure-core-test:1.0.0-beta.6'
}

Kotlin

dependencies {
    ...
    implementation("com.azure.android:azure-communication-chat:1.0.0")
    implementation("com.azure.android:azure-communication-common:1.0.1")
    implementation("com.azure.android:azure-core:1.0.0-beta.6")
    implementation("com.azure.android:azure-core-credential:1.0.0-beta.6")
    implementation("com.azure.android:azure-core-http:1.0.0-beta.6")
    implementation("com.azure.android:azure-core-http-httpurlconnection:1.0.0-beta.6")
    implementation("com.azure.android:azure-core-http-okhttp:1.0.0-beta.6")
    implementation("com.azure.android:azure-core-jackson:1.0.0-beta.6")
    implementation("com.azure.android:azure-core-logging:1.0.0-beta.6")
    implementation("com.azure.android:azure-core-rest:1.0.0-beta.6")
    implementation("com.azure.android:azure-core-test:1.0.0-beta.6")
}

Maven

<dependency>
    <groupId>com.azure.android</groupId>
    <artifactId>azure-communication-chat</artifactId>
    <version>1.0.0</version>
</dependency>
<dependency>
    <groupId>com.azure.android</groupId>
    <artifactId>azure-communication-common</artifactId>
    <version>1.0.1</version>
</dependency>
<dependency>
    <groupId>com.azure.android</groupId>
    <artifactId>azure-core</artifactId>
    <version>1.0.0-beta.6</version>
</dependency>
<dependency>
    <groupId>com.azure.android</groupId>
    <artifactId>azure-core-credential</artifactId>
    <version>1.0.0-beta.6</version>
</dependency>
<dependency>
    <groupId>com.azure.android</groupId>
    <artifactId>azure-core-http</artifactId>
    <version>1.0.0-beta.6</version>
</dependency>
<dependency>
    <groupId>com.azure.android</groupId>
    <artifactId>azure-core-http-httpurlconnection</artifactId>
    <version>1.0.0-beta.6</version>
</dependency>
<dependency>
    <groupId>com.azure.android</groupId>
    <artifactId>azure-core-http-okhttp</artifactId>
    <version>1.0.0-beta.6</version>
</dependency>
<dependency>
    <groupId>com.azure.android</groupId>
    <artifactId>azure-core-jackson</artifactId>
    <version>1.0.0-beta.6</version>
</dependency>
<dependency>
    <groupId>com.azure.android</groupId>
    <artifactId>azure-core-logging</artifactId>
    <version>1.0.0-beta.6</version>
</dependency>
<dependency>
    <groupId>com.azure.android</groupId>
    <artifactId>azure-core-rest</artifactId>
    <version>1.0.0-beta.6</version>
</dependency>
<dependency>
    <groupId>com.azure.android</groupId>
    <artifactId>azure-core-test</artifactId>
    <version>1.0.0-beta.6</version>
</dependency>

Feedback

If you have a bug or feature request for one of the libraries, please post an issue to GitHub.

Release highlights

Communication Chat 1.0.0 Changelog

New Features

  • Added ChatServiceVersion and the ability to set it on ChatClientBuilder and ChatThreadClientBuilder.

Breaking Changes

  • ChatClientBuilder:
  • Added retryPolicy.
  • Removed credentialPolicy.
  • Removed realtimeNotificationParams.
  • ChatThreadClientBuilder:
  • Added retryPolicy.
  • Removed credentialPolicy.
  • Removed realtimeNotificationParams.
  • ChatClient:
  • Added listChatThreads.
  • Changed startRealtimeNotifications with adding parameter String skypeUserToken and Context context.
  • Removed getChatThreadsFirstPage.
  • Removed getChatThreadsFirstPageWithResponse.
  • Removed getChatThreadsNextPage.
  • Removed getChatThreadsNextPageWithResponse.
  • Replaced azure.core.util.Context in the APIs with azure.core.util.RequestContext.
  • Replaced on with addEventHandler.
  • Replaced off with removeEventHandler.
  • ChatAsyncClient:
  • Added listChatThreads.
  • Changed startRealtimeNotifications with adding parameter String skypeUserToken and Context context.
  • Removed getChatThreadsFirstPage.
  • Removed getChatThreadsFirstPageWithResponse.
  • Removed getChatThreadsNextPage.
  • Removed getChatThreadsNextPageWithResponse.
  • Replaced azure.core.util.Context in the APIs with azure.core.util.RequestContext.
  • Replaced on with addEventHandler.
  • Replaced off with removeEventHandler.
  • ChatThreadClient:
  • Added listParticipants.
  • Added listMessages.
  • Added listReadReceipts.
  • Changed returning AddChatParticipantsResult instead of void for addParticipants.
  • Changed taking parameter Iterable<ChatParticipant> participants instead of AddChatParticipantsOptions options for addParticipants and addParticipantsWithResponse.
  • Removed getParticipantsFirstPage.
  • Removed getParticipantsFirstPageWithResponse.
  • Removed getParticipantsNextPage.
  • Removed getParticipantsNextPageWithResponse.
  • Removed getMessagesFirstPage.
  • Removed getMessagesFirstPageWithResponse.
  • Removed getMessagesNextPage.
  • Removed getMessagesNextPageWithResponse.
  • Removed getReadReceiptsFirstPage.
  • Removed getReadReceiptsFirstPageWithResponse.
  • Removed getReadReceiptsNextPage.
  • Removed getReadReceiptsNextPageWithResponse.
  • Replaced azure.core.util.Context in the APIs with azure.core.util.RequestContext.
  • ChatThreadAsyncClient:
  • Added listParticipants.
  • Added listMessages.
  • Added listReadReceipts.
  • Changed returning CompletableFuture<AddChatParticipantsResult> instead of CompletableFuture<Void> for addParticipants.
  • Changed taking parameter Iterable<ChatParticipant> participants instead of AddChatParticipantsOptions options for addParticipants and addParticipantsWithResponse.
  • Removed getParticipantsFirstPage.
  • Removed getParticipantsFirstPageWithResponse.
  • Removed getParticipantsNextPage.
  • Removed getParticipantsNextPageWithResponse.
  • Removed getMessagesFirstPage.
  • Removed getMessagesFirstPageWithResponse.
  • Removed getMessagesNextPage.
  • Removed getMessagesNextPageWithResponse.
  • Removed getReadReceiptsFirstPage.
  • Removed getReadReceiptsFirstPageWithResponse.
  • Removed getReadReceiptsNextPage.
  • Removed getReadReceiptsNextPageWithResponse.
  • Replaced azure.core.util.Context in the APIs with azure.core.util.RequestContext.
  • Removed com.azure.android.communication.chat.signaling.chatevents.ChatParticipant.
  • Removed com.azure.android.communication.chat.signaling.chatevents.ChatThreadProperties.
  • Removed com.azure.android.communication.chat.models.AddChatParticipantsOptions.
  • Removed setters for AddChatParticipantsResult.
  • Removed setters for ChatError.
  • Changed com.azure.android.communication.chat.signaling.chatevents.* to com.azure.android.communication.chat.models.*.
  • Changed httpClient to an optional component for ChatClientBuilder/ChatThreadClientBuilder to create corresponding client.
  • Changed ChatEventId to ChatEventType.
  • Changed BaseEvent to ChatEvent.
  • Changed ChatMessageReceivedEvent createdOn type from String to OffsetDateTime.
  • Changed ChatMessageEditedEvent createdOn and editedOn type from String to OffsetDateTime.
  • Changed ChatMessageDeletedEvent createdOn and deletedOn type from String to OffsetDateTime.
  • Changed ReadReceiptReceivedEvent readOn type from String to OffsetDateTime.
  • Changed TypingIndicatorReceivedEvent receivedOn type from String to OffsetDateTime.
  • Changed ChatThreadCreatedEvent createdOn type from String to OffsetDateTime.
  • Changed ChatThreadDeletedEvent deletedOn type from String to OffsetDateTime.
  • Changed ChatThreadPropertiesUpdatedEvent updatedOn type from String to OffsetDateTime.
  • Changed ParticipantsAddedEvent addedOn type from String to OffsetDateTime.
  • Changed ParticipantsRemovedEvent removedOn type from String to OffsetDateTime.

Dependency Updates

  • Updated com.azure.android.core from 1.0.0-beta.5 to 1.0.0-beta.6.

Communication Common 1.0.1 Changelog

Dependency Updates

  • Updated com.azure.android.core from 1.0.0-beta.5 to 1.0.0-beta.6

Core 1.0.0-beta.6 Changelog

New Features

  • Added AsyncStream and AsyncStreamHandler to support enumeration of a stream of data asynchronously.
  • Added Page and PagedAsyncStreamCore that defines the paging contract.

Breaking Changes

  • Renamed azure.core.util.Context to azure.core.util.RequestContext.
  • Removed ContinuablePage.

Core Credential 1.0.0-beta.6 Changelog

Core HTTP 1.0.0-beta.6 Changelog

Breaking Changes

  • Replaced azure.core.util.Context in the HttpPipeline::send API with azure.core.util.RequestContext.
  • Replaced azure.core.util.Context in the HttpPipelinePolicyChain type with azure.core.util.RequestContext.

Core HTTP HttpUrlConnection 1.0.0-beta.6 Changelog

Core HTTP OkHttp 1.0.0-beta.6 Changelog

Core Jackson 1.0.0-beta.6 Changelog

Core Logging 1.0.0-beta.6 Changelog

Core REST 1.0.0-beta.6 Changelog

New Features

  • Added PagedAsyncStream and PagedIterable to support enumeration of a paged responses from REST services.

Breaking Changes

  • Removed Page type and moved it to azure-core.

Core Test 1.0.0-beta.6 Changelog

Need help

Latest Releases

View all the latest versions of Android packages here.