@anthropic-ai/sdk
1.8.0 · 10 Nov 2026Apache-2.075M / weekRepositoryHomepagenpmAtom feed
Upgrading @anthropic-ai/sdk From 0.120.0 to 0.137.0
18 releases in betweenevery note read
- 5
- changes to make
- 0
- advisories fixed
- 66
- new
- 50
- fixes
Before you upgrade
Tick each one off as you go- Deprecated0.132.0
- Deprecated0.132.0
- Deprecated0.131.0
- Deprecated0.129.0
- Deprecated0.127.0
Release by release
- New
api: add org webhook endpoints and user profile enforcement events
- New
- New
api: add data_refreshed_at and has_more to analytics report pages
- New
api: add workspace rate-limit updates to the Admin API
- New
api: make User Profiles generally available
- New
client: yield server-sent events with unrecognized event names
- New
tools: accept every tool definition field in the tool helpers
- Fixed
client: treat x-amz-security-token as a sensitive header
- Fixed
tools: keep $ sequences literal in memory tool str_replace
- New
- New
api: add between_tools to thinking types in model capabilities
- New
api: add the speed parameter and usage.speed to Messages
- New
api: return a Console organization's usage-tier spend cap as a read-only spend limit
- Fixed
client: close streams dropped without being read to the end
- Fixed
client: keep an unread JSONL response open while it is held
- New
- New
api: add execution_identity to Managed Agents agents
- New
api: add organization_type_not_supported error to spend limit lists
- New
api: add telemetry destination test endpoint
- New
api: add telemetry destinations to the Admin API
- New
- New
api: add types for the Chat and Cowork unified analytics metrics
- New
api: add workflows, multiagent configuration and thread status filtering to Managed Agents
- New
- Fixed
client: throw before sending a request with an empty path parameter
- Fixed
- Deprecated
api: add display_name to RBAC roles and deprecate name
- Deprecated
api: mark the Text Completions API as deprecated
- New
api: add claude-haiku-5-5 and typed computer and browser toolset tool calls
- New
api: add disabled to thinking types in model capabilities
- Deprecated
- Deprecated
client: deprecate sonnet 4.5
- New
api: add list spend limits endpoint
- Deprecated
111 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.