github anthropics/anthropic-sdk-python v1.8.0

4 hours ago

1.8.0 (2026-09-22)

Full Changelog: v1.7.0...v1.8.0

Features

  • api: add support for claude-opus-5-5, inline tool definitions and MCP tool-list pinning (beta) (b5cc700)

Bug Fixes

  • api: share one evaluated_permission enum across Managed Agents events (f4f51c8)
  • streaming: avoid a Python 3.13 crash at exit when a stream is left open (af029bd)
  • tools: add_tools() takes effect straight away (#874) (06d0a6b)
  • tools: leave reply-only params off the tool runner's compaction request (#871) (4687310)

Chores

  • docs: add descriptions to the Dreams API reference (5574c63)
  • docs: add descriptions to the User Profiles API reference (5574c63)
  • docs: add memory store descriptions to the Managed Agents API reference (5574c63)
  • docs: improve descriptions in the Dreams API reference (1f5e477)
  • docs: simplify the session thread agent type description (a45b7ec)
  • docs: update diagnostics field descriptions on beta messages (367750c)
  • internal: fix tests (70c8cbd)
  • internal: remove mypy (be01ed6)
  • tests: update fixtures (77f6df8)

Documentation

  • add path and header parameter descriptions (f429a30)

Refactors

  • client: remove the request param transform in favour of the JSON encoder (539422c)

Don't miss a new anthropic-sdk-python release

NewReleases is sending notifications on new releases.