- Renamed field
teamAppId
toappId
inSerializedMicrosoftTeamsAppIdentifier
to match the REST specification.
- Added support for a new communication identifier
MicrosoftTeamsAppIdentifier
.- Added a type
MicrosoftTeamsAppKind
. - Added a method
isMicrosoftTeamsAppIdentifier
to check if the identifier isMicrosoftTeamsAppIdentifier
. - Added a field
teamsAppId
toMicrosoftTeamsAppIdentifier
. - With this version, any rawId starting with
28:
will map to MicrosoftTeamsAppIdentifier. Previously it mapped toUnknownIdentifier
.
- Added a type
- Bug fix for when running the policy, a query param is always being detected as the URLSearchParams object exists, even if it is empty.
- Added support for a new communication identifier
MicrosoftBotIdentifier
.
- Introduction of
MicrosoftBotIdentifier
is a breaking change. It will affect code that relied on usingUnknownIdentifier
with a rawID starting with28:
- Optimized the logic for deserializing types derived from the
CommunicationIdentifier
.
- Fixed the logic of
getIdentifierRawId
andcreateIdentifierFromRawId
forPhoneNumberIdentifier
to always maintain the original phone number string whether it included the leading+
sign or not.
- Updated to
@azure/core-tracing
1.0.
- Added
getIdentifierRawId
andcreateIdentifierFromRawId
to translate between aCommunicationIdentifier
and its underlying canonical rawId representation. Developers can now use the rawId as an encoded format for identifiers to store in their databases or as stable keys in general. - Always include
rawId
when serializing identifiers to wire format.
- Made internal
CommunicationIdentifierSerializer
resilient to unknown additional response properties.
- 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.
- Migrated from using
@azure/core-http
to@azure/core-rest-pipeline
for the handling of HTTP requests. See Azure Core v1 vs v2 for more on the difference and benefits of the move.createCommunicationAccessKeyCredentialPolicy
andcreateCommunicationAuthPolicy
newly returnPipelinePolicy
instead ofRequestPolicyFactory
.
- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on
@types/node
has been updated to version 12. Read our support policy for more details. - Updated our internal core package dependencies to their latest versions in order to add support for Opentelemetry 1.0.0 which is compatible with the latest versions of our other client libraries.
- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features
Updated @azure/communication-common
version.
Updated @azure/communication-common
version.
- Removed
CallingApplicationIdentifier
andisCallingApplicationIdentifier
. - Removed
id
fromCommunicationUserIdentifier
. - Renamed
id
torawId
inPhoneNumberIdentifier
. - Renamed
id
torawId
inMicrosoftTeamsUserIdentifier
. - Replaced
abortSignal?
argument inCommunicationTokenCredential.getToken
withoptions?: CommunicationGetTokenOptions
.
- Added
MicrosoftTeamsUserIdentifier
andisMicrosoftTeamsUserIdentifier
. - Added optional
id
property to communication identifiers.
- Changed identifier
kind
property to use lowerCamelCase. - Renamed
CommunicationUserCredential
toCommunicationTokenCredential
. - Renamed
RefreshOptions
toCommunicationTokenRefreshOptions
. - Renamed
Identifier
toCommunicationIdentifier
. - Renamed
IdentifierKind
toCommunicationIdentifierKind
. - Renamed
PhoneNumber
toPhoneNumberIdentifier
. - Renamed
isPhoneNumber
toisPhoneNumberIdentifier
. - Renamed
CommunicationUser
toCommunicationUserIdentifier
. - Renamed
isCommunicationUser
toisCommunicationUserIdentifier
. - Renamed
CallingApplication
toCallingApplicationIdentifier
. - Renamed
isCallingApplication
toisCallingApplicationIdentifier
.
Updated @azure/communication-common
version.
Updated @azure/communication-common
version.
The Azure Communication Common Client library contains common code such as the CommunicationUserCredential that is being used by other Azure Communication Services.