Skip to content

Update dependency anthropic to v1 - #14529

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

Update dependency anthropic to v1#14529
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/anthropic-1.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==1.0.0 age confidence

Release Notes

anthropics/anthropic-sdk-python (anthropic)

v1.0.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.125.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.124.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.123.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.122.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.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.1...v0.120.2

Bug Fixes

v0.120.1

Compare Source

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

Bug Fixes

v0.120.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.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.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.116.0

Compare Source

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

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

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.110.0...v0.111.0

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

v0.110.0

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

Compare Source

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

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

v0.109.1

Compare Source

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

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

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.106.0...v0.107.0

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

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.1...v0.105.2

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.0...v0.104.1

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

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.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.96.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.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.85.0...v0.86.0

Features
Bug Fixes
  • AsyncAnthropic._make_status_error missing 529 and 413 cases (#​1244) (05220bc)
  • deps: bump minimum typing-extensions version (09ab112)
  • pydantic: do not pass by_alias unless set (b17480e)
Chores
  • internal: tweak CI branches (3c0308c)

v0.85.0

Compare Source

Full Changelog: v0.85.0...v0.86.0

Features
Bug Fixes
  • AsyncAnthropic._make_status_error missing 529 and 413 cases (#​1244) (05220bc)
  • deps: bump minimum typing-extensions version ([09a

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • 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: 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 August 20, 2026 23:27
@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 Aug 20, 2026
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Aug 20, 2026
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 20, 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 from version 0.28.0 to 1.0.0 across multiple requirements.txt files in the generative_ai directory, including the embeddings, evaluation, extensions, image_generation, model_garden, 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants