v1.2.0
Breaking Changes📦 anthropic-sdkView on GitHub →
⚠ 1 breaking✨ 1 features🐛 6 fixes🔧 6 symbols
Summary
This release stabilizes the files/skills namespaces by adopting GA shapes and dropping dated beta header pins. It also includes several bug fixes, notably for binary file uploads via AWS/Bedrock and preserving file bytes in toolsets.
⚠️ Breaking Changes
- The `unwrap()` function for webhooks now requires headers to be passed, which may break existing implementations that did not pass headers.
Migration Steps
- Ensure headers are passed to the `unwrap()` function when handling webhooks.
✨ New Features
- The beta files/skills namespaces now use GA shapes, and dated beta header pins have been dropped.
🐛 Bug Fixes
- Raw request bytes are now signed for AWS and Bedrock, enabling binary file uploads.
- Assignment aliases are resolved in the detect-breaking-changes CI process.
- The event accumulator is now forward-compatible with new event types.
- The `read` function can now return a `view_range` of a file that exceeds the size cap.
- Exact file bytes are preserved in the agent toolset and memory tool, preventing newline translation.
- The `unwrap()` function for webhooks now requires headers to be passed.