Skip to content

Releases: anthropics/anthropic-sdk-python

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)

v0.3.7

29 Jul 01:24
Compare
Choose a tag to compare

0.3.7 (2023-07-29)

Features

  • client: add client close handlers (#89) (2520a03)

Bug Fixes

  • client: correctly handle environment variable access (aa53754)

Documentation

  • readme: use client everywhere for consistency (0ff8924)

Chores

  • internal: minor refactoring of client instantiation (adf9158)
  • internal: minor reformatting of code (#90) (1175572)