Releases: anthropics/anthropic-sdk-go
Releases · anthropics/anthropic-sdk-go
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-Timeoutheader (#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_versiondeletion for token counting (15987ac)
v0.2.0-alpha.6
0.2.0-alpha.6 (2024-12-17)
Full Changelog: v0.2.0-alpha.5...v0.2.0-alpha.6
Features
Bug Fixes
- messages: correct batch params type (2a39e4b)
- replace
MessageParamContentUnionwithContentBlockParamUnionto fix go script (#70) (5d32a5f) - tests: correct input schema type (6514952)
Chores
Documentation
- examples: use claude 3 sonnet more (c02fdac)
v0.2.0-alpha.5
0.2.0-alpha.5 (2024-12-01)
Full Changelog: v0.2.0-alpha.4...v0.2.0-alpha.5
Bug Fixes
- api: escape key values when encoding maps (#56) (fa49eb8)
- client: no panic on missing BaseURL (#61) (7438b15)
- correct required fields for flattened unions (#59) (735c07c)
- forward error and close for bedrock decoder (#66) (5f6f6fd)
- types: remove anthropic-instant-1.2 model (#57) (23fbc37)
Chores
- api: update spec version (#62) (1526051)
- ci: remove unneeded workflow (#55) (0181fc2)
- fix references to content block param types (dea6478)
- tests: limit array example length (#64) (9fb231b)