Packages

@anthropic-ai/sdk

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

Upgrading @anthropic-ai/sdk From 1.0.0 to 1.13.0

13 releases in betweenevery note read

Other targets from 1.0.0Latest1.8.0
  1. 1.0.0yours
  2. 12 releases
  3. 1.13.0target

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

  6. 1.8.0

    10 Nov 20262 new
    • New

      api: add Claude Tag metrics to the analytics summaries and users reports

    • New

      api: add reply_mode to Claude Tag Slack channel settings

  7. 1.7.0

    9 Nov 20265 new · 2 fixes
    • New

      api: accept user_profile.program_status_updated on organization webhook endpoints

    • New

      api: add claude-fable-5-2 and claude-mythos-5-2

    • New

      api: add parent organization filtering and grouping to the usage and cost reports

    • New

      api: add the sandbox_egress_restricted error to Admin API write methods

    • New

      api: add the user_profile.program_status_updated webhook event

    • Fixed

      client: include the body of a failed response in debug logs

    • Fixed

      helpers: keep const and enum in structured output schemas

  8. 1.6.0

    5 Nov 20263 new · 2 fixes
    • New

      api: add error code for ramp limit errors

    • New

      api: add error codes for External Key validation failures

    • New

      api: add support for signing organization members out everywhere

    • Fixed

      client: set the name of each error to its class name

    • Fixed

      client: set the name of WorkloadIdentityError

86 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.