Skip to content

chore(deps): update dependency anthropic to v2.14.0 - #882

Open
knostic-renovate[bot] wants to merge 1 commit into
masterfrom
renovate/anthropic-2.x
Open

knostic-renovate[bot] wants to merge 1 commit into
masterfrom
renovate/anthropic-2.x

Conversation

@knostic-renovate

@knostic-renovate knostic-renovate Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
anthropic minor ==2.3.0 -> ==2.14.0

Release Notes

anthropics/anthropic-sdk-python (anthropic)

v2.14.0

Compare Source

Features
  • api: add Google-managed data controls for Google Cloud projects
  • api: add Google-managed data controls for user profiles
  • api: add support for compliance review cases, notices, and items
Bug Fixes
  • client: honor proxy and trust_env when proxy variables are set

    DefaultHttpxClient and DefaultAsyncHttpxClient read HTTP_PROXY, HTTPS_PROXY, ALL_PROXY and NO_PROXY even when the caller passed proxy= or trust_env=False, and the variables won. Now proxy= is used for every request and the variables are not read, and trust_env=False ignores them, as in plain httpx2.

    What you may notice: with proxy= set, a host listed in NO_PROXY used to be reached directly and now goes through your proxy. To keep a host off the proxy, pass mounts={"all://that.host": None}.

Chores
  • docs: drop the provisional naming note from the Google Cloud client README
  • docs: name both causes of the tool use limit error
  • docs: update example workspace and API key IDs
Documentation
  • show what enum values mean

v2.13.0

Compare Source

Features
  • api: add an error code to Message Batches creation
  • api: add External Storage to the Admin API beta
  • api: add webhook events for external storage failure and recovery
Bug Fixes
  • client: build the right class for tool results with unknown values
Chores
  • api: mark Claude Opus 4.5 as deprecated (end-of-life January 22, 2027)
  • client: read deprecated models from generated data and stop warning on retired ones
  • docs: clarify when plugin archive downloads are recorded and who gave a share
  • docs: correct organization-type notes in usage and cost reports
  • docs: describe the user profile endpoints and link to the guide
  • docs: use realistic example values in more request bodies
Documentation
  • api: shorten the human_review description

v2.12.0

Compare Source

Features
  • api: add the image_dimensions_too_large error code
Bug Fixes
  • bedrock: send the user profile ID in the request body

    Amazon Bedrock reads user_profile_id from the request body and ignores the anthropic-user-profile-id header, so a profile ID given to AnthropicBedrock or AsyncAnthropicBedrock was not applied. Both clients now move it into the body of Messages requests and no longer send the header. A user_profile_id already 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
  • docs: clarify billing_policy in batches and two billing errors

v2.11.0

Compare Source

Features
  • api: add Claude Code managed settings to the Admin API
  • api: add the sandbox_egress_restricted error to Admin API plugin methods
Bug Fixes
  • client: encode spaces in query strings as %20

    The AWS SigV4 signature of a request now matches its query string when a parameter contains a space.

Performance Improvements
  • structured outputs: build each call's output schema from a cached raw schema
Chores
  • docs: explain how the input-token rate limit types differ
  • docs: name Claude Security in the usage and cost report descriptions
  • docs: note that a Google Cloud external key's provider and key_name can't be changed

v2.10.0

Compare Source

Features
  • api: add beta support for the billing_policy request parameter
  • api: add contract_spend_limit_reached error code to messages
  • api: add error codes for linked billing refusals
  • api: add the user_profile_billing_not_authorized error code
  • api: add webhook events for external key failure and recovery
Bug Fixes
  • client: stop reporting failed aiohttp connections as timeouts
  • types: keep deprecated model aliases and the types nested under them working
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.reason on an errored scan now says why there is no verdict. It is not a security finding, so code that treats any reason as a concern should also check status.

  • internal: don't report moved classes as breaking changes

Documentation
  • name each SDK's own types in rename deprecations

v2.9.0

Compare Source

Features
  • api: add source and error codes to the RBAC Role read endpoints
  • api: add Update Bundle, which sets a Claude Tag Bundle's instructions, and return instructions on Bundle
Bug Fixes
  • credentials: write the credentials file on Windows with Python 3.12 and earlier

  • tools: compare directory names exactly when confining file tool and upload paths on Windows

  • 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: keep an existing skill directory when the download or extraction that would replace it fails

  • tools: keep the session tool runner's max_idle 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.

  • tools: leave symlinks that point outside /memories out of listings

  • tools: look for ripgrep only in absolute PATH entries in the agent toolset's grep tool

    The tool no longer runs an rg from a relative or empty PATH entry or, on Windows, from the current directory. On Windows it looks for rg.exe, so an rg.cmd, rg.bat or rg.com is no longer used. With no other rg on PATH, the tool uses its built-in search.

  • tools: pass over an rg inside the directories the agent toolset's file tools can write

    grep passes over an rg that resolves to somewhere inside workdir or allowed_roots, whatever the letter case of the names. It uses the next rg on PATH, or the built-in search when there is none. With a workdir that holds every rg on the host, such as /, every search is a built-in search. rg no longer gets the ANTHROPIC_* variables of the process, like the shell of bash.

  • tools: read memory files only through the path that was validated

  • tools: read only regular files in the grep tool's built-in search

    The built-in search of grep passes over a FIFO or a device in the directory it walks, as ripgrep does. Reading one could block the search, and the event loop with it, forever.

  • tools: stop EnvironmentWorker from running tools for a terminated session

    For a terminated session, the worker now force-stops the work item right after it retrieves the session, before it downloads skills or memory stores. It no longer raises SessionMemoryError for such a session. The API reports an archived session as terminated.

  • tools: stop the grep tool after 30 seconds of CPU time when ripgrep is not installed

  • tools: stop the session tool runner from running the tool calls of a terminated session thread

    The runner also no longer yields these calls, including a denied call (confirmation="deny") and a call to a tool that it does not own. The one exception is a call whose tool is already running when the thread terminates: the runner yields it with posted=False and posts no result.

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-07 and ce-user-management-2026-07-13 from your requests. files-api-2025-04-14 and skills-2025-10-02 select the beta response shapes, so follow the Files API and Skills migration guides before you delete them.

    In C#, the AnthropicBeta enum'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.batches no longer sends message-batches-2024-09-24, which the API doesn't need. If your client sets a default anthropic-beta header, 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

  • tests: let idle test workers take queued tests

v2.8.0

Compare Source

Features
  • api: add Claude Tag metrics to the analytics summaries and users reports
  • api: add reply_mode to Claude Tag Slack channel settings
Bug Fixes
  • bedrock: send ";" in a model ID as is, and refuse a model ID whose part before the first ";" is empty, "." or ".."
  • google-cloud: percent-encode the project, location and workspace ID in the workspace and organization base URL paths
  • google-cloud: refuse an empty project, location or workspace ID that would be written into a derived base URL
  • vertex: refuse an empty model, project ID or region instead of writing it into the request path
  • vertex: send ";" in the model as %3B in the request path
Chores
  • docs: clarify display_name for RBAC Roles created by Anthropic
  • docs: clarify plugin delete and skill name conflict descriptions
  • docs: clarify when to omit user_profile_id on external keys
  • docs: note that Claude Tag settings accept self-hosted runner pools
  • internal: make three timing tests tolerate slow test machines
  • internal: remove a redundant import from the message types
Documentation
  • examples: show multiagent when creating a Managed Agents agent

v2.7.0

Compare Source

Features
  • api: accept user_profile.program_status_updated on organization webhook endpoints
  • api: add claude-fable-5-2 and claude-mythos-5-2
  • api: add parent organization filtering and grouping to the usage and cost reports
  • api: add the sandbox_egress_restricted error to Admin API write methods
  • api: add the user_profile.program_status_updated webhook event
Bug Fixes
  • bedrock,vertex: add the parse and count_tokens methods missing from beta.messages.with_raw_response and with_streaming_response
  • bedrock,vertex: send the X-Stainless-Async header and stream raw requests that name no stream class
  • bedrock: sign requests that have no Connection header instead of raising KeyError
  • bedrock: write a list in a query as a[]=1&a[]=2 on the Bedrock Mantle clients, as Anthropic does
  • client: allow API errors to be unpickled and copied
  • client: read ANTHROPIC_CUSTOM_HEADERS on the Bedrock, Bedrock Mantle and Vertex clients
  • foundry: stop copy, with_options and with_middleware from raising when ANTHROPIC_FOUNDRY_RESOURCE is set
  • parse: keep const in structured output schemas, and drop type beside const and enum
Chores
  • api: remove some error detail types and update descriptions
  • docs: say when a work heartbeat does not compare its value
  • internal: add this repository's review rules
  • internal: remove two comments from the error classes

v2.6.0

Compare Source

Features
  • api: add error code for ramp limit errors
  • api: add error codes for External Key validation failures
  • api: add support for signing organization members out everywhere
Bug Fixes
  • bedrock,vertex: raise error-code and status exception classes on platform clients
  • bedrock: keep a custom http_client and aws_profile on copies made with copy and with_options
Chores
  • client: stop recording sampling parameters on OpenTelemetry spans
  • docs: describe the type and message of API errors
  • internal: define the status error mapping once on the base client
  • internal: tell contributors when a runtime type check belongs
  • tests: remove ambient ANTHROPIC_ and AWS_ variables before the tests run
Documentation
  • client: describe the type, message, code and details of API errors
  • client: list each method's errors without their descriptions

v2.5.0

Compare Source

Features
  • api: add error details types and new error type values
  • api: add ids filter to list workspaces
  • client: add error classes for HTTP statuses and API error codes, and error_code, details and api_message on APIStatusError
Bug Fixes
  • api: capitalize CMEK in error details type names
  • api: move some error details types to the resource they describe
  • bedrock: raise a ValueError when model is "." or ".." instead of sending the request to a different path
  • bedrock: raise a ValueError when model is empty instead of sending the request to /model//invoke
  • client: make OverloadedError and ServiceUnavailableError subclasses of InternalServerError
  • client: make the first parse of each response model thread-safe
  • client: reject path parameters such as '..;x' and ';x'
  • client: validate unions correctly across threads on pydantic v1
  • tools: keep the memory tool from renaming or deleting the /memories directory
  • vertex: percent-encode the model, project ID and region in the request path
Chores
  • api: update example values for pattern-constrained string fields
  • ci: also run the tests with deferred pydantic model builds
  • docs: clarify plugin reach values
  • docs: clarify plugin version description and plugin reach
  • docs: clarify plugin version description length
  • docs: clarify some API field descriptions
  • docs: clarify three error descriptions
  • docs: clarify which blocks to send back around a fallback block
  • docs: correct Claude Tag direct message notes in usage reports
  • docs: reword Dream and RBAC role permission descriptions
  • docs: update the telemetry destination headers description
  • docs: use the Claude Platform name in analytics filter docs
  • internal: accept changelog entry files in the changelog check
  • internal: move error body helpers into the internal utils
  • internal: remove stale TODO comments and a test that could not pass
  • tests: check that a None path param is rejected
Documentation
  • api: show each field's own description for speed
  • clean up escapes and code spans in doc comments

v2.4.0

Compare Source

Features
  • api: add GA methods for analytics, spend limits and RBAC
  • api: add named beta types for unified metrics and RBAC delete responses
  • api: add shared analytics order and increase request actor types
  • api: add tool_use_limit_reached_error and compaction_limit_reached_error session error types
  • api: add types for analytics group_by and spend limit period filters
  • api: add user_profile_id to External Keys and Workspaces
Bug Fixes
  • api: make spend_limit nullable in the spend limit increase request approve response
  • api: require always-sent analytics fields and drop the unused project product field
  • client: let pydantic validate params types that accept omit
Chores
  • ci: remove unused build upload steps
  • docs: clarify the Slack channel id description
  • docs: clarify what disabling the Compliance API stops
  • docs: clarify what the capability_access_all role action grants
  • docs: link Dreams model fields to the supported models section
  • docs: update example user ID in Admin API examples
  • internal: add a section for each repository's own review rules
  • internal: plainer wording in worker comments
Documentation
  • client: add missing await to the async parse() docstring example
  • examples: keep the message threads example valid on Sonnet 5.5
  • examples: use current model IDs
  • readme: point to the docs site for documentation
  • link to the SDK documentation instead of removed README sections

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@knostic-renovate
knostic-renovate Bot force-pushed the renovate/anthropic-2.x branch from 497956f to 43e828f Compare November 4, 2026 22:33
@knostic-renovate knostic-renovate Bot changed the title chore(deps): update dependency anthropic to v2.4.0 chore(deps): update dependency anthropic to v2.5.0 Nov 4, 2026
@knostic-renovate
knostic-renovate Bot force-pushed the renovate/anthropic-2.x branch from 43e828f to d426cf7 Compare November 5, 2026 22:18
@knostic-renovate knostic-renovate Bot changed the title chore(deps): update dependency anthropic to v2.5.0 chore(deps): update dependency anthropic to v2.6.0 Nov 5, 2026
@knostic-renovate
knostic-renovate Bot force-pushed the renovate/anthropic-2.x branch from d426cf7 to ce2631f Compare November 9, 2026 21:00
@knostic-renovate knostic-renovate Bot changed the title chore(deps): update dependency anthropic to v2.6.0 chore(deps): update dependency anthropic to v2.7.0 Nov 9, 2026
@knostic-renovate
knostic-renovate Bot force-pushed the renovate/anthropic-2.x branch from ce2631f to e259c84 Compare November 10, 2026 20:28
@knostic-renovate knostic-renovate Bot changed the title chore(deps): update dependency anthropic to v2.7.0 chore(deps): update dependency anthropic to v2.8.0 Nov 10, 2026
@knostic-renovate
knostic-renovate Bot force-pushed the renovate/anthropic-2.x branch from e259c84 to 1b1f021 Compare November 16, 2026 18:54
@knostic-renovate knostic-renovate Bot changed the title chore(deps): update dependency anthropic to v2.8.0 chore(deps): update dependency anthropic to v2.9.0 Nov 16, 2026
@knostic-renovate
knostic-renovate Bot force-pushed the renovate/anthropic-2.x branch from 1b1f021 to 72c6a1f Compare November 17, 2026 20:38
@knostic-renovate knostic-renovate Bot changed the title chore(deps): update dependency anthropic to v2.9.0 chore(deps): update dependency anthropic to v2.10.0 Nov 17, 2026
@knostic-renovate
knostic-renovate Bot force-pushed the renovate/anthropic-2.x branch from 72c6a1f to 7ed15d1 Compare November 19, 2026 20:30
@knostic-renovate knostic-renovate Bot changed the title chore(deps): update dependency anthropic to v2.10.0 chore(deps): update dependency anthropic to v2.11.0 Nov 19, 2026
@knostic-renovate
knostic-renovate Bot force-pushed the renovate/anthropic-2.x branch from 7ed15d1 to 48ac784 Compare November 20, 2026 20:18
@knostic-renovate knostic-renovate Bot changed the title chore(deps): update dependency anthropic to v2.11.0 chore(deps): update dependency anthropic to v2.12.0 Nov 20, 2026
@knostic-renovate
knostic-renovate Bot force-pushed the renovate/anthropic-2.x branch from 48ac784 to 01fabe3 Compare November 23, 2026 19:53
@knostic-renovate knostic-renovate Bot changed the title chore(deps): update dependency anthropic to v2.12.0 chore(deps): update dependency anthropic to v2.13.0 Nov 23, 2026
@knostic-renovate
knostic-renovate Bot force-pushed the renovate/anthropic-2.x branch from 01fabe3 to 366ef18 Compare November 24, 2026 21:46
@knostic-renovate knostic-renovate Bot changed the title chore(deps): update dependency anthropic to v2.13.0 chore(deps): update dependency anthropic to v2.14.0 Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants