CHANGELOG.md raw

CHANGELOG

v14.2.0

v14.1.1

Bug Fixes

v14.1.0

New Features

v14.0.1

Bug Fixes

v14.0.0

Breaking Changes

New Features

v13.4.0

New Features

v13.3.3

Bug Fixes

v13.3.2

Bug Fixes

v13.3.1

Bug Fixes

v13.3.0

New Features

- autorest.NewSharedKeyAuthorizer() and dependent types. - autorest.NewSASTokenAuthorizer() and dependent types.

Bug Fixes

v13.2.0

New Features

- adal.InitiateDeviceAuthWithContext() - adal.CheckForUserCompletionWithContext() - adal.WaitForUserCompletionWithContext()

v13.1.0

New Features

v13.0.2

Bug Fixes

v13.0.1

Bug Fixes

v13.0.0

Breaking Changes

The tracing package has been rewritten to provide a common interface for consumers to wire in the tracing package of their choice. What this means is that by default no tracing provider will be compiled into your program and setting the AZURE_SDK_TRACING_ENABLED environment variable will have no effect. To enable this previous behavior you must now add the following import to your source file.

  import _ "github.com/Azure/go-autorest/tracing/opencensus"

The APIs required by autorest-generated code have remained but some APIs have been removed and new ones added. The following APIs and variables have been removed (the majority of them were moved to the opencensus package).

The following APIs and types have been added

To hook up a tracer simply call tracing.Register() passing in a type that satisfies the tracing.Tracer interface.

v12.4.3

Bug Fixes

v12.4.2

Bug Fixes

- Remove override stanza from Gopkg.toml and replace directive from go.mod as they don't apply when being consumed as a dependency. - Switched to latest version of ocagent that still depends on protobuf v1.2. - Add indirect dependencies to the required clause with matching constraint stanzas so that dep dependencies match go.sum.

v12.4.1

Bug Fixes

v12.4.0

New Features

v12.3.0

New Features

secret scenario; this basically bundles multiple OAuthConfig and ServicePrincipalToken types into corresponding MultiTenant* types along with a new authorizer that adds the primary and auxiliary token headers to the reqest. The authenticaion helpers have been updated to support this scenario; if environment var AZUREAUXILIARYTENANT_IDS is set with a semicolon delimited list of tenants the multi-tenant codepath will kick in to create the appropriate authorizer. See adal.NewMultiTenantOAuthConfig, adal.NewMultiTenantServicePrincipalToken and autorest.NewMultiTenantServicePrincipalTokenAuthorizer along with their supporting types and methods.

v12.2.0

New Features

Bug Fixes

v12.1.0

New Features

v12.0.0

Breaking Changes

In preparation for modules the following deprecated content has been removed.

- async.NewFuture() - async.Future.Done() - async.Future.WaitForCompletion() - async.DoPollForAsynchronous() - The utils package - validation.NewErrorWithValidationError() - The version package

v11.9.0

New Features

v11.8.0

New Features

v11.7.1

Bug Fixes

v11.7.0

New Features

v11.6.1

Bug Fixes

v11.6.0

New Features

v11.5.2

Bug Fixes

v11.5.1

Bug Fixes

v11.5.0

New Features

v11.4.0

New Features

v11.3.2

Bug Fixes

v11.3.1

Bug Fixes

v11.3.0

New Features

v11.2.8

Bug Fixes

v11.2.7

Bug Fixes

Note that for backward compatibility reasons, both will work until the next major version release of the package.

v11.2.6

Bug Fixes

v11.2.5

Bug Fixes

v11.2.4

Bug Fixes

v11.2.1

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

Bug Fixes

v11.2.0

New Features

Setting the env variable AZURE_SDK_TRACING_ENABLED 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.

Bug Fixes

it is already set.

v11.1.1

Bug Fixes

v11.1.0

New Features

v11.0.1

New Features

v11.0.0

Breaking Changes

- ExpiresIn - ExpiresOn - NotBefore

New Features

v10.15.5

Bug Fixes

v10.15.4

Bug Fixes

v10.15.3

Bug Fixes

v10.15.2

Bug Fixes

v10.15.1

Bug Fixes

v10.15.0

New Features

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

New Features

Bug Fixes

v10.13.0

v10.12.0

New Features

v10.11.4

Bug Fixes

v10.11.3

Bug Fixes

- Renamed the retry function so it's clear it's meant for IMDS only.

- Also add the raw HTTP response to the DetailedResponse.

v10.11.2

Bug Fixes

v10.11.1

Bug Fixes

v10.11.0

New Features

v10.10.0

New Features

v10.9.2

Bug Fixes

v10.9.1

Bug Fixes

v10.9.0

Deprecated Methods

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

New Features

Bug Fixes

v10.8.2

Bug Fixes

v10.8.1

Bug Fixes

v10.8.0

v10.7.0

New Features

v10.6.2

v10.6.1

v10.6.0

v10.5.1

Bug Fixes

v10.5.0

New Features

Bug Fixes

v10.4.0

New Features

v10.3.0

New Features

v10.2.0

New Features

v10.1.3

Bug Fixes

v10.1.2

v10.1.1

v10.1.0

New Features

Bug Fixes

v10.0.0

New Features

Bug Fixes

Breaking Changes

v9.10.0

v9.9.0

New Features

Bug Fixes

v9.8.1

Bug Fixes

v9.8.0

New Features

v9.7.1

Bug Fixes

v9.7.0

New Features

v9.6.1

Bug Fixes

v9.6.0

New Features

v9.5.3

Bug Fixes

v9.5.2

Bug Fixes

v9.5.1

Bug Fixes

v9.5.0

New Features

Bug Fixes

v9.4.2

Bug Fixes

v9.4.1

Bug Fixes

environment variable is not set, it will fall back to use default path set by Azure CLI.

v9.4.0

New Features

Bug Fixes

v9.3.1

Bug Fixes

v9.3.0

New Features

v9.2.0

New Features

Bug Fixes

v9.1.1

v9.1.0

New Features

Bug Fixes

v9.0.0

IMPORTANT: This release was intially labeled incorrectly as v8.4.0. From the time it was released, it should have been marked v9.0.0 because it contains breaking changes to the MSI packages. We appologize for any inconvenience this causes.

Adding MSI Endpoint Support and CLI token rehydration.

v8.3.1

Pick up bug fix in adal for MSI support.

v8.3.0

Updates to Error string formats for clarity. Also, adding a copy of the http.Response to errors for an improved debugging experience.

v8.2.0

New Features

Bug Fixes

v8.1.1

Updates the RetriableRequest to take advantage of GetBody() added in Go 1.8.

v8.1.0

Adds RetriableRequest type for more efficient handling of retrying HTTP requests.

v8.0.0

ADAL refactored into its own package. Support for UNIX time.

v7.3.1

v7.3.0

to acknowledge that they do not need either the entire or a trailing portion of accepts response body. In doing so, Go's http library can reuse HTTP connections more readily.

v7.2.5

v7.2.3

duration.

v7.2.2

v7.2.1

v7.2.0

v7.1.0

v7.0.7

v7.0.6

v7.0.5

v7.0.4

v7.0.3

v7.0.2

v7.0.1

v7.0.0

The json.Decoder does not catch bad data as thoroughly as json.Unmarshal. Since encoding/json successfully deserializes all core types, and extended types normally provide their custom JSON serialization handlers, the code has been reverted back to using json.Unmarshal. The original change to use json.Decode was made to reduce duplicate code; there is no loss of function, and there is a gain in accuracy, by reverting.

Additionally, Azure services indicate requests to be polled by multiple means. The existing code only checked for one of those (that is, the presence of the Azure-AsyncOperation header). The new code correctly covers all cases and aligns with the other Azure SDKs.

v6.1.0

v6.0.0

Handling polled and asynchronous requests is no longer part of Client#Send. Instead new SendDecorators implement different styles of polled behavior. Seeautorest.DoPollForStatusCodes and azure.DoPollForAsynchronous for examples.

v5.0.0

v4.0.0

v3.1.0

v3.0.0

Applications using this library should either use Glide or vendor dependencies locally some other way.

v2.1.0

v2.0.0

v1.0.0

v1.0.1

v1.1.0

v1.1.1