Skip to content

Releases: anthropics/anthropic-sdk-python

v0.36.2

17 Oct 18:43
Compare
Choose a tag to compare

0.36.2 (2024-10-17)

Full Changelog: v0.36.1...v0.36.2

Bug Fixes

  • types: remove misleading betas TypedDict property for the Batch API (#697) (e1b9e31)

Chores

v0.36.1

15 Oct 18:41
Compare
Choose a tag to compare

0.36.1 (2024-10-15)

Full Changelog: v0.36.0...v0.36.1

Bug Fixes

  • allow header params to override default headers (#690) (56f195f)
  • beta: merge betas param with the default value (#695) (f52eac9)

Chores

v0.36.0

08 Oct 15:48
Compare
Choose a tag to compare

0.36.0 (2024-10-08)

Full Changelog: v0.35.0...v0.36.0

Features

  • api: add message batches api (cd1ffcb)

Bug Fixes

  • client: avoid OverflowError with very large retry counts (#676) (93d6eeb)

Chores

Refactors

v0.35.0

04 Oct 15:41
Compare
Choose a tag to compare

0.35.0 (2024-10-04)

Full Changelog: v0.34.2...v0.35.0

Features

  • api: support disabling parallel tool use (#674) (9079a99)
  • bedrock: add profile argument to client (#648) (6ea5fce)
  • client: allow overriding retry count header (#670) (1fb081f)
  • client: send retry count header (#664) (17c26d5)

Bug Fixes

  • client: handle domains with underscores (#663) (84ad451)
  • types: correctly mark stream discriminator as optional (#657) (2386f98)

Chores

  • add docstrings to raw response properties (#654) (35e6cf7)
  • internal: add support for parsing bool response content (#675) (0bbc0a3)
  • internal: bump pyright / mypy version (#662) (c03a71f)
  • internal: bump ruff (#660) (0a34018)
  • internal: update pydantic v1 compat helpers (#666) (ee8e2bd)
  • internal: use typing_extensions.overload instead of typing (#667) (153361d)
  • pyproject.toml formatting changes (#650) (4c229dc)

Documentation

  • fix typo in fenced code block language (#673) (a03414e)
  • improve and reference contributing documentation (#672) (5bd9690)
  • readme: add section on determining installed version (#655) (5898f42)
  • update CONTRIBUTING.md (#659) (2df25bf)

v0.34.2

04 Sep 17:55
Compare
Choose a tag to compare

0.34.2 (2024-09-04)

Full Changelog: v0.34.1...v0.34.2

Chores

v0.34.1

20 Aug 00:44
Compare
Choose a tag to compare

0.34.1 (2024-08-19)

Full Changelog: v0.34.0...v0.34.1

Chores

  • ci: add CODEOWNERS file (#639) (33001cc)
  • client: fix parsing union responses when non-json is returned (#643) (45be91d)
  • docs/api: update prompt caching helpers (6a55aee)
  • internal: use different 32bit detection method (#640) (d6b2b63)

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)