Skip to content

Releases: anthropics/anthropic-sdk-java

v2.57.0

Choose a tag to compare

@stainless-app stainless-app released this 19 Aug 22:00

2.57.0 (2026-08-19)

Full Changelog: v2.56.0...v2.57.0

Features

  • api: managed agents web search config and self hosted sandbox memory (83b03c0)

v2.56.0

Choose a tag to compare

@stainless-app stainless-app released this 19 Aug 16:53

2.56.0 (2026-08-19)

Full Changelog: v2.55.0...v2.56.0

Features

  • api: Files and Skills APIs are now GA; add computer use and browser use toolsets (762f342)

v2.55.0

Choose a tag to compare

@stainless-app stainless-app released this 19 Aug 13:34

2.55.0 (2026-08-18)

Full Changelog: v2.54.0...v2.55.0

Features

  • api: additions to files and memory stores (1f89b9b)
  • api: updates to skill, files, and user profiles (a5febda)
  • client: add helpers for accessing the workspace ID in response headers (718d5c1)
  • internal: upgrade to Gradle 9 and Kotlin 2.3 with a shared version catalog (596395e)

Bug Fixes

  • api: remove unsupported mid_conv_system content block (89bf901)
  • client: don't let null usage fields in message_delta overwrite accumulated usage (#226) (603d2f5)
  • client: keep unknown content block and delta types when accumulating a message stream (#225) (9bf944d)
  • tool-runner: forward the server-assigned container on follow-up requests (#216) (b754c45)
  • tool-runner: send the BetaToolRunner helper header (#220) (95b359c)

Chores

  • internal: lint and format build logic sources with ktfmt (9b52a2a)
  • internal: remove leftover prism references (7624523)

v2.54.0

Choose a tag to compare

@stainless-app stainless-app released this 13 Aug 18:35

2.54.0 (2026-08-13)

Full Changelog: v2.53.0...v2.54.0

Features

  • api: add output_behavior to dream creation (create a new memory store or update the input store in place) (a49ea9a)
  • client: add StructuredOutputConfig for combining Class<T> structured outputs with other output options (#192) (8caead3)
  • client: typed discriminator enum accessor on discriminated unions (3333df7)
  • vertex: allow overriding the base URL (#343) (2663a25)

Bug Fixes

  • client: add models (1c84fd2)
  • client: align skills Body.of() with custom multipart files type (#189) (fd17ff7)
  • client: convert enum values to the param enum class in toParam() (31ca943)
  • client: delegate type() in StructuredContentBlock wrappers (#191) (1194dae)
  • client: don't throw when accumulating a tool call truncated by max_tokens (#200) (711d1d8)
  • messages: accumulate an empty tool_use input as {} rather than missing (#382) (68c8ae1)
  • streaming: apply all message_delta fields when accumulating streamed messages (#197) (4530957)

Chores

  • ci: run breaking-change detection as a ci.yml job on every push (db3a17b)
  • internal: codegen related update (0f36423)

Documentation

  • api: clarify that user profile name is optional for resold profiles (ab0287e)
  • contributing: describe the mock server the scripts actually run (#384) (0a17d61)

v2.53.0

Choose a tag to compare

@stainless-app stainless-app released this 07 Aug 17:16

2.53.0 (2026-08-07)

Full Changelog: v2.52.0...v2.53.0

Features

  • api: add mid-conversation-tool-changes-2026-07-01 beta (02bf73e)
  • api: add support for session budgets, advisor tool, pinned inference location and skills auto-loading from GitHub (ae84c87)
  • client: add accessors for properties shared across union variants (c61dd17)

Bug Fixes

  • client: add id()/toolUseId() delegating accessors to StructuredContentBlock wrappers (#183) (c69c3a3)

Chores

  • api: remove retired Claude Opus 4.1 models (003af97)
  • docs: small updates to descriptions (7faf29c)
  • docs: updates to a few documentation strings (1e66bdc)

v2.52.0

Choose a tag to compare

@stainless-app stainless-app released this 24 Jul 16:33

2.52.0 (2026-07-24)

Full Changelog: v2.51.0...v2.52.0

Features

  • api: add claude-opus-5 model (fb245bd)
  • api: add tool addition/removal blocks and tool_change events (fb245bd)
  • api: expand client-side fallback credit token types and add server-side fallbacks default option (fb245bd)

v2.51.0

Choose a tag to compare

@stainless-app stainless-app released this 23 Jul 17:36

2.51.0 (2026-07-23)

Full Changelog: v2.50.0...v2.51.0

Features

  • api: add new stop reason 'model_context_window_exceeded' (f4b644e)

Bug Fixes

  • refer to the CLI as ant in NoCredentialsException (#170) (1bc2be9)

v2.50.0

Choose a tag to compare

@stainless-app stainless-app released this 22 Jul 16:48

2.50.0 (2026-07-22)

Full Changelog: v2.49.1...v2.50.0

Features

  • api: add support for Managed Agents model effort, initial session events, and threads delta streaming (e312432)

v2.49.1

Choose a tag to compare

@stainless-app stainless-app released this 21 Jul 22:28

2.49.1 (2026-07-21)

Full Changelog: v2.49.0...v2.49.1

Chores

  • api: add support for new refusal category (40db9c7)
  • client: docs updates (5b25c27)
  • docs: small updates (99a2a8c)
  • docs: small updates (adc11f5)
  • internal: codegen related update (9d85f79)

v2.49.0

Choose a tag to compare

@stainless-app stainless-app released this 16 Jul 19:37

2.49.0 (2026-07-16)

Full Changelog: v2.48.0...v2.49.0

Features

  • api: add support for dreaming (836ee60)
  • api: add support for MCP Tunnels (a05c5cf)
  • helpers: add session delta accumulator for agent.message previews (#123) (fc902ed)

Chores

  • docs: small updates to field descriptions (6405877)
  • docs: update model example (f940d27)
  • docs: updates to descriptions and examples (cd1d008)