Skip to content

Releases: anthropics/anthropic-sdk-java

v2.11.1

19 Nov 23:24

Choose a tag to compare

2.11.1 (2025-11-19)

Full Changelog: v2.11.0...v2.11.1

Bug Fixes

  • structured outputs: use correct beta header (ec6d404)

v2.11.0

14 Nov 18:28

Choose a tag to compare

2.11.0 (2025-11-14)

Full Changelog: v2.10.1...v2.11.0

Features

  • api: add support for structured outputs beta (4459de9)

v2.10.1

13 Nov 17:34

Choose a tag to compare

2.10.1 (2025-11-13)

Full Changelog: v2.10.0...v2.10.1

Bug Fixes

  • client: multi-value header serialization (e5726af)

v2.10.0

29 Oct 16:37

Choose a tag to compare

2.10.0 (2025-10-29)

Full Changelog: v2.9.0...v2.10.0

Features

  • api: add ability to clear thinking in context management (bfe013e)
  • api: adding support for agent skills (2d74866)

Bug Fixes

  • tests: provide skills in accumulation tests (dd2d919)

Chores

  • api: mark older sonnet models as deprecated (9327c98)

v2.9.0

15 Oct 16:59

Choose a tag to compare

2.9.0 (2025-10-15)

Full Changelog: v2.8.1...v2.9.0

Features

  • add more helper methods to instantiate union objects (3e3a4bb)
  • api: manual updates (d2170e9)

v2.8.1

29 Sep 21:35

Choose a tag to compare

2.8.1 (2025-09-29)

Full Changelog: v2.8.0...v2.8.1

Chores

  • client: add context-management-2025-06-27 beta header (b6c5683)
  • client: add model-context-window-exceeded-2025-08-26 beta header (d9d0493)

v2.8.0

29 Sep 16:56

Choose a tag to compare

2.8.0 (2025-09-29)

Full Changelog: v2.7.0...v2.8.0

Features

  • api: adds support for Claude Sonnet 4.5 and context management features (c286ab8)
  • client: expose sleeper option (ca9ce4f)

Bug Fixes

  • client: deserialization of empty objects (af93581)
  • client: ensure single timer is created per client (ca9ce4f)
  • client: incorrect getPackageVersion impl (a8b170b)

Chores

  • improve formatter performance (c57630b)
  • improve formatter performance (100e6ad)
  • internal: change some comment formatting (f725d58)
  • internal: codegen related update (14a3c9c)
  • internal: codegen related update (e6fddb4)
  • internal: fix tests (cc05673)

v2.7.0

10 Sep 15:31

Choose a tag to compare

2.7.0 (2025-09-10)

Full Changelog: v2.6.0...v2.7.0

Features

  • api: adds support for Documents in tool results (a299cfd)
  • api: adds support for web_fetch_20250910 tool (dec0520)
  • client: support for Bedrock authorization using API keys (#279) (787d77b)

Bug Fixes

  • accumulator: add web fetch block handling (a731cdd)
  • ci: use java-version 21 for publish step (165cefb)
  • tests: add missing web fetch requests usage (aec8f06)

v2.6.0

02 Sep 16:11

Choose a tag to compare

2.6.0 (2025-09-02)

Full Changelog: v2.5.1...v2.6.0

Features

  • client: adds support for code-execution-2025-08-26 tool (da4c57b)

Bug Fixes

  • client: ensure correct binary content type (197fdd5)
  • fix casing issue (c2c5009)
  • update singularization rules (afec494)

Performance Improvements

  • internal: make formatting faster (7c36322)

Chores

  • api: remove unsupported endpoints (d9b7be3)
  • ci: add build job (061df8e)
  • ci: reduce log noise (b91d777)
  • client: refactor closing / shutdown (f0c796d)
  • client: rename parameter (197fdd5)
  • internal: dynamically determine included projects (93db169)
  • internal: run formatter (06cd69f)
  • internal: support passing arguments to test script (8528c63)
  • internal: support running formatters directly (e0de72e)
  • remove memory upper bound from publishing step (cb2ac3b)
  • tests: setup cache creation in MessageAccumulator test (d5de443)

v2.5.1

13 Aug 17:09

Choose a tag to compare

2.5.1 (2025-08-13)

Full Changelog: v2.5.0...v2.5.1

Chores

  • deprecate older claude-3-5 sonnet models (#591) (c7c4cc1)
  • internal: format identity methods (483576a)