Packages

@anthropic-ai/sdk

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

Upgrading @anthropic-ai/sdk From 1.8.0 to 1.13.0

5 releases in betweenevery note read

Before you upgrade

Tick each one off as you go
  • Deprecated1.13.0
  • Deprecated1.9.0

Release by release

  1. 1.13.0

    Deprecation23 Nov 20263 new · 1 fix
    • Deprecated

      api: mark Claude Opus 4.5 as deprecated (end-of-life January 22, 2027)

    • New

      api: add an error code to Message Batches creation

    • New

      api: add External Storage to the Admin API beta

    • New

      api: add webhook events for external storage failure and recovery

    • Fixed

      api: type beta batch request params as message create params

  2. 1.12.0

    20 Nov 20261 new · 1 fix
    • New

      api: add the image_dimensions_too_large error code

    • Fixed

      client: merge ANTHROPIC_CUSTOM_HEADERS with Headers or pairs in defaultHeaders

  3. 1.11.0

    19 Nov 20263 new
    • New

      api: add Claude Code managed settings to the Admin API

    • New

      api: add the sandbox_egress_restricted error to Admin API plugin methods

    • New

      client: speed up streaming of large events

  4. 1.10.0

    17 Nov 20265 new · 3 fixes
    • New

      api: add beta support for the billing_policy request parameter

    • New

      api: add contract_spend_limit_reached error code to messages

    • New

      api: add error codes for linked billing refusals

    • New

      api: add the user_profile_billing_not_authorized error code

  5. 1.9.0

    Deprecation16 Nov 20262 new · 13 fixes
    • Deprecated

      api: deprecate old beta header values

    • New

      api: add source and error codes to the RBAC Role read endpoints

    • New

      api: add Update Bundle, which sets a Claude Tag Bundle's instructions, and return instructions on Bundle

    • Fixed

      helpers: keep $schema out of the transformed schema description

21 internal lines (docs, tests, tooling) left out.

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.