Releases: anthropics/anthropic-sdk-python
Releases Β· anthropics/anthropic-sdk-python
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)
Bug Fixes
Chores
Refactors
v0.35.0
0.35.0 (2024-10-04)
Full Changelog: v0.34.2...v0.35.0
Features
- api: support disabling parallel tool use (#674) (9079a99)
- bedrock: add
profile
argument to client (#648) (6ea5fce) - client: allow overriding retry count header (#670) (1fb081f)
- client: send retry count header (#664) (17c26d5)
Bug Fixes
- client: handle domains with underscores (#663) (84ad451)
- types: correctly mark stream discriminator as optional (#657) (2386f98)
Chores
- add docstrings to raw response properties (#654) (35e6cf7)
- internal: add support for parsing bool response content (#675) (0bbc0a3)
- internal: bump pyright / mypy version (#662) (c03a71f)
- internal: bump ruff (#660) (0a34018)
- internal: update pydantic v1 compat helpers (#666) (ee8e2bd)
- internal: use
typing_extensions.overload
instead oftyping
(#667) (153361d) - pyproject.toml formatting changes (#650) (4c229dc)