Skip to content

Releases: anthropics/anthropic-sdk-go

v1.26.0

19 Feb 22:44

Choose a tag to compare

1.26.0 (2026-02-19)

Full Changelog: v1.25.1...v1.26.0

Features

  • api: Add top-level cache control (automatic caching) (75f9f70)
  • client: add BetaToolRunner for automatic tool use loops (#603) (e44128a)

Chores

  • internal: codegen related update (6247d2f)

v1.25.1

19 Feb 19:39

Choose a tag to compare

1.25.1 (2026-02-19)

Full Changelog: v1.25.0...v1.25.1

Bug Fixes

  • client: use correct format specifier for header serialization (9115a61)

v1.25.0

18 Feb 20:22

Choose a tag to compare

1.25.0 (2026-02-18)

Full Changelog: v1.24.0...v1.25.0

Features

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

v1.24.0

18 Feb 03:58

Choose a tag to compare

1.24.0 (2026-02-18)

Full Changelog: v1.23.0...v1.24.0

Features

  • api: Make new tool versions available as top level tool types (54d01f5)

v1.23.0

17 Feb 19:51

Choose a tag to compare

1.23.0 (2026-02-17)

Full Changelog: v1.22.1...v1.23.0

Features

  • api: Releasing claude-sonnet-4-6 (782d5a5)

Bug Fixes

  • api: fix spec errors (15e6a5a)
  • remove duplicate ServerToolUseBlock struct declaration (#595) (d4ece8a)

v1.22.1

10 Feb 20:35

Choose a tag to compare

1.22.1 (2026-02-10)

Full Changelog: v1.22.0...v1.22.1

Bug Fixes

  • encoder: correctly serialize NullStruct (1435f8a)

v1.22.0

07 Feb 17:58

Choose a tag to compare

1.22.0 (2026-02-07)

Full Changelog: v1.21.0...v1.22.0

Features

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

v1.21.0

05 Feb 17:52

Choose a tag to compare

1.21.0 (2026-02-05)

Full Changelog: v1.20.0...v1.21.0

Features

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

Chores

  • ci: remove claude-code-review workflow (31db702)

v1.20.0

29 Jan 17:25

Choose a tag to compare

1.20.0 (2026-01-29)

Full Changelog: v1.19.0...v1.20.0

Features

  • api: add support for Structured Outputs in the Messages API (10c3821)
  • api: migrate sending message format in output_config rather than output_format (f996db4)
  • client: add a convenient param.SetJSON helper (427514e)
  • encoder: support bracket encoding form-data object members (eaaeadf)

Bug Fixes

  • accumulator: revert to marshal accumulator on stop events (#563) (096a8a8)
  • client: retain streaming when user sets request body (6d073fe)
  • docs: add missing pointer prefix to api.md return types (23aaf6d)
  • mcp: correct code tool API endpoint (6c8a083)
  • rename param to avoid collision (6d1cf75)
  • streaming endpoints should pass through errors correctly (e584c87)
  • to-param: remove panics and add cases (#524) (f689816)

Chores

  • add float64 to valid types for RegisterFieldValidator (b6bec73)
  • ci: Add Claude Code GitHub Workflow (a151836)
  • client: improve example values (8af69b8)
  • client: mark claude-3-5-haiku as deprecated (dcac65c)
  • elide duplicate aliases (c8e2ee1)
  • internal: codegen related update (931c976)
  • internal: update actions/checkout version (3bd83ec)
  • internal: use different example values for some enums (f2d46b8)

v1.19.0

24 Nov 20:58

Choose a tag to compare

1.19.0 (2025-11-24)

Full Changelog: v1.18.1...v1.19.0

Features

  • api: adds support for Claude Opus 4.5, Effort, Advance Tool Use Features, Autocompaction, and Computer Use v5 (a03391c)