Skip to content

Releases: anthropics/anthropic-sdk-python

v0.7.8

13 Dec 18:07
Compare
Choose a tag to compare

0.7.8 (2023-12-12)

Full Changelog: v0.7.7...v0.7.8

Bug Fixes

  • avoid leaking memory when Client.with_options is used (#275) (5e51ebd)
  • client: correct base_url setter implementation (#265) (29d0c8b)
  • client: ensure retried requests are closed (#261) (5d9aa75)
  • errors: properly assign APIError.body (#274) (342846f)

Chores

Documentation

Refactors

v0.7.7

29 Nov 15:07
Compare
Choose a tag to compare

0.7.7 (2023-11-29)

Full Changelog: v0.7.6...v0.7.7

Chores

v0.7.6

28 Nov 18:07
Compare
Choose a tag to compare

0.7.6 (2023-11-28)

Full Changelog: v0.7.5...v0.7.6

Chores

v0.7.5

27 Nov 14:06
Compare
Choose a tag to compare

0.7.5 (2023-11-24)

Full Changelog: v0.7.4...v0.7.5

Chores

  • internal: revert recent options change (#252) (d60d5c3)
  • internal: send more detailed x-stainless headers (#254) (a268d4b)

v0.7.4

23 Nov 06:07
Compare
Choose a tag to compare

0.7.4 (2023-11-23)

Full Changelog: v0.7.3...v0.7.4

Chores

v0.7.3

21 Nov 21:06
Compare
Choose a tag to compare

0.7.3 (2023-11-21)

Full Changelog: v0.7.2...v0.7.3

Bug Fixes

  • client: attempt to parse unknown json content types (#243) (9fc275f)

Chores

v0.7.2

18 Nov 00:22
Compare
Choose a tag to compare

0.7.2 (2023-11-17)

Full Changelog: v0.7.1...v0.7.2

Chores

  • internal: update type hint for helper function (#241) (3179104)

v0.7.1

17 Nov 05:06
Compare
Choose a tag to compare

0.7.1 (2023-11-16)

Full Changelog: v0.7.0...v0.7.1

Documentation

v0.7.0

16 Nov 01:31
Compare
Choose a tag to compare

0.7.0 (2023-11-15)

Full Changelog: v0.6.0...v0.7.0

Features

  • client: support reading the base url from an env variable (#237) (dd91bfd)

Bug Fixes

  • client: correctly flush the stream response body (#230) (a60d543)
  • client: retry if SSLWantReadError occurs in the async client (#233) (33b553a)
  • client: serialise pydantic v1 default fields correctly in params (#232) (d5e70e8)
  • models: mark unknown fields as set in pydantic v1 (#231) (4ce7a1e)

Chores

  • internal: fix devcontainer interpeter path (#235) (7f92e25)
  • internal: fix typo in NotGiven docstring (#234) (ce5cccc)

Documentation

v0.6.0

09 Nov 11:06
Compare
Choose a tag to compare

0.6.0 (2023-11-08)

Full Changelog: v0.5.1...v0.6.0

Features

  • client: adjust retry behavior to be exponential backoff (#205) (c8a4119)
  • client: allow binary returns (#217) (159ddd6)
  • client: improve file upload types (#204) (d85d1e0)
  • client: support accessing raw response objects (#211) (ebe8e4a)
  • client: support passing BaseModels to request params at runtime (#218) (9f04ea6)
  • client: support passing chunk size for binary responses (#227) (c88f01e)
  • client: support passing httpx.Timeout to method timeout argument (#222) (ef58166)
  • github: include a devcontainer setup (#216) (c9fee19)
  • package: add classifiers (#214) (380967e)

Bug Fixes

  • binaries: don't synchronously block in astream_to_file (#219) (2a2a617)
  • prevent TypeError in Python 3.8 (ABC is not subscriptable) (#221) (893e885)

Chores

Documentation