Skip to content

chore(deps): bump com.anthropic:anthropic-java from 2.72.0 to 3.10.0 - #4316

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/com.anthropic-anthropic-java-3.10.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/com.anthropic-anthropic-java-3.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Bumps com.anthropic:anthropic-java from 2.72.0 to 3.10.0.

Release notes

Sourced from com.anthropic:anthropic-java's releases.

v3.10.0

Features

  • api: add beta support for the billing_policy request parameter
  • api: add contract_spend_limit_reached error code to messages
  • api: add error codes for linked billing refusals
  • api: add the user_profile_billing_not_authorized error code
  • api: add webhook events for external key failure and recovery

Bug Fixes

  • client: keep a map's nulls in JsonValue.from

    JsonValue.from left out every null inside a Map, at any depth, and now keeps it, so the null is sent. If your map holds a null that means "not given", leave that key out instead.

Chores

  • docs: clarify which AWS KMS keys a workspace can use on Claude Platform on AWS

  • docs: clarify which credential work get, update and list accept

  • docs: clarify which uploads a plugin pin holds back

  • docs: note that a plugin scan's reason also covers errored scans

    content_scan.reason on an errored scan now says why there is no verdict. It is not a security finding, so code that treats any reason as a concern should also check status.

  • internal: give Gradle and the Kotlin compiler daemon more heap

v3.9.0

Features

  • api: add source and error codes to the RBAC Role read endpoints
  • api: add Update Bundle, which sets a Claude Tag Bundle's instructions, and return instructions on Bundle

Bug Fixes

  • vertex: request the cloud-platform scope for default credentials

Chores

  • api: deprecate old beta header values

    The API still accepts these values, but a later release removes them from the SDKs. Delete prompt-caching-2024-07-31, pdfs-2024-09-25, token-counting-2024-11-01, token-efficient-tools-2025-02-19, extended-cache-ttl-2025-04-11, cache-diagnosis-2026-04-07 and ce-user-management-2026-07-13 from your requests. files-api-2025-04-14 and skills-2025-10-02 select the beta response shapes, so follow the Files API and Skills migration guides before you delete them.

    In C#, the AnthropicBeta enum's members have new numbers, so code compiled against an earlier SDK version sends a different beta value, with no error, until you rebuild it.

  • api: stop sending an old beta header on batch requests

... (truncated)

Changelog

Sourced from com.anthropic:anthropic-java's changelog.

3.10.0 (2026-11-17)

Features

  • api: add beta support for the billing_policy request parameter
  • api: add contract_spend_limit_reached error code to messages
  • api: add error codes for linked billing refusals
  • api: add the user_profile_billing_not_authorized error code
  • api: add webhook events for external key failure and recovery

Bug Fixes

  • client: keep a map's nulls in JsonValue.from

    JsonValue.from left out every null inside a Map, at any depth, and now keeps it, so the null is sent. If your map holds a null that means "not given", leave that key out instead.

Chores

  • docs: clarify which AWS KMS keys a workspace can use on Claude Platform on AWS

  • docs: clarify which credential work get, update and list accept

  • docs: clarify which uploads a plugin pin holds back

  • docs: note that a plugin scan's reason also covers errored scans

    content_scan.reason on an errored scan now says why there is no verdict. It is not a security finding, so code that treats any reason as a concern should also check status.

  • internal: give Gradle and the Kotlin compiler daemon more heap

3.9.0 (2026-11-16)

Features

  • api: add source and error codes to the RBAC Role read endpoints
  • api: add Update Bundle, which sets a Claude Tag Bundle's instructions, and return instructions on Bundle

Bug Fixes

  • vertex: request the cloud-platform scope for default credentials

Chores

  • api: deprecate old beta header values

    The API still accepts these values, but a later release removes them from the SDKs. Delete prompt-caching-2024-07-31, pdfs-2024-09-25, token-counting-2024-11-01, token-efficient-tools-2025-02-19, extended-cache-ttl-2025-04-11, cache-diagnosis-2026-04-07 and ce-user-management-2026-07-13 from your requests. files-api-2025-04-14 and skills-2025-10-02 select the beta response shapes, so follow the Files API and Skills migration guides before you delete them.

    In C#, the AnthropicBeta enum's members have new numbers, so code compiled against an earlier SDK version sends a different beta value, with no error, until you rebuild it.

... (truncated)

Commits
  • dd68a2f release: 3.10.0
  • 8d0265a Merge pull request #483 from anthropics/synced/published
  • b1d77d7 feat(api): add contract_spend_limit_reached error code to messages
  • 883d6ed chore(docs): clarify which AWS KMS keys a workspace can use on Claude Platfor...
  • 1bb727d feat(api): add the user_profile_billing_not_authorized error code
  • 476de4d feat(api): add error codes for linked billing refusals
  • c8c4c0e chore(docs): clarify which uploads a plugin pin holds back
  • 3d73fd6 chore(docs): clarify which credential work get, update and list accept
  • 4c22316 codegen metadata
  • 006361a codegen metadata
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Nov 21, 2026
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@dependabot
dependabot Bot force-pushed the dependabot/maven/com.anthropic-anthropic-java-3.10.0 branch from 8a10961 to fceeaa5 Compare November 22, 2026 06:51
@dependabot
dependabot Bot force-pushed the dependabot/maven/com.anthropic-anthropic-java-3.10.0 branch from fceeaa5 to c3eb46f Compare November 22, 2026 06:53
@Acerola-1

Copy link
Copy Markdown
Contributor
I'd like to take this migration over manually — the version bump alone can't go green: 3.x regenerated the
 message models for API version 2026-10-21, so `MessageParam.Content` / `toBuilder()` are gone and the
formatter layer needs real code changes.

From the CI logs the compile errors are confined to `agentscope-extensions-model-anthropic`
(AnthropicBaseFormatter, AnthropicMessageConverter, AnthropicMultiAgentFormatter, AnthropicToolsHelper),
and no other module imports the SDK, so the scope looks bounded.

Plan: open a separate PR against main bumping to 3.10.0 and migrating those call sites. I'll keep the diff
 strictly to the API migration (no behavior changes), check the 3.10.0 `JsonValue.from` null-retention
change against our request payloads, and run the module tests plus a full verify. Happy to rebase around
#4243 / #3740 if they land first.

Unless there's a reason to hold off (e.g. a preferred target version), I'll start on this.

@dependabot @github

dependabot Bot commented on behalf of github Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #4485.

@dependabot dependabot Bot closed this Nov 28, 2026
@dependabot
dependabot Bot deleted the dependabot/maven/com.anthropic-anthropic-java-3.10.0 branch November 28, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants