@anthropic-ai/sdk
1.8.0 · 10 Nov 2026Apache-2.075M / weekRepositoryHomepagenpmAtom feed
Upgrading @anthropic-ai/sdk From 1.4.0 to 1.13.0
9 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 28
- new
- 26
- fixes
Before you upgrade
Tick each one off as you go- Deprecated1.13.0
- Deprecated1.9.0
Release by release
- 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
- Deprecated
- New
api: add the image_dimensions_too_large error code
- Fixed
client: merge ANTHROPIC_CUSTOM_HEADERS with Headers or pairs in defaultHeaders
- 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
- New
- 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
- New
- 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
- Deprecated
- 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
56 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.