Releases: anthropics/anthropic-sdk-go
Releases · anthropics/anthropic-sdk-go
v1.20.0
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/checkoutversion (3bd83ec) - internal: use different example values for some enums (f2d46b8)
v1.19.0
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
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
1.18.0 (2025-11-14)
Full Changelog: v1.17.0...v1.18.0
Features
- api: add support for structured outputs beta (fb9cfb4)
Chores
- bump gjson version (69b5e0e)
v1.17.0
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
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
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
v1.13.0
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
v1.12.0
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
- tmp (07b65e9)