@anthropic-ai/sdk
1.8.0 · 10 Nov 2026Apache-2.075M / weekRepositoryHomepagenpmAtom feed
Upgrading @anthropic-ai/sdk From 1.7.0 to 1.13.0
6 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 16
- new
- 18
- 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
26 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.