Anthropic Python SDK v1.2.0

v1.2.0
Changed 1
  • Beta files/skills namespaces now use GA shapes and drop dated beta header pins
Fixed 5
  • Sign raw request bytes so binary file uploads work with AWS and Bedrock
  • Make event accumulator forward-compatible with new event types in sessions
  • Allow read to return a view_range of a file over the size cap in tools
  • Preserve exact file bytes in the agent toolset and memory tool without newline translation
  • Require headers to be passed to unwrap() in webhooks

From Anthropic Python SDK

1.2.0 (2026-08-27)

Full Changelog: v1.1.0...v1.2.0

Features
  • api: beta files/skills namespaces use GA shapes; drop dated beta header pins (9df4565)
Bug Fixes
  • aws,bedrock: sign raw request bytes so binary file uploads work (#531) (f50e910)
  • ci: resolve assignment aliases in detect-breaking-changes (f2c4925)
  • sessions: make event accumulator forward-compatible with new event types (#533) (cbbaf6e)
  • tools: let read return a view_range of a file over the size cap (#538) (b68e876)
  • tools: preserve exact file bytes in the agent toolset and memory tool (no newline translation) (#540) (56921a8)
  • webhooks: require headers to be passed to unwrap() (0baa902)
Documentation
  • api: clarify pagination on the organization rate-limit list endpoints (1832b27)
View original

Upgraded? How did it go?

Discussion