Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Releases: Azure/go-autorest

v9.5.1

08 Dec 22:48
4f2543e
Compare
Choose a tag to compare

Bug Fixes

  • Don't count http.StatusTooManyRequests (429) against the retry cap.
  • Use retry logic when SkipResourceProviderRegistration is set to true.

v9.5.0

06 Dec 23:12
4695056
Compare
Choose a tag to compare

New Features

  • Added support for username + password, API key, authoriazation code and cognitive services authentication.
  • Added field SkipResourceProviderRegistration to clients to provide a way to skip auto-registration of RPs.
  • Added utility function AsStringSlice() to convert its parameters to a string slice.

Bug Fixes

  • When checking for authentication failures look at the error type not the status code as it could vary.

v9.4.2

04 Dec 23:00
cab8279
Compare
Choose a tag to compare

Bug Fixes

  • Validate parameters when creating credentials.
  • Don't retry requests if the returned status is a 401 (http.StatusUnauthorized) as it will never succeed.

v9.4.1

17 Nov 21:17
Compare
Choose a tag to compare

Bug Fixes

  • Update the AccessTokensPath() to read access tokens path through AZURE_ACCESS_TOKEN_FILE. If this environment variable is not set, it will fall back to use default path set by Azure CLI.
  • Use case-insensitive string comparison for polling states.

v9.4.0

09 Nov 17:14
ab56713
Compare
Choose a tag to compare

New Features

  • Added WaitForCompletion() to Future as a default polling implementation.

Bug Fixes

  • Method Future.Done() shouldn't update polling status for unexpected HTTP status codes.

v9.3.1

06 Nov 18:52
8efdaa3
Compare
Choose a tag to compare

Bug Fixes

  • DoRetryForStatusCodes will retry if sender.Do returns a non-nil error.

v9.3.0

02 Nov 20:09
1afda22
Compare
Choose a tag to compare

New Features

  • Added PollingMethod() to Future so callers know what kind of polling mechanism is used.
  • Added azure.ChangeToGet() which transforms an http.Request into a GET (to be used with LROs).

v9.2.0

31 Oct 14:39
Compare
Choose a tag to compare

New Features

  • Added support for custom Azure Stack endpoints.
  • Added type azure.Future used to track the status of long-running operations.

Bug Fixes

  • Preserve the original error in DoRetryWithRegistration when registration fails.

v9.1.1

20 Oct 20:30
Compare
Choose a tag to compare
  • Fixes a bug regarding the cookie jar on autorest.Client.Sender.

v9.1.0

18 Oct 21:45
Compare
Choose a tag to compare

New Features

  • In cases where there is a non-empty error from the service, attempt to unmarshal it instead of uniformly calling it an "Unknown" error.
  • Support for loading Azure CLI Authentication files.
  • Automatically register your subscription with the Azure Resource Provider if it hadn't been previously.

Bug Fixes

  • RetriableRequest can now tolerate a ReadSeekable body being read but not reset.
  • Adding missing Apache Headers