Packages

@ai-sdk/anthropic

4.0.106 · 17 Nov 2026Apache-2.024.5M / weekRepositoryHomepagenpmAtom feed

Your version

3.0.8

7 Jan 2026Where it was published

3.0.143 is the newest release of 3.x.

In short

1 fixed

Release note

Patch Changes

  • anthropic: Enable structured output support for claude-haiku-4-5

    This fixes an issue where the strict: true property was not included in the request body when using tools with Claude Haiku 4.5, because supportsStructuredOutput was incorrectly set to false for this model.

    Claude Haiku 4.5 supports structured outputs, so the strict property should be forwarded to the Anthropic API when specified on tools.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.