Repository navigation
Releases
v3.16.0
v3.15.0
Features
- api: add api_key_requester_unconfirmed error code to the Admin API
- api: add error codes for cost report size limits
- api: add the user_profile_cleared error code to workspace updates
Bug Fixes
- internal: keep large union deserializers within the JVM method size limit
Chores
- api: remove retired Claude Sonnet 4.5 models
- docs: clarify which speed needs the fast mode beta header
- docs: explain the compliance review policy category values
v3.14.0
Features
- api: add a shorthand for a federation rule's service account target
- api: add Google-managed data controls for Google Cloud projects
- api: add Google-managed data controls for user profiles
- api: add support for compliance review cases, notices, and items
Chores
- docs: name both causes of the tool use limit error
- docs: update example workspace and API key IDs
v3.13.0
Features
-
api: add an error code to Message Batches creation
-
api: add External Storage to the Admin API beta
-
api: add webhook events for external storage failure and recovery
-
bedrock: support a custom base URL
BedrockBackendalways sent requests tohttps://bedrock-runtime.<region>.amazonaws.com. SetBedrockBackend.builder().baseUrl(...), or theANTHROPIC_BEDROCK_BASE_URLenvironment variable withfromEnv(), to send them elsewhere, such as to a VPC interface endpoint. Requests are still signed for the configured region.
Bug Fixes
- api: use 64-bit integers for Managed Agents usage token counts
- client: keep a tool block's input when it streams without deltas
- client: keep fields that accept any JSON when calling toParam()
Chores
- api: mark Claude Opus 4.5 as deprecated (end-of-life January 22, 2027)
- docs: clarify when plugin archive downloads are recorded and who gave a share
- docs: correct organization-type notes in usage and cost reports
- docs: describe the user profile endpoints and link to the guide
- docs: use realistic example values in more request bodies
- internal: remove lint suppressions that are no longer needed
- tests: cancel the traced future directly in the spans test
- tests: cover a response that arrives after its future is done
Documentation
- api: shorten the human_review description
v3.12.0
Features
-
api: add the image_dimensions_too_large error code
-
client: add completionExecutor option and run async work on it
Async requests, and callbacks chained onto the futures they return, now run on a dedicated pool of up to 64 threads instead of the HTTP client's threads or the common pool. If your callbacks block, pass your own executor with
completionExecutor. When all 64 threads are busy, work runs in the thread that submits it, which can be the thread that made the call. An async call still in flight when the client is closed now fails withRejectedExecutionException.
Bug Fixes
-
bedrock: send the user profile ID in the request body
Amazon Bedrock reads
user_profile_idfrom the request body and ignores theanthropic-user-profile-idheader, so a profile ID given toBedrockBackendwas not applied.BedrockBackendnow moves it into the body of Messages requests and no longer sends the header. Auser_profile_idalready in the body takes priority over the header.Some models on Bedrock do not support user profiles. A request to one of them with a profile ID now fails with a 400 error; before, the ID was ignored. Leave the ID off requests to those models.
-
client: run credential work on the completion executor
Chores
-
api: change the POM name from Anthropic API to Claude API
The group and artifact IDs don't change.
-
docs: clarify billing_policy in batches and two billing errors
-
internal: lint against async stages that run on the common pool
v3.11.0
Features
- api: add Claude Code managed settings to the Admin API
- api: add the sandbox_egress_restricted error to Admin API plugin methods
Chores
- docs: explain how the input-token rate limit types differ
- docs: name Claude Security in the usage and cost report descriptions
- docs: note that a Google Cloud external key's provider and key_name can't be changed
Build System
- pack license files into jars in a fixed order
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.fromleft out everynullinside aMap, at any depth, and now keeps it, so thenullis sent. If your map holds anullthat 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.reasonon an errored scan now says why there is no verdict. It is not a security finding, so code that treats anyreasonas a concern should also checkstatus. -
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-07andce-user-management-2026-07-13from your requests.files-api-2025-04-14andskills-2025-10-02select the beta response shapes, so follow the Files API and Skills migration guides before you delete them.In C#, the
AnthropicBetaenum'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
beta.messages.batchesno longer sendsmessage-batches-2024-09-24, which the API doesn't need. If your client sets a defaultanthropic-betaheader, these requests now send it, where in some SDKs the old value replaced it. The API still accepts the old value. If you set it yourself, delete it: a later release removes it from the SDKs. -
docs: add an example value for the workspace name
-
docs: clarify data_refreshed_at on usage and cost reports
-
docs: clarify when the auto permission policy denies a tool call
-
docs: clarify which workspaces an external key can be attached to
-
docs: recommend multiagent_20261001 over the coordinator type
-
docs: remove note that a page of plugin shares may be short
-
docs: say when organization_id is required on plugin reads
-
internal: format all Kotlin files in one ktfmt process
Build System
- keep docs links to JDK and Kotlin types when built offline
v3.8.0
Features
- api: add Claude Tag metrics to the analytics summaries and users reports
- api: add reply_mode to Claude Tag Slack channel settings
Bug Fixes
- client: quote the whole Bedrock, Vertex or Google Cloud path value in the dot-segment error, so "..;x" is no longer reported as ".."
- vertex: send ";" in the model as "%3B", so a server that drops ";" and what follows it keeps the method name
Chores
- docs: clarify display_name for RBAC Roles created by Anthropic
- docs: clarify plugin delete and skill name conflict descriptions
- docs: clarify when to omit user_profile_id on external keys
- docs: note that a page of plugin shares may be short or empty
- docs: note that Claude Tag settings accept self-hosted runner pools
- docs: update model descriptions
- tests: keep empty arrays and nulls from API examples in generated tests
Documentation
- examples: show multiagent when creating a Managed Agents agent
v3.7.0
Features
- api: accept user_profile.program_status_updated on organization webhook endpoints
- api: add claude-fable-5-2 and claude-mythos-5-2
- api: add parent organization filtering and grouping to the usage and cost reports
- api: add the sandbox_egress_restricted error to Admin API write methods
- api: add the user_profile.program_status_updated webhook event
Bug Fixes
- api: type the per-user analytics report actor as a union
Chores
- api: remove some error detail types and update descriptions
- ci: add one ci check that passes when the other CI jobs pass
- docs: say when a work heartbeat does not compare its value
- docs: update model descriptions
Documentation
- name the right class in the JsonNull.of() doc comment