Anthropic › Anthropic Python SDK
Anthropic Python SDK 2.5.0
Anthropic · SDK / library · v2.5.0 · Released
View official release notes ↗ Copy link
Features
- api: add error details types and new error type values
- api: add ids filter to list workspaces
- client: add error classes for HTTP statuses and API error codes, and error_code, details and api_message on APIStatusError
Bug Fixes
- api: capitalize CMEK in error details type names
- api: move some error details types to the resource they describe
- bedrock: raise a ValueError when model is "." or ".." instead of sending the request to a different path
- bedrock: raise a ValueError when model is empty instead of sending the request to
/model//invoke - client: make OverloadedError and ServiceUnavailableError subclasses of InternalServerError
- client: make the first parse of each response model thread-safe
- client: reject path parameters such as '..;x' and ';x'
- client: validate unions correctly across threads on pydantic v1
- tools: keep the memory tool from renaming or deleting the /memories directory
- vertex: percent-encode the model, project ID and region in the request path
Chores
- api: update example values for pattern-constrained string fields
- ci: also run the tests with deferred pydantic model builds
- docs: clarify plugin reach values
- docs: clarify plugin version description and plugin reach
- docs: clarify plugin version description length
- docs: clarify some API field descriptions
- docs: clarify three error descriptions
- docs: clarify which blocks to send back around a fallback block
- docs: correct Claude Tag direct message notes in usage reports
- docs: reword Dream and RBAC role permission descriptions
- docs: update the telemetry destination headers description
- docs: use the Claude Platform name in analytics filter docs
- internal: accept changelog entry files in the changelog check
- internal: move error body helpers into the internal utils
- internal: remove stale TODO comments and a test that could not pass
- tests: check that a None path param is rejected
Documentation
- api: show each field's own description for
speed - clean up escapes and code spans in doc comments
Source: Anthropic's official Anthropic Python SDK release notes at github.com. Text reproduced from the source for reference; all rights belong to Anthropic. Patchwire is not affiliated with Anthropic.
← Older: v2.4.0Newer: v2.6.0 →
Get new Anthropic Python SDK releases by email
Every AI dev-tool release, including Anthropic Python SDK, in one short email each morning. Free. The digest is launching soon; join the list to get it from day one.
By subscribing you agree to our Terms and Privacy Policy. Unsubscribe anytime.
Nearby Anthropic Python SDK releases
- v2.6.0 · Nov 5, 2026
- v2.4.0 · Nov 2, 2026
- v2.3.0 · Oct 23, 2026
- v2.2.0 · Oct 23, 2026
- v2.1.0 · Oct 21, 2026
Full Anthropic Python SDK changelog →
More from Anthropic
Other Anthropic changelogs: Claude Code · Claude apps · Claude API · Anthropic TypeScript SDK · Claude Agent SDK. All Anthropic releases →