Skip to content

Commit ea5f63c

Browse files
authored
Updated ACS Common CHANGELOG. (#1525)
1 parent 98df7b2 commit ea5f63c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sdk/communication/azure-communication-common/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,17 @@
1212

1313
### Features Added
1414
- Added support for a new communication identifier `MicrosoftTeamsAppIdentifier`.
15+
- Added a new constructor with required param `tokenRefresher` for `CommunicationTokenRefreshOptions`.
16+
- Added fluent setters for optional properties:
17+
- Added the `setRefreshProactively(boolean refreshProactively)` fluent setter that allows setting whether the token should be proactively renewed prior to its expiry or on demand.
18+
- Added the `setInitialToken(String initialToken)` fluent setter that allows setting the optional serialized JWT token.
19+
- 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.
20+
- Added a default `CommunicationCloudEnvironment` constructor set to use Azure Public Cloud.
21+
- Overrode the `equals`, `toString`, `hashCode` methods of `CommunicationCloudEnvironment` to make it consistent with Azure Core's `ExpandableStringEnum` APIs.
1522

1623
### Other Changes
1724
- Introduction of `MicrosoftTeamsAppIdentifier` is a breaking change. It will impact any code that previously depended on the use of UnknownIdentifier with rawIDs starting with `28:orgid:`, `28:dod:`, or `28:gcch:`.
25+
- Deprecated constructors that take 2 or more arguments in `CommunicationTokenRefreshOptions`. Users should now use the `CommunicationTokenRefreshOptions(Callable tokenRefresher)` constructor and chain fluent setters.
1826
- Updated `targetSdkVersion` and `compileSdkVersion` from `30` to `34`.
1927

2028
## 2.0.0-beta.2 (2023-05-16)

0 commit comments

Comments
 (0)