Releases: anthropics/anthropic-sdk-python
Releases Β· anthropics/anthropic-sdk-python
v0.53.0
0.53.0 (2025-06-09)
Full Changelog: v0.52.2...v0.53.0
Features
- client: add follow_redirects request option (e5238c0)
- client: add support for new text_editor_20250429 tool (b3b3f5b)
Bug Fixes
- client: deprecate BetaBase64PDFBlock in favor of BetaRequestDocumentBlock (5ac58e9)
- internal: fix typing remapping (6c415da)
Chores
v0.52.2
0.52.2 (2025-06-02)
Full Changelog: v0.52.1...v0.52.2
Bug Fixes
- client: fix issue with server_tool_use input tracking and improve tests (3fe3fa2)
- docs: remove reference to rye shell (2b3d677)
Chores
- docs: remove unnecessary param examples (6b129f4)
Refactors
- pkg: switch from rye to uv (f553908)
v0.52.1
v0.52.0
0.52.0 (2025-05-22)
Full Changelog: v0.51.0...v0.52.0
Features
- api: add claude 4 models, files API, code execution tool, MCP connector and more (9c48bc6)
Bug Fixes
- package: support direct resource imports (6d73bab)
Chores
- ci: fix installation instructions (ca374e5)
- ci: upload sdks to package manager (fde0c44)
- internal: avoid errors for isinstance checks on proxies (ef4be3f)
- internal: codegen related update (40359d9)
Documentation
v0.51.0
0.51.0 (2025-05-07)
Full Changelog: v0.50.0...v0.51.0
Features
- api: adds web search capabilities to the Claude API (bec0cf9)
Bug Fixes
- pydantic v1: more robust ModelField.annotation check (c50f406)
- sockets: handle non-portable socket flags (#935) (205c8dd)
Chores
- broadly detect json family of content-type headers (66bbb3a)
- ci: only use depot for staging repos (c867a11)
- ci: run on more branches and use depot runners (95f5f17)
- internal: add back missing custom modifications for Web Search (f43ba69)
- internal: minor formatting changes (8afef08)
- use lazy imports for resources (704be81)
v0.50.0
0.50.0 (2025-04-22)
Full Changelog: v0.49.0...v0.50.0
Features
- api: extract ContentBlockDelta events into their own schemas (#920) (ae773d6)
- api: manual updates (46ac1f8)
- api: manual updates (48d9739)
- api: manual updates (66e8cc3)
- api: manual updates (a74746e)
Bug Fixes
- ci: ensure pip is always available (#907) (3632687)
- ci: remove publishing patch (#908) (cae0323)
- client: deduplicate stop reason type (#913) (3ab0194)
- client: send all configured auth headers (#929) (9d2581e)
- perf: optimize some hot paths (cff76cb)
- perf: skip traversing types for NotGiven values (dadac7f)
- project: bump httpx minimum version to 0.25.0 (b554138), closes #902
- types: handle more discriminated union shapes (#906) (2fc179a)
- vertex: explicitly include requests extra (2b1221b)
Chores
- add hash of OpenAPI spec/config inputs to .stats.yml (#912) (ddf7835)
- ci: add timeout thresholds for CI jobs (7226a5c)
- client: minor internal fixes (99b9a38)
- internal: add back release workflow (ce18972)
- internal: base client updates (2e08c71)
- internal: bump pyright version (d9ea30e)
- internal: bump rye to 0.44.0 (#905) (e1a1b14)
- internal: expand CI branch coverage (#934) (b23fdc9)
- internal: fix list file params (cfbaaf9)
- internal: import ordering changes (#895) (b8da2f7)
- internal: import reformatting (5e6cd74)
- internal: reduce CI branch coverage (07e813f)
- internal: refactor retries to not use recursion (4354e82)
- internal: remove CI condition (#916) (043b56b)
- internal: remove extra empty newlines (#904) (cfe8f6e)
- internal: remove trailing character (#924) (dc8e781)
- internal: remove unused http client options forwarding (#890) (e0428bf)
- internal: slight transform perf improvement (#931) (3ed4e5e)
- internal: update config (#914) (a697234)
- internal: update models test (b1e031d)
- internal: update pyright settings (38bdc6c)
- internal: variable name and test updates (#925) (f5d0809)
- tests: improve enum examples (#932) (808aaf3)
- vertex: improve error message when missing extra (15dc4cb)
Documentation
v0.49.0
v0.48.0
0.48.0 (2025-02-27)
Full Changelog: v0.47.2...v0.48.0
Features
Documentation
- add thinking examples (f463248)
v0.47.2
0.47.2 (2025-02-25)
Full Changelog: v0.47.1...v0.47.2
Bug Fixes
- beta: add thinking to beta.messages.stream (69e3db1)