Releases: anthropics/anthropic-sdk-go
Releases · anthropics/anthropic-sdk-go
v0.2.0-beta.3
v0.2.0-beta.2
0.2.0-beta.2 (2025-03-25)
Full Changelog: v0.2.0-beta.1...v0.2.0-beta.2
Bug Fixes
- client: use raw json for tool input (1013c2b)
Chores
v0.2.0-beta.1
0.2.0-beta.1 (2025-03-25)
Full Changelog: v0.2.0-alpha.13...v0.2.0-beta.1
⚠ BREAKING CHANGES
- api: migrate to v2
Features
- add SKIP_BREW env var to ./scripts/bootstrap (#137) (4057111)
- api: migrate to v2 (fcd95eb)
- client: accept RFC6838 JSON content types (#139) (78d17cd)
- client: allow custom baseurls without trailing slash (#135) (9b30fce)
- client: improve default client options support (07f82a6)
- client: improve default client options support (#142) (f261355)
- client: support v2 (#147) (6b3af98)
Chores
- docs: clarify breaking changes (#146) (a2586b4)
- internal: codegen metadata (ce0eca2)
- internal: remove extra empty newlines (#143) (2ed1584)
Refactors
v0.2.0-alpha.13
0.2.0-alpha.13 (2025-02-28)
Full Changelog: v0.2.0-alpha.12...v0.2.0-alpha.13
Features
Documentation
v0.2.0-alpha.12
v0.2.0-alpha.11
0.2.0-alpha.11 (2025-02-24)
Full Changelog: v0.2.0-alpha.10...v0.2.0-alpha.11
Features
- api: add claude-3.7 + support for thinking (cc7ddcc)
- client: send
X-Stainless-Timeout
header (#114) (66f2aec) - pagination: avoid fetching when has_more: false (#118) (6d90a30)
Bug Fixes
- client: don't truncate manually specified filenames (#121) (ce64cf5)
- do not call path.Base on ContentType (#120) (5f20f48)
- fix early cancel when RequestTimeout is provided for streaming requests (#119) (20af10e)
- fix unicode encoding for json (#111) (699e5cd)
- stream: ensure .Close() doesn't panic (#113) (2125563)
- update stream error handling (#117) (40d1ea2)
Chores
- add UnionUnmarshaler for responses that are interfaces (#116) (93f533c)
- api: update openapi spec url (#108) (8f291ed)
- docs: add docstring explaining streaming pattern (#115) (862c3d4)
- internal: fix devcontainers setup (#123) (6f9dcc1)
Documentation
v0.2.0-alpha.10
v0.2.0-alpha.9
0.2.0-alpha.9 (2025-01-23)
Full Changelog: v0.2.0-alpha.8...v0.2.0-alpha.9
Features
- api: add citations (#101) (59fd065)
- api: add message batch delete endpoint (#81) (b3a63e7)
- client: support results endpoint (#98) (380054f)
Bug Fixes
- fix apijson.Port for embedded structs (#95) (5c3a7f7)
- fix apijson.Port for embedded structs (#97) (55a3365)
- fix header parameter value (#90) (d52699a)
- prevent niche naming conflicts for string enums with different casing (#100) (3af5fe8)
- support array query parameters (#89) (d728bcc)
Chores
- bump license year (#88) (c8ddc6b)
- internal: remove unused field (#94) (b98d12a)
- internal: rename
streaming.go
(#96) (ce8ac0f) - internal: update examples (#91) (9717662)
Documentation
v0.2.0-alpha.8
0.2.0-alpha.8 (2024-12-19)
Full Changelog: v0.2.0-alpha.7...v0.2.0-alpha.8
Bug Fixes
- bedrock: handle exceptions messages in bedrock stream (7786f8f)
Chores
v0.2.0-alpha.7
0.2.0-alpha.7 (2024-12-17)
Full Changelog: v0.2.0-alpha.6...v0.2.0-alpha.7
Bug Fixes
- vertex: remove
anthropic_version
deletion for token counting (15987ac)