Skip to content

Releases: mikaelvesavuori/mikrotrace

Version 2.0.12

27 Apr 16:16
Compare
Choose a tag to compare

What's Changed

  • Bundle for both ESM and CommonJS environments.
  • Migrate from Ava to Vitest for unit tests.

Full Changelog: v2.0.11...v2.0.12

Summary of changes

The biggest improvement for users will be that you can use independently bundled variants of the library for either ESM or CommonJS.

Version 2.0.11

12 Mar 08:33
Compare
Choose a tag to compare

What's Changed

  • Add support for trace sampling
  • Minor text fixes

Full Changelog: v2.0.10...v2.0.11

v2.0.10

11 Mar 17:01
Compare
Choose a tag to compare

What's Changed

  • Add preliminary support for getting a W3C trace context (traceheader) from tracer, using a span as input
  • Change the format of random strings from UUID to randomBytes() (hex) to follow how the traceheader is expected to work
  • Improve the setting of parent span IDs
  • Clean up tests
  • Add getTraceHeader() method docs

Full Changelog: v2.0.9...v2.0.10

Version 2.0.9

11 Mar 11:32
Compare
Choose a tag to compare

What's Changed

  • Continued efforts fixing behaviors so MikroTrace works as expected in both Honeycomb and Datadog
  • Add continue() functionality to retrieve MikroTrace instance without doing any resets or state changes

Full Changelog: v2.0.8...v2.0.9

Version 2.0.8

11 Mar 11:31
Compare
Choose a tag to compare

What's Changed

  • Attempt to improve handling of nested spans

Full Changelog: v2.0.7...v2.0.8

Version 2.0.7

10 Mar 15:33
Compare
Choose a tag to compare

What's Changed

  • Add reset functionality
  • Persist metadata (etc.) across start() calls
  • Add forceNewTraceId option to start()
  • Update docs

Full Changelog: v2.0.6...v2.0.7

Version 2.0.6

10 Mar 15:02
Compare
Choose a tag to compare

What's Changed

  • Fix behavior of traceId so that it's propagated as logically expected to child spans

Full Changelog: v2.0.5...v2.0.6

Version 2.0.5

14 Feb 09:11
Compare
Choose a tag to compare

What's Changed

  • Add back comments so library users can see them

Full Changelog: v2.0.4...v2.0.5

Version 2.0.4

15 Nov 10:19
Compare
Choose a tag to compare

What's Changed

  • fix(): spread dynamic metadata before static metadata

Full Changelog: v2.0.3...v2.0.4

Version 2.0.3

14 Nov 18:57
Compare
Choose a tag to compare

What's Changed

  • Add support for custom static metadata
  • Update docs
  • Bump version
  • Add tests
  • Update SECURITY

Full Changelog: v2.0.2...v2.0.3