Skip to content

release: 2.16.0#305

Merged
stainless-app[bot] merged 25 commits intomainfrom
release-please--branches--main--changes--next
Mar 6, 2026
Merged

release: 2.16.0#305
stainless-app[bot] merged 25 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Feb 20, 2026

Automated Release PR

2.16.0 (2026-03-06)

Full Changelog: v2.15.0...v2.16.0

Features

  • api: change array_format to brackets (f9eef6e)
  • api: chore(config): clean up model enum list (#31) (b19aa51)
  • api: remove publishing section from cli target (f802cb0)
  • client: support memory tools (#853) (f824954)
  • tests: update mock server (1ec509c)

Bug Fixes

  • clear last tool response when user sets next params (#895) (5b082a0)
  • client: update model references from claude-4-sonnet-20250514 to claude-sonnet-4-5 (746d5da)
  • set Accept header in more places (bc159c8)

Chores

  • drop apache dependency (ee7f3d4)
  • internal: codegen related update (159c037)
  • internal: expand imports (6a3adca)
  • make Properties more resilient to null (5c7ad57)
  • rename method to avoid conflict (b9b400d)
  • tests: unskip tests that are now supported in steady (8cad6ac)

Documentation

  • additional structured outputs documentation (#302) (3b1f131)
  • streamline README and rebrand to Claude SDK (#815) (6b550bf)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@stainless-app stainless-app Bot requested a review from a team as a code owner February 20, 2026 03:58
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Feb 20, 2026

🧪 Testing

To try out this version of the SDK:

Add the following URL as a Maven source: 'https://pkg.stainless.com/s/anthropic-java/f8249549dadd9761bf844b5f95f9a497624c894a/mvn'

Expires at: Sun, 05 Apr 2026 15:51:09 GMT
Updated at: Fri, 06 Mar 2026 15:51:09 GMT

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 4dc31cb to 51eafe6 Compare February 20, 2026 05:23
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 51eafe6 to 5ec81d9 Compare February 20, 2026 18:59
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 5ec81d9 to 46bc5c0 Compare February 20, 2026 19:40
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 46bc5c0 to 0f48a64 Compare February 20, 2026 20:15
@stainless-app stainless-app Bot changed the title release: 2.15.1 release: 2.16.0 Feb 20, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 0f48a64 to 8332518 Compare February 20, 2026 20:15
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 8332518 to ad9f5c2 Compare February 20, 2026 23:02
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch 4 times, most recently from dadc9d3 to c6bca79 Compare February 23, 2026 05:29
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch 2 times, most recently from b604311 to 3ec67f9 Compare February 24, 2026 05:26
Streamline the Java SDK README to focus on getting started quickly,
moving detailed documentation (streaming, structured outputs, tool use,
file uploads, pagination, error handling, etc.) to platform.claude.com.

Changes:
- Centralize full SDK documentation at platform.claude.com/docs/en/api/sdks/java
- Rebrand from "Anthropic API" / "Anthropic SDK" to "Claude API" / "Claude SDK"
- Update all URLs to platform.claude.com
- Update getting started example to use Opus 4.6
- Restore x-release-please-start-version directives removed during rewrite
- Fix StructuredContentBlockTest compilation error (WebSearchToolResultErrorCode type)
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch 4 times, most recently from ce61acd to d89dff7 Compare February 27, 2026 05:22
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch 3 times, most recently from abc8997 to 3ab7462 Compare March 4, 2026 05:17
- Remove models past their end-of-life date
- Remove legacy naming format aliases
- Add deprecation notice for claude-3-haiku-20240307
- Update descriptions for consistency across variants
- Reorder entries to group aliases with their dated versions
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 3ab7462 to 0fbbc6e Compare March 4, 2026 19:27
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 0fbbc6e to 9db3677 Compare March 4, 2026 19:42
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch 2 times, most recently from 4351408 to 69ca4bf Compare March 5, 2026 05:19
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch 2 times, most recently from 58f0fdb to 9d5f08b Compare March 6, 2026 05:17
damo and others added 2 commits March 6, 2026 10:47
* memory-tools: basic implementation with example and unrelated fixes for broken tests

* memory-tools: fixes for bad merge during rebase

* memory-tools: changes after review - part 1

* memory-tools: changes after review - part 2

* memory-tools: changes after review - part 3

* memory-tools: docs for tool runner and memory tools

* fix: make view range an optional range

* chore: wrap memory tool call in try catch

* fix: let -1 read to eof, use simple string replace

* chore: update memory example to throw exceptions

* fix: change from RuntimeException to RuntimeIOException in memory example

Co-authored-by: Tomer Aberbach <tomer@stainlessapi.com>

---------

Co-authored-by: Cameron McAteer <246350779+cameron-mcateer@users.noreply.github.com>
Co-authored-by: Tomer Aberbach <tomer@stainlessapi.com>
@stainless-app stainless-app Bot merged commit 819295a into main Mar 6, 2026
7 checks passed
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Mar 6, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants