Skip to content

πŸ¦‹ New version release - #178

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Aug 11, 2026
Merged

πŸ¦‹ New version release#178
brentrager merged 1 commit into
mainfrom
changeset-release/main

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@smooai/logger@4.3.0

Minor Changes

  • 9c4fc8e: Correlate logs with OpenTelemetry traces. When a span is active, log records
    now carry the span's real W3C traceId + spanId instead of a fabricated
    uuid (falling back to the prior uuid correlation id only when no span is
    active). Each log line is also bridged into the standard
    @opentelemetry/api-logs facade, so it becomes an OTLP log record β€” correlated
    to the active span β€” whenever an observability LoggerProvider is registered
    (e.g. @smooai/observability's logs signal). With no provider registered the
    bridge is a no-op and stdout output is unchanged. Depends only on the
    @opentelemetry/api + @opentelemetry/api-logs facades (no SDK, no circular
    dep on @smooai/observability).

Patch Changes

  • 2d4accf: Rust: log lines now carry the active OTel span's real W3C traceId/spanId
    (guarded on span_context.is_valid()), falling back to the correlation uuid,
    and are teed into tracing so a single subscriber sees both.

    ContextKey is now #[non_exhaustive]. It gains a variant whenever the family
    learns a new correlation field β€” SpanId is this release's β€” and without that
    attribute each addition is a source-breaking change for any downstream crate
    matching on it exhaustively.

@brentrager
brentrager merged commit 6d70b95 into main Aug 11, 2026
1 check passed
@brentrager
brentrager deleted the changeset-release/main branch August 11, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant