Skip to content

chore(deps): update dependency anthropic to v0.125.0 - #14711

Open
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/anthropic-0.x
Open

renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/anthropic-0.x

Conversation

@renovate-bot

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
anthropic ==0.28.0 → ==0.125.0 age confidence

Release Notes

anthropics/anthropic-sdk-python (anthropic)

v0.125.0

Compare Source

Full Changelog: v0.125.0...v1.0.0

⚠ BREAKING CHANGES
  • client: upgrade to httpx2 and some minor breaking changes. See MIGRATION.md for details
Features
  • client: upgrade to httpx2 and some minor breaking changes. See MIGRATION.md for details (33e2967)
Bug Fixes
  • beta: stop warning about output_format= on the parse/stream/tool_runner helpers (59bf261)
Chores
  • streaming: restore the original event imports in lib/streaming/_types.py (87e9e01)
Documentation
  • examples: use adaptive thinking in thinking examples (b5870af)

v0.124.0

Compare Source

Full Changelog: v0.124.0...v0.125.0

Features
  • api: managed agents web search config and self hosted sandbox memory (b75afd6)

v0.123.0

Compare Source

Full Changelog: v0.123.0...v0.124.0

Features
  • api: Files and Skills APIs are now GA; add computer use and browser use toolsets (9a09e84)

v0.122.0

Compare Source

Full Changelog: v0.122.0...v0.123.0

Features
  • api: additions to files and memory stores (09ce187)
  • api: updates to skill, files, and user profiles (c6cbffd)
  • client: add helpers for accessing the workspace ID in response headers (f79882b)
Bug Fixes
  • api: remove unsupported mid_conv_system content block (6f15b8d)
  • client: compute platform headers without spawning a subprocess (baca9f4)
  • client: export custom status errors from _exceptions.all (#​459) (2950ec4)
  • client: export ServiceUnavailableError and DeadlineExceededError from the package root (#​468) (0dcd06d)
  • session-runner: retry tool-result sends for at least the lease TTL (#​453) (e1a4891)
  • tools: run synchronous session tools in a worker thread (#​399) (8f88c57)
Chores
  • examples: remove legacy Text Completions API examples (cf5c768)
  • internal: remove leftover prism references (826ba7a)

v0.121.0

Compare Source

Full Changelog: v0.121.0...v0.122.0

Features
  • api: add output_behavior to dream creation (create a new memory store or update the input store in place) (852c4bb)
Bug Fixes
  • bedrock,aws: run SigV4 signing off the event loop in async clients (#​334) (2bae6c8)
  • bedrock: expose beta.messages.parse, stream and tool_runner (#​366) (6eca7bb)
  • client: add models (52e9d94)
  • client: keep token exchange bound per client across copy() (#​388) (c13e6e3)
  • client: read PathLike contents passed inside a file tuple (070f953)
  • client: treat empty ANTHROPIC_API_KEY / ANTHROPIC_AUTH_TOKEN as unset (#​341) (76a2e68)
  • streaming: add context to malformed tool input JSON errors in the non-beta accumulator (#​339) (a343e17)
  • streaming: apply all message_delta fields when accumulating streamed messages (#​380) (fc1599b)
  • streaming: emit input_json events for server tool use blocks (#​336) (ccfc8e1)
  • streaming: keep omitted content block fields unset in accumulated messages (#​346) (cd40aab)
  • streaming: run the request transform once in messages.stream() (#​347) (81a92da)
  • streaming: silence pydantic serializer warnings on message_stop events (#​338) (41f9cdc)
  • tools: reject symlink loops in tool paths and skip special skill-archive members (#​322) (43e8669)
  • vertex: expose beta.messages.parse and tool_runner (#​367) (96723a0)
Chores
  • ci: run breaking-change detection as a ci.yml job on every push (6dfd16e)
  • examples: update messages_stream.py shebang from rye to uv (#​1519) (7d72364)
  • internal: codegen related update (21a0e3d)
  • internal: drop remaining references to black (13df390)
  • internal: remove misc things (d6ee99e)
  • tests: use pytest monkeypatch and fakes instead of unittest.mock (55d246f)
  • tests: use pytest monkeypatch instead of unittest.mock (e0c6488)
Documentation
  • api: clarify that user profile name is optional for resold profiles (b8f9f61)
  • fix fulfillment typos in session runner (#​1795) (009b035)
  • fix incorrect docstring in AsyncAnthropicFoundry.models (#​1592) (f1f5e9b)
Refactors
  • use the not_given singleton instead of the legacy NOT_GIVEN alias (eeb4d74)

v0.120.2

Compare Source

Full Changelog: v0.120.2...v0.121.0

Features
  • api: add mid-conversation-tool-changes-2026-07-01 beta (c7d1531)
  • api: add support for session budgets, advisor tool, pinned inference location and skills auto-loading from GitHub (193bae0)
Chores
  • api: remove retired Claude Opus 4.1 models (5352a33)
  • docs: small updates to descriptions (b8d4176)
  • docs: updates to a few documentation strings (3a5dd69)
  • ensure all dependencies have major version constraints (#​274) (d52999b)

v0.120.1

Compare Source

Full Changelog: v0.120.1...v0.120.2

Bug Fixes

v0.120.0

Compare Source

Full Changelog: v0.120.0...v0.120.1

Bug Fixes

v0.119.0

Compare Source

Full Changelog: v0.119.0...v0.120.0

Features
  • api: add claude-opus-5 model (bf4e31c)
  • api: add tool addition/removal blocks and tool_change events (bf4e31c)
  • api: expand client-side fallback credit token types and add server-side fallbacks default option (bf4e31c)

v0.118.0

Compare Source

Full Changelog: v0.118.0...v0.119.0

Features
  • api: add new stop reason 'model_context_window_exceeded' (d983cde)
Bug Fixes
  • tools: handle binary files in agent toolset read/edit (#​283) (417b76b)

v0.117.1

Compare Source

Full Changelog: v0.117.1...v0.118.0

Features
  • api: add support for Managed Agents model effort, initial session events, and threads delta streaming (712bc6f)

v0.117.0

Compare Source

Full Changelog: v0.117.0...v0.117.1

Bug Fixes
  • aws: handle credentials correctly when using AnthropicAWS.copy() (85d3881)
Chores

v0.116.0

Compare Source

Full Changelog: v0.116.0...v0.117.0

Features
  • api: add support for dreaming (642eee7)
  • api: add support for MCP Tunnels (d716df6)
Bug Fixes
  • credentials: keep credential material out of traceback frame locals via SecretStr (aa93a4d)
Chores
  • docs: small updates to field descriptions (75d8dcc)
  • docs: update model example (a57e30a)
  • docs: updates to descriptions and examples (e1535b6)

v0.115.1

Compare Source

Full Changelog: v0.115.1...v0.116.0

Features
  • api: add agent-memory-2026-07-22 beta header (e181d5c)

v0.115.0

Compare Source

Full Changelog: v0.115.0...v0.115.1

Chores
  • api: remove some nonfunctional types from the SDKs (5e7c431)

v0.114.0

Compare Source

Full Changelog: v0.114.0...v0.115.0

Features
  • api: add support for Managed Agents event delta streaming, agent overrides, reverse pagination, vault credential injection scoping, and agent and deployment webhook events (8c23f7e)

v0.113.0

Compare Source

Full Changelog: v0.113.0...v0.114.0

Features
  • api: add support for claude-sonnet-5 (b893033)
Bug Fixes
  • agent_toolset: allow absolute paths that resolve inside workdir (#​121) (0105529)

v0.112.0

Compare Source

Full Changelog: v0.112.0...v0.113.0

Features
Bug Fixes
  • async count_tokens missing output_format/output_config merge block (#​162) (122c958)
Chores
  • api: accept user profile ID's when counting tokens (0b4d17a)
  • docs: updates to descriptions and example values (f3ab694)

v0.111.0

Compare Source

Full Changelog: v0.111.0...v0.112.0

Features
  • client: add support for system.message streaming events (2450d59)
Bug Fixes
  • memory tool: create parent directories with the correct permissions (#​135) (f2fc2a9)
Chores
  • api: add support for new refusal category (5ab533e)
  • api: add support for sending User Profile ID in request headers (83319be)

v0.110.0

Compare Source

Full Changelog: v0.110.0...v0.111.0

Features
  • helpers: tag refusal-fallback middleware requests with fallback-refusal-middleware (#​96) (2f8ac78)

v0.109.2

Compare Source

Full Changelog: v0.109.2...v0.110.0

Features
  • api: add support for new code_execution_20260120 tool (5e23212)
Bug Fixes
  • append x-stainless-helper across header merges instead of clobbering (#​105) (922558e)
  • bedrock: preserve stream event type (#​1682) (b27e343)
  • helpers: single source of truth for x-stainless-helper key + closed value vocabulary (#​95) (e6f7a56)

v0.109.1

Compare Source

Full Changelog: v0.109.1...v0.109.2

Chores
  • api: remove retired models from API and SDKs (d4bcfcc)

v0.109.0

Compare Source

Full Changelog: v0.109.0...v0.109.1

Bug Fixes
  • api: add frontier_llm refusal category (d3a806b)

v0.108.0

Compare Source

Full Changelog: v0.108.0...v0.109.0

Features
  • api: add support for Managed Agents deployments and environment variable credentials (47633bf)

v0.107.1

Compare Source

Full Changelog: v0.107.1...v0.108.0

Features
  • api: add support for claude-mythos-5 and claude-fable-5, with support for server-side fallbacks on refusal (6b76649)
  • client: adds client-side fallbacks middleware for API providers that do not support server-side fallbacks (6b76649)

v0.107.0

Compare Source

Full Changelog: v0.107.0...v0.107.1

Bug Fixes

v0.106.0

Compare Source

Full Changelog: v0.106.0...v0.107.0

Features
  • api: small updates to Managed Agents types (72923f9)

v0.105.2

Compare Source

Full Changelog: v0.105.2...v0.106.0

Features
  • api: mark Claude Opus 4.1 as deprecated (85068cc)
Bug Fixes
  • client: make Foundry client copy() and with_options() work (94146ac)
  • transform schema: preserve $defs when schema root is a $ref (#​1642) (fc58e06)
Chores
  • internal: fix artifact url (a6ed0c4)
  • internal: fix branch names (3b03370)
  • internal: update private repo name (7dbcb05)
Documentation
  • point security reports to Anthropic's HackerOne program (#​10) (80f2c97)

v0.105.0

Compare Source

Full Changelog: v0.105.0...v0.105.1

Chores
  • internal: use Trusted Publishing for PyPI releases (1d04fc5)

v0.104.1

Compare Source

Full Changelog: v0.104.1...v0.105.0

Features
  • api: Add support for claude-opus-4-8, mid-conversation system blocks, and usage.output_tokens_details (f18b014)
  • support custom file size caps (#​1825) (7e5f944)
Chores
  • examples: rename managed-agents private-sandbox-worker to self-hosted-sandbox-worker (#​1822) (750f956)
Documentation
  • replace literal newlines (8f7f6c0)

v0.104.0

Compare Source

Full Changelog: v0.104.0...v0.104.1

Bug Fixes
  • streaming: carry encrypted_content through beta compaction accumulator (#​1821) (f7a720c)

v0.103.1

Compare Source

Full Changelog: v0.103.1...v0.104.0

Features
  • api: Add support for thinking-token-count beta for estimated tokens in thinking block deltas when streaming (80d0fdf)

v0.103.0

Compare Source

Full Changelog: v0.103.0...v0.103.1

Bug Fixes
  • runner: skip tool calls SessionToolRunner does not own (#​1817) (9425c6a)

v0.102.0

Compare Source

Full Changelog: v0.102.0...v0.103.0

Features
  • client: Add support for self-hosted sandboxes in CMA with sandbox helpers (e5625b0)

v0.101.0

Compare Source

Full Changelog: v0.101.0...v0.102.0

Features
  • api: Add BetaManagedAgentsSearchResultBlock types (3681f10)
  • api: Add support for cache diagnostics beta (db51c6c)
  • internal/types: support eagerly validating pydantic iterators (68dabb0)
Chores

v0.100.0

Compare Source

Full Changelog: v0.100.0...v0.101.0

Features
  • aws: Add AWS client for Claude Platform on AWS (1e70e3a)
Bug Fixes
  • client: add missing f-string prefix in file type error message (06d109a)
Chores

v0.99.0

Compare Source

Full Changelog: v0.99.0...v0.100.0

Features
  • api: add support for Managed Agents multiagents and outcomes, webhooks, vault validation (3b3deee)
Bug Fixes
  • api: Adjust webhook configuration (8c3339e)

v0.98.1

Compare Source

Full Changelog: v0.98.1...v0.99.0

Features
  • client: allow targeting a workspace for OIDC federation token exchange (4ba8067)

v0.98.0

Compare Source

Full Changelog: v0.98.0...v0.98.1

Chores

v0.97.0

Compare Source

Full Changelog: v0.97.0...v0.98.0

Features
  • api: improve Managed Agents APIs (7faf393)
  • client: add Workload Identity Federation, interactive OAuth, and auth profiles (6458bcc)
  • support setting headers via env (52eb8cd)
Bug Fixes
  • streaming: propagate stop_details from message_delta onto accumulated Message (#​1725) (900dd9b)
  • use correct field name format for multipart file arrays (8350bdc)
  • vertex: async client missing us/eu multi-region base_url branches (#​1734) (3e78f71)
Chores
  • internal: reformat pyproject.toml (5a9d5fd)

v0.96.0

Compare Source

Full Changelog: v0.96.0...v0.97.0

Features
  • api: CMA Memory public beta (fc30ebe)
Bug Fixes
  • api: fix errors in api spec (f946de8)
  • api: restore missing features (72212ab)
Performance Improvements
  • client: optimize file structure copying in multipart requests (1f9eed3)
Chores
  • add missing import (4b12f5e)
  • internal: more robust bootstrap script (7ed7370)
  • tests: bump steady to v0.22.1 (a4b7184)

v0.95.0

Compare Source

Full Changelog: v0.95.0...v0.96.0

Features
  • api: add claude-opus-4-7, token budgets and user_profiles (0aa2a0d)
Chores
  • ci: remove release-doctor workflow (1d9add3)

v0.94.1

Compare Source

Full Changelog: v0.94.1...v0.95.0

Features
  • api: mark Sonnet and Opus 4 as deprecated (0c1e773)
  • bedrock: use auth header for mantle client (#​1644) (3b93090)

v0.94.0

Compare Source

Full Changelog: v0.94.0...v0.94.1

Bug Fixes
  • streaming: add missing events (c6a06d8)

v0.93.0

Compare Source

Full Changelog: v0.93.0...v0.94.0

Features
Bug Fixes
  • ensure file data are only sent as 1 parameter (837b25b)
Documentation

v0.92.0

Compare Source

Full Changelog: v0.92.0...v0.93.0

Features
  • api: Add beta advisor tool (4297dca)

v0.91.0

Compare Source

Full Changelog: v0.91.0...v0.92.0

Features
  • api: add support for Claude Managed Agents (5b879a7)

v0.90.0

Compare Source

Full Changelog: v0.90.0...v0.91.0

Features

v0.89.0

Compare Source

Full Changelog: v0.89.0...v0.90.0

Features
  • api: Add support for claude-mythos-preview (fc7ddd8)
Bug Fixes
  • client: preserve hardcoded query params when merging with user params (32d35e0)

v0.88.0

Compare Source

Full Changelog: v0.88.0...v0.89.0

Features
  • vertex: add support for US multi-region endpoint (4e732da)
Bug Fixes
  • client: preserve hardcoded query params when merging with user params (e7f4a3c)
Chores
  • client: deprecate client-side compaction helpers (e60affc)

v0.87.0

Compare Source

Full Changelog: v0.87.0...v0.88.0

Features
Chores
  • tests: bump steady to v0.20.2 (1bc4e9f)

v0.86.0

Compare Source

Full Changelog: v0.86.0...v0.87.0

Features
  • client: add error type field to APIStatusError (#​1587) (dd563c0)
  • internal: implement indices array format for query and form serialization (11a6244)
Bug Fixes
  • honor api_exclude in async transform path (#​1612) (8172232), closes #​1610
  • memory: return resolved path from async _validate_path (7b0add3)
  • memory: use restrictive file mode for memory files (47ba5b8)
  • sanitize endpoint path params (98f60e4)
  • transform schema: support enums (#​1275) (5c088ab)
Chores
  • ci: run builds on CI even if only spec metadata changed (194c050)
  • ci: skip lint on metadata-only changes (03e2ab9)
  • internal: update gitignore (94ede14)
  • tests: bump steady to v0.19.4 (2d6d58f)
  • tests: bump steady to v0.19.5 (8fb439a)
  • tests: bump steady to v0.19.6 (76da5fd)
  • tests: bump steady to v0.19.7 (bfa40e5)
  • tests: bump steady to v0.20.1 (4fd9446)

v0.85.0

Compare Source

Full Changelog: [v0.85.0...v0.86.0](https://redirect.github.com/anthropics/anthr

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, on day 1 of the month (* 0-3 1 * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Never, 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 was generated by Mend Renovate. View the repository job log.

@renovate-bot
renovate-bot requested review from a team as code owners November 1, 2026 02:38
@trusted-contributions-gcf trusted-contributions-gcf Bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Nov 1, 2026
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Nov 1, 2026
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 1, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the anthropic[vertex] dependency version from 0.28.0 to 0.125.0 across multiple requirements.txt files under the generative_ai directory, including evaluation, extensions, model tuning, prompts, and reasoning engine modules. There are no review comments, and I have no feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

owlbot:run Add this label to trigger the Owlbot post processor. samples Issues that are directly related to samples.

2 participants