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
- Anthropic Claude Platform Adds Personal and Service Account API Keys Claude Platform Release Notes ·
- Claude Code v2.1.248 Delivers New Security, Caching, and Usability Enhancements Claude Code Releases ·
- Anthropic details expanded scientific research support programs Anthropic News ·
- Anthropic Previews Model Hardware Standard for AI Agent Device Control Anthropic News ·
- Claude Code v2.1.247 Adds Feedback, Cost Optimization, and Admin API Claude Code Releases ·
- Anthropic Python SDK v1.1.0 Adds Beta Thinking Display Mode, Org API Endpoints Anthropic Python SDK Releases ·