v0.134.0
Added 5
- Added execution_identity to Managed Agents agents
- Added organization_type_not_supported error to spend limit lists
- Added telemetry destination test endpoint
- Added telemetry destinations to the Admin API
- Added native support for OpenTelemetry tracing, which creates spans with a globally registered tracer provider and sends trace context headers from the global propagator, and can be disabled with openTelemetry: false or ANTHROPIC_OPEN_TELEMETRY=false behavior changed · inferred, marked in the notes below
Changed 3
- Included the license files in the published packages
- Removed @internal tags from toolset modules, a type referenced by public types, and internal declarations in published types
- Type-checking of built declarations is now part of lint
Fixed 7
- Renamed the telemetry destination test response model
- Closed an unread stream that was dropped while tracing is enabled
- Stopped following redirects on token requests
- Treated proxy-authorization as a sensitive header
- MessageStream and BetaMessageStream now tolerate unknown event types
- MessageStream and BetaMessageStream no longer throw "Unexpected event order" for an event arriving before message_start
- MessageStream and BetaMessageStream now yield events that arrive before message_start when iterated
1 change to check, marked in the notes below
From Anthropic TypeScript SDK
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. behavior changed · inferred
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
Chores
- docs: correct prefill, thinking, fallback and model descriptions
- docs: document the scope required to assign the managed role
- docs: update model examples
- include the license files in the published packages
- internal: narrow the tripwire test rule in the contributor guides
- internal: remove
@internaltag from a type that public types reference - internal: remove file-level
@internaltags from toolset modules - internal: strip
@internaldeclarations from published types - internal: type-check the built declarations in lint
Documentation
- api: clarify when custom tool results can be sent
- api: say is_enabled is always true for user spend limits
- move more shared rules into the shared part of CLAUDE.md
- show examples of streaming-only methods iterating the stream