Skip to content

Releases: anthropics/anthropic-sdk-python

v0.84.0

25 Feb 05:22

Choose a tag to compare

0.84.0 (2026-02-25)

Full Changelog: v0.83.0...v0.84.0

Features

  • api: change array_format to brackets (925d2ad)
  • api: remove publishing section from cli target (7bc7ceb)
  • helpers: add conversion helpers for MCP tools, prompts, and resources (#1383) (9489751)

Chores

  • add missing raw jsonl results method (1009d4a)
  • internal: add request options to SSE classes (4f4bc8e)
  • internal: make test_proxy_environment_variables more resilient (f7056e0)
  • internal: make test_proxy_environment_variables more resilient to env (143efcc)
  • internal: simplify http snapshots (#1092) (4a4dc9f)
  • internal: update jsonl tests (a8e6a6e)

Documentation

  • rebrand to Claude SDK and streamline README (6b54405)

v0.83.0

19 Feb 19:26

Choose a tag to compare

0.83.0 (2026-02-19)

Full Changelog: v0.82.0...v0.83.0

Features

  • api: Add top-level cache control (automatic caching) (a940123)

Chores

  • update mock server docs (34ef48c)

v0.82.0

18 Feb 20:24
c6499b9

Choose a tag to compare

0.82.0 (2026-02-18)

Full Changelog: v0.81.0...v0.82.0

Features

  • api: fix shared UserLocation and error code types (da3b931)

Bug Fixes

  • add backward-compat aliases for removed nested UserLocation classes (#1409) (56db1e3)

v0.81.0

18 Feb 04:00
acc4720

Choose a tag to compare

0.81.0 (2026-02-18)

Full Changelog: v0.80.0...v0.81.0

Features

  • api: Make new tool versions available as top level tool types (0a385c2)

v0.80.0

17 Feb 19:25
4de03c2

Choose a tag to compare

0.80.0 (2026-02-17)

Full Changelog: v0.79.0...v0.80.0

Features

  • api: Releasing claude-sonnet-4-6 (d518d6e)

Bug Fixes

Chores

  • format all api.md files (28a0eb5)
  • internal: bump dependencies (99f3014)
  • internal: fix lint error on Python 3.14 (a90d71b)

Refactors

  • vertex: remove redundant isinstance check in load_auth (#1387) (6b7a7dc)

v0.79.0

07 Feb 18:05

Choose a tag to compare

0.79.0 (2026-02-07)

Full Changelog: v0.78.0...v0.79.0

Features

  • api: enabling fast-mode in claude-opus-4-6 (5953ba7)

Bug Fixes

  • pass speed parameter through in sync beta count_tokens (1dd6119)

v0.78.0

05 Feb 17:51

Choose a tag to compare

0.78.0 (2026-02-05)

Full Changelog: v0.77.1...v0.78.0

Features

  • api: Release Claude Opus 4.6, adaptive thinking, and other features (3ef1529)

v0.77.1

03 Feb 17:43

Choose a tag to compare

0.77.1 (2026-02-03)

Full Changelog: v0.77.0...v0.77.1

Bug Fixes

  • structured outputs: send structured output beta header when format is omitted (#1158) (258494e)

Chores

v0.77.0

29 Jan 18:20
9c485f6

Choose a tag to compare

0.77.0 (2026-01-29)

Full Changelog: v0.76.0...v0.77.0

Features

  • api: add support for Structured Outputs in the Messages API (ad56677)
  • api: migrate sending message format in output_config rather than output_format (af405e4)
  • client: add custom JSON encoder for extended type support (7780e90)
  • use output_config for structured outputs (82d669d)

Bug Fixes

  • client: run formatter (2e4ff86)
  • remove class causing breaking change (#1333) (81ee953)
  • structured outputs: avoid including beta header if output_format is missing (#1121) (062077e)

Chores

  • ci: upgrade actions/github-script (34df616)
  • internal: update actions/checkout version (ea50de9)

v0.76.0

13 Jan 18:40

Choose a tag to compare

0.76.0 (2026-01-13)

Full Changelog: v0.75.0...v0.76.0

Features

  • allow raw JSON schema to be passed to messages.stream() (955c61d)
  • client: add support for binary request streaming (5302f27)
  • tool runner: add support for server-side tools (#1086) (1521316)

Bug Fixes

  • client: loosen auth header validation (5a0b89b)
  • ensure streams are always closed (388bd0c)
  • types: allow pyright to infer TypedDict types within SequenceNotStr (ede3242)
  • use async_to_httpx_files in patch method (718fa8e)

Chores

  • add missing docstrings (d306605)
  • bump required uv version (90634f3)
  • ci: Add Claude Code GitHub Workflow (#1293) (83d1c4a)
  • deps: mypy 1.18.1 has a regression, pin to 1.17 (21c6374)
  • docs: use environment variables for authentication in code snippets (87aa378)
  • fix docstring (51fca79)
  • internal: add --fix argument to lint script (8914b7a)
  • internal: add missing files argument to base client (6285abc)
  • internal: avoid using unstable Python versions in tests (4547171)
  • update lockfile (d7ae1fc)
  • update uv.lock (746ac05)