Skip to content

Latest commit

 

History

History
773 lines (445 loc) · 48.2 KB

File metadata and controls

773 lines (445 loc) · 48.2 KB

Changelog

1.34.0 (2026-04-09)

Full Changelog: v1.33.0...v1.34.0

Features

  • api: Add beta advisor tool (3a6ddba)

1.33.0 (2026-04-08)

Full Changelog: v1.32.0...v1.33.0

Features

  • api: add support for Claude Managed Agents (722b2ac)

1.32.0 (2026-04-07)

Full Changelog: v1.31.0...v1.32.0

Features

  • bedrock: add AnthropicBedrockMantle client (#704) (058e8fa)

1.31.0 (2026-04-07)

Full Changelog: v1.30.0...v1.31.0

Features

  • api: Add support for claude-mythos-preview (7144a65)

1.30.0 (2026-04-03)

Full Changelog: v1.29.0...v1.30.0

Features

  • vertex: add support for US multi-region endpoint (6f40457)

1.29.0 (2026-04-01)

Full Changelog: v1.28.0...v1.29.0

Features

  • api: add structured stop_details to message responses (1053799)

Chores

  • internal: client updates (531283d)

1.28.0 (2026-03-31)

Full Changelog: v1.27.1...v1.28.0

Features

  • internal: support comma format in multipart form encoding (97ed8a1)

Bug Fixes

  • bump buger/jsonparser to v1.1.2 (GO-2026-4514) (#665) (96565eb)
  • prevent duplicate ? in query params (0afa75c)
  • types: generate shared enum types that are not referenced by other schemas (5dc86f2)

Chores

  • ci: run builds on CI even if only spec metadata changed (010a16f)
  • ci: skip lint on metadata-only changes (8cc7cec)
  • ci: support opting out of skipping builds on metadata-only commits (adc7184)
  • client: fix multipart serialisation of Default() fields (3fc3613)
  • internal: bump go toolchain to go1.25.8 to address std lib vulnerabilities (e3feecb)
  • internal: support default value struct tag (fc68556)
  • internal: update gitignore (e2a5dd1)
  • remove unnecessary error check for url parsing (6d42216)
  • tests: bump steady to v0.19.4 (3ca1569)
  • tests: bump steady to v0.19.5 (7364e49)
  • tests: bump steady to v0.19.6 (28ebd01)
  • tests: bump steady to v0.19.7 (77fc869)
  • tests: bump steady to v0.20.1 (e52beb5)
  • tests: bump steady to v0.20.2 (3a20191)
  • update docs for api:"required" (aa0a03a)

1.27.1 (2026-03-18)

Full Changelog: v1.27.0...v1.27.1

Chores

  • internal: regenerate SDK with no functional changes (c963fd0)
  • internal: tweak CI branches (95e3410)

1.27.0 (2026-03-16)

Full Changelog: v1.26.0...v1.27.0

Features

  • api: change array_format to brackets (ca5ae6e)
  • api: chore(config): clean up model enum list (#31) (1db4ea7)
  • api: GA thinking-display-setting (1924af2)
  • api: remove publishing section from cli target (514282e)
  • tests: update mock server (cf24ced)

Bug Fixes

  • allow canceling a request while it is waiting to retry (32ee053)
  • client: update model reference from claude-3-7-sonnet-latest to claude-sonnet-4-5 (2f42e73)

Chores

  • client: reorganize code in Messages files to lead to less conflicts (c677bb5)
  • internal: codegen related update (c978aac)
  • internal: codegen related update (4ac31a2)
  • internal: codegen related update (5b2b2fa)
  • internal: codegen related update (9678c6c)
  • internal: codegen related update (f6035d2)
  • internal: codegen related update (9246bbb)
  • internal: move custom custom json tags to api (4392627)
  • tests: unskip tests that are now supported in steady (b0ca374)

Documentation

  • streamline README, centralize documentation at docs.anthropic.com (33f6943), closes #587

1.26.0 (2026-02-19)

Full Changelog: v1.25.1...v1.26.0

Features

  • api: Add top-level cache control (automatic caching) (75f9f70)
  • client: add BetaToolRunner for automatic tool use loops (#603) (e44128a)

Chores

  • internal: codegen related update (6247d2f)

1.25.1 (2026-02-19)

Full Changelog: v1.25.0...v1.25.1

Bug Fixes

  • client: use correct format specifier for header serialization (9115a61)

1.25.0 (2026-02-18)

Full Changelog: v1.24.0...v1.25.0

Features

  • api: fix shared UserLocation and error code types (cb98cd0)

1.24.0 (2026-02-18)

Full Changelog: v1.23.0...v1.24.0

Features

1.23.0 (2026-02-17)

Full Changelog: v1.22.1...v1.23.0

Features

  • api: Releasing claude-sonnet-4-6 (782d5a5)

Bug Fixes

  • api: fix spec errors (15e6a5a)
  • remove duplicate ServerToolUseBlock struct declaration (#595) (d4ece8a)

1.22.1 (2026-02-10)

Full Changelog: v1.22.0...v1.22.1

Bug Fixes

  • encoder: correctly serialize NullStruct (1435f8a)

1.22.0 (2026-02-07)

Full Changelog: v1.21.0...v1.22.0

Features

  • api: enabling fast-mode in claude-opus-4-6 (ebe6433)

1.21.0 (2026-02-05)

Full Changelog: v1.20.0...v1.21.0

Features

  • api: Release Claude Opus 4.6, adaptive thinking, and other features (e899e64)

Chores

  • ci: remove claude-code-review workflow (31db702)

1.20.0 (2026-01-29)

Full Changelog: v1.19.0...v1.20.0

Features

  • api: add support for Structured Outputs in the Messages API (10c3821)
  • api: migrate sending message format in output_config rather than output_format (f996db4)
  • client: add a convenient param.SetJSON helper (427514e)
  • encoder: support bracket encoding form-data object members (eaaeadf)

Bug Fixes

  • accumulator: revert to marshal accumulator on stop events (#563) (096a8a8)
  • client: retain streaming when user sets request body (6d073fe)
  • docs: add missing pointer prefix to api.md return types (23aaf6d)
  • mcp: correct code tool API endpoint (6c8a083)
  • rename param to avoid collision (6d1cf75)
  • streaming endpoints should pass through errors correctly (e584c87)
  • to-param: remove panics and add cases (#524) (f689816)

Chores

  • add float64 to valid types for RegisterFieldValidator (b6bec73)
  • ci: Add Claude Code GitHub Workflow (a151836)
  • client: improve example values (8af69b8)
  • client: mark claude-3-5-haiku as deprecated (dcac65c)
  • elide duplicate aliases (c8e2ee1)
  • internal: codegen related update (931c976)
  • internal: update actions/checkout version (3bd83ec)
  • internal: use different example values for some enums (f2d46b8)

1.19.0 (2025-11-24)

Full Changelog: v1.18.1...v1.19.0

Features

  • api: adds support for Claude Opus 4.5, Effort, Advance Tool Use Features, Autocompaction, and Computer Use v5 (a03391c)

1.18.1 (2025-11-19)

Full Changelog: v1.18.0...v1.18.1

Bug Fixes

  • structured outputs: use correct beta header (09ec0a6)

1.18.0 (2025-11-14)

Full Changelog: v1.17.0...v1.18.0

Features

  • api: add support for structured outputs beta (fb9cfb4)

Chores

1.17.0 (2025-11-05)

Full Changelog: v1.16.0...v1.17.0

Features

  • bedrock: re-route beta headers through request body (00a2bf3)

Chores

  • internal: grammar fix (it's -> its) (687bc29)

1.16.0 (2025-10-29)

Full Changelog: v1.15.0...v1.16.0

Features

  • api: add ability to clear thinking in context management (6082754)

1.15.0 (2025-10-28)

Full Changelog: v1.14.0...v1.15.0

Features

  • api: adding support for agent skills (5660b52)

Chores

  • api: mark older sonnet models as deprecated (f13c5bd)

1.14.0 (2025-10-15)

Full Changelog: v1.13.0...v1.14.0

Features

Chores

  • client: add context-management-2025-06-27 beta header (eeba6fa)
  • client: add model-context-window-exceeded-2025-08-26 beta header (7d5a37d)

1.13.0 (2025-09-29)

Full Changelog: v1.12.0...v1.13.0

Features

  • api: adds support for Claude Sonnet 4.5 and context management features (3d5d51a)

Bug Fixes

  • bugfix for setting JSON keys with special characters (c868b92)
  • internal: unmarshal correctly when there are multiple discriminators (ecc3ce3)
  • use slices.Concat instead of sometimes modifying r.Options (88e7186)

Chores

  • bump minimum go version to 1.22 (87af8f3)
  • do not install brew dependencies in ./scripts/bootstrap by default (c689348)
  • internal: fix tests (bfc6eaf)
  • update more docs for 1.22 (d67c50d)

1.12.0 (2025-09-10)

Full Changelog: v1.11.0...v1.12.0

Features

  • api: adds support for web_fetch_20250910 tool (6d5e237)

Chores

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)

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)

1.9.1 (2025-08-12)

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

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)

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)

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)

1.6.2 (2025-07-18)

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

Chores

1.6.1 (2025-07-18)

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

Chores

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

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)

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)

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)

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)

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)

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)

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)

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

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)

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

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

Chores

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

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