Releases: anthropics/anthropic-sdk-java
Releases · anthropics/anthropic-sdk-java
v2.15.0
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
- api: fix spec errors (5f7a7e6)
- resolve build issues (#829) (f72bfa9)
- resolve changed ref (#833) (29ecece)
Chores
v2.14.0
2.14.0 (2026-02-07)
Full Changelog: v2.13.0...v2.14.0
Features
- api: add support for speed mode (82451ae)
Chores
v2.13.0
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
v2.12.0
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-Versionheader (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/checkoutversion (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
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
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
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
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)