Azure SDK for Android (June 2021)
The Azure SDK team is pleased to announce our June 2021 client library releases.
11 packages released this month.
Stable Packages (1)
- Communication Chat
Patch Updates (1)
- Communication Common
Beta Packages (9)
-
Core
-
Core Credential
-
Core HTTP
-
Core HTTP HttpUrlConnection
-
Core HTTP OkHttp
-
Core Jackson
-
Core Logging
-
Core REST
-
Core Test
Release highlights
Communication Chat 1.0.0 Changelog
New Features
- Added
ChatServiceVersionand the ability to set it onChatClientBuilderandChatThreadClientBuilder.
Breaking Changes
- ChatClientBuilder:
- Added
retryPolicy. - Removed
credentialPolicy. - Removed
realtimeNotificationParams. - ChatThreadClientBuilder:
- Added
retryPolicy. - Removed
credentialPolicy. - Removed
realtimeNotificationParams. - ChatClient:
- Added
listChatThreads. - Changed
startRealtimeNotificationswith adding parameterString skypeUserTokenandContext context. - Removed
getChatThreadsFirstPage. - Removed
getChatThreadsFirstPageWithResponse. - Removed
getChatThreadsNextPage. - Removed
getChatThreadsNextPageWithResponse. - Replaced
azure.core.util.Contextin the APIs withazure.core.util.RequestContext. - Replaced
onwithaddEventHandler. - Replaced
offwithremoveEventHandler. - ChatAsyncClient:
- Added
listChatThreads. - Changed
startRealtimeNotificationswith adding parameterString skypeUserTokenandContext context. - Removed
getChatThreadsFirstPage. - Removed
getChatThreadsFirstPageWithResponse. - Removed
getChatThreadsNextPage. - Removed
getChatThreadsNextPageWithResponse. - Replaced
azure.core.util.Contextin the APIs withazure.core.util.RequestContext. - Replaced
onwithaddEventHandler. - Replaced
offwithremoveEventHandler. - ChatThreadClient:
- Added
listParticipants. - Added
listMessages. - Added
listReadReceipts. - Changed returning
AddChatParticipantsResultinstead ofvoidforaddParticipants. - Changed taking parameter
Iterable<ChatParticipant> participantsinstead ofAddChatParticipantsOptions optionsforaddParticipantsandaddParticipantsWithResponse. - 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.Contextin the APIs withazure.core.util.RequestContext. - ChatThreadAsyncClient:
- Added
listParticipants. - Added
listMessages. - Added
listReadReceipts. - Changed returning
CompletableFuture<AddChatParticipantsResult>instead ofCompletableFuture<Void>foraddParticipants. - Changed taking parameter
Iterable<ChatParticipant> participantsinstead ofAddChatParticipantsOptions optionsforaddParticipantsandaddParticipantsWithResponse. - 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.Contextin the APIs withazure.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.*tocom.azure.android.communication.chat.models.*. - Changed
httpClientto an optional component forChatClientBuilder/ChatThreadClientBuilderto create corresponding client. - Changed
ChatEventIdtoChatEventType. - Changed
BaseEventtoChatEvent. - Changed
ChatMessageReceivedEventcreatedOn type fromStringtoOffsetDateTime. - Changed
ChatMessageEditedEventcreatedOn and editedOn type fromStringtoOffsetDateTime. - Changed
ChatMessageDeletedEventcreatedOn and deletedOn type fromStringtoOffsetDateTime. - Changed
ReadReceiptReceivedEventreadOn type fromStringtoOffsetDateTime. - Changed
TypingIndicatorReceivedEventreceivedOn type fromStringtoOffsetDateTime. - Changed
ChatThreadCreatedEventcreatedOn type fromStringtoOffsetDateTime. - Changed
ChatThreadDeletedEventdeletedOn type fromStringtoOffsetDateTime. - Changed
ChatThreadPropertiesUpdatedEventupdatedOn type fromStringtoOffsetDateTime. - Changed
ParticipantsAddedEventaddedOn type fromStringtoOffsetDateTime. - Changed
ParticipantsRemovedEventremovedOn type fromStringtoOffsetDateTime.
Dependency Updates
- Updated
com.azure.android.corefrom1.0.0-beta.5to1.0.0-beta.6.
Communication Common 1.0.1 Changelog
Dependency Updates
- Updated
com.azure.android.corefrom1.0.0-beta.5to1.0.0-beta.6
Core 1.0.0-beta.6 Changelog
New Features
- Added
AsyncStreamandAsyncStreamHandlerto support enumeration of a stream of data asynchronously. - Added
PageandPagedAsyncStreamCorethat defines the paging contract.
Breaking Changes
- Renamed
azure.core.util.Contexttoazure.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.Contextin theHttpPipeline::sendAPI withazure.core.util.RequestContext. - Replaced
azure.core.util.Contextin theHttpPipelinePolicyChaintype withazure.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
PagedAsyncStreamandPagedIterableto support enumeration of a paged responses from REST services.
Breaking Changes
- Removed
Pagetype and moved it to azure-core.
Core Test 1.0.0-beta.6 Changelog
Need help
- For reference documentation visit the Azure SDK for Android documentation.
- For tutorials, samples, quick starts and other documentation, visit the Azure SDK for Android repository.
- File an issue via Github Issues.
- Check previous questions or ask new ones on
StackOverflow using the
azure-android-sdktag.
Latest Releases
View all the latest versions of Android packages here.
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.