Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.236 ·

Bundled guide for upgrading the anthropic Python SDK to 1.x

A bundled guide walks your project through upgrading the anthropic Python SDK to 1.x.

Use it now New Features
JSON All of v2.1.236
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
DocsArea: what it touches
New FeaturesKind: in v2.1.236,
What probably matters to youSection of the release
What

A new reference document ships inside Claude Code, reached from the /claude-api upgrade flow, walking a project through the 0.x to 1.x migration step by step.

Details
  • Steps covered: bump the pin, raise the Python floor to 3.10, move httpx objects that cross the SDK boundary to the httpx2 fork or call httpx2.alias_httpx() at an entry point, await .with_raw_response body reads on async clients, port completions.create plus HUMAN_PROMPT/AI_PROMPT to Messages, drop temperature/top_p/top_k, rewrite raw output_format={...} as output_config={"format": {...}}, and supply an explicit Bedrock region.
  • The document is a plain text constant in the bundle with no gate around it.
Evidence

# Upgrading the anthropic Python SDK: 0.x → 1.x

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundle/claude-api upgrade

See this entry in the whole of v2.1.236 →

Feedback