Commit 1d6cb24
Bump com.anthropic:anthropic-java from 0.8.0 to 2.6.0 (#246)
Bumps
[com.anthropic:anthropic-java](https://github.com/anthropics/anthropic-sdk-java)
from 0.8.0 to 2.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/anthropics/anthropic-sdk-java/releases">com.anthropic:anthropic-java's
releases</a>.</em></p>
<blockquote>
<h2>v2.6.0</h2>
<h2>2.6.0 (2025-09-02)</h2>
<p>Full Changelog: <a
href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.5.1...v2.6.0">v2.5.1...v2.6.0</a></p>
<h3>Features</h3>
<ul>
<li><strong>client:</strong> adds support for code-execution-2025-08-26
tool (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/da4c57b12dafe5243a5e06288c946830746622e5">da4c57b</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>client:</strong> ensure correct binary content type (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/197fdd5433ad9d39b488bb232797084b08bade7f">197fdd5</a>)</li>
<li>fix casing issue (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/c2c50097e4ea22fbac005fc4083142315384c51b">c2c5009</a>)</li>
<li>update singularization rules (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/afec494c858f4231191f8ff80e3a5dfd37f62e82">afec494</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li><strong>internal:</strong> make formatting faster (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/7c36322f9f664d32a4649f07d0bfc02a3116129b">7c36322</a>)</li>
</ul>
<h3>Chores</h3>
<ul>
<li><strong>api:</strong> remove unsupported endpoints (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/d9b7be334b6d949045be9f9ee22f8b80b20c8cda">d9b7be3</a>)</li>
<li><strong>ci:</strong> add build job (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/061df8e7024fc4db78f703510e6e80ff20221974">061df8e</a>)</li>
<li><strong>ci:</strong> reduce log noise (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/b91d7779f1263e3f33a6297fab9016e2dc52a74b">b91d777</a>)</li>
<li><strong>client:</strong> refactor closing / shutdown (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/f0c796d723913df6b9465cbb4d0a84d00df21cdd">f0c796d</a>)</li>
<li><strong>client:</strong> rename parameter (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/197fdd5433ad9d39b488bb232797084b08bade7f">197fdd5</a>)</li>
<li><strong>internal:</strong> dynamically determine included projects
(<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/93db169c6cf328e9a7ffca28555264686853001a">93db169</a>)</li>
<li><strong>internal:</strong> run formatter (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/06cd69ff9dc45bf6ae427c87818b31bee60fd35d">06cd69f</a>)</li>
<li><strong>internal:</strong> support passing arguments to test script
(<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/8528c63f15574ecf0def1ad937324e83d324675f">8528c63</a>)</li>
<li><strong>internal:</strong> support running formatters directly (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/e0de72e934963d0dddf749d678e6293d123cb79e">e0de72e</a>)</li>
<li>remove memory upper bound from publishing step (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/cb2ac3b70f37f9d65bbeaff429f684b66911b3b1">cb2ac3b</a>)</li>
<li><strong>tests:</strong> setup cache creation in MessageAccumulator
test (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/d5de4438df3ee755bac3d4c66021e653c9f07acb">d5de443</a>)</li>
</ul>
<h2>v2.5.1</h2>
<h2>2.5.1 (2025-08-13)</h2>
<p>Full Changelog: <a
href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.5.0...v2.5.1">v2.5.0...v2.5.1</a></p>
<h3>Chores</h3>
<ul>
<li>deprecate older claude-3-5 sonnet models (<a
href="https://redirect.github.com/anthropics/anthropic-sdk-java/issues/591">#591</a>)
(<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/c7c4cc1a0862f3121f9e1eb7703407efe9198b0c">c7c4cc1</a>)</li>
<li><strong>internal:</strong> format identity methods (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/483576abc49b0932bade9ad667747d1eedbea8a4">483576a</a>)</li>
</ul>
<h2>v2.5.0</h2>
<h2>2.5.0 (2025-08-12)</h2>
<p>Full Changelog: <a
href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.4.0...v2.5.0">v2.4.0...v2.5.0</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/anthropics/anthropic-sdk-java/blob/main/CHANGELOG.md">com.anthropic:anthropic-java's
changelog</a>.</em></p>
<blockquote>
<h2>2.6.0 (2025-09-02)</h2>
<p>Full Changelog: <a
href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.5.1...v2.6.0">v2.5.1...v2.6.0</a></p>
<h3>Features</h3>
<ul>
<li><strong>client:</strong> adds support for code-execution-2025-08-26
tool (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/da4c57b12dafe5243a5e06288c946830746622e5">da4c57b</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>client:</strong> ensure correct binary content type (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/197fdd5433ad9d39b488bb232797084b08bade7f">197fdd5</a>)</li>
<li>fix casing issue (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/c2c50097e4ea22fbac005fc4083142315384c51b">c2c5009</a>)</li>
<li>update singularization rules (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/afec494c858f4231191f8ff80e3a5dfd37f62e82">afec494</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li><strong>internal:</strong> make formatting faster (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/7c36322f9f664d32a4649f07d0bfc02a3116129b">7c36322</a>)</li>
</ul>
<h3>Chores</h3>
<ul>
<li><strong>api:</strong> remove unsupported endpoints (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/d9b7be334b6d949045be9f9ee22f8b80b20c8cda">d9b7be3</a>)</li>
<li><strong>ci:</strong> add build job (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/061df8e7024fc4db78f703510e6e80ff20221974">061df8e</a>)</li>
<li><strong>ci:</strong> reduce log noise (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/b91d7779f1263e3f33a6297fab9016e2dc52a74b">b91d777</a>)</li>
<li><strong>client:</strong> refactor closing / shutdown (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/f0c796d723913df6b9465cbb4d0a84d00df21cdd">f0c796d</a>)</li>
<li><strong>client:</strong> rename parameter (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/197fdd5433ad9d39b488bb232797084b08bade7f">197fdd5</a>)</li>
<li><strong>internal:</strong> dynamically determine included projects
(<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/93db169c6cf328e9a7ffca28555264686853001a">93db169</a>)</li>
<li><strong>internal:</strong> run formatter (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/06cd69ff9dc45bf6ae427c87818b31bee60fd35d">06cd69f</a>)</li>
<li><strong>internal:</strong> support passing arguments to test script
(<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/8528c63f15574ecf0def1ad937324e83d324675f">8528c63</a>)</li>
<li><strong>internal:</strong> support running formatters directly (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/e0de72e934963d0dddf749d678e6293d123cb79e">e0de72e</a>)</li>
<li>remove memory upper bound from publishing step (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/cb2ac3b70f37f9d65bbeaff429f684b66911b3b1">cb2ac3b</a>)</li>
<li><strong>tests:</strong> setup cache creation in MessageAccumulator
test (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/d5de4438df3ee755bac3d4c66021e653c9f07acb">d5de443</a>)</li>
</ul>
<h2>2.5.1 (2025-08-13)</h2>
<p>Full Changelog: <a
href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.5.0...v2.5.1">v2.5.0...v2.5.1</a></p>
<h3>Chores</h3>
<ul>
<li>deprecate older claude-3-5 sonnet models (<a
href="https://redirect.github.com/anthropics/anthropic-sdk-java/issues/591">#591</a>)
(<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/c7c4cc1a0862f3121f9e1eb7703407efe9198b0c">c7c4cc1</a>)</li>
<li><strong>internal:</strong> format identity methods (<a
href="https://github.com/anthropics/anthropic-sdk-java/commit/483576abc49b0932bade9ad667747d1eedbea8a4">483576a</a>)</li>
</ul>
<h2>2.5.0 (2025-08-12)</h2>
<p>Full Changelog: <a
href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.4.0...v2.5.0">v2.4.0...v2.5.0</a></p>
<h3>Features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/anthropics/anthropic-sdk-java/commit/42fce65f72958741c63c51b3d19012f35edbb4f9"><code>42fce65</code></a>
release: 2.6.0</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-java/commit/2b10838cc9b74df3e279763f0ea3af97012a9cc0"><code>2b10838</code></a>
feat(client): adds support for code-execution-2025-08-26 tool</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-java/commit/ab1254a8ab559806e56a8f41d833cacc80141dde"><code>ab1254a</code></a>
chore(internal): run formatter</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-java/commit/5611d37f31650a30ada83292d97dfa08561f205c"><code>5611d37</code></a>
chore(tests): setup cache creation in MessageAccumulator test</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-java/commit/95918dc6c0a0de64682b4c5e0630aff0402205bb"><code>95918dc</code></a>
codegen metadata</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-java/commit/d4fffce28f5984d2166399c327259e8f32ad993e"><code>d4fffce</code></a>
codegen metadata</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-java/commit/f02db72ed9521bfc9c1070e33281ab01ba3f2541"><code>f02db72</code></a>
codegen metadata</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-java/commit/2e258deed300d743ced11eda1920e127039931cc"><code>2e258de</code></a>
codegen metadata</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-java/commit/31c46ff041c167ce83837555fcd19281e78dad5f"><code>31c46ff</code></a>
fix: fix casing issue</li>
<li><a
href="https://github.com/anthropics/anthropic-sdk-java/commit/6fdc91169fa19753ba8b14887f032ffdd7ac44d6"><code>6fdc911</code></a>
fix: update singularization rules</li>
<li>Additional commits viewable in <a
href="https://github.com/anthropics/anthropic-sdk-java/compare/v0.8.0...v2.6.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)
</details>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Konstantin Pavlov <1517853+kpavlov@users.noreply.github.com>1 parent a9e2797 commit 1d6cb24
File tree
2 files changed
+23
-17
lines changed- gradle
- samples/kotlin-mcp-client/src/main/kotlin/io/modelcontextprotocol/sample/client
2 files changed
+23
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Lines changed: 22 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
27 | | - | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
59 | | - | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
67 | | - | |
| 71 | + | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| |||
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
77 | | - | |
| 81 | + | |
78 | 82 | | |
79 | | - | |
| 83 | + | |
80 | 84 | | |
81 | | - | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
96 | | - | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
104 | | - | |
| 108 | + | |
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
| |||
119 | 123 | | |
120 | 124 | | |
121 | 125 | | |
122 | | - | |
| 126 | + | |
123 | 127 | | |
124 | 128 | | |
125 | 129 | | |
| |||
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
134 | | - | |
135 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
136 | 142 | | |
137 | | - | |
| 143 | + | |
138 | 144 | | |
139 | 145 | | |
140 | 146 | | |
141 | 147 | | |
142 | 148 | | |
143 | 149 | | |
144 | | - | |
| 150 | + | |
145 | 151 | | |
146 | 152 | | |
147 | 153 | | |
| |||
160 | 166 | | |
161 | 167 | | |
162 | 168 | | |
163 | | - | |
| 169 | + | |
164 | 170 | | |
165 | 171 | | |
166 | 172 | | |
| |||
173 | 179 | | |
174 | 180 | | |
175 | 181 | | |
176 | | - | |
| 182 | + | |
0 commit comments