Skip to content

Commit fd8afcf

Browse files
chore(deps): bump com.anthropic:anthropic-java from 2.35.0 to 2.40.1 in /samples/kotlin-mcp-client in the other-dependencies group across 1 directory (#818)
Bumps the other-dependencies group with 1 update in the /samples/kotlin-mcp-client directory: [com.anthropic:anthropic-java](https://github.com/anthropics/anthropic-sdk-java). Updates `com.anthropic:anthropic-java` from 2.35.0 to 2.40.1 <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.40.1</h2> <h2>2.40.1 (2026-06-09)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.40.0...v2.40.1">v2.40.0...v2.40.1</a></p> <h3>Bug Fixes</h3> <ul> <li><strong>api:</strong> add <code>frontier_llm</code> refusal category (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/1627fd3561cb8594d81e9e384e1191faf27d53d3">1627fd3</a>)</li> </ul> <h2>v2.40.0</h2> <h2>2.40.0 (2026-06-09)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.39.0...v2.40.0">v2.39.0...v2.40.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> add support for Managed Agents deployments and environment variable credentials (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/628720bcd5dcc0b34ecf0cbf334cae528e8f0fb3">628720b</a>)</li> </ul> <h2>v2.39.0</h2> <h2>2.39.0 (2026-06-09)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.38.0...v2.39.0">v2.38.0...v2.39.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> add support for claude-mythos-5 and claude-fable-5, with support for server-side fallbacks on refusal (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/835fb424738130b382ea12adf8927c2f861eff35">835fb42</a>)</li> <li><strong>client:</strong> adds client-side fallbacks middleware for API providers that do not support server-side fallbacks (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/835fb424738130b382ea12adf8927c2f861eff35">835fb42</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>3p middleware ordering (<a href="https://redirect.github.com/anthropics/anthropic-sdk-java/issues/34">#34</a>) (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/d01da3a680148d2531b01e5197642fa87648ef7f">d01da3a</a>)</li> <li><strong>streaming:</strong> merge message_delta usage without dropping or rejecting iterations (<a href="https://redirect.github.com/anthropics/anthropic-sdk-java/issues/39">#39</a>) (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/e3af1188f3c0da69b107e312a0c1700167e835dc">e3af118</a>)</li> </ul> <h2>v2.38.0</h2> <h2>2.38.0 (2026-06-06)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.37.0...v2.38.0">v2.37.0...v2.38.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> small updates to Managed Agents types (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/c7b08d808e9edc7a9aa6867b3e7e785c5907c05e">c7b08d8</a>)</li> </ul> <h2>v2.37.0</h2> <h2>2.37.0 (2026-06-05)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.36.0...v2.37.0">v2.36.0...v2.37.0</a></p> <h3>Features</h3> <!-- 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.40.1 (2026-06-09)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.40.0...v2.40.1">v2.40.0...v2.40.1</a></p> <h3>Bug Fixes</h3> <ul> <li><strong>api:</strong> add <code>frontier_llm</code> refusal category (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/1627fd3561cb8594d81e9e384e1191faf27d53d3">1627fd3</a>)</li> </ul> <h2>2.40.0 (2026-06-09)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.39.0...v2.40.0">v2.39.0...v2.40.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> add support for Managed Agents deployments and environment variable credentials (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/628720bcd5dcc0b34ecf0cbf334cae528e8f0fb3">628720b</a>)</li> </ul> <h2>2.39.0 (2026-06-09)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.38.0...v2.39.0">v2.38.0...v2.39.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> add support for claude-mythos-5 and claude-fable-5, with support for server-side fallbacks on refusal (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/835fb424738130b382ea12adf8927c2f861eff35">835fb42</a>)</li> <li><strong>client:</strong> adds client-side fallbacks middleware for API providers that do not support server-side fallbacks (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/835fb424738130b382ea12adf8927c2f861eff35">835fb42</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>3p middleware ordering (<a href="https://redirect.github.com/anthropics/anthropic-sdk-java/issues/34">#34</a>) (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/d01da3a680148d2531b01e5197642fa87648ef7f">d01da3a</a>)</li> <li><strong>streaming:</strong> merge message_delta usage without dropping or rejecting iterations (<a href="https://redirect.github.com/anthropics/anthropic-sdk-java/issues/39">#39</a>) (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/e3af1188f3c0da69b107e312a0c1700167e835dc">e3af118</a>)</li> </ul> <h2>2.38.0 (2026-06-06)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.37.0...v2.38.0">v2.37.0...v2.38.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> small updates to Managed Agents types (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/c7b08d808e9edc7a9aa6867b3e7e785c5907c05e">c7b08d8</a>)</li> </ul> <h2>2.37.0 (2026-06-05)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.36.0...v2.37.0">v2.36.0...v2.37.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> mark Claude Opus 4.1 as deprecated (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/693cbb4cf1fc7649799cf7181dec8ecbf70c8cb8">693cbb4</a>)</li> </ul> <h2>2.36.0 (2026-06-04)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.35.0...v2.36.0">v2.35.0...v2.36.0</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/43b8020fa663c1982777f30cee15df25d672a639"><code>43b8020</code></a> release: 2.40.1 (<a href="https://redirect.github.com/anthropics/anthropic-sdk-java/issues/350">#350</a>)</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/8f3e69b64a9dfa5d00dc5926c766dcd4f2988d3b"><code>8f3e69b</code></a> release: 2.40.0</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/154013227209f6a070eedac4322780a0b8245079"><code>1540132</code></a> feat(api): add support for Managed Agents deployments and environment variabl...</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/a214f315bf0a2e62b5daedde6f7121d9f92d386d"><code>a214f31</code></a> release: 2.39.0</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/194e2f47eb687d8ca439f909bbcd7b31f5a4698b"><code>194e2f4</code></a> feat(api): add support for claude-mythos-5 and claude-fable-5, with support f...</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/56a2a49ac1ffbb6945b9976f1b0d36da37ff075d"><code>56a2a49</code></a> fix(streaming): merge message_delta usage without dropping or rejecting itera...</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/a8c6d0f9fb0b77f10e2ebec0f62d81bdcaac0afd"><code>a8c6d0f</code></a> fix: 3p middleware ordering (<a href="https://redirect.github.com/anthropics/anthropic-sdk-java/issues/34">#34</a>)</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/79e85688430c56142aeb22d13533a7b77863dd0f"><code>79e8568</code></a> release: 2.38.0</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/e7c8e6e5194d9192d6e2bb2e917dcd26a7e6c257"><code>e7c8e6e</code></a> feat(api): small updates to Managed Agents types</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/edc1ae0ba0bf2b08563104dfe80399e4b8d568d7"><code>edc1ae0</code></a> release: 2.37.0</li> <li>Additional commits viewable in <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.35.0...v2.40.1">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 75920e1 commit fd8afcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/kotlin-mcp-client/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
anthropic = "2.35.0"
2+
anthropic = "2.40.1"
33
kotlin = "2.3.21"
44
ktor = "3.3.3"
55
mcp-kotlin = "0.12.0"

0 commit comments

Comments
 (0)