Repository navigation
chore(deps): update module github.com/anthropics/anthropic-sdk-go to v2 - #2509
Merged
rdimitrov merged 5 commits intoOct 24, 2026
Merged
Conversation
v2 makes MessageParam a union of per-role types, so the conversation cache anchor now reads a built message's blocks through the user or assistant variant, and the tests read them the same way. v2 also changes three request defaults. The provider and the model Lister now hold the previous wire explicitly: - anthropic-version stays 2023-06-01 instead of the SDK's 2026-10-21. - The key rides x-api-key instead of Authorization: Bearer, which gateways and composition's transports expect for this protocol. - The SDK's OpenTelemetry spans and trace-context injection are off, so a process-global tracer or propagator no longer adds traceparent. A new test pins all three and fails against the SDK defaults. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Root resolves provider/anthropic through a local replace, so it only picks up the v2 SDK's new indirect requirements on a second tidy pass. Commit the settled state that task tidy produces in CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rdimitrov
approved these changes
Oct 24, 2026
rdimitrov
deleted the
renovate/github.com-anthropics-anthropic-sdk-go-2.x
branch
October 24, 2026 21:13
Merged
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.73.0→v2.3.0Release Notes
anthropics/anthropic-sdk-go (github.com/anthropics/anthropic-sdk-go)
v2.3.0Compare Source
Features
Bug Fixes
Chores
Documentation
v2.2.0Compare Source
Features
Bug Fixes
Chores
v2.1.0Compare Source
Features
v2.0.0Compare Source
⚠ BREAKING CHANGES
Features
Chores
Documentation
v1.84.0Compare Source
Features
Chores
v1.83.0Compare Source
Features
Bug Fixes
Chores
v1.82.0Compare Source
Features
Chores
Documentation
v1.81.0Compare Source
Features
api: add execution_identity to Managed Agents agents
api: add organization_type_not_supported error to spend limit lists
api: add telemetry destination test endpoint
api: add telemetry destinations to the Admin API
client: add native support for OpenTelemetry tracing
If your app registers a global tracer provider, the SDK will create spans with it after upgrading, and they'll be exported with the rest of your traces. Requests will also get trace context headers from the global propagator. To disable, pass
option.WithoutOpenTelemetry()to the client or setANTHROPIC_OPEN_TELEMETRY=false. Learn more in the documentation.Bug Fixes
Chores
Documentation
v1.80.0Compare Source
Features
v1.79.1Compare Source
Chores
v1.79.0Compare Source
Full Changelog: v1.78.0...v1.79.0
Features
Bug Fixes
Chores
Documentation
v1.78.0Compare Source
Full Changelog: v1.78.0...v1.79.0
Features
Bug Fixes
Chores
Documentation
v1.77.0Compare Source
Full Changelog: v1.77.0...v1.78.0
Features
Chores
v1.76.0Compare Source
Full Changelog: v1.76.0...v1.77.0
Features
transportobject to Tunnel and return the one-time relaytokenin the create response (f6572a5)Bug Fixes
Chores
v1.75.0Compare Source
Full Changelog: v1.75.0...v1.76.0
Features
Bug Fixes
Performance Improvements
Chores
Documentation
v1.74.0Compare Source
Full Changelog: v1.74.0...v1.75.0
Features
Bug Fixes
Chores
Documentation
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.