github Azure/azure-sdk-for-go sdk/azcore/v1.8.0

latest releases: sdk/messaging/eventgrid/azsystemevents/v0.4.2, sdk/containers/azcontainerregistry/v0.2.2, sdk/monitor/query/azlogs/v1.1.0-beta.1...
11 months ago

1.8.0 (2023-10-05)

Features Added

  • Added Claims and EnableCAE fields to policy.TokenRequestOptions.
  • ARM bearer token policy handles CAE challenges.
  • messaging/CloudEvent allows you to serialize/deserialize CloudEvents, as described in the CloudEvents 1.0 specification: link
  • Added functions FetcherForNextLink and EncodeQueryParams along with FetcherForNextLinkOptions to the runtime package to centralize creation of Pager[T].Fetcher from a next link URL.
  • Added types KeyCredential and SASCredential to the azcore package.
    • Includes their respective constructor functions.
  • Added types KeyCredentialPolicy and SASCredentialPolicy to the azcore/runtime package.
    • Includes their respective constructor functions and options types.

Breaking Changes

These changes affect only code written against beta versions of v1.8.0

  • The beta features for tracing and fakes have been omitted for this release.

Bugs Fixed

  • Fixed an issue that could cause some ARM RPs to not be automatically registered.
  • Block bearer token authentication for non TLS protected endpoints.

Other Changes

  • The following functions in the runtime package are now exposed from the policy package, and the runtime versions have been deprecated.
    • WithCaptureResponse
    • WithHTTPHeader
    • WithRetryOptions
  • Updated dependencies.

Don't miss a new azure-sdk-for-go release

NewReleases is sending notifications on new releases.