// AI Platform Drift

Claude Python SDK v1.0 removes Text Completions API, requires Python 3.10+

Claude Platform release notes · published 2026-08-22 01:15 UTC
ACTION NEEDED MIGRATE APIDEPRECATION
WHAT CHANGEDReleased August 20, 2026. Python SDK v1.0 removes the legacy Text Completions API, the temperature/top_p/top_k parameters on Messages methods, and tool runner's client-side compaction_control. Minimum Python version is now 3.10. HTTP layer switches from httpx to httpx2. Async client .with_raw_response results now require await response.parse(). AnthropicBedrock no longer defaults to us-east-1 when AWS region is unconfigured.
WHY IT MATTERSCode using the removed Text Completions API or deprecated parameters will break immediately on upgrade. Applications running Python 3.9 or earlier cannot install this version. Async response handling that omits await response.parse() will fail. AnthropicBedrock calls without explicit region configuration will error instead of silently using us-east-1.
WHAT TO DOBefore upgrading: grep your codebase for 'text_completions', 'temperature', 'top_p', 'top_k' in Messages calls, and 'compaction_control'; verify Python version is 3.10+; check all .with_raw_response usage includes await response.parse(); confirm AnthropicBedrock has explicit region set. Consult the v1 migration guide for replacement patterns.
Model-reported confidence 95% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+## Claude Platform release notes — August 20, 2026
+https://platform.claude.com/docs/en/release-notes/overview#august-20-2026
+Thu, 20 Aug 2026 00:00:00 GMT
+
+We've released v1.0 of the Python SDK. The SDK's HTTP layer moves from httpx to httpx2, a maintained, API-compatible fork: build custom http_client, Timeout, and transport objects from httpx2 (the DefaultHttpxClient helpers are unchanged), and call httpx2.alias_httpx() at startup if you rely on tracing or mocking libraries that patch httpx. v1.0 requires Python 3.10 or later and removes long-deprecated surface, including the legacy Text Completions API, the temperature, top_p, and top_k parameters on Messages methods, and the tool runner's client-side compaction_control. On the async client, .with_raw_response results now need await response.parse(), and AnthropicBedrock now raises an error when no AWS region is configured instead of defaulting to us-east-1. See the v1 migration guide for every change with before-and-after snippets.
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.95, needed 0.45
triage reasoningMajor SDK version with multiple breaking changes and removed APIs requires engineering team action.
signalsmajor version release (v1.0) · breaking API changes (legacy Text Completions API removed) · deprecated parameters removed (temperature, top_p, top_k) · minimum Python version requirement (3.10+) · async client behavior change (await response.parse()) · error behavior change (AnthropicBedrock region default removed) · dependency change (httpx to httpx2) · migration guide referenced
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)