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
ChatServiceVersion
and the ability to set it onChatClientBuilder
andChatThreadClientBuilder
.
Breaking Changes
- ChatClientBuilder:
- Added
retryPolicy
. - Removed
credentialPolicy
. - Removed
realtimeNotificationParams
. - ChatThreadClientBuilder:
- Added
retryPolicy
. - Removed
credentialPolicy
. - Removed
realtimeNotificationParams
. - ChatClient:
- Added
listChatThreads
. - Changed
startRealtimeNotifications
with adding parameterString skypeUserToken
andContext context
. - Removed
getChatThreadsFirstPage
. - Removed
getChatThreadsFirstPageWithResponse
. - Removed
getChatThreadsNextPage
. - Removed
getChatThreadsNextPageWithResponse
. - Replaced
azure.core.util.Context
in the APIs withazure.core.util.RequestContext
. - Replaced
on
withaddEventHandler
. - Replaced
off
withremoveEventHandler
. - ChatAsyncClient:
- Added
listChatThreads
. - Changed
startRealtimeNotifications
with adding parameterString skypeUserToken
andContext context
. - Removed
getChatThreadsFirstPage
. - Removed
getChatThreadsFirstPageWithResponse
. - Removed
getChatThreadsNextPage
. - Removed
getChatThreadsNextPageWithResponse
. - Replaced
azure.core.util.Context
in the APIs withazure.core.util.RequestContext
. - Replaced
on
withaddEventHandler
. - Replaced
off
withremoveEventHandler
. - ChatThreadClient:
- Added
listParticipants
. - Added
listMessages
. - Added
listReadReceipts
. - Changed returning
AddChatParticipantsResult
instead ofvoid
foraddParticipants
. - Changed taking parameter
Iterable<ChatParticipant> participants
instead ofAddChatParticipantsOptions options
foraddParticipants
andaddParticipantsWithResponse
. - 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 withazure.core.util.RequestContext
. - ChatThreadAsyncClient:
- Added
listParticipants
. - Added
listMessages
. - Added
listReadReceipts
. - Changed returning
CompletableFuture<AddChatParticipantsResult>
instead ofCompletableFuture<Void>
foraddParticipants
. - Changed taking parameter
Iterable<ChatParticipant> participants
instead ofAddChatParticipantsOptions options
foraddParticipants
andaddParticipantsWithResponse
. - 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 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
httpClient
to an optional component forChatClientBuilder
/ChatThreadClientBuilder
to create corresponding client. - Changed
ChatEventId
toChatEventType
. - Changed
BaseEvent
toChatEvent
. - Changed
ChatMessageReceivedEvent
createdOn type fromString
toOffsetDateTime
. - Changed
ChatMessageEditedEvent
createdOn and editedOn type fromString
toOffsetDateTime
. - Changed
ChatMessageDeletedEvent
createdOn and deletedOn type fromString
toOffsetDateTime
. - Changed
ReadReceiptReceivedEvent
readOn type fromString
toOffsetDateTime
. - Changed
TypingIndicatorReceivedEvent
receivedOn type fromString
toOffsetDateTime
. - Changed
ChatThreadCreatedEvent
createdOn type fromString
toOffsetDateTime
. - Changed
ChatThreadDeletedEvent
deletedOn type fromString
toOffsetDateTime
. - Changed
ChatThreadPropertiesUpdatedEvent
updatedOn type fromString
toOffsetDateTime
. - Changed
ParticipantsAddedEvent
addedOn type fromString
toOffsetDateTime
. - Changed
ParticipantsRemovedEvent
removedOn type fromString
toOffsetDateTime
.
Dependency Updates
- Updated
com.azure.android.core
from1.0.0-beta.5
to1.0.0-beta.6
.
Communication Common 1.0.1 Changelog
Dependency Updates
- Updated
com.azure.android.core
from1.0.0-beta.5
to1.0.0-beta.6
Core 1.0.0-beta.6 Changelog
New Features
- Added
AsyncStream
andAsyncStreamHandler
to support enumeration of a stream of data asynchronously. - Added
Page
andPagedAsyncStreamCore
that defines the paging contract.
Breaking Changes
- Renamed
azure.core.util.Context
toazure.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 theHttpPipeline::send
API withazure.core.util.RequestContext
. - Replaced
azure.core.util.Context
in theHttpPipelinePolicyChain
type 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
PagedAsyncStream
andPagedIterable
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
- 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-sdk
tag.
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.