From 33a2b5f57e3e9380297dc52b7f38d7cd711a9e07 Mon Sep 17 00:00:00 2001 From: JamieDanielson Date: Thu, 14 Oct 2021 16:28:51 -0400 Subject: [PATCH] Prepare 3.0.0 major release (#473) * Prepare 3.0.0 major release * Add details for breaking changes --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 34 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eae7c2c7..29b4be98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,37 @@ # beeline-nodejs changelog +## 3.0.0 [2021-10-14] + +### !!! Breaking Changes !!! + +- Remove deprecated APIs (#457) | [@vreynolds](https://github.com/vreynolds) + - `marshalTraceContext()` --> use provider-specific functions, e.g. `honeycomb.marshalTraceContext()` + - `unmarshalTraceContext()` --> use provider-specific functions, e.g. `honeycomb.unmarshalTraceContext()` + - `TRACE_HTTP_HEADER` --> use provider-specific constants, e.g. `honeycomb.TRACE_HTTP_HEADER` + - `AMAZON_TRACE_HTTP_HEADER` --> use `aws.TRACE_HTTP_HEADER` + - `removeContext()` --> no replacement + - `customContext.add()` --> use `addTraceContext()` + - `customContext.remove()` --> no replacement +- Stop auto-detecting x-request-id and amazon trace headers (#445) | [@vreynolds](https://github.com/vreynolds) + - Users will have to opt-in to custom trace propagation +- Fix api.addContext so it works on the current span (not the root) (#347) | [@ajvondrak](https://github.com/ajvondrak) + - This is a fix to match documentation and intention, but breaks current (incorrect) behavior. + +### Maintenance + +- Clean up npm tarball (#465) | [@vreynolds](https://github.com/vreynolds) +- Change maintenance badge to maintained (#459) +- Adds Stalebot (#460) +- Bump @types/node from 16.9.4 to 16.10.2 (#466) +- Bump @opentelemetry/core from 0.24.0 to 0.25.0 (#464) +- Bump fastify from 3.21.3 to 3.21.6 (#461) +- Bump jest from 27.2.0 to 27.2.2 (#462) +- Bump fastify from 3.21.0 to 3.21.3 (#452) +- Bump jest from 27.1.1 to 27.2.0 (#453) +- Bump libhoney from 2.3.2 to 2.3.3 (#454) +- Bump @types/node from 16.9.1 to 16.9.4 (#456) +- Bump prettier from 2.4.0 to 2.4.1 (#455) + ## 2.8.1 [2021-09-16] ### Fixes diff --git a/package-lock.json b/package-lock.json index 91d2b0b3..e00265f3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "honeycomb-beeline", - "version": "2.8.1", + "version": "3.0.0", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 76bc9dcd..429b18e1 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "node": "12.22.1" }, "license": "Apache-2.0", - "version": "2.8.1", + "version": "3.0.0", "repository": { "type": "git", "url": "https://github.com/honeycombio/beeline-nodejs.git"