unstale

npm / @ai-sdk/otel

@ai-sdk/otel

What changed in @ai-sdk/otel 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

2 breaking3 new APIs and options3 behavior and defaults5 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

@ai-sdk/otel 113 changes

Breaking changes 2

  • The API name changed from evaluate to decide.

    1.0.128release notes

  • Packages are compiled for the ES2022 runtime target, which may affect runtime compatibility.

    1.0.116release notes

New APIs and options 3

  • Experimental streaming lifecycle callbacks are added.

    1.0.124release notes

  • Telemetry is added to speech generation and transcription.

    1.0.124release notes

  • Adds telemetry support to experimental_evaluate, allowing developers to use telemetry with it.

    1.0.111release notes

Behavior and default changes 3

  • Model-call spans record normalized state parts, while outer spans retain the public state inputs.

    1.0.133release notes

  • Telemetry includes provider usage propagation.

    1.0.124release notes

  • Runtime context attribution is added to embed, embedMany, and rerank.

    1.0.98release notes

Fixes and other changes 5

  • Decision model response identifiers are now recorded.

    1.0.138release notes

  • Decision file bytes are serialized as base64 in OpenTelemetry state attributes.

    1.0.133release notes

  • Spans are marked with status ERROR when the finish reason is error.

    1.0.128release notes

  • API error spans preserve HTTP status codes.

    1.0.98release notes

  • Fallback spans are attributed to the provider that succeeds.

    1.0.98release notes