Releases: anthropics/anthropic-sdk-python
Releases · anthropics/anthropic-sdk-python
Release list
v1.0.0
1.0.0 (2026-08-20)
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
0.125.0 (2026-08-19)
Full Changelog: v0.124.0...v0.125.0
Features
- api: managed agents web search config and self hosted sandbox memory (b75afd6)
v0.124.0
0.124.0 (2026-08-19)
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
0.123.0 (2026-08-18)
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
v0.122.0
0.122.0 (2026-08-13)
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
0.121.0 (2026-08-07)
Full Changelog: v0.120.2...v0.121.0
Features
- api: add
mid-conversation-tool-changes-2026-07-01beta (c7d1531) - api: add support for session budgets, advisor tool, pinned inference location and skills auto-loading from GitHub (193bae0)
Chores
v0.120.2
v0.120.1
v0.120.0
v0.119.0
0.119.0 (2026-07-23)
Full Changelog: v0.118.0...v0.119.0
Features
- api: add new stop reason 'model_context_window_exceeded' (d983cde)