Skip to content

chore: release main#142

Merged
packyg merged 24 commits intomainfrom
release-please--branches--main--changes--next
Mar 31, 2026
Merged

chore: release main#142
packyg merged 24 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app bot commented Mar 16, 2026

✨ Stainless prepared a new release

Anthropic: 12.10.0

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)
Bedrock: 0.1.1

0.1.1 (2026-03-31)

Full Changelog: Bedrock-v0.1.0...Bedrock-v0.1.1

Bug Fixes

  • handle oversized SSE events in Bedrock SseEventContentWrapper (#147) (dcbf8cc)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@stainless-app stainless-app bot requested a review from a team as a code owner March 16, 2026 16:30
packyg
packyg previously approved these changes Mar 16, 2026
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch 3 times, most recently from 2305b59 to bc297cb Compare March 18, 2026 05:34
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from bc297cb to f379d3c Compare March 18, 2026 06:25
…test MEAI/Anthropic features (#118)

* Update to M.E.AI.Abstractions 10.3.0

This also lets us map ChatOptions.Reasoning.

* Update to M.E.AI 10.4.0

* Promote GA features from the beta IChatClient to the stable IChatClient

* Update IChatClient implementation schema transforms to match TypeScript and Python clients

* Add missing features now available in stable and in 10.4.0

* Fix comments
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from f379d3c to d38bdda Compare March 18, 2026 14:58
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from d38bdda to 9f39671 Compare March 18, 2026 17:44
/v1/models capabilities expansion
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch 3 times, most recently from b4865db to c9f6d09 Compare March 20, 2026 05:27
…epresentation has messages (#144)

* Fix IChatClient handling of empty messages when raw representation has messages

* Update comments: remove outdated claim about expensive deserialization

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from c9f6d09 to b7fd7e7 Compare March 20, 2026 15:07
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from b7fd7e7 to 05af683 Compare March 20, 2026 17:56
)

* fix: handle oversized SSE events in SseEventContentWrapper.ReadAsync

ReadAsync threw ArgumentException ("Destination is too short") when an
AWS EventStream message, after conversion to SSE format, exceeded the
caller's read buffer size.

The fix buffers any remainder and returns it across subsequent ReadAsync
calls, following the standard Stream.ReadAsync contract where each call
returns up to buffer.Length bytes.

Fixes #146

* test: add SseEventContentWrapper buffer overflow tests

Add InternalsVisibleTo for Anthropic.Tests to access Bedrock internals.
Bump VersionPrefix to 0.1.1.

* fix: address PR feedback - revert version bump and fix formatting

- Revert VersionPrefix change (bumped automatically)
- Run dotnet csharpier format

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: formatting

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 05af683 to cb9a853 Compare March 20, 2026 18:41
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from cb9a853 to a2e5643 Compare March 20, 2026 21:44
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from a2e5643 to 13610ae Compare March 20, 2026 21:45
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch 9 times, most recently from 4cff390 to 18b534b Compare March 30, 2026 16:22
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 18b534b to cf8af58 Compare March 30, 2026 19:48
Add an ErrorType property that exposes the error type from the API
response body (e.g., "rate_limit_error", "overloaded_error"). This
lets users identify error kinds uniformly across both HTTP errors and
streaming errors, since streaming errors arrive as SSE error events
with HTTP 200 status.

Introduce AnthropicServiceException as a shared base class for both
AnthropicApiException and AnthropicSseException, with the ErrorType
property defined there. This allows catching both error types in a
single catch block without breaking existing exception handling.
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch 2 times, most recently from 0c67f3c to 3c9fbb1 Compare March 31, 2026 05:37
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 3c9fbb1 to 877d341 Compare March 31, 2026 13:28
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 877d341 to 15dfff5 Compare March 31, 2026 15:17
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 15dfff5 to dd5f734 Compare March 31, 2026 18:08
@packyg packyg merged commit d401daf into main Mar 31, 2026
7 checks passed
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app bot commented Mar 31, 2026

@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app bot commented Mar 31, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants