unstale

npm / @earendil-works/pi-telemetry

@earendil-works/pi-telemetry

What changed in @earendil-works/pi-telemetry 0.84 to 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-11.

3 breaking1 security15 new APIs and options2 behavior and defaults1 tooling3 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

@earendil-works/pi-telemetry 119 changes

Breaking changes 3

  • Contexts can carry an optional metrics capability on roots, spans, and extracted parents.

    1.4.0release notes

  • Contexts can carry an optional propagation capability on roots, spans, and extracted parents.

    1.4.0release notes

  • Adapters must implement addLink() for links with context targets and optional attributes.

    1.4.0release notes

Security 1

  • Escapes control characters in span and event names, linked trace and span ids, attribute keys, and error names and messages so ids from another process's carrier are not emitted raw.

    1.5.1release notes

New APIs and options 10

  • Adds a span clock that provides wall-clock milliseconds at microsecond resolution, anchored to Date.now() and recalibrated when the clocks diverge by more than 10 ms.

    1.5.1release notes

  • Creates metrics from schema definitions with exact instrument names, kinds, and required or optional low-cardinality attributes.

    1.4.0release notes

  • Exports renderTrace() for plain-text span trees with attributes, durations, errors, events, and cross-trace links; merged spans are deduplicated by ID and links are never followed.

    1.4.0release notes

  • Shared no-op metric instruments are available.

    1.4.0release notes

  • A shared no-op propagation implementation is available.

    1.4.0release notes

  • Initial spans can specify links with context targets and optional attributes, including settled target spans and extracted remote parents.

    1.4.0release notes

  • Defines a backend-independent representation for trace discovery, trace retrieval, and metric queries.

    1.4.0release notes

  • Optional metrics support adds counters, up-down counters, and histograms with boundary hints and exemplar contexts.

    1.4.0release notes

  • Optional propagation injection and extraction use opaque string-map carriers, with passive root fallback for absent or invalid carriers.

    1.4.0release notes

  • Defines backend-independent trace discovery, trace retrieval, and metric queries.

    1.4.0release notes

Behavior and default changes 2

  • Trace output prints lengths of time to the microsecond.

    1.5.1release notes

  • Adapters trust typed instrumentation inputs; malformed values have unspecified behavior. Carrier extraction checks required string identities but does not validate their format.

    1.4.0release notes

Fixes and other changes 3

  • The package root export now has a source condition, allowing workspace tests that resolve with source to work without a build.

    1.5.0release notes

  • The ./testing export now has a source condition, allowing workspace tests that resolve with source to work without a build.

    1.5.0release notes

  • Its type is now TelemetrySpan, matching the shared inert span it provides.

    1.4.0release notes

@earendil-works/pi-telemetry 0.846 changes

New APIs and options 5

  • Adds a callback-based telemetry context contract for integrations.

    0.84.0release notes

  • Adds a deterministic in-memory reference adapter.

    0.84.0release notes

  • Adds typed span starters for multiple schemas with explicit child propagation.

    0.84.0release notes

  • Adds a shared no-op context.

    0.84.0release notes

  • Adds typed utilities for serializable schemas.

    0.84.0release notes

Tooling 1

  • Adds a reusable conformance suite for adapters.

    0.84.0release notes