Packages

@ai-sdk/anthropic

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

Your version

457 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 3.x
  2. 3.0.43

    12 Feb 2026

    Only updates a dependency:@ai-sdk/provider-utils 4.0.15

  3. 3.0.42

    11 Feb 2026
    • Normalize provider specific model options type names and ensure they are exported

  4. 3.0.41

    10 Feb 2026
    • anthropic: Add the new compaction feature

  5. 3.0.40

    10 Feb 2026
    • provider/anthropic: Include actual raw usage data for response.usage.raw when streaming

  6. 3.0.39

    8 Feb 2026
    • anthropic: Add support for Opus 4.6 fast mode

  7. 3.0.37

    5 Feb 2026
    • anthropic: Add support for Opus 4.6

  8. 3.0.36

    3 Feb 2026
    • anthropic: Support custom tool-reference content for deferred tool loading

  9. 3.0.34 – 3.0.352 releases that only update dependencies@ai-sdk/provider 3.0.7@ai-sdk/provider-utils 4.0.13Show each
  10. 3.0.33

    30 Jan 2026
    • Fix streaming context_management field location - was incorrectly expected inside delta object but API returns it at message_delta root level

  11. 3.0.32

    30 Jan 2026
    • anthropic: Add missing param in tool schema

  12. 3.0.30 – 3.0.312 releases with no change for you1 dependency update, 1 maintenance@ai-sdk/provider-utils 4.0.11@ai-sdk/provider 3.0.6Show each
  13. 3.0.29

    28 Jan 2026
    • Fix cache usage reporting for anthropic stream

  14. 3.0.28

    27 Jan 2026
    • provider/anthropic: Populate outputTokens.text field in usage

  15. 3.0.27

    27 Jan 2026
    • anthropic: Allow custom/dynamic key for providerOptions

  16. 3.0.26

    27 Jan 2026

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  17. 3.0.25

    27 Jan 2026
    • provider/anthropic: Add computer_20251124 tool for claude opus 4.5

  18. 3.0.23 – 3.0.242 releases that only update dependencies@ai-sdk/provider-utils 4.0.10@ai-sdk/provider 3.0.5Show each
  19. 3.0.22

    22 Jan 2026
    • Add authToken option to support Authorization: Bearer authentication as an alternative to x-api-key header authentication.

  20. 3.0.21

    22 Jan 2026
    • anthropic: Deferred results for tool search tool

  21. 3.0.19 – 3.0.202 maintenance releases: docs, tests or toolingShow each
    • 3.0.2022 Jan 2026docs, tests or tooling
    • 3.0.1922 Jan 2026docs, tests or tooling
  22. 3.0.18

    21 Jan 2026
    • anthropic: Handle web_search_result_location citations and add webFetch documents to citationDocuments

  23. 3.0.17

    20 Jan 2026
    • Fix JSON parsing crash when handling Anthropic web_fetch tool error results

  24. 3.0.16

    20 Jan 2026
    • Not sending structured output beta header for json response tool

  25. 3.0.12 – 3.0.154 releases that only update dependencies@ai-sdk/provider 3.0.4@ai-sdk/provider-utils 4.0.8Show each
  26. 3.0.11

    12 Jan 2026
    • anthropic: Add application/json type regex matching

  27. 3.0.10

    12 Jan 2026
    • Fix input_tokens compatibility

  28. 3.0.9

    7 Jan 2026
    • anthropic: Assign type urls in file parts correctly

  29. 3.0.8

    7 Jan 2026
    • 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.

  30. 3.0.6

    5 Jan 2026
    • anthropic: Implement temperature/topP mutual exclusivity

      Resolves the Anthropic API breaking change where sampling parameters must use only temperature OR top_p, not both. When both parameters are provided:

      See Anthropic migration guide: platform.claude.com/docs/en/about-claude/models…

  31. 3.0.5

    5 Jan 2026

    Only updates a dependency:@ai-sdk/provider-utils 4.0.3

  32. 3.0.4

    5 Jan 2026
    • Use provider tool name in Tool Search Tool results

  33. 3.0.3

    5 Jan 2026
    • anthropic: Support deferred results for web search/fetch tool

  34. 3.0.2

    30 Dec 2025
    • Trigger release to update @latest

  35. 3.0.1

    23 Dec 2025

    Only updates a dependency:@ai-sdk/provider-utils 4.0.1

  36. 3.0.0

    22 Dec 2025
    • Breaking

      Ai SDK 6 beta

    • provider: Add specificationVersion to ProviderV3

    • provider: Shared spec v3

  37. 2.x
  38. 2.0.114

    9 Nov 2026
    • anthropic: Add Claude Fable 5.2 support

  39. 2.0.113

    7 Nov 2026
    • Keep computer toolset actions tied to the returned member name and reject disabled or unavailable members before emitting tool calls. Apply member configuration to local input validation and reject malformed streamed member input.

  40. 2.0.112

    3 Nov 2026
    • Enable native structured output for supported Claude 5 models on Bedrock. In automatic mode, Bedrock and Anthropic now fall back for schemas that native structured output cannot represent: recursive references, open objects, or more than ten optional properties. Anthropic uses the JSON response tool; Bedrock Converse uses the JSON tool or JSON instructions for models that reject forced tool use. The JSON-tool fallback excludes disabled and unselected application tools. Explicit outputFormat selection remains unchanged.

    • anthropic: Parse valid JSON string tool input and safely serialize BigInt and cycles in tool results

    • Preserve final JSON text when a model answers without calling the JSON response tool, including open-schema fallbacks on Claude models that reject forced tools. Keep tool preambles out of structured output in generation and streaming.

      When the model answers in text, streaming buffers that text until the message finishes to avoid exposing tool preambles as partial structured output.

  41. 2.0.111

    30 Oct 2026

    Only updates a dependency:@ai-sdk/provider-utils 3.0.43

  42. 2.0.110

    21 Oct 2026
    • Defer validation schema construction until first use to reduce provider import time.

    • Defer construction of Anthropic provider option schemas until they are first used to reduce package import time.

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.