Skip to content

Releases: Azure/go-autorest

v9.5.2

12 Dec 18:03
40e67ab
Compare
Choose a tag to compare

Bug Fixes

  • Check for nil *http.Response before dereferencing it.

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.