Skip to content

v2.72.0

Choose a tag to compare

@anthropic-sdks-releaser anthropic-sdks-releaser released this 14 Oct 17:14
· 59 commits to main since this release

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 a followRedirects request option

  • 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, call .openTelemetry(false) on the client builder, or set ANTHROPIC_OPEN_TELEMETRY=false for a client built with fromEnv(). Learn more in the documentation.

Bug Fixes

  • api: rename telemetry destination test response model
  • client: don't follow redirects on token requests
  • client: treat proxy-authorization as a sensitive header

Bug Fixes

  • client: ignore events of an unknown type in the message accumulators

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: keep the default request headers in one map
  • internal: narrow the tripwire test rule in the contributor guides
  • tests: keep the requests of tests that run at the same time out of the OpenTelemetry propagation tests

Documentation

  • api: clarify when custom tool results can be sent
  • api: say is_enabled is always true for user spend limits