anthropic Anthropic Python SDK Releases · · 1.2.0

Anthropic Python SDK v1.2.0 Enhances API Stability and File Handling

sdkaigapreviewengineer
feature patch

Anthropic has released Python SDK v1.2.0, which stabilizes beta API namespaces for files and skills by aligning them with generally available shapes and dropping dated beta header pins. This update improves consistency and future compatibility for developers interacting with these features. Key bug fixes include enabling binary file uploads via AWS Bedrock and ensuring forward compatibility with new event types. The release also addresses several tool-related issues, such as preserving exact file bytes in agent toolsets.

  • beta files/skills namespaces use GA shapes; drop dated beta header pins
  • aws,bedrock: sign raw request bytes so binary file uploads work
  • resolve assignment aliases in detect-breaking-changes
  • make event accumulator forward-compatible with new event types
  • let read return a view_range of a file over the size cap
Features (1)
  • api beta files/skills namespaces use GA shapes; drop dated beta header pins
Fixes (6)
  • aws,bedrock: sign raw request bytes so binary file uploads work
  • ci resolve assignment aliases in detect-breaking-changes
  • sessions make event accumulator forward-compatible with new event types
  • tools let read return a view_range of a file over the size cap
  • tools preserve exact file bytes in the agent toolset and memory tool (no newline translation)
  • webhooks require headers to be passed to unwrap()
Maintenance (1)
  • api clarify pagination on the organization rate-limit list endpoints
Read the original announcement →

https://github.com/anthropics/anthropic-sdk-python/releases/tag/v1.2.0

Related releases