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

1 packages released this month.

Beta Packages (1)

  • Communication Common

Release highlights

Communication Common 2.0.0-beta.2 Changelog

Features Added

  • Added new constructor with required param tokenRefresher for CommunicationTokenRefreshOptions
  • Deprecated old constructor overloads in CommunicationTokenRefreshOptions and replaced by fluent setters
  • Added fluent setters for optional properties:
  • Added setRefreshProactively(boolean refreshProactively) setter that allows setting whether the token should be proactively renewed prior to its expiry or on demand.
  • Added setInitialToken(String initialToken) setter that allows setting the optional serialized JWT token
  • Optimization added: When the proactive refreshing is enabled and the token refresher fails to provide a token that’s not about to expire soon, the subsequent refresh attempts will be scheduled for when the token reaches half of its remaining lifetime until a token with long enough validity (>10 minutes) is obtained.
  • The default CommunicationCloudEnvironment constructor will create Azure public cloud.
  • Overrode the equals, toString, hashCode methods of CommunicationCloudEnvironment to make it consistent with Java API.

Breaking Changes

  • Introduced non-nullability check for the argument of CommunicationCloudEnvironment.fromString(String name). It will throw NullPointerException if the passed argument is null.

Need help

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-common:2.0.0-beta.2'
}

Kotlin

dependencies {
    ...
    implementation("com.azure.android:azure-communication-common:2.0.0-beta.2")
}

Maven

<dependency>
    <groupId>com.azure.android</groupId>
    <artifactId>azure-communication-common</artifactId>
    <version>2.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.