Skip to content

Releases: Azure/go-autorest

v10.1.0

08 Feb 22:56
Compare
Choose a tag to compare

New Features

  • Expose the polling URL for futures.

Bug Fixes

  • Add validation.NewErrorWithValidationError back to prevent breaking changes (it is deprecated).

v10.0.0

08 Feb 22:36
Compare
Choose a tag to compare

New Features

  • Added target and innererror fields to ServiceError to comply with OData v4 spec.
  • The Done() method on futures will now return a ServiceError object when available (it used to return a partial value of such errors).
  • Added helper methods for obtaining authorizers.
  • Expose the polling URL for futures.

Bug Fixes

  • Switched from glide to dep for dependency management.
  • Fixed unmarshaling of ServiceError for JSON bodies that don't conform to the OData spec.
  • Fixed a race condition in token refresh.

Breaking Changes

  • The ServiceError.Details field type has been changed to match the OData v4 spec.
  • Go v1.7 has been dropped from CI.
  • API parameter validation failures will now return a unique error type validation.Error.
  • The adal.Token type has been decomposed from adal.ServicePrincipalToken (this was necessary in order to fix the token refresh race).

v9.10.0

05 Feb 16:52
Compare
Choose a tag to compare

New Features

Bug Fixes

  • Fix the Service Bus suffix in Azure public env

v9.9.0

30 Jan 19:06
d4e6b95
Compare
Choose a tag to compare

New Features

  • Added EventGridKeyAuthorizer for key authorization with event grid topics.

Bug Fixes

  • Fixed race condition when auto-refreshing service principal tokens.

v9.8.1

19 Jan 19:03
c2a6835
Compare
Choose a tag to compare

Bug Fixes

  • Added http.StatusNoContent (204) to the list of expected status codes for long-running operations.
  • Updated runtime version info so it's current.

v9.8.0

17 Jan 23:04
3c16bcd
Compare
Choose a tag to compare

New Features

  • Added type azure.AsyncOpIncompleteError to be returned from a future's Result() method when the operation has not completed.

v9.7.1

11 Jan 17:03
6311d7a
Compare
Choose a tag to compare

Bug Fixes

  • Use correct AAD and Graph endpoints for US Gov environment.

v9.7.0

06 Jan 16:30
8c58b47
Compare
Choose a tag to compare

New Features

  • Added support for application/octet-stream MIME types.

v9.6.0

16 Dec 00:17
809ed2e
Compare
Choose a tag to compare

New Features

  • Added support for acquiring tokens via MSI with a user assigned identity.

v9.5.3

14 Dec 17:27
3b13154
Compare
Choose a tag to compare

Bug Fixes

  • Don't remove encoding of existing URL Query parameters when calling autorest.WithQueryParameters.
  • Set correct Content Type when using autorest.WithFormData.