Skip to content

Releases: anthropics/anthropic-sdk-python

v1.0.0

Choose a tag to compare

@stainless-app stainless-app released this 20 Aug 19:58

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

Choose a tag to compare

@stainless-app stainless-app released this 19 Aug 22:00

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

Choose a tag to compare

@stainless-app stainless-app released this 19 Aug 16:51

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

Choose a tag to compare

@stainless-app stainless-app released this 19 Aug 13:31

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

  • examples: remove legacy Text Completions API examples (cf5c768)
  • internal: remove leftover prism references (826ba7a)

v0.122.0

Choose a tag to compare

@stainless-app stainless-app released this 13 Aug 18:35

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

Choose a tag to compare

@stainless-app stainless-app released this 07 Aug 17:10

0.121.0 (2026-08-07)

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

Choose a tag to compare

@stainless-app stainless-app released this 28 Jul 17:38

0.120.2 (2026-07-28)

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

Bug Fixes

  • mcp: support mcp sdk v2 alongside v1 (#300) (177f88c)

v0.120.1

Choose a tag to compare

@stainless-app stainless-app released this 28 Jul 16:37

0.120.1 (2026-07-28)

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

Bug Fixes

v0.120.0

Choose a tag to compare

@stainless-app stainless-app released this 24 Jul 16:32

0.120.0 (2026-07-24)

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

Choose a tag to compare

@stainless-app stainless-app released this 23 Jul 17:34

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)

Bug Fixes

  • tools: handle binary files in agent toolset read/edit (#283) (417b76b)