Skip to content

Releases: anthropics/anthropic-sdk-python

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

v0.5.1

07 Nov 17:11
Compare
Choose a tag to compare

0.5.1 (2023-10-20)

Full Changelog: v0.5.0...v0.5.1

Chores

v0.5.0

18 Oct 21:06
Compare
Choose a tag to compare

0.5.0 (2023-10-18)

Full Changelog: v0.4.1...v0.5.0

Features

  • client: support passing httpx.URL instances to base_url (#197) (fe61308)

Chores

v0.4.1

16 Oct 21:06
Compare
Choose a tag to compare

0.4.1 (2023-10-16)

Full Changelog: v0.4.0...v0.4.1

Bug Fixes

  • client: accept io.IOBase instances in file params (#190) (5da5f0c)
  • streaming: add additional overload for ambiguous stream param (#185) (794dc4d)

Chores

Documentation

  • organisation -> organization (UK to US English) (#192) (901a330)