Packages

@anthropic-ai/sdk

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

Upgrading @anthropic-ai/sdk From 0.129.0 to 1.8.0

18 releases in betweenevery note read

Other targets from 0.129.0Newest 0.x0.137.0
  1. 0.129.0yours
  2. 0.130.0major
  3. 0.131.0major
  4. 0.132.0major
  5. 1 release
  6. 0.133.0major
  7. 0.134.0major
  8. 0.135.0major
  9. 0.136.0major
  10. 0.137.0major
  11. 1.0.0major
  12. 7 releases
  13. 1.8.0target

Before you upgrade

Tick each one off as you go
  • Breaking1.0.0
  • Deprecated0.132.0
  • Deprecated0.132.0
  • Deprecated0.131.0

Release by release

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

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

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

  4. 1.5.0

    4 Nov 20264 new · 4 fixes
    • New

      api: add error details types and new error type values

    • New

      api: add ids filter to list workspaces

    • New

      client: add error classes for HTTP statuses and API error codes, and apiMessage, errorCode and details on APIError

    • New

      streaming: decode server-sent events once per chunk

  5. 1.4.0

    2 Nov 20266 new · 2 fixes
    • New

      api: add GA methods for analytics, spend limits and RBAC

    • New

      api: add named beta types for unified metrics and RBAC delete responses

    • New

      api: add shared analytics order and increase request actor types

    • New

      api: add tool_use_limit_reached_error and compaction_limit_reached_error session error types

  6. 1.3.0

    23 Oct 20261 new · 1 fix
    • New

      api: add Claude Tag endpoints for Claude Enterprise organizations

    • Fixed

      client: link the long-request error messages to the SDK documentation

  7. 1.2.0

    23 Oct 20262 new · 2 fixes
    • New

      api: add support for message threads

    • New

      api: add usage and cost reports by dimension, mark older reports legacy

    • Fixed

      tools: copy the messages a tool runner is created with again

    • Fixed

      tools: restore what the tool runner does after setMessagesParams() or pushMessages() in the loop body

  8. 1.1.0

    21 Oct 20261 new
    • New

      api: add enforcement status, actions and filter to user profiles

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