Skip to content

Releases: anthropics/anthropic-sdk-python

v0.34.0

14 Aug 16:00
Compare
Choose a tag to compare

0.34.0 (2024-08-14)

Full Changelog: v0.33.1...v0.34.0

Features

  • api: add prompt caching beta (3978411)
  • client: add streaming helpers for prompt caching (98a0a7b)

Chores

v0.33.1

12 Aug 16:07
Compare
Choose a tag to compare

0.33.1 (2024-08-12)

Full Changelog: v0.33.0...v0.33.1

Chores

  • ci: bump prism mock server version (#630) (29545ee)
  • internal: ensure package is importable in lint cmd (#632) (d685824)

v0.33.0

09 Aug 07:19
Compare
Choose a tag to compare

0.33.0 (2024-08-09)

Full Changelog: v0.32.0...v0.33.0

Features

  • client: add retries_taken to raw response class (43fb587)

Chores

v0.32.0

29 Jul 21:25
Compare
Choose a tag to compare

0.32.0 (2024-07-29)

Full Changelog: v0.31.2...v0.32.0

Features

  • add back compat alias for InputJsonDelta (25a5b6c)

Bug Fixes

  • change signatures for the stream function (c9eb11b)
  • client: correctly apply client level timeout for messages (#615) (5f8d88f)

Chores

Refactors

  • extract model out to a named type and rename partialjson (#612) (c53efc7)

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)