Releases: anthropics/anthropic-sdk-go
Releases · anthropics/anthropic-sdk-go
v1.11.0
1.11.0 (2025-09-05)
Full Changelog: v1.10.0...v1.11.0
Features
- api: adds support for Documents in tool results (7161c2c)
Bug Fixes
v1.10.0
1.10.0 (2025-09-02)
Full Changelog: v1.9.1...v1.10.0
Features
- api: makes 1 hour TTL Cache Control generally available (c28a9a3)
- client: adds support for code-execution-2025-08-26 tool (066a126)
- use custom decoder for []ContentBlockParamUnion (#464) (4731597)
Bug Fixes
- close body before retrying (c970e10)
Chores
v1.9.1
1.9.1 (2025-08-12)
Full Changelog: v1.9.0...v1.9.1
v1.9.0
v1.8.0
v1.7.0
1.7.0 (2025-08-05)
Full Changelog: v1.6.2...v1.7.0
Features
- api: add claude-opus-4-1-20250805 (72c9d29)
- api: adds support for text_editor_20250728 tool (be56278)
- api: removed older deprecated models (88a397a)
- docs: add File Upload example (bade71b)
- update streaming error message to say 'required' not 'recommended' (0fb3d30)
- update streaming error message to say 'required' not 'recommended' (b23f6df)
Bug Fixes
- client: process custom base url ahead of time (2165b1a)
Chores
v1.6.2
v1.6.1
v1.6.0
1.6.0 (2025-07-18)
Full Changelog: v1.5.0...v1.6.0
Features
- client: expand max streaming buffer size (8b206e2)
Bug Fixes
- api: revert change to NewToolResultBlock (b4167e7)
- client: fix default timeout logic to match other languages (47e47f5)
- tests: make sure to build examples in scripts/lint (69bcb13)
Chores
- api: update BetaCitationSearchResultLocation (5d040a7)
- internal: fix lint script for tests (f54301d)
- internal: restructure things to avoid conflicts (5f1bead)
- lint tests (4a64d14)
- lint tests in subpackages (4ae61a6)
Documentation
v1.5.0
1.5.0 (2025-07-03)
Full Changelog: v1.4.0...v1.5.0
Features
- add RequestID to API errors (884f13b)
- api: add support for Search Result Content Blocks (1f6ab8a)
- api: api update (27a18f2)
- api: manual updates (926b094)
- client: add debug log helper (e427bb3)
- client: add escape hatch for null slice & maps (9e3ded0)
- vertex: support global region endpoint (3c0b86d)
Bug Fixes
- client: deprecate BetaBase64PDFBlock in favor of BetaRequestDocumentBlock (5d8fd96)
- don't try to deserialize as json when ResponseBodyInto is []byte (0e7ce7b)
- pagination: check if page data is empty in GetNextPage (d64dc0a)
Chores
- api: mark claude-3-opus-20240229 as deprecated (1472af8)
- ci: enable for pull requests (cdb1340)
- ci: only run for pushes and fork pull requests (d7d44ff)
- fix documentation of null map (c79ab28)
- internal: add breaking change detection (49a1855)
Documentation
- simplify message creation syntax in README example (#203) (c4aef2e)
- update models and non-beta (a7bc60e)
Refactors
- improve Error() method to avoid code duplication (43651c2)