Skip to content

Releases: anthropics/anthropic-sdk-python

v0.31.2

17 Jul 14:53
Compare
Choose a tag to compare

0.31.2 (2024-07-17)

Full Changelog: v0.31.1...v0.31.2

Bug Fixes

  • vertex: also refresh auth if there is no token (4a8d02d)
  • vertex: correct request options in retries (460547b)

Chores

  • docs: minor update to formatting of API link in README (#594) (113b6ac)
  • internal: update formatting (#597) (565dfcd)
  • tests: faster bedrock retry tests (4ff067f)

v0.31.1

15 Jul 13:36
Compare
Choose a tag to compare

0.31.1 (2024-07-15)

Full Changelog: v0.31.0...v0.31.1

Bug Fixes

  • bedrock: correct request options for retries (#593) (f68c81d)

Chores

  • ci: also run workflows for PRs targeting next (#587) (f7e49f2)
  • internal: minor changes to tests (#591) (fabd591)
  • internal: minor formatting changes (a71927b)
  • internal: minor import restructuring (#588) (1d9db4f)
  • internal: minor options / compat functions updates (#592) (d41a880)
  • internal: update mypy (#584) (0a0edce)

v0.31.0

10 Jul 14:28
Compare
Choose a tag to compare

0.31.0 (2024-07-10)

Full Changelog: v0.30.1...v0.31.0

Features

  • client: make request-id header more accessible (#581) (130d470)
  • vertex: add copy and with_options (#578) (fcd425f)

Bug Fixes

  • client: always respect content-type multipart/form-data if provided (#574) (6051763)
  • streaming/messages: more robust event type construction (#576) (98e2075)
  • types: allow arbitrary types in image block param (#582) (ebd6590)
  • Updated doc typo (17be06b)
  • vertex: avoid credentials refresh on every request (#575) (37bd433)

Chores

  • ci: update rye to v0.35.0 (#577) (e271d69)
  • internal: add helper method for constructing BaseModels (#572) (8e626ac)
  • internal: fix formatting (a912917)
  • internal: minor request options handling changes (#580) (d1dcf42)

v0.30.1

02 Jul 01:53
Compare
Choose a tag to compare

0.30.1 (2024-07-01)

Full Changelog: v0.30.0...v0.30.1

Bug Fixes

  • build: include more files in sdist builds (#559) (9170d08)

Chores

v0.30.0

26 Jun 18:14
Compare
Choose a tag to compare

0.30.0 (2024-06-26)

Full Changelog: v0.29.2...v0.30.0

Features

v0.29.2

26 Jun 15:54
Compare
Choose a tag to compare

0.29.2 (2024-06-26)

Full Changelog: v0.29.1...v0.29.2

Bug Fixes

  • temporarily patch upstream version to fix broken release flow (#555) (5471710)

v0.29.1

25 Jun 20:12
Compare
Choose a tag to compare

0.29.1 (2024-06-25)

Full Changelog: v0.29.0...v0.29.1

Bug Fixes

  • api: add string to tool result block (#554) (f283b4e)
  • docs: fix link to advanced python httpx docs (#550) (474ff7c)

v0.29.0

20 Jun 13:55
Compare
Choose a tag to compare

0.29.0 (2024-06-20)

Full Changelog: v0.28.1...v0.29.0

Features

  • api: add new claude-3-5-sonnet-20240620 model (#545) (5ea6b18)

Bug Fixes

  • client/async: avoid blocking io call for platform headers (#544) (3c2b75f)

Chores

  • internal: add a default_query method (#540) (0253ebc)

v0.28.1

14 Jun 18:06
Compare
Choose a tag to compare

0.28.1 (2024-06-14)

Full Changelog: v0.28.0...v0.28.1

Documentation

  • readme: tool use is no longer in beta (d2be3c0)

v0.28.0

30 May 17:29
Compare
Choose a tag to compare

0.28.0 (2024-05-30)

Full Changelog: v0.27.0...v0.28.0

⚠ BREAKING CHANGES

  • streaming: remove old event_handler API (#532)

Refactors

  • streaming: remove old event_handler API (#532) (d9acfd4)