Skip to content

Releases: anthropics/anthropic-sdk-go

v0.2.0-beta.1

25 Mar 18:54

Choose a tag to compare

v0.2.0-beta.1 Pre-release
Pre-release

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

Refactors

v0.2.0-alpha.13

28 Feb 19:34

Choose a tag to compare

v0.2.0-alpha.13 Pre-release
Pre-release

0.2.0-alpha.13 (2025-02-28)

Full Changelog: v0.2.0-alpha.12...v0.2.0-alpha.13

Features

  • api: add support for disabling tool calls (#133) (90f7490)

Documentation

  • update URLs from stainlessapi.com to stainless.com (#131) (334be2b)

v0.2.0-alpha.12

27 Feb 19:36

Choose a tag to compare

v0.2.0-alpha.12 Pre-release
Pre-release

0.2.0-alpha.12 (2025-02-27)

Full Changelog: v0.2.0-alpha.11...v0.2.0-alpha.12

Features

  • api: add URL source blocks for images and PDFs (#129) (589f5dc)

Bug Fixes

  • Preserve Thinking and Signature fields in Message.ToParam() method (#128) (b67c786)

Chores

v0.2.0-alpha.11

24 Feb 18:06

Choose a tag to compare

v0.2.0-alpha.11 Pre-release
Pre-release

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

29 Jan 01:30

Choose a tag to compare

v0.2.0-alpha.10 Pre-release
Pre-release

0.2.0-alpha.10 (2025-01-28)

Full Changelog: v0.2.0-alpha.9...v0.2.0-alpha.10

Bug Fixes

  • fix interface implementation stub names for unions (#106) (0ac5655)

Chores

v0.2.0-alpha.9

23 Jan 16:55

Choose a tag to compare

v0.2.0-alpha.9 Pre-release
Pre-release

0.2.0-alpha.9 (2025-01-23)

Full Changelog: v0.2.0-alpha.8...v0.2.0-alpha.9

Features

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

Documentation

v0.2.0-alpha.8

19 Dec 21:07

Choose a tag to compare

v0.2.0-alpha.8 Pre-release
Pre-release

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

17 Dec 20:41

Choose a tag to compare

v0.2.0-alpha.7 Pre-release
Pre-release

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)

v0.2.0-alpha.6

17 Dec 15:53

Choose a tag to compare

v0.2.0-alpha.6 Pre-release
Pre-release

0.2.0-alpha.6 (2024-12-17)

Full Changelog: v0.2.0-alpha.5...v0.2.0-alpha.6

Features

  • api: general availability updates (#74) (0c19b86)
  • vertex: add support for token counting (86e085b)

Bug Fixes

  • messages: correct batch params type (2a39e4b)
  • replace MessageParamContentUnion with ContentBlockParamUnion to 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

01 Dec 01:39

Choose a tag to compare

v0.2.0-alpha.5 Pre-release
Pre-release

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)

Documentation

Refactors

  • sort fields for squashed union structs (#51) (a9874d1)