2.0.0 (2022-03-08)
Features Added
- 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.
Breaking Changes
- 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
.