Skip to content

Releases: anthropics/anthropic-sdk-python

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)

v0.4.0

13 Oct 18:07
Compare
Choose a tag to compare

0.4.0 (2023-10-13)

Full Changelog: v0.3.14...v0.4.0

Features

Bug Fixes

  • client: correctly handle arguments with env vars (#178) (91a0e2a)

Chores

Documentation

Refactors

v0.3.14

11 Oct 20:28
Compare
Choose a tag to compare

0.3.14 (2023-10-11)

Full Changelog: v0.3.13...v0.3.14

Features

  • client: add forwards-compatible pydantic methods (#171) (4c5289e)
  • client: add support for passing in a httpx client (#173) (25046c4)
  • client: handle retry-after header with a date format (#168) (afeabf1)
  • client: retry on 408 Request Timeout (#155) (46386f8)
  • package: export a root error type (#163) (e7aa3e7)
  • types: improve params type names (#160) (43544a6)

Bug Fixes

  • client: don't error by default for unexpected content types (#161) (76cfcf9)
  • client: properly configure model set fields (#154) (da6ccb1)

Chores

  • internal: add helpers (#156) (00f5a19)
  • internal: move error classes from _base_exceptions to _exceptions (⚠️ breaking) (#162) (329b307)
  • tests: improve raw response test (#166) (8042473)

Documentation

v0.3.13

12 Sep 17:58
Compare
Choose a tag to compare

0.3.13 (2023-09-11)

Full Changelog: v0.3.12...v0.3.13

Features

  • types: de-duplicate nested streaming params types (#141) (f76f053)

Bug Fixes

  • client: properly handle optional file params (#142) (11196b7)

Chores

Documentation

v0.3.12

06 Sep 17:22
Compare
Choose a tag to compare

0.3.12 (2023-08-29)

Full Changelog: v0.3.11...v0.3.12

Chores

  • ci: setup workflows to create releases and release PRs (#130) (8f1048b)
  • internal: use shared params references (#133) (feaf6aa)

v0.3.11

26 Aug 18:56
Compare
Choose a tag to compare

0.3.11 (2023-08-26)

Documentation

  • readme: make print statements in streaming examples flush (#123) (d24dfaf)

Chores

v0.3.10

16 Aug 21:00
Compare
Choose a tag to compare

0.3.10 (2023-08-16)

Features

Chores

v0.3.9

12 Aug 01:12
Compare
Choose a tag to compare

0.3.9 (2023-08-12)

Features

  • docs: remove extraneous space in examples (#109) (6d5c1f7)

Bug Fixes

  • docs: correct async imports (1ea1bf3)

Documentation

  • readme: remove beta status + document versioning policy (#102) (2f0a0f9)

Chores

v0.3.8

01 Aug 22:28
Compare
Choose a tag to compare

0.3.8 (2023-08-01)

Features

  • client: add constants to client instances as well (#95) (d0fbe33)

Chores

  • internal: bump pyright (#94) (d2872dc)
  • internal: make demo example runnable and more portable (#92) (dea1aa2)

Documentation

  • readme: add token counting reference (#96) (79a339e)