Skip to content

Latest commit

 

History

History
103 lines (66 loc) · 5.63 KB

2022-10-17.md

File metadata and controls

103 lines (66 loc) · 5.63 KB

Release notes for October 3rd - October 17th

Table of contents

Chat

JS

Features Added

  • Updated to @azure/[email protected].
  • Improves real-time notification of messages when the network is offline, interrupted or unstable. For message(s) sent during this time, the customer will receive the notification that the message has been delivered if the network is functioning normally within 15 minutes.
  • Updated to @azure/core-tracing 1.0.

Identity

.NET

Features Added

  • Added support to customize the Communication Identity access token’s validity period:
    • Added method overloads that provide the ability to create a Communication Identity access token with custom expiration:
      • CreateUserAndToken(IEnumerable<CommunicationTokenScope> scopes, TimeSpan tokenExpiresIn, CancellationToken cancellationToken = default)
      • CreateUserAndTokenAsync(IEnumerable<CommunicationTokenScope> scopes, TimeSpan tokenExpiresIn, CancellationToken cancellationToken = default)
      • GetToken(CommunicationUserIdentifier communicationUser, IEnumerable<CommunicationTokenScope> scopes, TimeSpan tokenExpiresIn, CancellationToken cancellationToken = default)
      • GetTokenAsync(CommunicationUserIdentifier communicationUser, IEnumerable<CommunicationTokenScope> scopes, TimeSpan tokenExpiresIn, CancellationToken cancellationToken = default)
  • Added a new API version ServiceVersion.V2022_10_01 that is now the default API version.

JS

Features Added

  • Added support to customize the Communication Identity access token's validity period:
    • createUserAndToken and getToken methods now accept CreateUserAndTokenOptions and GetTokenOptions that provide the ability to create a Communication Identity access token with custom expiration via optional tokenExpiresInMinutes property:
      • createUserAndToken(scopes: TokenScope[], options: CreateUserAndTokenOptions = {})
      • getToken(user: CommunicationUserIdentifier, scopes: TokenScope[], options: GetTokenOptions = {})
      • interface CreateUserAndTokenOptions extends OperationOptions { tokenExpiresInMinutes?: number; }
      • interface GetTokenOptions extends OperationOptions { tokenExpiresInMinutes?: number; }
    • Added a new API version 2022-10-01 that is now the default API version.

Java

Features Added

  • Added support to customize the Communication Identity access token’s validity period:
    • Added methods that provide the ability to create a Communication Identity access token with custom expiration:
      • CommunicationIdentityClient:
        • createUserAndToken(Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn)
        • createUserAndTokenWithResponse(Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn, Context context)
        • getToken(CommunicationUserIdentifier communicationUser, Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn)
        • getTokenWithResponse(CommunicationUserIdentifier communicationUser, Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn, Context context)
      • CommunicationIdentityAsyncClient:
        • createUserAndToken(Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn)
        • createUserAndTokenWithResponse(Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn)
        • getToken(CommunicationUserIdentifier communicationUser, Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn)
        • getTokenWithResponse(CommunicationUserIdentifier communicationUser, Iterable<CommunicationTokenScope> scopes, Duration tokenExpiresIn)
  • Added a new API version CommunicationIdentityServiceVersion.V2022_10_01 that is now the default API version.

Dependency Updates

  • Upgraded azure-core from 1.32.0 to version 1.33.0.
  • Upgraded azure-communication-common from 1.2.1 to version 1.2.2.

Python

Features Added

  • Added support to customize the Communication Identity access token's validity period:
    • create_user_and_token and get_token methods in both sync and async clients can now accept keyword argument token_expires_in: ~datetime.timedelta that provides the ability to create a Communication Identity access token with custom expiration.
  • Added a new API version ApiVersion.V2022_10_01 that is now the default API version.

Common

Java

Bug Fixes

  • Fixed the logic of PhoneNumberIdentifier to always maintain the original phone number string whether it included the leading + sign or not.

Dependency Updates

  • Upgraded azure-core from 1.32.0 to version 1.33.0.
  • Upgraded azure-core-http-netty from 1.12.5 to version 1.12.6.