Skip to content

v2.1.0

Choose a tag to compare

@codemeasandwich codemeasandwich released this 14 Oct 09:49
· 2 commits to master since this release

Bug Fixes

  • inject trace headers into outgoing fetch
  • inject trace headers into http.get and https.get
  • accept every http.request call shape when injecting trace headers
  • send no trace headers on outgoing requests made outside a trace
  • omit x-git-hash header when the git hash is empty
  • config() rejects an unknown logLevel instead of silencing all logs
  • failing dataOut/stdOut never throw into the caller; add onSinkError
  • keep trace state when a full traceparent is used as traceId
  • parse the same traceparent correctly on every call
  • trace returns the callback's result and passes the trace context
  • bun build bundles run; add scribbles/bun-plugin and scribbles/transform

Refactoring

  • drop unreachable defensive branches the public API cannot reach

Documentation

  • changelog sections merged for the unreleased fixes

Tests

  • run the subprocess outbound scenarios under scenarios/
  • host package.json scenarios run hermetically in a child process
  • scenarios for colored output, call sites and installed package

Chores

  • release 2.1.0
  • refresh vulnerable dev dependencies and override uuid
  • merge scenario and subprocess coverage into coverage-final.json