anthropic Anthropic Python SDK Releases · · 1.0.0

Anthropic Python SDK Reaches v1.0.0 with Breaking Changes and `httpx2` Upgrade

sdkaigapreviewengineermedia
breaking feature patch

The Anthropic Python SDK has released version 1.0.0, a significant update that introduces breaking changes primarily due to an upgrade to `httpx2`. This version enhances client capabilities but requires developers to consult the provided MIGRATION.md guide for necessary adjustments. The release also includes a bug fix for beta warning messages, internal streaming improvements, and updated documentation examples. Developers integrating Anthropic's AI models via the Python SDK are affected by these changes.

  • upgrade to httpx2 and some minor breaking changes. See MIGRATION.md for details
  • upgrade to httpx2 and some minor breaking changes. See MIGRATION.md for details
  • stop warning about output_format= on the parse/stream/tool_runner helpers
  • restore the original event imports in lib/streaming/_types.py
  • use adaptive thinking in thinking examples
Breaking changes (1)
  • client upgrade to httpx2 and some minor breaking changes. See MIGRATION.md for details
Features (1)
  • client upgrade to httpx2 and some minor breaking changes. See MIGRATION.md for details
Fixes (1)
  • beta stop warning about output_format= on the parse/stream/tool_runner helpers
Maintenance (2)
  • streaming restore the original event imports in lib/streaming/_types.py
  • examples use adaptive thinking in thinking examples
Read the original announcement →

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

Related releases