Skip to content

Releases: anthropics/anthropic-sdk-python

v0.29.2

26 Jun 15:54
Compare
Choose a tag to compare

0.29.2 (2024-06-26)

Full Changelog: v0.29.1...v0.29.2

Bug Fixes

  • temporarily patch upstream version to fix broken release flow (#555) (5471710)

v0.29.1

25 Jun 20:12
Compare
Choose a tag to compare

0.29.1 (2024-06-25)

Full Changelog: v0.29.0...v0.29.1

Bug Fixes

  • api: add string to tool result block (#554) (f283b4e)
  • docs: fix link to advanced python httpx docs (#550) (474ff7c)

v0.29.0

20 Jun 13:55
Compare
Choose a tag to compare

0.29.0 (2024-06-20)

Full Changelog: v0.28.1...v0.29.0

Features

  • api: add new claude-3-5-sonnet-20240620 model (#545) (5ea6b18)

Bug Fixes

  • client/async: avoid blocking io call for platform headers (#544) (3c2b75f)

Chores

  • internal: add a default_query method (#540) (0253ebc)

v0.28.1

14 Jun 18:06
Compare
Choose a tag to compare

0.28.1 (2024-06-14)

Full Changelog: v0.28.0...v0.28.1

Documentation

  • readme: tool use is no longer in beta (d2be3c0)

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