Azure SDK for Android (April 2021)
The Azure SDK team is pleased to announce our April 2021 client library releases.
Beta
- Azure Communication Services Chat
- Azure Communication Services Common
- Azure Core
- Azure Core Credential
- Azure Core Http
- Azure Core Http HttpUrlConnection
- Azure Core Http OkHttp
- Azure Core Jackson
- Azure Core Logging
- Azure Core Rest
- Azure 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-beta.8'
implementation 'com.azure.android:azure-communication-common:1.0.0-beta.8'
implementation 'com.azure.android:azure-core:1.0.0-beta.5'
implementation 'com.azure.android:azure-core-credential:1.0.0-beta.5'
implementation 'com.azure.android:azure-core-hhtp:1.0.0-beta.5'
implementation 'com.azure.android:azure-core-http-httpurlconnection:1.0.0-beta.5'
implementation 'com.azure.android:azure-core-http-okhttp:1.0.0-beta.5'
implementation 'com.azure.android:azure-core-jackson:1.0.0-beta.5'
implementation 'com.azure.android:azure-core-logging:1.0.0-beta.5'
implementation 'com.azure.android:azure-core-rest:1.0.0-beta.5'
implementation 'com.azure.android:azure-core-test:1.0.0-beta.5'
}
Kotlin
dependencies {
...
implementation("com.azure.android:azure-communication-chat:1.0.0-beta.8")
implementation("com.azure.android:azure-communication-common:1.0.0-beta.8")
implementation("com.azure.android:azure-core:1.0.0-beta.5")
implementation("com.azure.android:azure-core-credential:1.0.0-beta.5")
implementation("com.azure.android:azure-core-hhtp:1.0.0-beta.5")
implementation("com.azure.android:azure-core-http-httpurlconnection:1.0.0-beta.5")
implementation("com.azure.android:azure-core-http-okhttp:1.0.0-beta.5")
implementation("com.azure.android:azure-core-jackson:1.0.0-beta.5")
implementation("com.azure.android:azure-core-logging:1.0.0-beta.5")
implementation("com.azure.android:azure-core-rest:1.0.0-beta.5")
implementation("com.azure.android:azure-core-test:1.0.0-beta.5")
}
Maven
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-communication-chat</artifactId>
<version>1.0.0-beta.8</version>
<type>aar</type>
</dependency>
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-communication-common</artifactId>
<version>1.0.0-beta.8</version>
<type>aar</type>
</dependency>
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-core</artifactId>
<version>1.0.0-beta.5</version>
<type>aar</type>
</dependency>
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-core-credential</artifactId>
<version>1.0.0-beta.5</version>
<type>aar</type>
</dependency>
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-core-http</artifactId>
<version>1.0.0-beta.5</version>
<type>aar</type>
</dependency>
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-core-http-httpurlconnection</artifactId>
<version>1.0.0-beta.5</version>
<type>aar</type>
</dependency>
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-core-http-okhttp</artifactId>
<version>1.0.0-beta.5</version>
<type>aar</type>
</dependency>
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-core-jackson</artifactId>
<version>1.0.0-beta.5</version>
<type>aar</type>
</dependency>
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-core-logging</artifactId>
<version>1.0.0-beta.5</version>
<type>aar</type>
</dependency>
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-core-rest</artifactId>
<version>1.0.0-beta.5</version>
<type>aar</type>
</dependency>
<dependency>
<groupId>com.azure.android</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.0.0-beta.5</version>
<type>aar</type>
</dependency>
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.
Release highlights
Azure Communication Services Chat
1.0.0-beta.8 (Changelog)
Breaking Changes
ChatThreadAsyncClient
:- Renamed
getChatThreadProperties
togetProperties
. - Renamed
getChatThreadPropertiesWithResponse
togetPropertiesWithResponse
. - Changed
addParticipant
andaddParticipantWithResponse
to throwInvalidParticipantException
for failure instead of returningAddChatParticipantsResult
. - Changed
sendMessage
andsendMessageWithResponse
to returnSendChatMessageResult
.
- Renamed
ChatThreadClient
:- Renamed
getChatThreadProperties
togetProperties
. - Renamed
getChatThreadPropertiesWithResponse
togetPropertiesWithResponse
. - Changed
addParticipant
andaddParticipantWithResponse
to throwInvalidParticipantException
for failure instead of returningAddChatParticipantsResult
. - Changed
sendMessage
andsendMessageWithResponse
to returnSendChatMessageResult
.
- Renamed
- Renamed
ChatThread
toChatThreadProperties
. - Renamed
CommunicationError
toChatError
. - Removed
CommunicationErrorResponse
. - Renamed
CommunicationErrorResponseException
toChatErrorResponseException
. - Renamed
repeatabilityRequestId
renamed toidempotencyToken
inCreateChatThreadOptions
. - Renamed
chatThread
tochatThreadProperties
inCreateChatThreadResult
. - Removed the
azure-communication-chat.properties
file.
Azure Communication Services Common
1.0.0-beta.8 (Changelog)
Breaking Changes
- Changed
UserCredential.getToken()
to returnCompletableFuture<CommunicationAccessToken>
instead ofFuture<CommunicationAccessToken>
. - Invoking
getToken
on a disposedUserCredential
returns a failedCompletableFuture
instead of cancelledFuture
. - Removed the
fromString
method fromCommunicationCloudEnvironment
given the same result can be achieved using the existing public constructor. - Renamed the
getToken
method inCommunicationTokenRefreshOptions
togetInitialToken
.
Azure Core
1.0.0-beta.5 (Changelog)
Breaking Changes
- Removed the
azure-core.properties
file.
1.0.0-beta.4 (Changelog)
Breaking Changes
- Split Azure Core into smaller modules:
- azure-core
- azure-core-credential
- azure-core-http
- azure-core-http-httpurlconnection
- azure-core-http-okhttp
- azure-core-jackson
- azure-core-logging
- azure-core-rest
- azure-core-test
Azure Core Credential
1.0.0-beta.5 (Changelog)
Breaking Changes
- Removed the
azure-core.properties
file.
1.0.0-beta.4 (Changelog)
New Features
- Initial release. This library provides shared primitives, abstractions, and helpers for authentication and authorization.
Azure Core HTTP
1.0.0-beta.5 (Changelog)
Breaking Changes
- Removed the
azure-core.properties
file.
1.0.0-beta.4 (Changelog)
New Features
- Initial release. This library provides shared primitives, abstractions, and helpers for concrete
HttpClient
implementations used in the Android Azure SDK client libraries.
Azure Core HTTP HttpUrlConnection
1.0.0-beta.5 (Changelog)
1.0.0-beta.4 (Changelog)
New Features
- Initial release. This library provides an implementation of the Azure Core HTTP’s
HttpClient
usingHttpUrlConnection
.
Azure Core HTTP OkHttp
1.0.0-beta.5 (Changelog)
1.0.0-beta.4 (Changelog)
New Features
- Initial release. This library provides an implementation of the Azure Core HTTP’s
HttpClient
usingHttpUrlConnection
.
Azure Core Jackson
1.0.0-beta.5 (Changelog)
Breaking Changes
- Removed the
azure-core.properties
file.
1.0.0-beta.4 (Changelog)
New Features
- Initial release. This library provides support for serialization and deserialization using Jackson
Azure Core Logging
1.0.0-beta.5 (Changelog)
Breaking Changes
- Removed the
azure-core.properties
file.
1.0.0-beta.4 (Changelog)
New Features
- Initial release. This libraries provides shared primitives, abstractions, and helpers for logging in Android Azure SDK client libraries.
Azure Core REST
1.0.0-beta.5 (Changelog)
Breaking Changes
- Removed the
azure-core.properties
file.
1.0.0-beta.4 (Changelog)
New Features
- Initial release. This library provides client abstractions to make HTTP REST Calls.
Azure Core Test
1.0.0-beta.5 (Changelog)
Breaking Changes
- Removed the
azure-core.properties
file.
1.0.0-beta.4 (Changelog)
New Features
- Initial release. This library contains classes used to test Azure SDK client libraries.
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.