@anthropic-ai/sdk
1.8.0 · 10 Nov 2026Apache-2.075M / weekRepositoryHomepagenpmAtom feed
1.13.0 is the newest release of 1.x.
In short
1 breaking1 removed6 new14 internal
- Breaking
api: make spend_limit nullable in the spend limit increase request approve response
- Removed
api: require always-sent analytics fields and drop the unused project product field
Release note
Features
api: add GA methods for analytics, spend limits and RBAC
api: add named beta types for unified metrics and RBAC delete responses
api: add shared analytics order and increase request actor types
api: add tool_use_limit_reached_error and compaction_limit_reached_error session error types
api: add types for analytics group_by and spend limit period filters
api: add user_profile_id to External Keys and Workspaces
Bug Fixes
api: make spend_limit nullable in the spend limit increase request approve response
api: require always-sent analytics fields and drop the unused project product field
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.