Releases: anthropics/anthropic-sdk-python
Releases Β· anthropics/anthropic-sdk-python
v0.47.0
v0.46.0
0.46.0 (2025-02-18)
Full Changelog: v0.45.2...v0.46.0
Features
- client: send
X-Stainless-Read-Timeoutheader (#858) (0e75983) - jsonl: add .close() method (#862) (137335c)
- pagination: avoid fetching when has_more: false (#860) (0cdb81d)
Bug Fixes
- asyncify on non-asyncio runtimes (#864) (f92b36d)
- internal: add back custom header naming support (#861) (cf851ae)
- jsonl: lower chunk size (#863) (38fb720)
Chores
- api: update openapi spec url (#852) (461d821)
- internal: bummp ruff dependency (#856) (590c3fa)
- internal: change default timeout to an int (#855) (3152e1a)
- internal: fix tests (fc41ba2)
- internal: fix type traversing dictionary params (#859) (c5b700d)
- internal: reorder model constants (#847) (aadd531)
- internal: update models used in tests (aadd531)
v0.45.2
v0.45.1
v0.45.0
v0.44.0
v0.43.1
0.43.1 (2025-01-17)
Full Changelog: v0.43.0...v0.43.1
Bug Fixes
- docs: correct results return type (69ad511)
Chores
v0.43.0
0.43.0 (2025-01-14)
Full Changelog: v0.42.0...v0.43.0
Features
- api: add message batch delete endpoint (#802) (9cf1e99)
- beta: add streaming helpers for beta messages (#819) (d913ba3)
Bug Fixes
- client: only call .close() when needed (#811) (21e0eb3)
- correctly handle deserialising
clsfields (#817) (60e56a5) - types: allow extra properties in input schemas (d0961c2)
Chores
- add missing isclass check (#806) (1fc034d)
- bump testing data uri (#800) (641ae8d)
- internal: bump httpx dependency (#809) (7d678f1)
- internal: minor reformatting (5a80668)
- internal: update deps (#820) (32c3e1a)
- internal: update examples (#810) (bb588ca)
- vertex: remove deprecated HTTP client options (3f4eada)
- vertex: remove deprecated HTTP client options (c82f3e8)
Documentation
Refactors
v0.42.0
v0.41.0
0.41.0 (2024-12-17)
Full Changelog: v0.40.0...v0.41.0
Features
- api: general availability updates (5db8538)
- api: general availability updates (#795) (c8d5e43)
- vertex: support token counting (6c3eded)
Bug Fixes
- internal: correct support for TypeAliasType (2f6ba9e)
Chores
- api: update spec version (#792) (f54c1da)
- bedrock/vertex: explicit error for unsupported messages endpoints (c4cf816)
- internal: add support for TypeAliasType (#786) (287ebd2)
- internal: bump pydantic dependency (#775) (99b4d06)
- internal: bump pyright (#769) (81f7d70)
- internal: bump pyright (#785) (44ab333)
- internal: remove some duplicated imports (#788) (576ae9b)
- internal: update spec (#793) (7cffc99)
- internal: updated imports (#789) (d163c08)
- make the
Omittype public (#772) (4ed0419) - remove deprecated HTTP client options (#777) (3933368)