github Azure/azure-sdk-for-js @azure/core-rest-pipeline_1.7.0

latest releases: @azure/event-hubs_5.12.0, @azure/search-documents_12.1.0-beta.2, @azure/core-amqp_4.3.0...
2 years ago

1.7.0 (2022-03-21)

Features Added

  • Supports the "retry-after-ms" and "x-ms-retry-after-ms" headers along with the "Retry-After" header from throttling retry responses from the services. #20817

Bugs Fixed

  • Bug #20778 Customers can provide abort signals in the options bags for the client libraries but they were not being checked when requests were being retried. The issue is fixed in #20781.
  • Fixed a bug introduced on 1.4.0 that prevented the retry policies from throwing errors after all the retry steps are exhausted.
  • Fixed a bug introduced on 1.4.0 that prevented the exponential retry policy to retry when the server answered with some expected errors.

Other Changes

  • Changed the default number of retries from 10 to 3.
  • The retry policies now throw errors (if encountered) at the time they stop retrying, rather than merely returning the response.

Don't miss a new azure-sdk-for-js release

NewReleases is sending notifications on new releases.