非公式・AI自動要約ニュースサイト(Anthropic公式とは無関係)
Claude News JP / www.claude-news.online
📰 ニュース Anthropic 🔵 標準 LLMコーディング · 出典: SDK (anthropic-sdk-python)

relationship → access_type の置換は移行が必須。AWS 認証周りのバグ修正は地味だが実装者には効く。

Anthropic Python SDK v1.3.0 リリース

原題: anthropics/anthropic-sdk-python: v1.3.0

重要度の根拠: SDK マイナーバージョンアップながら、API スキーマ破壊的変更と AWS 認証バグ修正を含む。既存ユーザーへの段階的影響あり。

要約

Anthropic の Python SDK が v1.3.0 にアップデートされました。ユーザープロファイルの API スキーマ更新、AWS 認証関連のバグ修正、バッチ処理の応答ラッパー改善、ファイルアップロード時のファイル名自動導出など、複数の機能追加と不具合修正が含まれています。組織のコンプライアンス設定や メモリストア、ツールセットのスキーマ更新も加わっており、API 利用者にとっては契約更新時に導入が推奨される小規模バージョンアップです。

要点

  • User Profiles API: relationship → access_type に置換(破壊的変更)
  • AWS リージョン解決バグ修正(issue #564)
  • Organization Compliance Settings スキーマ対応
  • ファイルアップロード時のファイル名自動導出
  • Batches GA: results フィールド統合
開発者向け技術解説(API・実装詳細・破壊的変更)を見る

v1.3.0 では以下の破壊的変更と機能追加が実装されました:(1) Beta User Profiles API: external_user_onboarded_at フィールド追加、relationship パラメータを access_type に置換;(2) Organization Compliance Settings、User Profile order_by フィルタ、Memory Store / Toolset スキーマ更新;(3) AWS リージョン解決バグ修正(skip_auth / with_options 使用時に base_url が正しく導出されていなかった issue #564);(4) Batches GA: raw/streaming 応答ラッパーに results フィールドを統合;(5) クライアント側マルチパート処理: ファイルタプル渡却時にヘッダーから自動ファイル名導出。型定義は UnionDiscriminator に統一、未使用の distro 依存を削除。migration: 既存の relationship 参照を access_type に置き換え必須。

本文の日本語訳(全文)を見る

## 1.3.0 (2026年9月1日)

全変更履歴: [v1.2.0...v1.3.0](https://github.com/anthropics/anthropic-sdk-python/compare/v1.2.0...v1.3.0)

### 新機能

* **api:** Beta ユーザープロファイル: external_user_onboarded_at を追加、relationship を access_type に置き換え ([74080c3](https://github.com/anthropics/anthropic-sdk-python/commit/74080c35d6e4f3e5e7fd47454ecce2350cbfdd2b))

* **api:** 手動更新 ([1dc3ce0](https://github.com/anthropics/anthropic-sdk-python/commit/1dc3ce0709a9bca146b045dfb0787971e747b1f5))

* **api:** 組織のコンプライアンス設定、ユーザープロファイル order_by、メモリストアおよびツールセット スキーマ更新 ([429e719](https://github.com/anthropics/anthropic-sdk-python/commit/429e719f84bd78db51c9fd0442ccb0ca63e614ba))

### バグ修正

* **aws:** skip_auth および with_options 使用時に AWS リージョンから base_url を解決 ([#564](https://github.com/anthropics/anthropic-sdk-python/issues/564)) ([b6d1732](https://github.com/anthropics/anthropic-sdk-python/commit/b6d1732cc89eb743b4d40e33c6cd3f7ecfb3d0ab))

* **batches:** GA raw/streaming 応答ラッパーに results を追加 ([cbf9715](https://github.com/anthropics/anthropic-sdk-python/commit/cbf9715a461b4c5deec7a669b2b6e211faaf8827))

* **ci:** detect-breaking-changes 出力の硬い折り返しを削除 ([b5be779](https://github.com/anthropics/anthropic-sdk-python/commit/b5be779c110e68f6c884091b3524083733f3f8a9))

* **client:** ファイル名なしで渡されたファイルタプルのマルチパート ファイル名を導出 ([a9f3fb4](https://github.com/anthropics/anthropic-sdk-python/commit/a9f3fb40abdd2f5842054a96e08afeee35fb932a))

* **types:** ヘッダーおよびパス パラメータから未使用のワイア エイリアスを削除 ([dc0a9ab](https://github.com/anthropics/anthropic-sdk-python/commit/dc0a9ab4360c7fc28f7326c39876f18ad04d2c26))

### 保守

* **internal:** PropertyInfo から未使用の discriminator 引数を削除 ([3dae6fd](https://github.com/anthropics/anthropic-sdk-python/commit/3dae6fd196cb2fe658029e8eec60551dfa847949))

* **internal:** 未使用の distro 依存を削除 ([a47d85f](https://github.com/anthropics/anthropic-sdk-python/commit/a47d85f6a740e3a38610c5239ac8c2c7b12ead55))

### ドキュメント

* **changelog:** Beta files/skills GA 形式の変更について詳述 ([#1900](https://github.com/anthropics/anthropic-sdk-python/issues/1900)) ([7c84e13](https://github.com/anthropics/anthropic-sdk-python/commit/7c84e133570991589c90d888790d536ca943568d))

### リファクタリング

* **types:** 判別的合併 (discriminated union) を PropertyInfo の代わりに UnionDiscriminator でマーク ([17df0bf](https://github.com/anthropics/anthropic-sdk-python/commit/17df0bf37c875598b49b2909c58aa48e17a1b25a))

* **types:** より多くの判別的合併に UnionDiscriminator を使用 ([b44af2c](https://github.com/anthropics/anthropic-sdk-python/commit/b44af2c625703ba1c0ed2e81871ac14dc572665e))

API/SDK対象: 開発者

出典: https://github.com/anthropics/anthropic-sdk-python/releases/tag/v1.3.0

媒体: SDK (anthropic-sdk-python)

※本記事は Anthropic / Claude 関連の公開情報を基に AI (OpenAI GPT-4o-mini) が日本語で要約・分類した二次的著作物です。著作権法第32条の引用要件に基づき出典 URL を必ず併記しています。要約は AI 生成のため誤訳・誤解釈を含む可能性があります。詳細・正確な情報は必ず出典元の原文をご確認ください。