Skip to content

Releases: anthropics/anthropic-sdk-java

v2.15.0

19 Feb 19:39

Choose a tag to compare

2.15.0 (2026-02-19)

Full Changelog: v2.14.0...v2.15.0

Features

  • api: Add top-level cache control (automatic caching) (836d140)
  • api: Deprecate haiku-3 (a04dca8)
  • api: fix shared UserLocation and error code types (8b2a797)
  • api: manual updates (148cd98)
  • api: Releasing claude-sonnet-4-6 (b32f5d2)
  • client: add connection pooling option (5064a08)

Bug Fixes

Chores

  • internal: make OkHttp constructor internal (eadeb1b)
  • internal: update TestServerExtension comment (01ee3fb)
  • update mock server docs (034370b)

v2.14.0

07 Feb 19:14

Choose a tag to compare

2.14.0 (2026-02-07)

Full Changelog: v2.13.0...v2.14.0

Features

  • api: add support for speed mode (82451ae)

Chores

  • internal: make BedrockBackendTest resilient to ambient AWS config (1d32ff0)
  • internal: upgrade AssertJ (497621a)

v2.13.0

05 Feb 19:29

Choose a tag to compare

2.13.0 (2026-02-05)

Full Changelog: v2.12.0...v2.13.0

Features

  • add warning for thinking enabled usage on new model (#801) (ad68dfc)
  • api: Release Claude Opus 4.6, adaptive thinking, and other features (9014e16)

Chores

  • ci: remove claude-code-review workflow (c623793)
  • internal: allow passing args to ./scripts/test (509badc)
  • remove claude-code-review workflow (c623793)
  • remove claude-code-review workflow (d578437)

v2.12.0

29 Jan 18:32

Choose a tag to compare

2.12.0 (2026-01-29)

Full Changelog: v2.11.1...v2.12.0

Features

  • add output_config to message create params (4c4bb5d)
  • api: Add new methods to tests (#748) (2c2ebdc)
  • api: add support for Structured Outputs in the Messages API (50fb232)
  • api: adds support for Claude Opus 4.5, Effort, Advance Tool Use Features, Autocompaction, and Computer Use v5 (4689271)
  • api: migrate sending message format in output_config rather than output_format (c0103c6)
  • api: migrate sending message format in output_config rather than output_format (a6ea665)
  • client: add HttpRequest#url() method (49afe52)
  • client: allow configuring dispatcher executor service (60554ea)
  • client: send X-Stainless-Kotlin-Version header (d7bffd2)
  • client: support Anthropic models on Microsoft Foundry (#698) (8077051)

Bug Fixes

  • client: BetaMessageAccumulator crash on empty tool input (e0fe678)
  • client: cancel okhttp call when future cancelled (b52f783)
  • client: disallow coercion from float to int (492286b)
  • client: fully respect max retries (e593174)
  • client: implement visitToolSearchToolResult for Beta Accumulator (41191ed)
  • client: preserve time zone in lenient date-time parsing (8e7204c)
  • client: remove duplicate outputConfig parameters (b1c37b8)
  • client: run linter (73e141d)
  • client: send retry count header for max retries 0 (e593174)
  • date time deserialization leniency (f6f7ad1)
  • remove duplicate code (937b34f)
  • resolve lint error (db08d1c)
  • update failing test (4a7c7a9)

Chores

  • ci: add Claude Code GitHub Workflow (4eec6e8)
  • ci: upgrade actions/github-script (18fbb1d)
  • ci: upgrade actions/setup-java (de57407)
  • client: improve example values (d579c45)
  • client: mark claude-3-5-haiku as deprecated (46bf679)
  • fix merge conflict (e307fa0)
  • fix test (b612010)
  • format code (3765903)
  • internal: clean up maven repo artifact script and add html documentation to repo root (d319dd7)
  • internal: correct cache invalidation for SKIP_MOCK_TESTS (7d40d45)
  • internal: depend on packages directly in example (e593174)
  • internal: improve maven repo docs (852f6dc)
  • internal: support uploading Maven repo artifacts to stainless package server (17e663a)
  • internal: update actions/checkout version (7fd4f0a)
  • internal: update maven repo doc to include authentication (23d5c76)
  • internal: use different example values for some enums (5d45a2f)
  • test on Jackson 2.14.0 to avoid encountering FasterXML/jackson-databind#3240 in tests (f6f7ad1)

Documentation

  • remove $ for better copy-pasteabality (b2315f9)

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)