Skip to content

Latest commit

 

History

History
752 lines (511 loc) · 65.7 KB

File metadata and controls

752 lines (511 loc) · 65.7 KB

Changelog

12.14.0 (2026-04-09)

Full Changelog: Anthropic-v12.13.0...Anthropic-v12.14.0

Features

  • api: Add beta advisor tool (74252f5)

12.13.0 (2026-04-08)

Full Changelog: Anthropic-v12.12.0...Anthropic-v12.13.0

Features

  • api: add support for Claude Managed Agents (aa4b900)

12.12.0 (2026-04-07)

Full Changelog: Anthropic-v12.11.0...Anthropic-v12.12.0

Features

  • api: Add support for claude-mythos-preview (6b8007c)

Bug Fixes

  • add string case to FunctionResultContent.Result switch to prevent double-serialization (#159) (ccfca55)
  • client: merge response format into preconfigured output config (#166) (f565828)

12.11.0 (2026-04-01)

Full Changelog: Anthropic-v12.10.0...Anthropic-v12.11.0

Features

  • api: add structured stop_details to message responses (472c805)
  • client: enable gzip decompression (8fe5303)

12.10.0 (2026-03-31)

Full Changelog: Anthropic-v12.9.0...Anthropic-v12.10.0

Features

  • add ErrorType property to API error exceptions (#760) (8f63a96)
  • api: GA thinking-display-setting (b0f24aa)
  • api: manual updates (e093d70)
  • api: manual updates (c9d41c1)
  • client: update to M.E.AI.Abstractions 10.4.0 and update with latest MEAI/Anthropic features (#118) (81ab1b8)

Bug Fixes

  • client: allow cancelling when enumerating over an http response (d3e2312)
  • client: don't overzealously validate union variants when deserializing (1178915)
  • client: handle empty messages properly in IChatClient when raw representation has messages (#144) (5268a2c)
  • client: handle path params correctly in FromRawUnchecked (9afe664)
  • client: handle root bodies in requests properly (56ab27b)

12.9.0 (2026-03-16)

Full Changelog: Anthropic-v12.8.0...Anthropic-v12.9.0

Features

  • api: change array_format to brackets (4e216d2)
  • api: chore(config): clean up model enum list (#31) (62852b4)
  • api: remove publishing section from cli target (b7194a2)
  • tests: update mock server (775f7d1)

Bug Fixes

  • docs: make xml comments valid (#141) (6251881)
  • docs: make xml syntactically correct (b91c421)
  • client: preserve RawRepresentation in IChatClient system message mapping (4a324d7)

Chores

  • client: remove print statement (#137) (efd712b)
  • client: update formatting (621e6d6)
  • docs: add undocumented parameters to readme (1d996bb)
  • internal: codegen related update (be001d7)
  • internal: codegen related update (55f00a1)

Refactors

  • internal: default headers (cca4f5a)

12.8.0 (2026-02-19)

Full Changelog: Anthropic-v12.7.0...Anthropic-v12.8.0

Features

  • api: Add top-level cache control (automatic caching) (c294cb3)
  • api: Deprecate haiku-3 (e087138)

12.7.0 (2026-02-18)

Full Changelog: Anthropic-v12.6.0...Anthropic-v12.7.0

Features

  • api: fix shared UserLocation and error code types (7dccdbf)
  • api: manual updates (0cd161c)

12.6.0 (2026-02-17)

Full Changelog: Anthropic-v12.5.0...Anthropic-v12.6.0

Features

  • api: Releasing claude-sonnet-4-6 (7e4730f)
  • client: add equality and tostring for multipart data (eebd5d5)
  • warn when thinking is enabled for certain models (#383) (3f7f3c6)

Bug Fixes

  • api: fix spec errors (99a28b3)
  • client: validate unions properly (d56c992)

12.5.0 (2026-02-12)

Full Changelog: Anthropic-v12.4.0...Anthropic-v12.5.0

Features

  • api: enabling fast-mode in claude-opus-4-6 (d468eb3)
  • client: add union variant names for C# (ad3d327)
  • client: enable upload endpoint (90fef13)
  • client: streaming aggregators (#105) (7cd71a0)

Bug Fixes

  • client: handle edge case with renamed variable (3fc3fa7)
  • client: improve behaviour for comma-delimited binary content in multipart requests (9008576)

12.4.0 (2026-02-05)

Full Changelog: Anthropic-v12.3.0...Anthropic-v12.4.0

Features

  • api: Release Claude Opus 4.6, adaptive thinking, and other features (f40db86)
  • client: add common response headers to HttpResponse (9834908)

Bug Fixes

  • client: improve union equality method (2f857bb)
  • update beta service to use output_config.format (#110) (5d1eb0a)

12.3.0 (2026-01-29)

Full Changelog: Anthropic-v12.2.0...Anthropic-v12.3.0

Features

  • api: add support for Structured Outputs in the Messages API (6d3d655)
  • api: migrate sending message format in output_config rather than output_format (e24676b)
  • client: add ToString and Equals methods (91fe9dd)
  • client: add ToString to ApiEnum (6c1887d)
  • client: add Equals and ToString to params (3be5397)

Bug Fixes

  • client: handle unions containing unknown types properly (9dc5b92)

Chores

  • change visibility of QueryString() and AddDefaultHeaders (38a18f9)
  • internal: add copy constructor tests (5915cfe)
  • internal: codegen related update (7b0a0e8)
  • internal: codegen related update (fc997b8)
  • internal: codegen related update (5e32bb5)
  • internal: improve HttpResponse qualification (8b4d892)
  • internal: simplify imports (8324572)
  • internal: version bump (4e6f6dd)
  • readme: remove beta warning now that we're in ga (0738e65)
  • readme: remove beta warning now that we're in ga (7c4b745)

12.2.0 (2026-01-14)

Full Changelog: Anthropic-v12.1.0...Anthropic-v12.2.0

Features

  • client: add helper functions for raw messages (c38e0f1)
  • client: add more ToString implementations (ebebe2a)
  • client: add strong naming (4feeae5)
  • client: support WithRawResponse in Foundry client (#92) (39ffeb2)
  • client: support accessing raw responses (81ad4fe)

Bug Fixes

  • client: add missing serializer options (f08055c)
  • client: copy path params in params copy constructors (23fd7c6)
  • client: ensure deep immutability for deep array/dict structures (d9385f7)
  • client: freeze models on property access (4aec2c8)
  • client: throw api enum errors as invalid data exception (6028977)
  • client: union switch method type checks (e0c4fcb)
  • client: use readonly type for param (b00209c)
  • internal: accidental custom code (2025fbb)
  • internal: build (74ac455)
  • internal: remove redundant line (ed85010)
  • internal: remove roundtrip tests for multipart params (1e3f6e1)
  • use Properties initializer for InputSchema in IChatClient extensions (#83) (b4d9faf)

Performance Improvements

  • client: add json deserialization caching (d9385f7)

Chores

  • client: consistently use serializer options (d02b2fa)
  • client: mark claude-3-5-haiku as deprecated (b5f147c)
  • client: use mutable collections for union deserialization (bd75f30)
  • internal: codegen related update (8565b06)
  • internal: codegen related update (df7fd3c)
  • internal: format (3af90a7)
  • internal: use better namespace aliases (16b810a)
  • readme: remove beta warning now that we're in ga (613b5ce)

Refactors

  • client: add JsonDictionary identity methods (2c26557)
  • client: make unions implement ModelBase (8500f1e)
  • internal: JsonElement constant construction (bb19b2b)
  • internal: unnest constant converter (65a1eec)

12.1.0 (2026-01-06)

Full Changelog: Anthropic-v12.0.1...Anthropic-v12.1.0

Features

  • client: add EnvironmentUrl (d593feb)
  • client: add multipart form data support (95a5da6)

Bug Fixes

  • internal: test nullability warnings (df69317)

Chores

  • client: improve object instantiation (686026e)
  • fix lint error (d3bef74)
  • internal: add stainless main project tag (#282) (9b6fdd1)
  • internal: share csproj properties with dir build props (df69317)
  • internal: use Random.Shared in newer .NET versions (f87fa65)
  • internal: use better test examples (df69317)

12.0.1 (2025-12-18)

Full Changelog: Anthropic-v12.0.0...Anthropic-v12.0.1

Documentation

  • fix typos and resolve merge conflict in CHANGELOG (#78) (a6ccfa7)

12.0.0 (2025-12-10)

Full Changelog: Anthropic-v11.0.0...Anthropic-v12.0.0

⚠ BREAKING CHANGES

  • client: use readonly types for properties

Features

  • add Foundry client (5f87e12)
  • api: add claude-opus-4-1-20250805 (c38689c)
  • api: add support for Search Result Content Blocks (3300718)
  • api: add support for structured outputs beta (a809be6)
  • api: adds support for Claude Opus 4.5, Effort, Advanced Tool Use Features, Autocompaction, and Computer Use v5 (144a820)
  • api: adds support for Documents in tool results (a7b5086)
  • api: adds support for text_editor_20250728 tool (159d728)
  • api: adds support for web_fetch_20250910 tool (1d12859)
  • api: makes 1 hour TTL Cache Control generally available (84b1ad3)
  • api: removed older deprecated models (f5aafba)
  • api: rename C# package to Anthropic (83b024f)
  • api: search result content blocks (e4368ee)
  • api: update PHP and C# (d63878a)
  • api: update to desired NuGet name (c4b6820)
  • betas: add context-1m-2025-08-07 (f65802a)
  • ci: add publishing flow for nuget (487ac2e)
  • client: add implicit conversions to enums (324f263)
  • client: add some convenience constructors (e2541e1)
  • client: add streaming methods (b394064)
  • client: add switch and match helpers for unions (d44a80c)
  • client: add x-stainless-retry-count (ad0fba4)
  • client: additional methods for positional params (08c27c6)
  • client: additional methods for positional params (8bc6323)
  • client: adds support for code-execution-2025-08-26 tool (5be3c78)
  • client: allow omitting all params object when all optional (68a792f)
  • client: automatically set constants for user (bb1343e)
  • client: basic paginated endpoint support (4766f1e)
  • client: implement implicit union casts (e36b8fa)
  • client: improve csproj (0874d78)
  • client: improve model names (18a0af9)
  • client: improve signature of trypickx methods (620b39b)
  • client: improve some names (8d28ac4)
  • client: make union deserialization more robust (26d42da)
  • client: make union deserialization more robust (f85bc36)
  • client: shorten union variant names (c397c9b)
  • internal: allow overriding mock url via TEST_API_BASE_URL env (f14a23c)

Bug Fixes

  • client: better type names (057bf2d)
  • client: check response status when MaxRetries = 0 (6e568ec)
  • client: compilation error (56d1c41)
  • client: handle multiple auth options gracefully (a5fdd62)
  • client: handling of null value type (eb6a775)
  • client: improve model validation (b77753e)
  • client: return correct type for foundry#WithOptions (#18) (9ff2124)
  • client: return correct type for foundry#WithOptions (#18) (f814a46)
  • client: support non-optional client options (fadaa63)
  • client: update custom code for readonly (#198) (e3c26f1)
  • client: use readonly types for properties (cd28fd5)
  • client: with expressions for models (b42ce94)
  • docs: re-order using statements (b77bdb2)
  • internal: don't format csproj files (0b5c2c6)
  • internal: minor project fixes (3c344e2)
  • internal: prefer to use implicit instantiation when possible (b869753)
  • internal: remove unused null class (c46f844)
  • internal: various minor code fixes (136162a)
  • remove bad preprocessor directive (9420cfd)
  • use correct header name (c83471e)
  • use correct version (aeba41c)
  • use correct versions (7c97d7f)
  • use correct versions (c78c8db)

Performance Improvements

  • client: use async deserialization in HttpResponse (293020b)

Chores

  • api: remove unsupported endpoints (d318ba7)
  • api: update BetaCitationSearchResultLocation (801a222)
  • client: add TextEditor_20250429 tool (adee5b4)
  • client: change name of underlying properties for models and params (75a2cce)
  • client: deprecate some symbols (08bfad9)
  • client: improve union validation (d86c38d)
  • client: make some interfaces internal (476e69e)
  • client: swap [@params](https://github.com/params) to better name (3d8e0d9)
  • client: update namespace imports (764df51)
  • fix ci (#196) (8dede61)
  • internal: add logo to nuget package (#181) (e01f08d)
  • internal: add tests for constants (25b6f4f)
  • internal: clean up diffs vs codegen (53b2d3c)
  • internal: codegen related update (fb6b738)
  • internal: codegen related update (135523a)
  • internal: equality and more unit tests (f270a7e)
  • internal: refactor tests to de-duplicate client instantiation logic (f14a23c)
  • internal: remove redundant keyword (72e07e7)
  • internal: remove unnecessary internal aliasing (d210122)
  • internal: rename parameters (0013847)
  • internal: stop running whitespace lint (f14a23c)
  • internal: suppress diagnostic for .netstandard2.0 (9ede62d)
  • internal: suppress diagnostic for .netstandard2.0 (1b0714d)
  • internal: update csproj formatting (6036c7f)
  • internal: use nicer generic names (00c3c7e)
  • update formatting (8b06f4f)
  • use non-aliased using (ba9d1ac)

Documentation

  • add more comments (8ade211)
  • add more comments (915d808)
  • client: add more property comments (a3e973b)
  • internal: add warning about implementing interface (2171969)

Refactors

  • client: make unknown variants implicit (7b966ab)
  • client: make unknown variants implicit (eb0e5b6)
  • client: refine enum representation (a3e973b)
  • client: use System.Net.ServerSentEvents (b733f32)
  • client: use plural for service namespace (843da53)
  • internal: remove abstract static methods (a1e13bb)
  • internal: share get/set logic (eb6a775)

11.0.0 (2025-12-01)

Full Changelog: v10.4.0...v11.0.0

⚠ BREAKING CHANGES

  • client: use readonly types for properties

Features

Bug Fixes

  • client: update custom code for readonly (#198) (11cdfa4)
  • client: use readonly types for properties (1d78f38)
  • internal: running net462 tests on ci (23ca28a)
  • release please config for foundry (#52) (45d4b76)

Performance Improvements

  • client: use async deserialization in HttpResponse (1ce5af7)

Chores

  • client: update namespace imports (9d89414)
  • fix ci (#196) (98beb5b)
  • internal: clean up diffs vs codegen (ba8adc6)
  • internal: fix release please config (2732101)
  • internal: set up cron release job (2d1499c)
  • internal: suppress diagnostic for .netstandard2.0 (e781b24)
  • sync with release-please (6c74dff)
  • sync with release-please (c0845ae)

Documentation

10.4.0 (2025-11-25)

Full Changelog: v10.3.0...v10.4.0

Features

  • client: support .NET Standard 2.0 (70928cd)

Bug Fixes

  • internal: don't format csproj files (76affbf)

Chores

Refactors

  • internal: remove abstract static methods (3a3dffe)

10.3.0 (2025-11-24)

Full Changelog: v10.2.1...v10.3.0

Features

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

Bug Fixes

  • internal: install csharpier during ci lint phase (8898df9)
  • internal: minor project fixes (3c344e2)
  • internal: remove release notes from foundry readme (afeaa2f)

Chores

  • client: change name of underlying properties for models and params (75a2cce)
  • formatting (6850900)
  • internal: update release please config (980d7fd)

10.2.1 (2025-11-20)

Full Changelog: v10.2.0...v10.2.1

10.2.0 (2025-11-20)

Full Changelog: v10.1.2...v10.2.0

Features

  • client: additional methods for positional params (8bc6323)

Bug Fixes

  • client: return correct type for foundry#WithOptions (#18) (f814a46)
  • use correct versions (c78c8db)

Refactors

  • client: make unknown variants implicit (eb0e5b6)

10.1.2 (2025-11-18)

Full Changelog: v10.1.1...v10.1.2

Bug Fixes

10.1.1 (2025-11-18)

Full Changelog: v10.1.0...v10.1.1

10.1.0 (2025-11-18)

Full Changelog: v10.0.1...v10.1.0

Features

10.0.1 (2025-11-18)

Full Changelog: v0.2.0...v10.0.1

⚠ BREAKING CHANGES

  • client: improve names of some types
  • client: use DateTimeOffset instead of DateTime
  • client: flatten service namespaces
  • client: interpret null as omitted in some properties

Features

  • api: add file download method (a03d526)
  • api: add support for structured outputs beta (17ea9b3)
  • api: rename C# package to Anthropic (2ba3485)
  • client: add HttpResponse.ReadAsStream method (677857b)
  • client: add cancellation token support (bf4c0e5)
  • client: add per-resource headers (1d7658a)
  • client: add retries support (3327c9b)
  • client: add some implicit operators (bf26da8)
  • client: send User-Agent header (e8a0844)
  • client: send X-Stainless-Arch header (d66d180)
  • client: send X-Stainless-Lang and X-Stainless-OS headers (bcc30e9)
  • client: send X-Stainless-Package-Version headers (84bf583)
  • client: send X-Stainless-Runtime and X-Stainless-Runtime-Version (94d2581)
  • client: send X-Stainless-Timeout header (95ec578)
  • client: validate constant values (493a9ef)
  • csharp: enable nuget publishing (4a4a1bc)
  • docs: add package/version notice (76b74eb)
  • docs: Semver warning (55c20ba)
  • docs: tweak readme notice (82d5990)
  • docs: Update README for nuget (instead of just github) (6bde0b4)
  • docs: Update version refs in README (70d787d)

Bug Fixes

  • client: interpret null as omitted in some properties (56059db)
  • client: use DateTimeOffset instead of DateTime (dbc7f6f)
  • use correct header name (f6d0942)

Performance Improvements

  • client: optimize header creation (3d37bb5)

Chores

  • client: deprecate some symbols (b3446f6)
  • internal: add prism log file to gitignore (8588901)
  • internal: codegen related update (cf3f5d5)
  • internal: delete empty test files (a79abd1)
  • internal: improve devcontainer (ab246ff)
  • internal: minor improvements to csproj and gitignore (bf94b8c)
  • internal: reduce import qualification (137c8b4)
  • internal: update release please config (bd94183)

Documentation

  • client: document max retries (e1f611f)
  • client: separate comment content into paragraphs (1f89605)
  • internal: add warning about implementing interface (5476caf)

Refactors

  • client: flatten service namespaces (8de3f66)
  • client: improve names of some types (2e52d59)
  • client: move some defaults out of ClientOptions (d536293)
  • client: pass around ClientOptions instead of client (608310d)

0.2.0 (2025-11-05)

Full Changelog: v0.1.0...v0.2.0

⚠ BREAKING CHANGES

  • client: make models immutable

Features

  • api: add ability to clear thinking in context management (05d2ce6)
  • client: add response validation option (6130f1b)
  • client: add support for option modification (e105fba)
  • client: make models immutable (f55629c)
  • client: support request timeout (7411046)

Chores

  • api: mark older sonnet models as deprecated (fc00d2b)
  • client: simplify field validations (6130f1b)
  • internal: codegen related update (2798e0a)
  • internal: extract ClientOptions struct (7e906c8)
  • internal: full qualify some references (8a52868)

Documentation

  • client: document WithOptions (38352b0)
  • client: document response validation (0e9f728)
  • client: document timeout option (80d8d7f)
  • client: improve snippet formatting (94dc213)

0.1.0 (2025-10-27)

Full Changelog: v0.0.1...v0.1.0

Features

  • api: add claude-opus-4-1-20250805 (c38689c)
  • api: add support for Search Result Content Blocks (3300718)
  • api: adding support for agent skills (4acc546)
  • api: adds support for Claude Sonnet 4.5 and context management features (bab904c)
  • api: adds support for Documents in tool results (a7b5086)
  • api: adds support for text_editor_20250728 tool (159d728)
  • api: adds support for web_fetch_20250910 tool (74a7a92)
  • api: makes 1 hour TTL Cache Control generally available (84b1ad3)
  • api: manual updates (1528d71)
  • api: removed older deprecated models (f5aafba)
  • api: search result content blocks (e4368ee)
  • api: update PHP and C# (d63878a)
  • api: update to desired NuGet name (c4b6820)
  • betas: add context-1m-2025-08-07 (f65802a)
  • ci: add publishing flow for nuget (487ac2e)
  • ci: implement test/lint ci (b34d54a)
  • client: add and set all client ops (3dee455)
  • client: add implicit conversions to enums (324f263)
  • client: add some convenience constructors (e2541e1)
  • client: add streaming methods (b394064)
  • client: add switch and match helpers for unions (d44a80c)
  • client: adds support for code-execution-2025-08-26 tool (5be3c78)
  • client: allow omitting all params object when all optional (68a792f)
  • client: automatically set constants for user (bb1343e)
  • client: basic paginated endpoint support (4766f1e)
  • client: implement implicit union casts (e36b8fa)
  • client: improve model names (18a0af9)
  • client: improve signature of trypickx methods (620b39b)
  • client: make union deserialization more robust (26d42da)
  • client: make union deserialization more robust (f85bc36)
  • client: refactor exceptions (e5cfd36)
  • client: refactor unions (f6b60e3)
  • client: shorten union variant names (c397c9b)
  • internal: add dedicated build job in ci (9d46238)
  • internal: add dev container (e7682c0)
  • internal: allow overriding mock url via TEST_API_BASE_URL env (f14a23c)
  • internal: generate release flow files (7a759d7)

Bug Fixes

  • client: better type names (057bf2d)
  • client: compilation error (56d1c41)
  • client: handle multiple auth options gracefully (beabac5)
  • client: improve model validation (b77753e)
  • client: instantiate union variant from list properly (0db37e5)
  • client: support non-optional client options (fadaa63)
  • docs: re-order using statements (b77bdb2)
  • internal: add message to sse exception (8481832)
  • internal: minor bug fixes on model instantiation and union validation (6d0f0d9)
  • internal: prefer to use implicit instantiation when possible (b869753)
  • internal: remove example csproj (e6e2c93)
  • internal: remove unused null class (c46f844)
  • internal: rename package directory (a2557ac)
  • internal: various minor code fixes (136162a)

Chores

  • api: remove unsupported endpoints (d318ba7)
  • api: update BetaCitationSearchResultLocation (801a222)
  • client: add context-management-2025-06-27 beta header (c716a85)
  • client: add model-context-window-exceeded-2025-08-26 beta header (6ea4ac3)
  • client: add TextEditor_20250429 tool (adee5b4)
  • client: make some interfaces internal (476e69e)
  • client: swap [@params](https://github.com/params) to better name (3d8e0d9)
  • docs: clarify beta library limitations in readme (0aafa74)
  • improve example values (7b3bc97)
  • internal: codegen related update (b98acb4)
  • internal: codegen related update (c765e20)
  • internal: codegen related update (fb6b738)
  • internal: codegen related update (135523a)
  • internal: fix tests (c7205c2)
  • internal: refactor tests to de-duplicate client instantiation logic (f14a23c)
  • internal: remove unnecessary internal aliasing (d210122)
  • internal: rename parameters (0013847)
  • internal: restructure some imports (974e4a3)
  • internal: stop running whitespace lint (f14a23c)
  • internal: update comment in script (d9ff761)
  • internal: update test skipping reason (124aab3)
  • internal: use nicer generic names (00c3c7e)
  • rename some things (654eb75)
  • update @stainless-api/prism-cli to v5.15.0 (3a1d8f7)
  • update formatting (8b06f4f)
  • update SDK settings (f5e0568)
  • use non-aliased using (ba9d1ac)

Documentation

  • add more info to the readme (9f20bf2)
  • client: add more property comments (a3e973b)
  • fix installation instructions (4c76768)
  • note alpha status (cc023e3)
  • streaming in readme (6063490)

Refactors

  • client: refine enum representation (a3e973b)
  • client: use plural for service namespace (843da53)