Skip to content

Releases: anthropics/anthropic-sdk-python

v0.28.0

30 May 17:29
Compare
Choose a tag to compare

0.28.0 (2024-05-30)

Full Changelog: v0.27.0...v0.28.0

⚠ BREAKING CHANGES

  • streaming: remove old event_handler API (#532)

Refactors

  • streaming: remove old event_handler API (#532) (d9acfd4)

v0.27.0

30 May 15:48
Compare
Choose a tag to compare

0.27.0 (2024-05-30)

Full Changelog: v0.26.2...v0.27.0

Features

  • api: tool use is GA and available on 3P (#530) (ad7adbd)
  • streaming/messages: refactor to event iterator structure (997af69)
  • streaming/tools: refactor to event iterator structure (bdcc283)
  • streaming: add tools support (9f00950)

Bug Fixes

  • beta: streaming breakage due to breaking change in dependency (afe3c87)

Chores

  • add missing all definitions (#526) (5021787)
  • examples: update tools (56edecc)
  • formatting: misc fixups (fbad5a0)
  • internal: fix lint issues in tests (d857640)
  • internal: update bootstrap script (#527) (93ae152)
  • internal: update some references to rye-up.com (00e34e7)
  • tests: ensure messages.create() and messages.stream() stay in sync (52bd67b)

Documentation

  • helpers: mention input json event (02d482c)
  • helpers: update for new event iterator (26f9533)

Refactors

  • api: add Raw prefix to API stream event type names (#529) (bb62980)

v0.26.2

27 May 20:17
Compare
Choose a tag to compare

0.26.2 (2024-05-27)

Full Changelog: v0.26.1...v0.26.2

Bug Fixes

  • vertex: don't error if project_id couldn't be loaded if it was already explicitly given (#513) (e7159d8)

Chores

  • ci: update rye install location (#516) (a6e347a)
  • ci: update rye install location (#518) (5122420)
  • internal: bump pyright (196e4b0)
  • internal: remove unused __events stream property (472b831)
  • internal: restructure streaming implementation to use composition (b1a1c03)
  • messages: add back-compat for isinstance() checks (7794bcb)
  • tests: fix lints (#521) (d96fc53)

Documentation

  • contributing: update references to rye-up.com (6486898)

v0.26.1

21 May 17:05
Compare
Choose a tag to compare

0.26.1 (2024-05-21)

Full Changelog: v0.26.0...v0.26.1

Chores

v0.26.0

16 May 15:23
Compare
Choose a tag to compare

0.26.0 (2024-05-16)

Full Changelog: v0.25.9...v0.26.0

Features

  • api: add tool_choice param, image block params inside tool_result.content, and streaming for tool_use blocks (#502) (e0bc274)

Chores

v0.25.9

14 May 22:37
Compare
Choose a tag to compare

0.25.9 (2024-05-14)

Full Changelog: v0.25.8...v0.25.9

Bug Fixes

Chores

v0.25.8

08 May 00:05
Compare
Choose a tag to compare

0.25.8 (2024-05-07)

Full Changelog: v0.25.7...v0.25.8

Chores

  • client: log response headers in debug mode (#480) (d1c4d14)
  • internal: add link to openapi spec (#484) (876cd0d)
  • internal: add scripts/test, scripts/mock and add ci job (#486) (6111fe8)
  • internal: bump prism version (#487) (98fb3e6)

Documentation

  • readme: fix misleading timeout example value (#489) (b465bce)

v0.25.7

29 Apr 14:07
Compare
Choose a tag to compare

0.25.7 (2024-04-29)

Full Changelog: v0.25.6...v0.25.7

Bug Fixes

Chores

v0.25.6

18 Apr 18:03
Compare
Choose a tag to compare

0.25.6 (2024-04-18)

Full Changelog: v0.25.5...v0.25.6

Chores

v0.25.5

18 Apr 00:06
Compare
Choose a tag to compare

0.25.5 (2024-04-17)

Full Changelog: v0.25.4...v0.25.5

Chores