Skip to content

Latest commit

 

History

History
1357 lines (753 loc) · 81.8 KB

File metadata and controls

1357 lines (753 loc) · 81.8 KB

Changelog

1.68.0 (2026-08-27)

Full Changelog: v1.67.0...v1.68.0

Features

  • api: beta files/skills namespaces use GA shapes; drop dated beta header pins (90ee202)

Bug Fixes

  • bedrock: leave non-JSON request bodies untouched (#337) (3a2e758)
  • client: report Windows correctly in X-Stainless-OS header (ceb299f)
  • client: retry attempts that hit the per-request timeout (49b9527)
  • sessions: deliver completed tool calls when the runner terminates (#322) (642d6a0)
  • sessions: read event fields via variant accessors in session helpers (#336) (fb7ec8a)
  • tools: let read return a view_range of a file over the size cap (#341) (33d4f9d)
  • webhooks: require headers to be passed to unwrap() (9a1023a)

Documentation

  • api: clarify pagination on the organization rate-limit list endpoints (0b6ba47)

1.67.0 (2026-08-26)

Full Changelog: v1.66.0...v1.67.0

Features

  • api: add updates thinking display mode (beta) (44fa7a6)
  • api: add missing anthropic-beta values (118b499)
  • api: add support for Organization API endpoints (713c567)

Bug Fixes

  • messages: add missing ToParam methods and exhaustiveness test (#245) (e385915)
  • tools: keep the tool runner going on pause_turn (#250) (2fa015b)

Chores

  • docs: clarify skill version latest support and memory version retention (c5d5ac4)
  • internal: cancel superseded CI runs (5413684)

Documentation

  • api: clarify session thread agent and usage.iterations compaction descriptions (beta) (e017f63)

1.66.0 (2026-08-19)

Full Changelog: v1.65.0...v1.66.0

Features

  • api: managed agents web search config and self hosted sandbox memory (694b03a)

1.65.0 (2026-08-19)

Full Changelog: v1.64.0...v1.65.0

Features

  • api: Files and Skills APIs are now GA; add computer use and browser use toolsets (e7be7af)

1.64.0 (2026-08-18)

Full Changelog: v1.63.1...v1.64.0

Features

  • api: additions to files and memory stores (5c105da)
  • api: updates to skill, files, and user profiles (a0061d6)

Bug Fixes

  • api: remove unsupported mid_conv_system content block (bced0f9)
  • session-runner: retry tool-result sends for at least the lease TTL (#299) (ebc9533)
  • tool-runner: forward the server-assigned container on follow-up requests (#277) (860620c)
  • toolrunner: don't yield the final message twice from All() (#314) (1e418f0)

Chores

  • internal: remove leftover prism references (a1d9eab)

1.63.1 (2026-08-13)

Full Changelog: v1.63.0...v1.63.1

Bug Fixes

  • auth: pin token exchange to the configured base URL and skip auth for other origins (#258) (6e4141c)
  • client: apply stop_details from every message_delta when accumulating (#253) (c197a64)
  • client: properly render maxLength and maxItems in generated schemas (84a57f5)
  • sessions: post "(no output)" for empty text tool results instead of an empty text block (#236) (a588842)

Chores

  • ci: run breaking-change detection as a ci.yml job on every push (29aebdb)

Documentation

  • api: clarify that user profile name is optional for resold profiles (1039f95)

1.63.0 (2026-08-10)

Full Changelog: v1.62.0...v1.63.0

Features

  • api: add output_behavior to dream creation (create a new memory store or update the input store in place) (ba999d5)

Bug Fixes

  • client: add models (a662a31)
  • symlink-loop paths, special archive members, and 409 retry in the agent toolset and environment worker (#226) (82aa034)
  • vertex: preserve a user-supplied HTTP client by wrapping its transport with Google auth (#242) (8e85a8e)

1.62.0 (2026-08-06)

Full Changelog: v1.61.0...v1.62.0

Features

  • api: add mid-conversation-tool-changes-2026-07-01 beta (f53c3d3)
  • api: add support for session budgets, advisor tool, pinned inference location and skills auto-loading from GitHub (89c04c2)

Bug Fixes

  • client: preserve wire-faithful JSON in accumulated streaming messages (#197) (9a01ac0)
  • jsonl: prevent silent truncation of large results, and don't panic on close (#203) (77dd33d)
  • tools: name tool refusals and a dead shell so they can be matched (#213) (da87d4d)

Chores

  • api: remove retired Claude Opus 4.1 models (85fdf3b)
  • docs: small updates to descriptions (487e6ea)
  • docs: updates to a few documentation strings (03dc511)

1.61.0 (2026-07-24)

Full Changelog: v1.60.0...v1.61.0

Features

  • api: add claude-opus-5 model (bb7dc83)
  • api: add tool addition/removal blocks and tool_change events (bb7dc83)
  • api: expand client-side fallback credit token types and add server-side fallbacks default option (bb7dc83)

1.60.0 (2026-07-23)

Full Changelog: v1.59.0...v1.60.0

Features

  • api: add new stop reason 'model_context_window_exceeded' (94caa5d)

Bug Fixes

  • apijson: correct unmarshaling for param types (#73) (661be2e)
  • client: escape HTML in RawJSON overrides of nested properties (3b163e2)
  • refer to the CLI as ant in auth error messages (#194) (d6508c7)

1.59.0 (2026-07-22)

Full Changelog: v1.58.1...v1.59.0

Features

  • api: add support for Managed Agents model effort, initial session events, and threads delta streaming (abca19a)

1.58.1 (2026-07-21)

Full Changelog: v1.58.0...v1.58.1

Bug Fixes

  • client: copy all citation fields in ToParam conversions (#191) (26ac1f9)
  • vertex: default to the cloud-platform scope in WithGoogleAuth (#190) (7931e70)

Chores

  • api: add support for new refusal category (f77159c)
  • docs: small updates (576dc36)
  • docs: small updates (f618082)
  • internal: codegen related update (03fee5d)

1.58.0 (2026-07-16)

Full Changelog: v1.57.0...v1.58.0

Features

  • api: add support for MCP Tunnels (3465b89)

1.57.0 (2026-07-10)

Full Changelog: v1.56.0...v1.57.0

Features

  • api: add support for dreaming (3736bf0)
  • tools: gate session tool calls on evaluated_permission (#151) (4d85a6f)

Bug Fixes

  • helpers: distinguish canonical agent.message events from open previews (#118) (c49c17c)

Chores

  • docs: small updates to field descriptions (61bc396)
  • docs: update model example (937a29c)
  • docs: updates to descriptions and examples (2c59f79)

1.56.0 (2026-07-02)

Full Changelog: v1.55.1...v1.56.0

Features

  • api: add agent-memory-2026-07-22 beta header (5bcfda4)

1.55.1 (2026-07-01)

Full Changelog: v1.55.0...v1.55.1

Chores

  • api: remove some nonfunctional types from the SDKs (9bd3d09)

1.55.0 (2026-06-30)

Full Changelog: v1.54.0...v1.55.0

Features

  • api: add support for Managed Agents event delta streaming, agent overrides, reverse pagination, vault credential injection scoping, and agent and deployment webhook events (021ef45)

1.54.0 (2026-06-30)

Full Changelog: v1.53.0...v1.54.0

Features

  • api: add support for claude-sonnet-5 (232cfe6)

Bug Fixes

  • agenttoolset: allow absolute paths that resolve inside workdir (#93) (3735258)

1.53.0 (2026-06-29)

Full Changelog: v1.52.0...v1.53.0

Features

  • api: add support for 20260318 web fetch and support tools (6396455)

Chores

  • api: accept user profile ID's when counting tokens (d31ba27)
  • docs: updates to descriptions and example values (cb00f34)

1.52.0 (2026-06-24)

Full Changelog: v1.51.1...v1.52.0

Features

  • client: add support for system.message streaming events (7bb296d)

Chores

  • api: add support for new refusal category (46f8625)
  • api: add support for sending User Profile ID in request headers (5cab486)

1.51.1 (2026-06-18)

Full Changelog: v1.51.0...v1.51.1

Bug Fixes

  • helpers: single source for x-stainless-helper, append semantics, and tag the fallback middleware (#88) (ebbdb7d)

1.51.0 (2026-06-18)

Full Changelog: v1.50.2...v1.51.0

Features

  • api: add support for new code_execution_20260120 tool (f54a4a8)

1.50.2 (2026-06-15)

Full Changelog: v1.50.1...v1.50.2

Chores

  • api: remove retired models from API and SDKs (11f5c82)

1.50.1 (2026-06-09)

Full Changelog: v1.50.0...v1.50.1

Bug Fixes

  • api: add frontier_llm refusal category (9ebbaf7)

1.50.0 (2026-06-09)

Full Changelog: v1.49.0...v1.50.0

Features

  • api: add support for Managed Agents deployments and environment variable credentials (f72e1d8)

1.49.0 (2026-06-09)

Full Changelog: v1.48.0...v1.49.0

Features

  • api: add support for claude-mythos-5 and claude-fable-5, with support for server-side fallbacks on refusal (782f223)
  • client: adds client-side fallbacks middleware for API providers that do not support server-side fallbacks (782f223)

Bug Fixes

1.48.0 (2026-06-06)

Full Changelog: v1.47.0...v1.48.0

Features

  • api: small updates to Managed Agents types (3ebeea5)

1.47.0 (2026-06-05)

Full Changelog: v1.46.0...v1.47.0

Features

Bug Fixes

  • streaming: accumulate content block events by index (#6) (2161a38)
  • streaming: carry encrypted_content through beta compaction accumulator (#875) (13fa611)
  • streaming: carry stop_details and usage fields through beta message_delta (#879) (d432c9f)
  • streaming: carry stop_details and usage fields through message_delta (#877) (e2fcc35)
  • support invopop/jsonschema v0.14.0 (switch to pb33f/ordered-map) (#10) (af018a7)

Chores

  • internal: fix artifact url (fd4cde3)
  • internal: fix branch names (e1730cd)
  • internal: update private repo name (29f7468)

Documentation

  • point security reports to Anthropic's HackerOne program (#9) (c143385)

1.46.0 (2026-05-28)

Full Changelog: v1.45.0...v1.46.0

Features

  • api: Add support for claude-opus-4-8, mid-conversation system blocks, and usage.output_tokens_details (4cd860b)
  • support custom file size caps (#876) (99634e8)

Chores

  • examples: rename managed-agents private-sandbox-worker to self-hosted-sandbox-worker (#873) (07d3e46)

Documentation

  • replace literal newlines (cbb7ea5)

1.45.0 (2026-05-21)

Full Changelog: v1.44.1...v1.45.0

Features

  • api: Add support for thinking-token-count beta for estimated tokens in thinking block deltas when streaming (dedeb6d)

1.44.1 (2026-05-19)

Full Changelog: v1.44.0...v1.44.1

Bug Fixes

  • runner: skip tool calls SessionToolRunner does not own (93afc65)

1.44.0 (2026-05-19)

Full Changelog: v1.43.0...v1.44.0

Features

  • client: Add support for self-hosted sandboxes in CMA with sandbox helpers (34354c4)

1.43.0 (2026-05-13)

Full Changelog: v1.42.0...v1.43.0

Features

  • api: Add BetaManagedAgentsSearchResultBlock types (498fafc)
  • api: Add support for cache diagnostics beta (eac032f)
  • client: add compatibility aliases for old type names (38e1f89)
  • client: add compatibility aliases for old type names (a98b0fb)
  • client: optimize json encoder for internal types (f379c42)

Bug Fixes

  • structured outputs: allowlist enum, const, pattern, allOf in transformSchema (#823) (d368786)

Chores

  • api: spec updates (502b9f1)
  • fix standard webhooks version (#842) (1fdda46)
  • internal: simplify release-please config (69da3d6)

1.42.0 (2026-05-11)

Full Changelog: v1.41.0...v1.42.0

Features

  • aws: Add AWS client for Claude Platform on AWS (596baf4)

Bug Fixes

  • examples: update examples dependencies (e832b79)
  • go: avoid panic when http.DefaultTransport is wrapped (6b75bef)

Chores

  • client: update dependency checksums (64c1d95)
  • go mod tidy (#816) (09b5f9c)
  • internal: codegen related update (6e83495)
  • internal: codegen related update (34d1379)
  • internal: codegen related update (c068475)
  • redact api-key headers in debug logs (46a074f)
  • redact api-key headers in debug logs (1fe2ebb)

1.41.0 (2026-05-06)

Full Changelog: v1.40.0...v1.41.0

Features

  • api: add support for Managed Agents multiagents and outcomes, webhooks, vault validation (33762b0)
  • mcp: add mcp tool helpers (#752) (4edf9f5)

Bug Fixes

  • api: Adjust webhook configuration (8b2f194)

1.40.0 (2026-05-05)

Full Changelog: v1.39.0...v1.40.0

Features

  • client: allow targeting a workspace for OIDC federation token exchange (6bf66ac)

1.39.0 (2026-05-04)

Full Changelog: v1.38.0...v1.39.0

Features

  • api: improve Managed Agents APIs (eadf509)
  • client: add Workload Identity Federation, interactive OAuth, and auth profiles (0f0cc01)
  • go: add default http client with timeout (b81c287)
  • support setting headers via env (641015d)

Bug Fixes

Chores

  • avoid embedding reflect.Type for dead code elimination (11168b4)

1.38.0 (2026-04-23)

Full Changelog: v1.37.0...v1.38.0

Features

  • add Type() method to API errors for error kind identification (#676) (0db1712)
  • api: CMA Memory public beta (180e00c)
  • structured outputs via Schema any with auto-parse (#759) (46073d8)

Bug Fixes

  • api: fix errors in api spec (e47c178)
  • api: restore missing features (0fc6fac)

Chores

  • internal: more robust bootstrap script (5bde204)
  • tests: bump steady to v0.22.1 (4578c15)

1.37.0 (2026-04-16)

Full Changelog: v1.36.0...v1.37.0

Features

  • api: add claude-opus-4-7, token budgets and user_profiles (6e758a9)

1.36.0 (2026-04-14)

Full Changelog: v1.35.1...v1.36.0

Features

  • api: mark Sonnet and Opus 4 as deprecated (fc49d21)
  • bedrock: use auth header for mantle client (#734) (629eec1)

1.35.1 (2026-04-13)

Full Changelog: v1.35.0...v1.35.1

Bug Fixes

  • streaming: add missing events (227b83e)

1.35.0 (2026-04-10)

Full Changelog: v1.34.0...v1.35.0

Features

Bug Fixes

  • tools: convert tool response type to array (#748) (3a18787)

Documentation

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