Releases: anthropics/anthropic-sdk-python
Releases Β· anthropics/anthropic-sdk-python
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
Omit
type public (#772) (4ed0419) - remove deprecated HTTP client options (#777) (3933368)
Documentation
v0.40.0
0.40.0 (2024-11-28)
Full Changelog: v0.39.0...v0.40.0
Features
Bug Fixes
- asyncify: avoid hanging process under certain conditions (#756) (c71bba2)
- bedrock: correct URL encoding for model params (#759) (be4e73a)
- client: compat with new httpx 0.28.0 release (#765) (de51f60)
- don't use dicts as iterables in transform (#750) (1f71464)
- types: remove anthropic-instant-1.2 model (#744) (23637de)
Chores
- api: update spec version (#751) (4ec986c)
- ci: remove unneeded workflow (#742) (472b7d3)
- internal: exclude mypy from running on tests (#764) (bce763a)
- internal: fix compat model_dump method when warnings are passed (#760) (0e09236)
- internal: minor formatting changes (493020e)
- remove now unused
cached-property
dep (#762) (b9ffefe) - tests: adjust retry timeout values (#736) (27ed781)
- tests: limit array example length (#754) (6cab2b9)
Documentation
v0.39.0
0.39.0 (2024-11-04)
Full Changelog: v0.38.0...v0.39.0
β BREAKING CHANGES
- client: remove legacy
client.count_tokens()
method (#726)
Features
Bug Fixes
- don't use dicts as iterables in transform (#724) (62bb863)
- support json safe serialization for basemodel subclasses (#727) (5be855e)
- types: add missing token-counting-2024-11-01 (#722) (c549736)
Documentation
Refactors
v0.38.0
0.38.0 (2024-11-01)
Full Changelog: v0.37.1...v0.38.0
Features
Bug Fixes
- count_tokens: correctly set beta header (e5b4b54)
- types: add missing token-counting-2024-11-01 (1897883)
Chores
v0.37.1
v0.37.0
0.37.0 (2024-10-22)
Full Changelog: v0.36.2...v0.37.0
Features
- api: add new model and
computer-use-2024-10-22
beta (dd93d87) - bedrock: add messages beta (2566c93)
- vertex: add messages beta (0d1f1a6)
Bug Fixes
Chores
v0.36.2
v0.36.1
v0.36.0
0.36.0 (2024-10-08)
Full Changelog: v0.35.0...v0.36.0
Features
- api: add message batches api (cd1ffcb)