Anthropic Java SDK 3.12.0 sürüm notları
Anthropic Java SDK 3.12.0 sürümünün yayın tarihi 20 Kasım 2026. En güncel sürüm 3.14.0.
Orijinal sürüm notları
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
Kaynak: GitHub sürümü v3.12.0