Repository navigation
chore(deps): update module github.com/anthropics/anthropic-sdk-go to v2 - #1100
Open
renovate-sh-app[bot] wants to merge 1 commit into
Open
renovate-sh-app[bot] wants to merge 1 commit into
renovate-sh-app[bot] wants to merge 1 commit into
Conversation
renovate-sh-app
Bot
requested review from
academo,
s4kh and
xnyo
and removed request for
a team
November 5, 2026 08:03
renovate-sh-app
Bot
force-pushed
the
renovate/github.com-anthropics-anthropic-sdk-go-2.x
branch
2 times, most recently
from
November 5, 2026 20:01
ed0cad2 to
8cf2ac7
Compare
renovate-sh-app
Bot
force-pushed
the
renovate/github.com-anthropics-anthropic-sdk-go-2.x
branch
11 times, most recently
from
November 11, 2026 20:01
d3fada3 to
49c4a8c
Compare
Contributor
Author
|
Rebase requested. Renovate is processing this repository now. |
Contributor
Author
|
Rebase failed. Please check the logs or retry. |
renovate-sh-app
Bot
force-pushed
the
renovate/github.com-anthropics-anthropic-sdk-go-2.x
branch
4 times, most recently
from
November 12, 2026 20:02
a37f24a to
1a9d094
Compare
renovate-sh-app
Bot
force-pushed
the
renovate/github.com-anthropics-anthropic-sdk-go-2.x
branch
8 times, most recently
from
November 20, 2026 11:03
2c09ff1 to
4678708
Compare
renovate-sh-app
Bot
force-pushed
the
renovate/github.com-anthropics-anthropic-sdk-go-2.x
branch
4 times, most recently
from
November 23, 2026 11:05
546b7dd to
db320c7
Compare
renovate-sh-app
Bot
force-pushed
the
renovate/github.com-anthropics-anthropic-sdk-go-2.x
branch
from
November 23, 2026 17:02
db320c7 to
ad5b353
Compare
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.84.0→v2.13.0v2.14.0Release Notes
anthropics/anthropic-sdk-go (github.com/anthropics/anthropic-sdk-go)
v2.13.0Compare Source
Features
Bug Fixes
bedrock: send the user profile ID in the request body
Amazon Bedrock reads
user_profile_idfrom the request body and ignores theanthropic-user-profile-idheader, so a profile ID given to a client made withbedrock.WithConfigorbedrock.WithLoadDefaultConfigwas not applied. The client now moves it into the body of Messages requests and no longer sends the header. Auser_profile_idalready in the body takes priority over the header.Some models on Bedrock do not support user profiles. A request to one of them with a profile ID now fails with a 400 error; before, the ID was ignored. Leave the ID off requests to those models.
Chores
v2.12.0Compare Source
Features
Bug Fixes
Chores
v2.11.0Compare Source
Features
Bug Fixes
environments: stop EnvironmentWorker from running tools for a terminated session
For a terminated session, which includes an archived one, the worker now force-stops the work item right after it retrieves the session, before it downloads skills or memory stores.
HandleItemno longer returnsErrSessionMemoryNoTokenor aSessionMemoryErrorfor such a session.sessions: keep the session tool runner's MaxIdle countdown running when a session thread terminates
If the runner fails to read the session's event history after a reconnect, a termination that then arrives on the event stream still cancels the countdown, until the next idle or successful read.
sessions: stop the session tool runner from running the tool calls of a terminated session thread
Once a
session.thread_status_terminatedevent names a child session thread, the runner also no longer yields that thread's calls, including a denied call (Confirmation="deny") and a call to a tool that it does not own. It no longer waits for a confirmation of any of that thread's calls either. If a tool is already running for one of the thread's calls when the session thread terminates, the runner cancels the tool's context, still yields the call withPosted=falseand posts no result.sessions: stop the session tool runner from waiting for the confirmation of an interrupted tool call when listing the session's events fails partway
After such a failure, an interrupt no longer starts the
MaxIdlecountdown from an idle that came before the failure. The runner waits for the next idle.Chores
api: rename error data models, deprecating the old names
docs: clarify which AWS KMS keys a workspace can use on Claude Platform on AWS
docs: clarify which credential work get, update and list accept
docs: clarify which uploads a plugin pin holds back
docs: note that a plugin scan's reason also covers errored scans
content_scan.reasonon an errored scan now says why there is no verdict. It is not a security finding, so code that treats anyreasonas a concern should also checkstatus.Documentation
v2.10.0Compare Source
Features
Bug Fixes
tools: fully resolve file tool paths that pass through a dangling symlink
tools: ignore ripgrep config files in the agent toolset's grep tool
tools: look for a NUL byte before the grep tool's built-in search reads a whole file
The built-in search of
grepstill skips a file with a NUL byte in its first 512 bytes, and now looks before it reads the rest. A file that reports a size of 0 but holds far more, such as/proc/self/pagemap, used to be read whole and could exhaust memory.read,editand the built-in search now also apply their size limit to the bytes a file yields, not only to the size it reports.tools: make agent toolset files and directories owner-only
The
writetool now creates files as0600and directories as0700(they were0644and0755), and a downloaded skill's directory is0700. A process that runs as another user, such as a sidecar or a web server, can no longer read them. A file thatwriteoreditreplaces now keeps its permission bits, where before it was reset to0644. To share a file with another user, create it with the permissions you want before the agent writes to it, or runchmodafterwards.tools: pass over an rg inside the directories the agent toolset's file tools can write
greppasses over anrgthat resolves to somewhere insideWorkdirorAllowedRoots, whatever the letter case or Unicode form. It uses the nextrgonPATH, or the built-in search when there is none. On Windows onlyrg.exeis used, and anrg.cmdorrg.batwrapper is passed over. With aWorkdirthat holds everyrgon the host, such as/, every search is a built-in search.rgno longer gets theANTHROPIC_*variables of the process, like the shell ofbash, and both now drop them whatever the letter case of the name.Performance Improvements
Chores
api: deprecate old beta header values
The API still accepts these values, but a later release removes them from the SDKs. Delete
prompt-caching-2024-07-31,pdfs-2024-09-25,token-counting-2024-11-01,token-efficient-tools-2025-02-19,extended-cache-ttl-2025-04-11,cache-diagnosis-2026-04-07andce-user-management-2026-07-13from your requests.files-api-2025-04-14andskills-2025-10-02select the beta response shapes, so follow the Files API and Skills migration guides before you delete them.In C#, the
AnthropicBetaenum's members have new numbers, so code compiled against an earlier SDK version sends a different beta value, with no error, until you rebuild it.api: stop sending an old beta header on batch requests
beta.messages.batchesno longer sendsmessage-batches-2024-09-24, which the API doesn't need. If your client sets a defaultanthropic-betaheader, these requests now send it, where in some SDKs the old value replaced it. The API still accepts the old value. If you set it yourself, delete it: a later release removes it from the SDKs.docs: add an example value for the workspace name
docs: clarify when the auto permission policy denies a tool call
docs: clarify which workspaces an external key can be attached to
docs: recommend multiagent_20261001 over the coordinator type
docs: say when organization_id is required on plugin reads
v2.9.0Compare Source
Features
Bug Fixes
Chores
Documentation
v2.8.0Compare Source
Features
Bug Fixes
Chores
Documentation
v2.7.0Compare Source
Features
Bug Fixes
Chores
Documentation
v2.6.0Compare Source
Features
Bug Fixes
Chores
Documentation
speedv2.5.0Compare Source
Features
Bug Fixes
Chores
Documentation
v2.4.0Compare Source
Features
Chores
Documentation
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
Configuration
📅 Schedule: (in timezone Europe/Berlin)
* 8-16 * * 1-4)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
Need help?
You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.