@anthropic-ai/sdk
1.1.0 · 21 Oct 2026Apache-2.028.3M / weekRepositoryHomepagenpmAtom feed
219 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 1.x · latest line
1.1.0
21 Oct 2026api: add enforcement status, actions and filter to user profiles
1.0.0
21 Oct 2026- breaking
api: add support for new API version 2026-10-21
api: add support for new API version 2026-10-21
- 0.137.x
0.137.0
20 Oct 2026api: add org webhook endpoints and user profile enforcement events
Features
api: add org webhook endpoints and user profile enforcement events
- 0.136.x
0.136.0
20 Oct 2026api: add data_refreshed_at and has_more to analytics report pages
api: add workspace rate-limit updates to the Admin API
api: make User Profiles generally available
Features
api: add data_refreshed_at and has_more to analytics report pages
api: add workspace rate-limit updates to the Admin API
api: make User Profiles generally available
client: yield server-sent events with unrecognized event names
tools: accept every tool definition field in the tool helpers
Bug Fixes
client: treat x-amz-security-token as a sensitive header
tools: keep $ sequences literal in memory tool str_replace
- 0.135.x
0.135.0
15 Oct 2026- breaking
ci: speed up breaking change detection
api: add between_tools to thinking types in model capabilities
api: add the speed parameter and usage.speed to Messages
Features
api: add between_tools to thinking types in model capabilities
api: add the speed parameter and usage.speed to Messages
api: return a Console organization's usage-tier spend cap as a read-only spend limit
Bug Fixes
client: close streams dropped without being read to the end
client: keep an unread JSONL response open while it is held
Chores
- breaking
ci: speed up breaking change detection
- 0.134.x
0.134.0
14 Oct 2026api: add execution_identity to Managed Agents agents
api: add organization_type_not_supported error to spend limit lists
api: add telemetry destination test endpoint
Features
api: add execution_identity to Managed Agents agents
api: add organization_type_not_supported error to spend limit lists
api: add telemetry destination test endpoint
api: add telemetry destinations to the Admin API
client: add native support for OpenTelemetry tracing
If your app registers a global tracer provider, the SDK will create spans with it after upgrading, and they'll be exported with the rest of your traces. Requests will also get trace context headers from the global propagator. To disable, pass
openTelemetry: falseto the client or setANTHROPIC_OPEN_TELEMETRY=false. Learn more in the documentation.
Bug Fixes
api: rename telemetry destination test response model
client: close an unread stream that was dropped while tracing is on
client: don't follow redirects on token requests
client: treat proxy-authorization as a sensitive header
Bug Fixes
streaming: tolerate unknown event types in MessageStream and BetaMessageStream
streaming: stop throwing "Unexpected event order" for an event before message_start
streaming: yield events that arrive before message_start when iterating MessageStream and BetaMessageStream
- 0.133.x
0.133.0
9 Oct 2026api: add types for the Chat and Cowork unified analytics metrics
api: add workflows, multiagent configuration and thread status filtering to Managed Agents
Features
api: add types for the Chat and Cowork unified analytics metrics
api: add workflows, multiagent configuration and thread status filtering to Managed Agents
- 0.132.x
0.132.1
8 Oct 2026client: throw before sending a request with an empty path parameter
Bug Fixes
client: throw before sending a request with an empty path parameter
0.132.0
7 Oct 2026- deprecated
api: add display_name to RBAC roles and deprecate name
api: add claude-haiku-5-5 and typed computer and browser toolset tool calls
api: add disabled to thinking types in model capabilities
Features
api: add claude-haiku-5-5 and typed computer and browser toolset tool calls
api: add disabled to thinking types in model capabilities
- deprecated
api: add display_name to RBAC roles and deprecate name
api: add include_default parameter to list workspaces
api: add lifecycle stage fields and filter to /v1/models
api: add line to model objects
api: add url_sources to the Managed Agents web_fetch tool config
api: add web search and code execution support to model capabilities
Bug Fixes
api: send the beta header by default when listing spend limits
client: throw when a JSONL stream is iterated twice
tools: keep a local edit made after a memory upload whose response was lost
- 0.131.x
0.131.0
30 Sep 2026- deprecated
client: deprecate sonnet 4.5
api: add list spend limits endpoint
- 0.130.x
0.130.0
30 Sep 2026api: add a refusal stop reason and stop_details to Managed Agents session idle events
api: add Claude Enterprise analytics, spend limits, and RBAC groups and roles to the Admin API
api: add per-user usage and cost reports to the Admin API analytics
Features
api: add a refusal stop reason and stop_details to Managed Agents session idle events
api: add Claude Enterprise analytics, spend limits, and RBAC groups and roles to the Admin API
api: add per-user usage and cost reports to the Admin API analytics
api: add Plugins and Plugin Marketplaces to the Admin API
api: add repository error types to Managed Agents session errors
api: allow removing a plugin's org-wide installation setting
api: MCP tunnels beta: add read-only
transportobject to Tunnel and return the one-time relaytokenin the create responseapi: Organization API endpoints are now GA
Bug Fixes
api: make memory store description, metadata, archived_at required
api: type admin plugin preference and marketplace fields as enums
pagination: auto-paging continues past an empty page while next_page is set
tool-runner: only send API fields for runnable tools
tools: stop the session tool runner after any idle that ends the turn
- 0.129.x
0.129.0
28 Sep 2026- deprecated
api: deprecate the betas param on GA models and completions methods
api: add between_tools thinking type
api: add claude-sonnet-5-5
Features
api: add between_tools thinking type
api: add claude-sonnet-5-5
api: add ClientToolUnion type for client-executed tools
api: add include_inherited and source to workspace rate limits
api: add typed event type values to the Managed Agents events list filter
api: cache diagnostics GA — diagnostics on Message / MessageCreateParams
tools: optionally start tool calls while the reply streams
Bug Fixes
client: also send X-Stainless-Timeout for client-level timeouts
client: send upload filenames as given, with no placeholder
helpers: degrade between_tools thinking to disabled on fallback hops
internal: let bundlers drop unused classes with more than ten private-member assignments
streaming: show every complete array item and hold back unfinished numbers in partial tool input
Performance Improvements
streaming: drop the redundant iterSSEChunks layer
streaming: take each string token as one slice in the partial JSON tokenizer
Chores
- deprecated
api: deprecate the betas param on GA models and completions methods
- 0.128.x
0.128.0
22 Sep 2026api: add support for claude-opus-5-5, inline tool definitions and MCP tool-list pinning (beta)
api: share one evaluated_permission enum across Managed Agents events
tools: addTools() takes effect straight away
Features
api: add support for claude-opus-5-5, inline tool definitions and MCP tool-list pinning (beta)
Bug Fixes
api: share one evaluated_permission enum across Managed Agents events
tools: addTools() takes effect straight away
tools: leave reply-only params off the tool runner's compaction request
- 0.127.x
0.127.0
18 Sep 2026api: add group with display_name to rate limits, deprecate group_type
tools: add compactBeforeNextTurn() to the tool runner
BetaMessageStream: stop coercing a null compaction_delta content into "null"
Features
api: add group with display_name to rate limits, deprecate group_type
tools: add compactBeforeNextTurn() to the tool runner
Bug Fixes
BetaMessageStream: stop coercing a null compaction_delta content into "null"
client: don't retry requests whose body is a stream or iterator
client: join multiple anthropic-beta values with a comma and no space
client: make pagination exports on the client namespace type-only
internal: drop jest from tsconfig types
middleware: echo a streamed compaction summary in the fallback continuation
tools: keep $defs when transformJSONSchema root is a $ref
Performance Improvements
client: skip formatting request details when debug logging is off
- 0.126.x
0.126.0
15 Sep 2026api: add auto mode tool permissions for Managed Agents
api: add compaction parameter and signed compaction blocks (beta)
api: add enum types for workspace data-residency geo fields
Features
api: add auto mode tool permissions for Managed Agents
api: add compaction parameter and signed compaction blocks (beta)
api: add enum types for workspace data-residency geo fields
api: add thinking_mismatch_allowed entries to input_transformations (beta)
api: add url_sources to the web fetch tool
api: add workspace_id parameter to user profiles methods
Bug Fixes
api: mark usage iteration model as nullable
api: use one input transformation type for message and delta event
client: ignore invalid Retry-After values and validate maxRetries
client: retry connection errors in the async client and stop blocking in the coroutine retry loop
client: stop waiting for a retry as soon as the request is aborted
client: use the default backoff when Retry-After is out of range
internal: stop a declaration file using a type that needs TypeScript 5.7
Performance Improvements
add "sideEffects": false so bundlers can drop unused modules
mark classes as pure so bundlers can drop unused ones
- 0.125.x
0.125.0
10 Sep 2026api: add auto mode tool permissions for Managed Agents
api: add content_too_large web_fetch tool error code
api: add the user-profiles-2026-09-04 beta value and external_user_details to user profiles
Features
api: add auto mode tool permissions for Managed Agents
api: add content_too_large web_fetch tool error code
api: add the user-profiles-2026-09-04 beta value and external_user_details to user profiles
api: support mounting public GitHub repositories without an authorization_token in Managed Agents sessions
- 0.124.x
0.124.0
4 Sep 2026api: add Claude Tag category and user breakdowns to usage reports
api: add named types for organization compliance settings state
api: add support for sending a workspace ID on more endpoints
Features
api: add Claude Tag category and user breakdowns to usage reports
api: add named types for organization compliance settings state
api: add support for sending a workspace ID on more endpoints
Bug Fixes
repair custom-code merge in messages resources
tools: create agent-toolset files and directories owner-only
- 0.123.x
0.123.0
1 Sep 2026api: beta user profiles: add external_user_onboarded_at, remove relationship in favor of access_type
api: manual updates
api: organization compliance settings, user-profile order_by, memory-store and toolset schema updates
Features
api: beta user profiles: add external_user_onboarded_at, remove relationship in favor of access_type
api: manual updates
api: organization compliance settings, user-profile order_by, memory-store and toolset schema updates
Bug Fixes
keep credential file access out of non-Node bundles
- 0.122.x
0.122.0
27 Aug 2026api: beta files/skills namespaces use GA shapes; drop dated beta header pins
client: classify cross-realm DOMException abort/timeout errors correctly
client: use configured logger for SSE parse errors
Features
api: beta files/skills namespaces use GA shapes; drop dated beta header pins
Bug Fixes
client: classify cross-realm DOMException abort/timeout errors correctly
client: use configured logger for SSE parse errors
sessions: make event accumulator forward-compatible with new event types
tools: let read return a view_range of a file over the size cap
uploads: default bare Blob filename on skills endpoints
webhooks: require headers to be passed to
unwrap()
- 0.121.x
0.121.0
26 Aug 2026api: add
updatesthinking display mode (beta)api: add missing anthropic-beta values
api: add support for Organization API endpoints
Features
api: add
updatesthinking display mode (beta)api: add missing anthropic-beta values
api: add support for Organization API endpoints
helpers: support Standard Schema for structured outputs and tools
Bug Fixes
tools: keep the tool runner going on pause_turn
types: don't reference NodeJS.ProcessEnv from published types
- 0.120.x
0.120.0
19 Aug 2026api: managed agents web search config and self hosted sandbox memory
Features
api: managed agents web search config and self hosted sandbox memory
- 0.119.x
0.119.0
19 Aug 2026api: Files and Skills APIs are now GA; add computer use and browser use toolsets
- 0.118.x
0.118.0
19 Aug 2026api: additions to files and memory stores
api: updates to skill, files, and user profiles
client: add helpers for accessing the workspace ID in response headers
Features
api: additions to files and memory stores
api: updates to skill, files, and user profiles
client: add helpers for accessing the workspace ID in response headers
Bug Fixes
api: remove unsupported mid_conv_system content block
session-runner: retry tool-result sends for at least the lease TTL
- 0.117.x
0.117.1
13 Aug 2026Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
- 0.116.x
0.116.0
7 Aug 2026api: add
mid-conversation-tool-changes-2026-07-01betaapi: add support for session budgets, advisor tool, pinned inference location and skills auto-loading from GitHub
tools: make bash timeout and abort errors matchable by class
Features
api: add
mid-conversation-tool-changes-2026-07-01betaapi: add support for session budgets, advisor tool, pinned inference location and skills auto-loading from GitHub
tools: make bash timeout and abort errors matchable by class
Bug Fixes
client: use hardcoded User-Agent strings instead of constructor names
- 0.115.x
0.115.0
24 Jul 2026Reading the note…
- 0.114.x
0.114.0
23 Jul 2026Reading the note…
- 0.113.x
0.113.0
22 Jul 2026Reading the note…
- 0.112.x
0.112.5
21 Jul 2026Reading the note…
0.112.4
20 Jul 2026Reading the note…
0.112.3
17 Jul 2026Reading the note…
0.112.2
17 Jul 2026Reading the note…
0.112.1
16 Jul 2026Reading the note…
0.112.0
16 Jul 2026Reading the note…
- 0.111.x
0.111.0
10 Jul 2026Reading the note…
- 0.110.x
0.110.0
2 Jul 2026Reading the note…
- 0.109.x
0.109.1
1 Jul 2026Reading the note…
0.109.0
30 Jun 2026Reading the note…
- 0.108.x
0.108.0
30 Jun 2026Reading the note…
- 0.107.x
0.107.0
29 Jun 2026Reading the note…
- 0.106.x
0.106.0
24 Jun 2026Reading the note…
- 0.105.x
0.105.0
18 Jun 2026Reading the note…
- 0.104.x
0.104.2
15 Jun 2026Reading the note…
0.104.1
9 Jun 2026Reading the note…
0.104.0
9 Jun 2026Reading the note…
- 0.103.x
0.103.0
9 Jun 2026Reading the note…
- 0.102.x
0.102.0
6 Jun 2026Reading the note…
- 0.101.x
0.101.0
5 Jun 2026Reading the note…
- 0.100.x
0.100.1
29 May 2026Reading the note…
0.100.0
28 May 2026Reading the note…