Skip to content

πŸ¦‹ New version release - #83

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

πŸ¦‹ New version release#83
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.15.0

Minor Changes

  • 5648be2: Rust: PII is now hashed rather than passed through. pii::scrub_string handled
    credentials only β€” Bearer, password=, token/api_key/secret=, sk-… β€”
    while the module doc claimed PII scrubbing, so an email or phone in a message,
    breadcrumb or GenAI tool argument reached the wire intact.

    Emails, phone numbers and street addresses are now detected and replaced with a
    keyed token: a@b.com β†’ [email:9f2a41c8]. HMAC-SHA256, not a bare digest β€”
    those values are a small enumerable space a rainbow table reverses in seconds β€”
    and the org id is mixed into the message so identical PII hashes differently in
    different orgs. The type prefix stays visible, which keeps "are these two spans
    the same person?" answerable while storing nothing reversible.

    Credentials are still dropped, never hashed: a hash of a live token is a
    token oracle. With no key configured (SMOOAI_OBSERVABILITY_PII_HASH_KEY, or
    pii::set_pii_hash_key), personal identifiers are fully redacted rather than
    hashed under a guessable key.

    New: pii::scrub_string_for_org, pii::scrub_headers_for_org, pii::pii_token,
    pii::PiiKind, pii::set_pii_hash_key, BootstrapEnv::pii_hash_key.
    scrub_string / scrub_headers keep their signatures and now scrub personal
    identifiers too, under the empty org salt.

@brentrager
brentrager force-pushed the changeset-release/main branch from 23f5c9c to a423a94 Compare August 15, 2026 17:01
@brentrager
brentrager merged commit e8220ab into main Aug 15, 2026
1 check passed
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