Skip to content

Commit 921471e

Browse files
release: 2.12.0
1 parent b7a6ce6 commit 921471e

File tree

4 files changed

+68
-13
lines changed

4 files changed

+68
-13
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.11.1"
2+
".": "2.12.0"
33
}

CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
11
# Changelog
22

3+
## 2.12.0 (2026-01-26)
4+
5+
Full Changelog: [v2.11.1...v2.12.0](https://github.com/anthropics/anthropic-sdk-java/compare/v2.11.1...v2.12.0)
6+
7+
### Features
8+
9+
* add output_config to message create params ([4c4bb5d](https://github.com/anthropics/anthropic-sdk-java/commit/4c4bb5ddfe4d31c28c15f2ed2528825512bf2216))
10+
* **api:** Add new methods to tests ([#748](https://github.com/anthropics/anthropic-sdk-java/issues/748)) ([2c2ebdc](https://github.com/anthropics/anthropic-sdk-java/commit/2c2ebdc6a732b4adf595dbe1b422da1b02fc000f))
11+
* **api:** adds support for Claude Opus 4.5, Effort, Advance Tool Use Features, Autocompaction, and Computer Use v5 ([4689271](https://github.com/anthropics/anthropic-sdk-java/commit/4689271c4dba2de056356d314429af36b7ad7205))
12+
* **api:** migrate sending message format in output_config rather than output_format ([c0103c6](https://github.com/anthropics/anthropic-sdk-java/commit/c0103c6f83ce4df65bab9aaa7def6d628c644a64))
13+
* **api:** migrate sending message format in output_config rather than output_format ([a6ea665](https://github.com/anthropics/anthropic-sdk-java/commit/a6ea6657640fcd0ec4c9645503d0d87843ec094b))
14+
* **client:** add `HttpRequest#url()` method ([49afe52](https://github.com/anthropics/anthropic-sdk-java/commit/49afe52d1f478b167d343a94e703d75abc5e09ba))
15+
* **client:** allow configuring dispatcher executor service ([60554ea](https://github.com/anthropics/anthropic-sdk-java/commit/60554eafb104057399672deefe0bbdb9b82c64bb))
16+
* **client:** send `X-Stainless-Kotlin-Version` header ([d7bffd2](https://github.com/anthropics/anthropic-sdk-java/commit/d7bffd2117fb4602e13feb18f1dbd36178077e26))
17+
* **client:** support Anthropic models on Microsoft Foundry ([#698](https://github.com/anthropics/anthropic-sdk-java/issues/698)) ([8077051](https://github.com/anthropics/anthropic-sdk-java/commit/80770511530e0a897d55aeebcaa307d679147f1d))
18+
19+
20+
### Bug Fixes
21+
22+
* **client:** BetaMessageAccumulator crash on empty tool input ([e0fe678](https://github.com/anthropics/anthropic-sdk-java/commit/e0fe6788bd8a5529fdc493e73cbc532497622bc3))
23+
* **client:** cancel okhttp call when future cancelled ([b52f783](https://github.com/anthropics/anthropic-sdk-java/commit/b52f7831db730af1e398df4362b84002f82d025e))
24+
* **client:** disallow coercion from float to int ([492286b](https://github.com/anthropics/anthropic-sdk-java/commit/492286bc3dfe1848cfa4b3002f0578124a68b00f))
25+
* **client:** fully respect max retries ([e593174](https://github.com/anthropics/anthropic-sdk-java/commit/e593174c6fd274c420329614bcffae64dfd80b00))
26+
* **client:** implement visitToolSearchToolResult for Beta Accumulator ([41191ed](https://github.com/anthropics/anthropic-sdk-java/commit/41191edae162caaf9572c5d1d786160413bdc39c))
27+
* **client:** preserve time zone in lenient date-time parsing ([8e7204c](https://github.com/anthropics/anthropic-sdk-java/commit/8e7204cedd05e2362f816d1ce5318073914b268f))
28+
* **client:** run linter ([73e141d](https://github.com/anthropics/anthropic-sdk-java/commit/73e141d1df0cd094f6544b2bd51d5fccf989f28a))
29+
* **client:** send retry count header for max retries 0 ([e593174](https://github.com/anthropics/anthropic-sdk-java/commit/e593174c6fd274c420329614bcffae64dfd80b00))
30+
* date time deserialization leniency ([f6f7ad1](https://github.com/anthropics/anthropic-sdk-java/commit/f6f7ad13a7774c92079dbed38944369f519ebcf8))
31+
* remove duplicate code ([937b34f](https://github.com/anthropics/anthropic-sdk-java/commit/937b34fbf088b9c13fa12b0bf57f47c291313d1c))
32+
* resolve lint error ([db08d1c](https://github.com/anthropics/anthropic-sdk-java/commit/db08d1c5b636cea5587194659931de60a4b88683))
33+
34+
35+
### Chores
36+
37+
* **ci:** add Claude Code GitHub Workflow ([4eec6e8](https://github.com/anthropics/anthropic-sdk-java/commit/4eec6e844e9914150462ccbe017be1f2acfcd34a))
38+
* **ci:** upgrade `actions/github-script` ([18fbb1d](https://github.com/anthropics/anthropic-sdk-java/commit/18fbb1d0728a7ebde9b11837221a8c22c2e56d7a))
39+
* **ci:** upgrade `actions/setup-java` ([de57407](https://github.com/anthropics/anthropic-sdk-java/commit/de574074e5343cc7fcc959db5d5c37fc0f70f467))
40+
* **client:** mark claude-3-5-haiku as deprecated ([46bf679](https://github.com/anthropics/anthropic-sdk-java/commit/46bf679190664f37269dabcefcff82c4bad7f899))
41+
* fix merge conflict ([e307fa0](https://github.com/anthropics/anthropic-sdk-java/commit/e307fa0b01207b77210cfc1c6957ca8f4ffbfb5b))
42+
* fix test ([b612010](https://github.com/anthropics/anthropic-sdk-java/commit/b612010dd341f8f7ebcdf2cd719db9f45ef36841))
43+
* **internal:** clean up maven repo artifact script and add html documentation to repo root ([d319dd7](https://github.com/anthropics/anthropic-sdk-java/commit/d319dd7ac5f06a1a575f5cb9ad8508a4b5d365d3))
44+
* **internal:** correct cache invalidation for `SKIP_MOCK_TESTS` ([7d40d45](https://github.com/anthropics/anthropic-sdk-java/commit/7d40d45c2a2c9b79362150d0a2b939e0224b345c))
45+
* **internal:** depend on packages directly in example ([e593174](https://github.com/anthropics/anthropic-sdk-java/commit/e593174c6fd274c420329614bcffae64dfd80b00))
46+
* **internal:** improve maven repo docs ([852f6dc](https://github.com/anthropics/anthropic-sdk-java/commit/852f6dcc104540ef4871e94de2ed1b9f714f341a))
47+
* **internal:** support uploading Maven repo artifacts to stainless package server ([17e663a](https://github.com/anthropics/anthropic-sdk-java/commit/17e663afa3096c8869bcce18aa2753f23b3320c0))
48+
* **internal:** update `actions/checkout` version ([7fd4f0a](https://github.com/anthropics/anthropic-sdk-java/commit/7fd4f0aeed9b6dee1d94361b0c654339f3cfb5ba))
49+
* **internal:** update maven repo doc to include authentication ([23d5c76](https://github.com/anthropics/anthropic-sdk-java/commit/23d5c762fd608220a520562c66a040a2b642c505))
50+
* **internal:** use different example values for some enums ([5d45a2f](https://github.com/anthropics/anthropic-sdk-java/commit/5d45a2fbd45aa2fb6561063f80bc2ca984a76150))
51+
* test on Jackson 2.14.0 to avoid encountering FasterXML/jackson-databind[#3240](https://github.com/anthropics/anthropic-sdk-java/issues/3240) in tests ([f6f7ad1](https://github.com/anthropics/anthropic-sdk-java/commit/f6f7ad13a7774c92079dbed38944369f519ebcf8))
52+
53+
54+
### Documentation
55+
56+
* remove `$` for better copy-pasteabality ([b2315f9](https://github.com/anthropics/anthropic-sdk-java/commit/b2315f9d756ad473cd52c4daf52590341e9d3bce))
57+
358
## 2.11.1 (2025-11-19)
459

560
Full Changelog: [v2.11.0...v2.11.1](https://github.com/anthropics/anthropic-sdk-java/compare/v2.11.0...v2.11.1)

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
<!-- x-release-please-start-version -->
44

5-
[![Maven Central](https://img.shields.io/maven-central/v/com.anthropic/anthropic-java)](https://central.sonatype.com/artifact/com.anthropic/anthropic-java/2.11.1)
6-
[![javadoc](https://javadoc.io/badge2/com.anthropic/anthropic-java/2.11.1/javadoc.svg)](https://javadoc.io/doc/com.anthropic/anthropic-java/2.11.1)
5+
[![Maven Central](https://img.shields.io/maven-central/v/com.anthropic/anthropic-java)](https://central.sonatype.com/artifact/com.anthropic/anthropic-java/2.12.0)
6+
[![javadoc](https://javadoc.io/badge2/com.anthropic/anthropic-java/2.12.0/javadoc.svg)](https://javadoc.io/doc/com.anthropic/anthropic-java/2.12.0)
77

88
<!-- x-release-please-end -->
99

1010
The Anthropic Java SDK provides convenient access to the [Anthropic REST API](https://docs.anthropic.com/claude/reference/) from applications written in Java.
1111

1212
<!-- x-release-please-start-version -->
1313

14-
The REST API documentation can be found on [docs.anthropic.com](https://docs.anthropic.com/claude/reference/). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.anthropic/anthropic-java/2.11.1).
14+
The REST API documentation can be found on [docs.anthropic.com](https://docs.anthropic.com/claude/reference/). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.anthropic/anthropic-java/2.12.0).
1515

1616
<!-- x-release-please-end -->
1717

@@ -22,7 +22,7 @@ The REST API documentation can be found on [docs.anthropic.com](https://docs.ant
2222
### Gradle
2323

2424
```kotlin
25-
implementation("com.anthropic:anthropic-java:2.11.1")
25+
implementation("com.anthropic:anthropic-java:2.12.0")
2626
```
2727

2828
### Maven
@@ -31,7 +31,7 @@ implementation("com.anthropic:anthropic-java:2.11.1")
3131
<dependency>
3232
<groupId>com.anthropic</groupId>
3333
<artifactId>anthropic-java</artifactId>
34-
<version>2.11.1</version>
34+
<version>2.12.0</version>
3535
</dependency>
3636
```
3737

@@ -1146,7 +1146,7 @@ requires the `anthropic-java-bedrock` library dependency.
11461146
### Gradle
11471147

11481148
```kotlin
1149-
implementation("com.anthropic:anthropic-java-bedrock:2.11.1")
1149+
implementation("com.anthropic:anthropic-java-bedrock:2.12.0")
11501150
```
11511151

11521152
### Maven
@@ -1155,7 +1155,7 @@ implementation("com.anthropic:anthropic-java-bedrock:2.11.1")
11551155
<dependency>
11561156
<groupId>com.anthropic</groupId>
11571157
<artifactId>anthropic-java-bedrock</artifactId>
1158-
<version>2.11.1</version>
1158+
<version>2.12.0</version>
11591159
</dependency>
11601160
```
11611161

@@ -1279,7 +1279,7 @@ This support requires the `anthropic-java-vertex` library dependency.
12791279
### Gradle
12801280

12811281
```kotlin
1282-
implementation("com.anthropic:anthropic-java-vertex:2.11.1")
1282+
implementation("com.anthropic:anthropic-java-vertex:2.12.0")
12831283
```
12841284

12851285
### Maven
@@ -1288,7 +1288,7 @@ implementation("com.anthropic:anthropic-java-vertex:2.11.1")
12881288
<dependency>
12891289
<groupId>com.anthropic</groupId>
12901290
<artifactId>anthropic-java-vertex</artifactId>
1291-
<version>2.11.1</version>
1291+
<version>2.12.0</version>
12921292
</dependency>
12931293
```
12941294

@@ -1365,7 +1365,7 @@ requires the `anthropic-java-foundry` library dependency.
13651365
### Gradle
13661366

13671367
```kotlin
1368-
implementation("com.anthropic:anthropic-java-foundry:2.11.1")
1368+
implementation("com.anthropic:anthropic-java-foundry:2.12.0")
13691369
```
13701370

13711371
### Maven
@@ -1374,7 +1374,7 @@ implementation("com.anthropic:anthropic-java-foundry:2.11.1")
13741374
<dependency>
13751375
<groupId>com.anthropic</groupId>
13761376
<artifactId>anthropic-java-foundry</artifactId>
1377-
<version>2.11.1</version>
1377+
<version>2.12.0</version>
13781378
</dependency>
13791379
```
13801380

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repositories {
88

99
allprojects {
1010
group = "com.anthropic"
11-
version = "2.11.1" // x-release-please-version
11+
version = "2.12.0" // x-release-please-version
1212
}
1313

1414
subprojects {

0 commit comments

Comments
 (0)