These changes affect only code written against previous beta versions of v1.7.0 and v1.8.0
The function NewTokenCredential has been removed from the fake package. Use a literal &fake.TokenCredential{} instead.
The field TracingNamespace in runtime.PipelineOptions has been replaced by TracingOptions.
Bugs Fixed
Fixed an issue that could cause some allowed HTTP header values to not show up in logs.
Include error text instead of error type in traces when the transport returns an error.
Fixed an issue that could cause an HTTP/2 request to hang when the TCP connection becomes unresponsive.
Block key and SAS authentication for non TLS protected endpoints.
Passing a nil credential value will no longer cause a panic. Instead, the authentication is skipped.
Calling Error on a zero-value azcore.ResponseError will no longer panic.
Fixed an issue in fake.PagerResponder[T] that would cause a trailing error to be omitted when iterating over pages.
Context values created by azcore will no longer flow across disjoint HTTP requests.
Other Changes
Skip generating trace info for no-op tracers.
The clientName paramater in client constructors has been renamed to moduleName.
sdk/azcore/v1.9.0-beta.1
1.9.0-beta.1 (2023-10-05)
Other Changes
The beta features for tracing and fakes have been reinstated.
sdk/azcore/v1.8.0
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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.8.0-beta.2 to 1.9.0.
Release notes
Sourced from github.com/Azure/azure-sdk-for-go/sdk/azcore's releases.
... (truncated)
Commits
a33741b
Prep azcore for release (#21879)440232e
Strip off package name for telemetry policy (#21894)8c1a496
Rename clientName param to moduleName (#21893)5b641bb
sdk/resourcemanager/webpubsub/armwebpubsub live test (#21875)69b4d3d
Replace regex match with rune comparison (#21883)1922a11
Support Azure ML managed identity (#21851)6da3b75
Update data plane libraries to use latest recording framework (#21874)637c5ed
Update to latest internal module (#21872)f0b1058
Increment package version after release of internal (#21871)ca71847
Consolidate tracing options within pipeline options (#21865)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show