Skip to content

Commit e026069

Browse files
Bump com.anthropic:anthropic-java from 2.7.0 to 2.9.0 (#323)
Bumps [com.anthropic:anthropic-java](https://github.com/anthropics/anthropic-sdk-java) from 2.7.0 to 2.9.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.9.0</h2> <h2>2.9.0 (2025-10-15)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.8.1...v2.9.0">v2.8.1...v2.9.0</a></p> <h3>Features</h3> <ul> <li>add more helper methods to instantiate union objects (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/3e3a4bbab308c457c03e6291c766d499287c0c0b">3e3a4bb</a>)</li> <li><strong>api:</strong> manual updates (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/d2170e9bf101ee3db876edf62792fba2697748c3">d2170e9</a>)</li> </ul> <h2>v2.8.1</h2> <h2>2.8.1 (2025-09-29)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.8.0...v2.8.1">v2.8.0...v2.8.1</a></p> <h3>Chores</h3> <ul> <li><strong>client:</strong> add context-management-2025-06-27 beta header (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/b6c56838bc69ba3fe57b683d9c6e168304db9d96">b6c5683</a>)</li> <li><strong>client:</strong> add model-context-window-exceeded-2025-08-26 beta header (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/d9d0493fc7d01cbe03b9805306739c1ab1ebc7c8">d9d0493</a>)</li> </ul> <h2>v2.8.0</h2> <h2>2.8.0 (2025-09-29)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.7.0...v2.8.0">v2.7.0...v2.8.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> adds support for Claude Sonnet 4.5 and context management features (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/c286ab85ad924205987641240792f1734a0686b8">c286ab8</a>)</li> <li><strong>client:</strong> expose sleeper option (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/ca9ce4f05f004acf4118e1621cd8897c2a4be8a0">ca9ce4f</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>client:</strong> deserialization of empty objects (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/af93581b6a56804cbccff3318706716c0b926ddb">af93581</a>)</li> <li><strong>client:</strong> ensure single timer is created per client (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/ca9ce4f05f004acf4118e1621cd8897c2a4be8a0">ca9ce4f</a>)</li> <li><strong>client:</strong> incorrect <code>getPackageVersion</code> impl (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/a8b170b391da21f2fe4a43d9ba82207c2ff5a2ae">a8b170b</a>)</li> </ul> <h3>Chores</h3> <ul> <li>improve formatter performance (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/c57630b565faa7d87192c3cbd3af682868a514f3">c57630b</a>)</li> <li>improve formatter performance (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/100e6adc25f2c09366be2bc85101615e85393817">100e6ad</a>)</li> <li><strong>internal:</strong> change some comment formatting (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/f725d582e11284786a10a3813080a335ce283a36">f725d58</a>)</li> <li><strong>internal:</strong> codegen related update (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/14a3c9cc526f9a51b80a082496ce50f28bb2b814">14a3c9c</a>)</li> <li><strong>internal:</strong> codegen related update (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/e6fddb403cebdab86243be8ae3c3ec0c3fd6ac74">e6fddb4</a>)</li> <li><strong>internal:</strong> fix tests (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/cc0567395827e0f7ff289b724a5112da9210f290">cc05673</a>)</li> </ul> </blockquote> </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.9.0 (2025-10-15)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.8.1...v2.9.0">v2.8.1...v2.9.0</a></p> <h3>Features</h3> <ul> <li>add more helper methods to instantiate union objects (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/3e3a4bbab308c457c03e6291c766d499287c0c0b">3e3a4bb</a>)</li> <li><strong>api:</strong> manual updates (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/d2170e9bf101ee3db876edf62792fba2697748c3">d2170e9</a>)</li> </ul> <h2>2.8.1 (2025-09-29)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.8.0...v2.8.1">v2.8.0...v2.8.1</a></p> <h3>Chores</h3> <ul> <li><strong>client:</strong> add context-management-2025-06-27 beta header (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/b6c56838bc69ba3fe57b683d9c6e168304db9d96">b6c5683</a>)</li> <li><strong>client:</strong> add model-context-window-exceeded-2025-08-26 beta header (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/d9d0493fc7d01cbe03b9805306739c1ab1ebc7c8">d9d0493</a>)</li> </ul> <h2>2.8.0 (2025-09-29)</h2> <p>Full Changelog: <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.7.0...v2.8.0">v2.7.0...v2.8.0</a></p> <h3>Features</h3> <ul> <li><strong>api:</strong> adds support for Claude Sonnet 4.5 and context management features (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/c286ab85ad924205987641240792f1734a0686b8">c286ab8</a>)</li> <li><strong>client:</strong> expose sleeper option (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/ca9ce4f05f004acf4118e1621cd8897c2a4be8a0">ca9ce4f</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>client:</strong> deserialization of empty objects (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/af93581b6a56804cbccff3318706716c0b926ddb">af93581</a>)</li> <li><strong>client:</strong> ensure single timer is created per client (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/ca9ce4f05f004acf4118e1621cd8897c2a4be8a0">ca9ce4f</a>)</li> <li><strong>client:</strong> incorrect <code>getPackageVersion</code> impl (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/a8b170b391da21f2fe4a43d9ba82207c2ff5a2ae">a8b170b</a>)</li> </ul> <h3>Chores</h3> <ul> <li>improve formatter performance (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/c57630b565faa7d87192c3cbd3af682868a514f3">c57630b</a>)</li> <li>improve formatter performance (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/100e6adc25f2c09366be2bc85101615e85393817">100e6ad</a>)</li> <li><strong>internal:</strong> change some comment formatting (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/f725d582e11284786a10a3813080a335ce283a36">f725d58</a>)</li> <li><strong>internal:</strong> codegen related update (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/14a3c9cc526f9a51b80a082496ce50f28bb2b814">14a3c9c</a>)</li> <li><strong>internal:</strong> codegen related update (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/e6fddb403cebdab86243be8ae3c3ec0c3fd6ac74">e6fddb4</a>)</li> <li><strong>internal:</strong> fix tests (<a href="https://github.com/anthropics/anthropic-sdk-java/commit/cc0567395827e0f7ff289b724a5112da9210f290">cc05673</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/f93cdaa53f14ca7edb7dba99522559f09b0bb6a4"><code>f93cdaa</code></a> release: 2.9.0</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/3a37cfc3a82ab357aa469ac72b541128ab5852d9"><code>3a37cfc</code></a> feat(api): manual updates</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/d581f2aad2e47395c94ff629955fa1293d1e825f"><code>d581f2a</code></a> feat: add more helper methods to instantiate union objects</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/5a0a815be5723ace535a615e81b27927c5683df3"><code>5a0a815</code></a> codegen metadata</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/4f816b21fb08563ac455a37a00f636f7a008af04"><code>4f816b2</code></a> release: 2.8.1</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/dec4738aea70c751d722d38f8ffc723d28c055b2"><code>dec4738</code></a> chore(client): add model-context-window-exceeded-2025-08-26 beta header</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/1479b2c5bf0f88467b0e476163e2a2a0587daf28"><code>1479b2c</code></a> chore(client): add context-management-2025-06-27 beta header</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/ef6a706593aa62ea1c68ea072df2b4b234635374"><code>ef6a706</code></a> release: 2.8.0</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/618bb972e8c9293be4942d849c79ddc55f1cd822"><code>618bb97</code></a> feat(api): adds support for Claude Sonnet 4.5 and context management features</li> <li><a href="https://github.com/anthropics/anthropic-sdk-java/commit/1c6be51c978f0206e275efa88ee9244548950b10"><code>1c6be51</code></a> fix(client): deserialization of empty objects</li> <li>Additional commits viewable in <a href="https://github.com/anthropics/anthropic-sdk-java/compare/v2.7.0...v2.9.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.anthropic:anthropic-java&package-manager=gradle&previous-version=2.7.0&new-version=2.9.0)](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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 232582d commit e026069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ mokksy = "0.6.1"
2323

2424
# Samples
2525
mcp-kotlin = "0.7.3"
26-
anthropic = "2.7.0"
26+
anthropic = "2.9.0"
2727
shadow = "8.1.1"
2828

2929
[libraries]

0 commit comments

Comments
 (0)