Skip to content

πŸ¦‹ New version release#76

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Jul 22, 2026
Merged

πŸ¦‹ New version release#76
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/observability@0.12.0

Minor Changes

  • a071796: SMOODEV-2698 (ADR-097 W1+W2): session-scoped browser log sampling, config-served telemetry settings, and the cross-language parity corpus.
    • sampleDecision(id, ratio) β€” deterministic FNV-1a 32-bit over the UTF-8 bytes of the session/trace id, so the decision is stable for a page's lifetime and reproducible byte-identically in the Rust/Python/Go/.NET SDKs. Ratio 0.0/1.0 are exact.
    • shouldEmitLog(...) β€” one decision point: kill switch β†’ minimum level β†’ warnings/errors always 100% β†’ trace decision inherited where a trace exists β†’ otherwise the session decision. Sampling is per session, never per line, so any trace you can open has 100% of its log lines.
    • loadTelemetrySettings(provider) / resolveTelemetrySettings(raw) β€” @smooai/config public-tier telemetry settings read through an injectable provider seam (the SDK never imports a config client, so it stays usable with no network). Unreachable, malformed, or out-of-range values fall back to the compiled-in ADR-010 defaults, never to "sample everything out".
    • parseTraceparent / formatTraceparent β€” the first real W3C trace-context implementation in this SDK; strict, rejects all-zero ids.
    • normalizeLevel β€” canonical UPPERCASE levels, because ADR-096's error-rate query is case-sensitive.
    • parity/sampling-corpus.json β€” 170 committed golden vectors every language SDK asserts against in its own CI lane.

@brentrager
brentrager force-pushed the changeset-release/main branch from d54605d to eeeec83 Compare July 22, 2026 23:02
@brentrager
brentrager merged commit 3fa815e into main Jul 22, 2026
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