Skip to content

.NET: Bump Anthropic from 12.20.0 to 12.31.0#6726

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/nuget/dotnet/Anthropic-12.31.0
Open

.NET: Bump Anthropic from 12.20.0 to 12.31.0#6726
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/nuget/dotnet/Anthropic-12.31.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 25, 2026

Copy link
Copy Markdown
Contributor

Updated Anthropic from 12.20.0 to 12.31.0.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Anthropic
  dependency-version: 12.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Usage: [Issues, PRs], Target: .Net dependencies Usage: [Issues, PRs], Target: dependencies in the project labels Jun 25, 2026
Copilot AI review requested due to automatic review settings June 25, 2026 08:51
@dependabot dependabot Bot added .NET Usage: [Issues, PRs], Target: .Net dependencies Usage: [Issues, PRs], Target: dependencies in the project labels Jun 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@github-actions github-actions Bot changed the title Bump Anthropic from 12.20.0 to 12.31.0 .NET: Bump Anthropic from 12.20.0 to 12.31.0 Jun 25, 2026
@github-actions github-actions Bot changed the title Bump Anthropic from 12.20.0 to 12.31.0 .NET: Bump Anthropic from 12.20.0 to 12.31.0 Jun 25, 2026
@rogerbarreto

Copy link
Copy Markdown
Member

@copilot Please have a look into what is breaking here and lets address it.

Copilot AI commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

@copilot Please have a look into what is breaking here and lets address it.

The break was in the Anthropic unit-test mocks, not in production code. Anthropic 12.31.0 added new members to the SDK interfaces that the test stubs implement:

  • IAnthropicClient.Handlers (IReadOnlyList<DelegatingHandler>)
  • IBetaService.Deployments (IDeploymentService)
  • IBetaService.DeploymentRuns (IDeploymentRunService)

I implemented these on the TestAnthropicChatClient/TestBetaService mocks in both AnthropicClientExtensionsTests and AnthropicBetaServiceExtensionsTests. The project now builds and all 26 unit tests pass.

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

Labels

dependencies Usage: [Issues, PRs], Target: dependencies in the project .NET Usage: [Issues, PRs], Target: .Net

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants