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.15.1

06 Aug 16:31
22deab8
Compare
Choose a tag to compare
  • If an LRO API returns a Failed provisioning state in the initial response return an error at that point so the caller doesn't have to poll.
  • For failed LROs without an OData v4 error include the response body in the error's AdditionalInfo field to aid in diagnosing the failure.

v10.15.0

26 Jul 22:48
dd94e01
Compare
Choose a tag to compare

New Features

  • Add initial support for request/response logging via setting environment variables.
    Setting AZURE_GO_SDK_LOG_LEVEL to LogInfo will log request/response
    without their bodies. To include the bodies set the log level to LogDebug.
    By default the logger writes to strerr, however it can also write to stdout or a file
    if specified in AZURE_GO_SDK_LOG_FILE. Note that if the specified file
    already exists it will be truncated.
    IMPORTANT: by default the logger will redact the Authorization and Ocp-Apim-Subscription-Key
    headers. Any other secrets will not be redacted.

v10.14.0

19 Jul 21:37
bca49d5
Compare
Choose a tag to compare

New Features

  • Added package version that contains version constants and user-agent data.

Bug Fixes

  • Add the user-agent to token requests.

v10.13.0

13 Jul 15:08
894522e
Compare
Choose a tag to compare

New Features

  • Added support for additionalInfo in ServiceError type.

v10.12.0

28 Jun 21:23
1f7cd6c
Compare
Choose a tag to compare

New Features

  • Added field ServicePrincipalToken.MaxMSIRefreshAttempts to configure the maximun number of attempts to refresh an MSI token.

v10.11.4

21 Jun 21:10
e6d2a85
Compare
Choose a tag to compare

Bug Fixes

  • If an LRO returns http.StatusOK on the initial response with no async headers return the response body from Future.GetResult().
  • If there is no "final GET URL" return an error from Future.GetResult().

v10.11.3

20 Jun 23:38
5b62168
Compare
Choose a tag to compare

Bug Fixes

  • In IMDS retry logic, if we don't receive a response don't retry.
    • Renamed the retry function so it's clear it's meant for IMDS only.
  • For error response bodies that aren't OData-v4 compliant stick the raw JSON in the ServiceError.Details field so the information isn't lost.
    • Also add the raw HTTP response to the DetailedResponse.
  • Removed superfluous wrapping of response error in azure.DoRetryWithRegistration().

v10.11.2

15 Jun 17:40
f04d503
Compare
Choose a tag to compare

Bug Fixes

  • Validation for integers handles int and int64 types.

v10.11.1

11 Jun 17:19
Compare
Choose a tag to compare

Bug Fixes

  • Adding User information to authorization config as parsed from CLI cache.

v10.11.0

11 Jun 16:59
Compare
Choose a tag to compare

New Features

  • Added NewServicePrincipalTokenFromManualTokenSecret for creating a new SPT using a manual token and secret
  • Added method ServicePrincipalToken.MarshalTokenJSON() to marshall the inner Token