Skip to content

Releases: anthropics/anthropic-sdk-go

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)

v1.18.1

19 Nov 22:56

Choose a tag to compare

1.18.1 (2025-11-19)

Full Changelog: v1.18.0...v1.18.1

Bug Fixes

  • structured outputs: use correct beta header (09ec0a6)

v1.18.0

14 Nov 18:46

Choose a tag to compare

1.18.0 (2025-11-14)

Full Changelog: v1.17.0...v1.18.0

Features

  • api: add support for structured outputs beta (fb9cfb4)

Chores

v1.17.0

05 Nov 09:09

Choose a tag to compare

1.17.0 (2025-11-05)

Full Changelog: v1.16.0...v1.17.0

Features

  • bedrock: re-route beta headers through request body (00a2bf3)

Chores

  • internal: grammar fix (it's -> its) (687bc29)

v1.16.0

29 Oct 16:43
3a0275d

Choose a tag to compare

1.16.0 (2025-10-29)

Full Changelog: v1.15.0...v1.16.0

Features

  • api: add ability to clear thinking in context management (6082754)

v1.15.0

28 Oct 17:40
b2bfccc

Choose a tag to compare

1.15.0 (2025-10-28)

Full Changelog: v1.14.0...v1.15.0

Features

  • api: adding support for agent skills (5660b52)

Chores

  • api: mark older sonnet models as deprecated (f13c5bd)

v1.14.0

15 Oct 16:58

Choose a tag to compare

1.14.0 (2025-10-15)

Full Changelog: v1.13.0...v1.14.0

Features

Chores

  • client: add context-management-2025-06-27 beta header (eeba6fa)
  • client: add model-context-window-exceeded-2025-08-26 beta header (7d5a37d)

v1.13.0

29 Sep 16:53

Choose a tag to compare

1.13.0 (2025-09-29)

Full Changelog: v1.12.0...v1.13.0

Features

  • api: adds support for Claude Sonnet 4.5 and context management features (3d5d51a)

Bug Fixes

  • bugfix for setting JSON keys with special characters (c868b92)
  • internal: unmarshal correctly when there are multiple discriminators (ecc3ce3)
  • use slices.Concat instead of sometimes modifying r.Options (88e7186)

Chores

  • bump minimum go version to 1.22 (87af8f3)
  • do not install brew dependencies in ./scripts/bootstrap by default (c689348)
  • internal: fix tests (bfc6eaf)
  • update more docs for 1.22 (d67c50d)

v1.12.0

10 Sep 14:47

Choose a tag to compare

1.12.0 (2025-09-10)

Full Changelog: v1.11.0...v1.12.0

Features

  • api: adds support for web_fetch_20250910 tool (6d5e237)

Chores