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

Releases: Azure/go-autorest

v11.2.1

20 Oct 14:26
Compare
Choose a tag to compare

NOTE: Versions of Go prior to 1.10 have been removed from CI as they no
longer work with golint.

Bug Fixes

  • Method MSIConfig.Authorizer now supports user-assigned identities.
  • The adal package now reports its own user-agent string.

v11.2.0

18 Oct 23:47
4492bbb
Compare
Choose a tag to compare

New Features

  • Added tracing package that enables instrumentation of HTTP and API calls.
    Setting the env variable AZURE_SDK_TRACING_ENABELD or calling tracing.Enable
    will start instrumenting the code for metrics and traces.
    Additionally, setting the env variable OCAGENT_TRACE_EXPORTER_ENDPOINT or
    calling tracing.EnableWithAIForwarding will start the instrumentation and connect to an
    App Insights Local Forwarder that is needs to be running. Note that if the
    AI Local Forwarder is not running tracking will still be enabled.
    By default, instrumentation is disabled. Once enabled, instrumentation can also
    be programatically disabled by calling Disable.
  • Added DoneWithContext call for checking LRO status. Done has been deprecated.

Bug Fixes

  • Don't use the initial request's context for LRO polling.
  • Don't override the refreshLock and the http.Client when unmarshalling ServicePrincipalToken if
    it is already set.

v11.1.1

15 Oct 21:14
4b7f49d
Compare
Choose a tag to compare

Bug Fixes

  • When creating a future always include the polling tracker even if there's a failure; this allows the underlying response to be obtained by the caller.

v11.1.0

05 Oct 20:42
ea233b6
Compare
Choose a tag to compare

New Features

  • Added auth.NewAuthorizerFromCLI to create an authorizer configured from the Azure 2.0 CLI.
  • Added adal.NewOAuthConfigWithAPIVersion to create an OAuthConfig with the specified API version.

v11.0.1

04 Oct 02:39
Compare
Choose a tag to compare

New Features

  • Added x5c header to client assertion for certificate Issuer+Subject Name authentication.

v11.0.0

29 Sep 02:24
87f168d
Compare
Choose a tag to compare

Breaking Changes

  • To handle differences between ADFS and AAD the following fields have had their types changed from string to json.Number
    • ExpiresIn
    • ExpiresOn
    • NotBefore

New Features

  • Added auth.NewAuthorizerFromFileWithResource to create an authorizer from the config file with the specified resource.
  • Setting a client's PollingDuration to zero will use the provided context to control a LRO's polling duration.

v10.15.5

25 Sep 19:59
9bc4033
Compare
Choose a tag to compare

Bug Fixes

  • In DoRetryForStatusCodes, if a request's context is cancelled return the last response.

v10.15.4

11 Sep 16:09
a88c19e
Compare
Choose a tag to compare

Bug Fixes

  • If a polling operation returns a failure status code return the associated error.

v10.15.3

30 Aug 19:44
a35eae3
Compare
Choose a tag to compare

Bug Fixes

  • Initialize the polling URL and method for an LRO tracker on each iteration, favoring the Azure-AsyncOperation header.

v10.15.2

09 Aug 20:20
39013ec
Compare
Choose a tag to compare

Bug Fixes

  • Use fmt.Fprint when printing request/response so that any escape sequences aren't treated as format specifiers.