Skip to content

Releases: anthropics/anthropic-sdk-go

v1.4.0

04 Jun 18:07

Choose a tag to compare

1.4.0 (2025-06-04)

Full Changelog: v1.3.0...v1.4.0

Features

  • client: allow overriding unions (079149c)

Chores

  • internal: codegen related update (853ba1f)

v1.3.0

03 Jun 14:31

Choose a tag to compare

1.3.0 (2025-06-03)

Full Changelog: v1.2.2...v1.3.0

Features

  • client: add support for new text_editor_20250429 tool (b33c543)

v1.2.2

02 Jun 17:17

Choose a tag to compare

1.2.2 (2025-06-02)

Full Changelog: v1.2.1...v1.2.2

Bug Fixes

Chores

  • make go mod tidy continue on error (ac184b4)

v1.2.1

28 May 13:17
3f9bc5a

Choose a tag to compare

1.2.1 (2025-05-23)

Full Changelog: v1.2.0...v1.2.1

Chores

  • examples: clean up MCP example (66f406a)
  • internal: fix release workflows (6a0ff4c)

v1.2.0

22 May 17:04

Choose a tag to compare

1.2.0 (2025-05-22)

Full Changelog: v1.1.0...v1.2.0

Features

  • api: add claude 4 models, files API, code execution tool, MCP connector and more (b2e5cbf)

Bug Fixes

  • tests: fix model testing for anthropic.CalculateNonStreamingTimeout (9956842)

v1.1.0

22 May 16:51
3fc1f20

Choose a tag to compare

1.1.0 (2025-05-22)

Full Changelog: v1.0.0...v1.1.0

Features

  • api: add claude 4 models, files API, code execution tool, MCP connector and more (2740935)

Bug Fixes

  • tests: fix model testing for anthropic.CalculateNonStreamingTimeout (f1aa0a1)

v1.0.0

22 May 16:45
188206b

Choose a tag to compare

1.0.0 (2025-05-21)

Full Changelog: v0.2.0-beta.4...v1.0.0

⚠ BREAKING CHANGES

  • client: rename variant constructors
  • client: remove is present

Features

  • client: improve variant constructor names (227c96b)
  • client: rename variant constructors (078fad6)

Bug Fixes

  • client: correctly set stream key for multipart (f17bfe0)
  • client: don't panic on marshal with extra null field (d67a151)
  • client: elide nil citations array (09cadec)
  • client: fix bug with empty tool inputs and citation deltas in Accumulate (f4ac348)
  • client: increase max stream buffer size (18a6ccf)
  • client: remove is present (385d99f)
  • client: resolve naming collisions in union variants (2cb6904)
  • client: use scanner for streaming (82a2840)

Chores

Documentation

v0.2.0-beta.4

20 May 02:52
40c1597

Choose a tag to compare

v0.2.0-beta.4 Pre-release
Pre-release

0.2.0-beta.4 (2025-05-18)

Full Changelog: v0.2.0-beta.3...v0.2.0-beta.4

⚠ BREAKING CHANGES

  • client: clearer array variant names
  • client: rename resp package
  • client: improve core function names
  • client: improve union variant names
  • client: improve param subunions & deduplicate types

Features

  • api: adds web search capabilities to the Claude API (9ca314a)
  • api: extract ContentBlockDelta events into their own schemas (#165) (6d75486)
  • api: manual updates (d405f97)
  • api: manual updates (e1326cd)
  • api: manual updates (a92a382)
  • api: manual updates (59bd507)
  • client: add dynamic streaming buffer to handle large lines (510e099)
  • client: add escape hatch to omit required param fields (#175) (6df8184)
  • client: add helper method to generate constant structs (015e8bc)
  • client: add support for endpoint-specific base URLs in python (44645c9)
  • client: add support for reading base URL from environment variable (835e632)
  • client: clearer array variant names (1fdea8f)
  • client: experimental support for unmarshalling into param structs (94c8fa4)
  • client: improve param subunions & deduplicate types (8daacf6)
  • client: make response union's AsAny method type safe (#174) (f410ed0)
  • client: rename resp package (8e7d278)
  • client: support custom http clients (#177) (ff7a793)
  • client: support more time formats (af2df86)
  • client: support param struct overrides (#167) (e0d5eb0)
  • client: support unions in query and forms (#171) (6bf1ce3)

Bug Fixes

  • client: clean up reader resources (2234386)
  • client: correctly update body in WithJSONSet (f531c77)
  • client: deduplicate stop reason type (#155) (0f985ad)
  • client: fix bug where types occasionally wouldn't generate (8988713)
  • client: improve core function names (0a2777f)
  • client: improve union variant names (92718fd)
  • client: include path for type names in example code (5bbe836)
  • client: resolve issue with optional multipart files (e2af94c)
  • client: return error on bad custom url instead of panic (#169) (b086b55)
  • client: support multipart encoding array formats (#170) (611a25a)
  • client: time format encoding fix (d589846)
  • client: unmarshal responses properly (8344a1c)
  • client: unmarshal stream events into fresh memory (#168) (9cc1257)
  • handle empty bodies in WithJSONSet (0bad01e)
  • internal: fix type changes (d8ef353)
  • pagination: handle errors when applying options (2381476)

Chores

  • ci: add timeout thresholds for CI jobs (335e9f0)
  • ci: only use depot for staging repos (6818451)
  • ci: run on more branches and use depot runners (b0ca09d)
  • client: use new opt conversion (#184) (58dc74f)
  • docs: doc improvements (#173) (aebe8f6)
  • docs: document pre-request options (8f5eb18)
  • docs: readme improvements (#176) (b5769ff)
  • docs: update file uploads in README (#166) (a4a36bf)
  • docs: update respjson package name (28910b5)
  • internal: expand CI branch coverage (#178) (900e2df)
  • internal: reduce CI branch coverage (343f6c6)
  • internal: remove CI condition (#160) (adfa1e2)
  • internal: update config (#157) (46f0194)
  • readme: improve formatting (66be9bb)

Documentation

  • remove or fix invalid readme examples (142576c)
  • update documentation links to be more uniform (457122b)

v0.2.0-beta.3

27 Mar 16:38

Choose a tag to compare

v0.2.0-beta.3 Pre-release
Pre-release

0.2.0-beta.3 (2025-03-27)

Full Changelog: v0.2.0-beta.2...v0.2.0-beta.3

Chores

v0.2.0-beta.2

25 Mar 20:38

Choose a tag to compare

v0.2.0-beta.2 Pre-release
Pre-release

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