Unofficial AI-summarized news site (not affiliated with any AI company)
AI News JP / www.ai-news.jp
🟠 Important AI Summary · Source: SDK (anthropic-sdk-python)

SDK hits v1.0.0 with httpx2 upgrade — breaking changes incoming, migration guide required

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

Original: anthropics/anthropic-sdk-python: v1.0.0

Importance: Anthropic公式SDKのメジャーバージョンリリースで、httpx2への破壊的変更が既存ユーザーに移行対応を強制する

Summary

Anthropic released Python SDK v1.0.0, marking a major version milestone with httpx2 upgrade. Breaking changes accompany the HTTP library migration, requiring users to consult MIGRATION.md for upgrade details. Bug fixes include resolution of spurious output_format warnings in parse/stream/tool_runner helpers, and documentation improvements featuring adaptive thinking examples. Existing projects using this SDK should review migration guidance before updating.

Key Points

  • v1.0.0 major release with httpx2 upgrade introduces breaking changes
  • Migration guidance provided in MIGRATION.md documentation
  • Bug fixes for beta helpers and adaptive thinking example updates
  • Full changelog available on GitHub compare page
  • Existing projects should review migration guide before upgrading
View developer notes (APIs, breaking changes, migration)

anthropic-sdk-python v1.0.0 upgrades HTTP client from httpx 1.x to httpx 2.x, introducing breaking changes requiring code migration. Key fixes: removed spurious output_format warnings in parse/stream/tool_runner helpers; restored event type imports in lib/streaming/_types.py; updated examples to showcase adaptive thinking. Full changelog v0.125.0→v1.0.0 available on GitHub compare page. Migration may require adjustments to API call signatures and response handling patterns.

API/SDKAudience: 開発者

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

Outlet: SDK (anthropic-sdk-python)

This article is an AI-generated summary (OpenAI GPT-4o-mini) of publicly available information from Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, Sakana, and other vendors. The original source URL is always provided in accordance with fair-use citation requirements. Summaries are AI-generated and may contain mistranslations or misinterpretations. Always verify details with the original source.