Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.236 Home All releases olderv2.1.235 v2.1.237newer
Claude Code v2.1.236

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

Use it now
Useful3 Signal2
Docs

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

/claude-api upgrade
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.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.236 →