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

Releases: Azure/go-autorest

v10.10.0

06 Jun 19:17
d21db7e
Compare
Choose a tag to compare

New Features

  • Most ServicePrincipalTokens can now be marshalled/unmarshall to/from JSON (ServicePrincipalCertificateSecret and ServicePrincipalMSISecret are not supported).
  • Added method ServicePrincipalToken.SetRefreshCallbacks().

v10.9.2

31 May 20:57
4de44cd
Compare
Choose a tag to compare

Bug Fixes

  • Refreshing a refresh token obtained from a web app authorization code now works.

v10.9.1

31 May 16:04
99e5f30
Compare
Choose a tag to compare

Bug Fixes

  • The retry logic for MSI token requests now uses exponential backoff per the guidelines.
  • IsTemporaryNetworkError() will return true for errors that don't implement the net.Error interface.

v10.9.0

29 May 16:43
aa2a453
Compare
Choose a tag to compare

Deprecated Methods

Old Method New Method
azure.NewFuture() azure.NewFutureFromResponse()
Future.WaitForCompletion() Future.WaitForCompletionRef()

New Features

  • Added azure.NewFutureFromResponse() for creating a Future from the initial response from an async operation.
  • Added Future.GetResult() for making the final GET call to retrieve the result from an async operation.

Bug Fixes

  • Some futures failed to return their results, this should now be fixed.

v10.8.2

19 May 00:27
Compare
Choose a tag to compare

Bug Fixes

  • Add nil-guard to token retry logic.

v10.8.1

02 May 23:03
eaa7994
Compare
Choose a tag to compare

Bug Fixes

  • Return a TokenRefreshError if the sender fails on the initial request.
  • Don't retry on non-temporary network errors.

v10.8.0

01 May 01:02
8d642cd
Compare
Choose a tag to compare
  • Added NewAuthorizerFromEnvironmentWithResource() helper function.

v10.7.0

27 Apr 22:47
5cdef8c
Compare
Choose a tag to compare

New Features

  • Added *WithContext() methods to ADAL token refresh operations.

v10.6.2

18 Apr 23:50
1ff2880
Compare
Choose a tag to compare

Fixed a bug on device authentication.

v10.6.1

18 Apr 00:37
b20db43
Compare
Choose a tag to compare

Added retries to MSI token get request.