Skip to content

Releases: anthropics/anthropic-sdk-go

v1.11.0

05 Sep 14:25

Choose a tag to compare

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

  • client: fix issue in Go with nested document content params (b442cc3)
  • use release please annotations on more places (31a09b0)

v1.10.0

02 Sep 16:08

Choose a tag to compare

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

  • deprecate older claude-3-5 sonnet models (#453) (e49d59b)

v1.9.1

12 Aug 17:27

Choose a tag to compare

1.9.1 (2025-08-12)

Full Changelog: v1.9.0...v1.9.1

v1.9.0

12 Aug 16:59

Choose a tag to compare

1.9.0 (2025-08-12)

Full Changelog: v1.8.0...v1.9.0

Features

  • betas: add context-1m-2025-08-07 (c086118)

Chores

  • internal: detect breaking changes when removing endpoints (91ea519)
  • internal: update comment in script (de412b0)
  • update @stainless-api/prism-cli to v5.15.0 (555556f)

v1.8.0

08 Aug 13:30

Choose a tag to compare

1.8.0 (2025-08-08)

Full Changelog: v1.7.0...v1.8.0

Features

  • api: search result content blocks (0907804)
  • client: support optional json html escaping (8da877c)

v1.7.0

05 Aug 16:29

Choose a tag to compare

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

  • client: add TextEditor_20250429 tool (20424fc)
  • internal: version bump (e03b3bd)

v1.6.2

19 Jul 03:47

Choose a tag to compare

1.6.2 (2025-07-18)

Full Changelog: v1.6.1...v1.6.2

Chores

v1.6.1

18 Jul 13:35

Choose a tag to compare

1.6.1 (2025-07-18)

Full Changelog: v1.6.0...v1.6.1

Chores

v1.6.0

18 Jul 13:34

Choose a tag to compare

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

03 Jul 16:40

Choose a tag to compare

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)