Packages

@anthropic-ai/sdk

1.8.0 · 10 Nov 2026Apache-2.075M / weekRepositoryHomepagenpmAtom feed

Your version

0.127.0

18 Sep 2026Where it was published

0.137.0 is the newest release of 0.127.x.

In short

1 deprecated1 new1 faster6 fixed10 internal

  • Deprecated

    api: add group with display_name to rate limits, deprecate group_type

Release note

Features

  • Deprecated

    api: add group with display_name to rate limits, deprecate group_type

  • tools: add compactBeforeNextTurn() to the tool runner

Bug Fixes

  • BetaMessageStream: stop coercing a null compaction_delta content into "null"

  • client: don't retry requests whose body is a stream or iterator

  • client: join multiple anthropic-beta values with a comma and no space

  • client: make pagination exports on the client namespace type-only

  • middleware: echo a streamed compaction summary in the fallback continuation

  • tools: keep $defs when transformJSONSchema root is a $ref

Performance Improvements

  • client: skip formatting request details when debug logging is off

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.