@anthropic-ai/sdk
1.8.0 · 10 Nov 2026Apache-2.075M / weekRepositoryHomepagenpmAtom feed
Upgrading @anthropic-ai/sdk From 0.115.0 to 1.8.0
32 releases in betweenevery note read
- 6
- changes to make
- 0
- advisories fixed
- 98
- new
- 66
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.0.0
- Deprecated0.132.0
- Deprecated0.132.0
- Deprecated0.131.0
- Deprecated0.129.0
- Deprecated0.127.0
Release by release
- New
api: add Claude Tag metrics to the analytics summaries and users reports
- New
api: add reply_mode to Claude Tag Slack channel settings
- New
- 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
- New
- 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
- New
- 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
- New
- 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
- New
- New
api: add Claude Tag endpoints for Claude Enterprise organizations
- Fixed
client: link the long-request error messages to the SDK documentation
- New
- 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
- New
- New
api: add enforcement status, actions and filter to user profiles
- New
189 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.