diff --git a/.changeset/nine-gorillas-happen.md b/.changeset/nine-gorillas-happen.md deleted file mode 100644 index cc7802e..0000000 --- a/.changeset/nine-gorillas-happen.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"workers-tracing": patch ---- - -Added a span builder, this will allow for a more friendly experience. - -Example usage: -``` -const span = trace.buildSpan(SPAN_NAME.KV_GET) - .addAttribute('Index', i) - .addAttribute(ATTRIBUTE_NAME.KV_KEY, `id:${i}`) - .addLink(forLoopSpan); - -span.end(); -``` diff --git a/.changeset/tricky-kids-look.md b/.changeset/tricky-kids-look.md deleted file mode 100644 index e7de22f..0000000 --- a/.changeset/tricky-kids-look.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"workers-tracing": patch ---- - -Fixed #9 - if `navigator` is not defined (old compat date) it will now default to "Unknown" for the runtime name. diff --git a/CHANGELOG.md b/CHANGELOG.md index ecdfa2a..68a4109 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # workers-tracing +## 0.1.4 + +### Patch Changes + +- [#10](https://github.com/BlobDevelopment/workers-tracing/pull/10) [`502e7c1`](https://github.com/BlobDevelopment/workers-tracing/commit/502e7c1383db35e36dc781547ca5e3153f228d9e) Thanks [@WalshyDev](https://github.com/WalshyDev)! - Added a span builder, this will allow for a more friendly experience. + + Example usage: + + ``` + const span = trace.buildSpan(SPAN_NAME.KV_GET) + .addAttribute('Index', i) + .addAttribute(ATTRIBUTE_NAME.KV_KEY, `id:${i}`) + .addLink(forLoopSpan); + + span.end(); + ``` + +- [#11](https://github.com/BlobDevelopment/workers-tracing/pull/11) [`778c605`](https://github.com/BlobDevelopment/workers-tracing/commit/778c6052d99fe2beb4bdbe2cb5ef7dfcf4c10ffe) Thanks [@WalshyDev](https://github.com/WalshyDev)! - Fixed #9 - if `navigator` is not defined (old compat date) it will now default to "Unknown" for the runtime name. + ## 0.1.3 ### Patch Changes diff --git a/package.json b/package.json index 2f443ca..be4f45d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "workers-tracing", - "version": "0.1.3", + "version": "0.1.4", "description": "Enable tracing within Workers with this simple package! Simply trace and send to a collector with a compatible export format", "author": "Daniel Walsh (@WalshyDev)", "license": "MIT",