Skip to content

Commit

Permalink
Feat/upgrade upstream (#10)
Browse files Browse the repository at this point in the history
* Remove deprecated APIs (honeycombio#457)

* Adds Stalebot (honeycombio#460)

* Change maintenance badge to maintained (honeycombio#459)

* clean up npm tarball (honeycombio#465)

It's best to have an allow list of things we want in the tarball[1]. This makes
the contents of the published package more explicit.

* NPM always includes readme and license.
* It used to include notice and changelog but now it does not, so we add them
  to the list.

[1] https://blog.npmjs.org/post/165769683050/publishing-what-you-mean-to-publish.html

* Bump jest from 27.2.0 to 27.2.2 (honeycombio#462)

Bumps [jest](https://github.com/facebook/jest) from 27.2.0 to 27.2.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](jestjs/jest@v27.2.0...v27.2.2)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump fastify from 3.21.3 to 3.21.6 (honeycombio#461)

Bumps [fastify](https://github.com/fastify/fastify) from 3.21.3 to 3.21.6.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](fastify/fastify@v3.21.3...v3.21.6)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @opentelemetry/core from 0.24.0 to 0.25.0 (honeycombio#464)

Bumps [@opentelemetry/core](https://github.com/open-telemetry/opentelemetry-js) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-js@v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: "@opentelemetry/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @types/node from 16.9.4 to 16.10.2 (honeycombio#466)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.9.4 to 16.10.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Prepare 3.0.0 major release (honeycombio#473)

* Prepare 3.0.0 major release

* Add details for breaking changes

* Bump jest from 27.2.2 to 27.3.0 (honeycombio#476)

Bumps [jest](https://github.com/facebook/jest) from 27.2.2 to 27.3.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](jestjs/jest@v27.2.2...v27.3.0)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump fastify from 3.21.6 to 3.22.1 (honeycombio#479)

Bumps [fastify](https://github.com/fastify/fastify) from 3.21.6 to 3.22.1.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](fastify/fastify@v3.21.6...v3.22.1)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump jest from 27.3.0 to 27.3.1 (honeycombio#480)

Bumps [jest](https://github.com/facebook/jest) from 27.3.0 to 27.3.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](jestjs/jest@v27.3.0...v27.3.1)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump lint-staged from 11.1.2 to 11.2.3 (honeycombio#482)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.1.2 to 11.2.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v11.1.2...v11.2.3)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump husky from 7.0.2 to 7.0.4 (honeycombio#483)

Bumps [husky](https://github.com/typicode/husky) from 7.0.2 to 7.0.4.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](typicode/husky@v7.0.2...v7.0.4)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump eslint from 7.32.0 to 8.0.1 (honeycombio#474)

Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.0.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](eslint/eslint@v7.32.0...v8.0.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @opentelemetry/core from 0.25.0 to 1.0.0 (honeycombio#467)

Bumps [@opentelemetry/core](https://github.com/open-telemetry/opentelemetry-js) from 0.25.0 to 1.0.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-js@v0.25.0...stable/v1.0.0)

---
updated-dependencies:
- dependency-name: "@opentelemetry/core"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump libhoney from 2.3.3 to 3.0.0 (honeycombio#478)

Bumps [libhoney](https://github.com/honeycombio/libhoney-js) from 2.3.3 to 3.0.0.
- [Release notes](https://github.com/honeycombio/libhoney-js/releases)
- [Changelog](https://github.com/honeycombio/libhoney-js/blob/main/CHANGELOG.md)
- [Commits](honeycombio/libhoney-js@v2.3.3...v3.0.0)

---
updated-dependencies:
- dependency-name: libhoney
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci: add node 17 to test matrix (honeycombio#485)

* remove unnecessary dependency on node types (honeycombio#484)

* Bump eslint from 8.0.1 to 8.1.0 (honeycombio#488)

Bumps [eslint](https://github.com/eslint/eslint) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.0.1...v8.1.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump lint-staged from 11.2.3 to 11.2.4 (honeycombio#487)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.2.3 to 11.2.4.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v11.2.3...v11.2.4)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* empower apply-labels action to apply labels (honeycombio#490)

* Migrate and update example from examples repo (honeycombio#494)

* Migrate and update example from examples repo

* Simplify example, fix TraceContext, addSpan

* Bump eslint from 8.1.0 to 8.3.0 (honeycombio#499)

Bumps [eslint](https://github.com/eslint/eslint) from 8.1.0 to 8.3.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.1.0...v8.3.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump lint-staged from 11.2.4 to 12.1.1 (honeycombio#498)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.2.4 to 12.1.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v11.2.4...v12.1.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @opentelemetry/core from 1.0.0 to 1.0.1 (honeycombio#496)

Bumps [@opentelemetry/core](https://github.com/open-telemetry/opentelemetry-js) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/commits)

---
updated-dependencies:
- dependency-name: "@opentelemetry/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump fastify from 3.22.1 to 3.24.0 (honeycombio#497)

Bumps [fastify](https://github.com/fastify/fastify) from 3.22.1 to 3.24.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](fastify/fastify@v3.22.1...v3.24.0)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update dependabot to monthly (honeycombio#500)

* Bump lint-staged from 12.1.1 to 12.1.2 (honeycombio#501)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.1.1 to 12.1.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v12.1.1...v12.1.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Expand type definitions to include all libhoney options (honeycombio#502)

The specific one I wanted to use was apiHost, but I figured I'd
add them all while I was here.

* Prepare v3.1.0 release (honeycombio#508)

Co-authored-by: JamieDanielson <jamieedanielson@gmail.com>

* maint: Enable linting for ts files (to lint types file) (honeycombio#510)

* Enable linting for ts files (to lint types file)

* Add separate script for lint-ts

* Bump prettier from 2.4.1 to 2.5.1 (honeycombio#511)

Bumps [prettier](https://github.com/prettier/prettier) from 2.4.1 to 2.5.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.4.1...2.5.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add npm shield with link to npm package (honeycombio#513)

* Bump fastify from 3.24.0 to 3.24.1 (honeycombio#506)

Bumps [fastify](https://github.com/fastify/fastify) from 3.24.0 to 3.24.1.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](fastify/fastify@v3.24.0...v3.24.1)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump jest from 27.3.1 to 27.4.3 (honeycombio#512)

Bumps [jest](https://github.com/facebook/jest) from 27.3.1 to 27.4.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](jestjs/jest@v27.3.1...v27.4.3)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump debug from 4.3.2 to 4.3.3 (honeycombio#505)

Bumps [debug](https://github.com/debug-js/debug) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](debug-js/debug@4.3.2...4.3.3)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Further improvements to typescript types (honeycombio#509)

* Further improvements to typescript types

* expose _apiForTesting
* provide event type to sample/presend hooks
* include the Span type for SpanFn

* add docker-compose config for test-worthy Postgres (honeycombio#515)

This is enough docker and postgres to make the PG instrumentation tests happy(ier).

* feat: accept both w3c and honeycomb propagation headers by default (honeycombio#514)

* attempt to parse incoming header as w3c (even if no hook specified) if w3c header found - unless honeycomb header also found, then default to that. 

Co-authored-by: Robb Kidd <robbkidd@honeycomb.io>

* Prepare v3.2.0 (honeycombio#516)

* gh: add re-triage workflow (honeycombio#517)

* Use beforeEach() and afterEach() in tests (honeycombio#524)

* fix: check parent exists during instrumentation: (honeycombio#525)

Co-authored-by: Mike Goldsmth <goldsmith.mike@gmail.com>

* Bump express from 4.17.1 to 4.17.2 (honeycombio#523)

Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.17.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.1...4.17.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @opentelemetry/api from 1.0.3 to 1.0.4 (honeycombio#521)

Bumps [@opentelemetry/api](https://github.com/open-telemetry/opentelemetry-js-api) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js-api/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js-api/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-js-api@v1.0.3...v1.0.4)

---
updated-dependencies:
- dependency-name: "@opentelemetry/api"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump fastify from 3.24.1 to 3.25.3 (honeycombio#522)

Bumps [fastify](https://github.com/fastify/fastify) from 3.24.1 to 3.25.3.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](fastify/fastify@v3.24.1...v3.25.3)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/eslint-plugin from 5.6.0 to 5.9.0 (honeycombio#529)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.6.0 to 5.9.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.9.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump lint-staged from 12.1.2 to 12.1.5 (honeycombio#528)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.1.2 to 12.1.5.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v12.1.2...v12.1.5)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/parser from 5.6.0 to 5.9.0 (honeycombio#527)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.6.0 to 5.9.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.9.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump typescript from 4.5.2 to 4.5.4 (honeycombio#526)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.2 to 4.5.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.5.2...v4.5.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Prepare v3.2.1 release (honeycombio#530)

* prepare v3.2.1 release

* update changelog

* Update vulnerable dependencies (honeycombio#532)

* bump vm2 from 3.9.3 to 3.9.5
* update examples dependency

* Fix parser defaults (honeycombio#533)

* docs: add deprecation warnings around trace context parsing
* fix: trace context parsing auto-detection
- do not auto-detect honeycomb or w3c headers if a parser hook is configured

* Prepare 3.2.2 (honeycombio#534)

* docs: add note about ESM (honeycombio#542)

* Bump vm2 from 3.9.5 to 3.9.7 (honeycombio#543)

Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.5 to 3.9.7.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](patriksimek/vm2@3.9.5...3.9.7)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add Environment & Services support (honeycombio#551)

Co-authored-by: Vera Reynolds <vreynolds@users.noreply.github.com>

* prepare 3.3.0 release (honeycombio#552)

* Bump minimist from 1.2.5 to 1.2.6 (honeycombio#556)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Make api.addContext work in impl:mock mode (honeycombio#557)

* Bump @typescript-eslint/eslint-plugin from 5.9.0 to 5.17.0 (honeycombio#559)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.9.0 to 5.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.17.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump eslint from 8.3.0 to 8.13.0 (honeycombio#562)

Bumps [eslint](https://github.com/eslint/eslint) from 8.3.0 to 8.13.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.3.0...v8.13.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/eslint-plugin from 5.17.0 to 5.18.0 (honeycombio#561)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.17.0 to 5.18.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.18.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump jest from 27.4.3 to 27.5.1 (honeycombio#549)

Bumps [jest](https://github.com/facebook/jest) from 27.4.3 to 27.5.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](jestjs/jest@v27.4.3...v27.5.1)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pg from 8.7.1 to 8.7.3 (honeycombio#565)

Bumps [pg](https://github.com/brianc/node-postgres/tree/HEAD/packages/pg) from 8.7.1 to 8.7.3.
- [Release notes](https://github.com/brianc/node-postgres/releases)
- [Changelog](https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianc/node-postgres/commits/pg@8.7.3/packages/pg)

---
updated-dependencies:
- dependency-name: pg
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/parser from 5.9.0 to 5.18.0 (honeycombio#564)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.9.0 to 5.18.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.18.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump supertest from 6.1.6 to 6.2.2 (honeycombio#536)

Bumps [supertest](https://github.com/visionmedia/supertest) from 6.1.6 to 6.2.2.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Commits](ladjs/supertest@v6.1.6...v6.2.2)

---
updated-dependencies:
- dependency-name: supertest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump debug from 4.3.3 to 4.3.4 (honeycombio#563)

Bumps [debug](https://github.com/debug-js/debug) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](debug-js/debug@4.3.3...4.3.4)

---
updated-dependencies:
- dependency-name: debug
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump semver from 7.3.5 to 7.3.6 (honeycombio#567)

Bumps [semver](https://github.com/npm/node-semver) from 7.3.5 to 7.3.6.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](npm/node-semver@v7.3.5...v7.3.6)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump express from 4.17.2 to 4.17.3 (honeycombio#568)

Bumps [express](https://github.com/expressjs/express) from 4.17.2 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.2...4.17.3)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump fastify from 3.25.3 to 3.28.0 (honeycombio#569)

Bumps [fastify](https://github.com/fastify/fastify) from 3.25.3 to 3.28.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](fastify/fastify@v3.25.3...v3.28.0)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump prettier from 2.5.1 to 2.6.2 (honeycombio#573)

Bumps [prettier](https://github.com/prettier/prettier) from 2.5.1 to 2.6.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.5.1...2.6.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pg-query-stream from 4.2.1 to 4.2.3 (honeycombio#572)

Bumps [pg-query-stream](https://github.com/brianc/node-postgres/tree/HEAD/packages/pg-query-stream) from 4.2.1 to 4.2.3.
- [Release notes](https://github.com/brianc/node-postgres/releases)
- [Changelog](https://github.com/brianc/node-postgres/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianc/node-postgres/commits/pg-query-stream@4.2.3/packages/pg-query-stream)

---
updated-dependencies:
- dependency-name: pg-query-stream
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump libhoney from 3.0.0 to 3.1.0 (honeycombio#571)

Bumps [libhoney](https://github.com/honeycombio/libhoney-js) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/honeycombio/libhoney-js/releases)
- [Changelog](https://github.com/honeycombio/libhoney-js/blob/main/CHANGELOG.md)
- [Commits](honeycombio/libhoney-js@v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: libhoney
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump minimist from 1.2.5 to 1.2.6 in /examples/node-tracing (honeycombio#560)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* maint: remove lint-staged (honeycombio#566)

* Bump typescript from 4.5.4 to 4.6.3 (honeycombio#574)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.4 to 4.6.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.5.4...v4.6.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add meta.span_type to root/subroot spans (honeycombio#576)

* Bump react and react-dom (honeycombio#570)

Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom). These dependencies needed to be updated together.

Updates `react` from 17.0.2 to 18.0.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.0.0/packages/react)

Updates `react-dom` from 17.0.2 to 18.0.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.0.0/packages/react-dom)

---
updated-dependencies:
- dependency-name: react
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: react-dom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @opentelemetry/core from 1.0.1 to 1.2.0 (honeycombio#577)

Bumps [@opentelemetry/core](https://github.com/open-telemetry/opentelemetry-js) from 1.0.1 to 1.2.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-js@stable/v1.0.1...v1.2.0)

---
updated-dependencies:
- dependency-name: "@opentelemetry/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/parser from 5.18.0 to 5.21.0 (honeycombio#578)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.18.0 to 5.21.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.21.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump fastify from 3.28.0 to 3.29.0 (honeycombio#579)

Bumps [fastify](https://github.com/fastify/fastify) from 3.28.0 to 3.29.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](fastify/fastify@v3.28.0...v3.29.0)

---
updated-dependencies:
- dependency-name: fastify
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump typescript from 4.6.3 to 4.6.4 (honeycombio#581)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.3 to 4.6.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.6.3...v4.6.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump supertest from 6.2.2 to 6.2.3 (honeycombio#580)

Bumps [supertest](https://github.com/visionmedia/supertest) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Commits](ladjs/supertest@v6.2.2...v6.2.3)

---
updated-dependencies:
- dependency-name: supertest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/parser from 5.18.0 to 5.22.0 (honeycombio#584)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.18.0 to 5.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.22.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump express from 4.17.3 to 4.18.1 (honeycombio#588)

Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.18.1.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.3...4.18.1)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump libhoney from 3.1.0 to 3.1.1 (honeycombio#585)

Bumps [libhoney](https://github.com/honeycombio/libhoney-js) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/honeycombio/libhoney-js/releases)
- [Changelog](https://github.com/honeycombio/libhoney-js/blob/main/CHANGELOG.md)
- [Commits](honeycombio/libhoney-js@v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: libhoney
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump react from 18.0.0 to 18.1.0 (honeycombio#586)

Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 18.0.0 to 18.1.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.1.0/packages/react)

---
updated-dependencies:
- dependency-name: react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump react-dom from 18.0.0 to 18.1.0 (honeycombio#587)

Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 18.0.0 to 18.1.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.1.0/packages/react-dom)

---
updated-dependencies:
- dependency-name: react-dom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump eslint from 8.13.0 to 8.14.0 (honeycombio#589)

Bumps [eslint](https://github.com/eslint/eslint) from 8.13.0 to 8.14.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.13.0...v8.14.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typescript-eslint/eslint-plugin from 5.18.0 to 5.22.0 (honeycombio#591)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.18.0 to 5.22.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.22.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @opentelemetry/api from 1.0.4 to 1.1.0 (honeycombio#590)

Bumps [@opentelemetry/api](https://github.com/open-telemetry/opentelemetry-js-api) from 1.0.4 to 1.1.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js-api/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js-api/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-js-api@v1.0.4...v1.1.0)

---
updated-dependencies:
- dependency-name: "@opentelemetry/api"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump jest from 27.5.1 to 28.0.3 (honeycombio#583)

* Bump jest from 27.5.1 to 28.0.3

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 27.5.1 to 28.0.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v28.0.3/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* remove 10.24 from tested node versions

* move jest config into jest.config

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Goldsmth <goldsmith.mike@gmail.com>

* Prepare 3.4.0 release (honeycombio#592)

Co-authored-by: Jamie Danielson <jamieedanielson@gmail.com>

* Update package.json for fork

This commit sets up a private fork of beeline-nodejs.

Note that this GitHub repo is public, so we should avoid internal-only
referances in code and PR discussions.

The intent here is not to hide what we're doing or keep this work to
ourselves.  We're forking because the upstream library is in maintenance
mode, but we'd like to add features to it, and we're not ready to
migrate to the new and improved OpenTelemtry equivalents just yet.

* Add trace-level rollup support (outreach fork)

Updates honeycomb-beeline with a new method, `incrementTraceRollup`,
which can be used to accumulate running counters over the course of a
request, to be reported on the top-level trace span when the request is
finished.

The original, unpatched honeycomb-beeline had some not-well-documented
suport for rollups, but it doesn't work with async spans, and most spans
are async.  This patched version will work with async spans, though it
does assume that even async spans don't outlive their parent trace.
That's generally true for us, but it's also a stronger assumption than
the upstream libraries are willing to make.  Our counts may be lower
than expected if that expectation is violated.

* Fix bad `npm publish`

* Add types for two internal functions (#4)

Adds type declarations for `deterministicSampler` and `getTraceContext`
that we intend to import from our TypeScript wrapper libraries.

* fix pathname in test to reflect our pkg name

Co-authored-by: Vera Reynolds <vreynolds@users.noreply.github.com>
Co-authored-by: JamieDanielson <jamieedanielson@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robb Kidd <robbkidd@honeycomb.io>
Co-authored-by: Glen Mailer <glenjamin@gmail.com>
Co-authored-by: Mike Goldsmith <goldsmith.mike@gmail.com>
Co-authored-by: Glen Mailer <glen@geckoboard.com>
Co-authored-by: Alex Urbano <asgaroth.belem@gmail.com>
Co-authored-by: Richard Larocque <richard.larocque@outreach.io>
  • Loading branch information
10 people committed Aug 26, 2022
1 parent 3dacf6f commit 85ca939
Show file tree
Hide file tree
Showing 47 changed files with 8,278 additions and 8,528 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ filters_publish: &filters_publish
matrix_nodeversions: &matrix_nodeversions
matrix:
parameters:
nodeversion: ["10.24", "12.22", "14.17", "15.14", "16.2"]
nodeversion: ["12.22", "14.17", "15.14", "16.2", "17.0"]

# Default version of node to use for lint and publishing
default_nodeversion: &default_nodeversion "12.22"
Expand Down
23 changes: 22 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,26 @@
"no-console": "off",
"semi": 2,
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }]
}
},
"overrides": [
{
"files": ["**/*.ts"],
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
}
}
]
}
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
interval: "monthly"
labels:
- "type: dependencies"
reviewers:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/apply-labels.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Apply project labels
on: [issues, pull_request, label]
on: [issues, pull_request_target, label]
jobs:
apply-labels:
runs-on: ubuntu-latest
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/re-triage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Re-triage issues with new comments
on:
issue_comment:
types: [created]
jobs:
re-triage:
runs-on: ubuntu-latest
name: Re-triage issues with new comments
steps:
- uses: honeycombio/oss-management-actions/re-triage@v1
with:
ghprojects-token: ${{ secrets.GHPROJECTS_TOKEN }}
26 changes: 26 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
name: 'Close stale issues and PRs'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v4
with:
start-date: '2021-09-01T00:00:00Z'
stale-issue-message: 'Marking this issue as stale because it has been open 14 days with no activity. Please add a comment if this is still an ongoing issue; otherwise this issue will be automatically closed in 7 days.'
stale-pr-message: 'Marking this PR as stale because it has been open 30 days with no activity. Please add a comment if this PR is still relevant; otherwise this PR will be automatically closed in 7 days.'
close-issue-message: 'Closing this issue due to inactivity. Please see our [Honeycomb OSS Lifecyle and Practices](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md).'
close-pr-message: 'Closing this PR due to inactivity. Please see our [Honeycomb OSS Lifecyle and Practices](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md).'
days-before-issue-stale: 14
days-before-pr-stale: 30
days-before-issue-close: 7
days-before-pr-close: 7
any-of-labels: 'status: info needed,status: revision needed'
1 change: 0 additions & 1 deletion .husky/pre-commit

This file was deleted.

166 changes: 166 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,171 @@
# beeline-nodejs changelog

## 3.4.0 [2022-05-04]

### Enhancements

- Add meta.span_type to root/subroot spans (#576) | [@MikeGoldsmith](https://github.com/MikeGoldsmith)

### Fixes

- Make api.addContext work in impl:mock mode (#557) | [@glenjamin](https://github.com/glenjamin)

### Maintenance

- maint: remove lint-staged (#566) | [@vreynolds](https://github.com/vreynolds)
- Bump jest from 27.5.1 to 28.0.3 (#583)
- Bump @opentelemetry/api from 1.0.4 to 1.1.0 (#590)
- Bump @typescript-eslint/eslint-plugin from 5.18.0 to 5.22.0 (#591)
- Bump eslint from 8.13.0 to 8.14.0 (#589)
- Bump react-dom from 18.0.0 to 18.1.0 (#587)
- Bump react from 18.0.0 to 18.1.0 (#586)
- Bump libhoney from 3.1.0 to 3.1.1 (#585)
- Bump express from 4.17.3 to 4.18.1 (#588)
- Bump @typescript-eslint/parser from 5.18.0 to 5.22.0 (#584)
- Bump supertest from 6.2.2 to 6.2.3 (#580)
- Bump typescript from 4.6.3 to 4.6.4 (#581)
- Bump fastify from 3.28.0 to 3.29.0 (#579)
- Bump @typescript-eslint/parser from 5.18.0 to 5.21.0 (#578)
- Bump @opentelemetry/core from 1.0.1 to 1.2.0 (#577)
- Bump react and react-dom (#570)
- Bump typescript from 4.5.4 to 4.6.3 (#574)
- Bump minimist from 1.2.5 to 1.2.6 in /examples/node-tracing (#560)
- Bump libhoney from 3.0.0 to 3.1.0 (#571)
- Bump pg-query-stream from 4.2.1 to 4.2.3 (#572)
- Bump prettier from 2.5.1 to 2.6.2 (#573)
- Bump fastify from 3.25.3 to 3.28.0 (#569)
- Bump express from 4.17.2 to 4.17.3 (#568)
- Bump semver from 7.3.5 to 7.3.6 (#567)
- Bump debug from 4.3.3 to 4.3.4 (#563)
- Bump supertest from 6.1.6 to 6.2.2 (#536)
- Bump @typescript-eslint/parser from 5.9.0 to 5.18.0 (#564)
- Bump pg from 8.7.1 to 8.7.3 (#565)
- Bump jest from 27.4.3 to 27.5.1 (#549)
- Bump @typescript-eslint/eslint-plugin from 5.17.0 to 5.18.0 (#561)
- Bump eslint from 8.3.0 to 8.13.0 (#562)
- Bump @typescript-eslint/eslint-plugin from 5.9.0 to 5.17.0 (#559)
- Bump minimist from 1.2.5 to 1.2.6 (#556)

## 3.3.0 [2022-03-21]

### Enhancements

- Add Environment & Services support (#551) | [@MikeGoldsmith](https://github.com/MikeGoldsmith)

### Maintenance

- docs: add note about ESM (#542) | [@vreynolds](https://github.com/vreynolds)
- Bump vm2 from 3.9.5 to 3.9.7 (#543) | [@dependabot](https://github.com/dependabot)

## 3.2.2 [2022-01-19]

### Fixes

- Fix parser defaults (#533) | [@vreynolds](https://github.com/vreynolds)

### Maintenance

- Update vulnerable dependencies (#532) | [@vreynolds](https://github.com/vreynolds)

## 3.2.1 [2022-01-06]

### Fixes

- Check parent exists during instrumentation (#525) | [Asgaroth](https://github.com/Asgaroth)
- Use beforeEach() and afterEach() in tests (#524) | [@JamieDanielson](https://github.com/JamieDanielson)

### Maintenance

- Bump typescript from 4.5.2 to 4.5.4 (#526)
- Bump @typescript-eslint/parser from 5.6.0 to 5.9.0 (#527)
- Bump lint-staged from 12.1.2 to 12.1.5 (#528)
- Bump @typescript-eslint/eslint-plugin from 5.6.0 to 5.9.0 (#529)
- Bump fastify from 3.24.1 to 3.25.3 (#522)
- Bump @opentelemetry/api from 1.0.3 to 1.0.4 (#521)
- Bump express from 4.17.1 to 4.17.2 (#523)
- Add re-triage workflow (#517) | [@vreynolds](https://github.com/vreynolds)

## 3.2.0 [2021-12-22]

### Improvements

- feat: accept both w3c and honeycomb propagation headers by default (#514) | [@JamieDanielson](https://github.com/JamieDanielson)
- Further improvements to typescript types (#509) | [@glenjamin](https://github.com/glenjamin)

### Maintenance

- add docker-compose config for test-worthy Postgres (#515) | [@robbkidd](https://github.com/robbkidd)
- Bump debug from 4.3.2 to 4.3.3 (#505) | [@dependabot](https://github.com/dependabot)
- Bump jest from 27.3.1 to 27.4.3 (#512) | [@dependabot](https://github.com/dependabot)
- Bump fastify from 3.24.0 to 3.24.1 (#506) | [@dependabot](https://github.com/dependabot)
- Add npm shield with link to npm package (#513) | [@JamieDanielson](https://github.com/JamieDanielson)
- Bump prettier from 2.4.1 to 2.5.1 (#511) | [@dependabot](https://github.com/dependabot)
- maint: Enable linting for ts files (to lint types file) (#510) | [@JamieDanielson](https://github.com/JamieDanielson)

## 3.1.0 [2021-12-06]

### Improvements

- Expand type definitions to include all libhoney options (#502) | [@glenjamin](https://github.com/glenjamin)

### Maintenance

- Update dependabot to monthly (#500) | [@vreynolds](https://github.com/vreynolds)
- Add node 17 to test matrix (#485) | [@vreynolds](https://github.com/vreynolds)
- Remove unnecessary dependency on node types (#484) | [@vreynolds](https://github.com/vreynolds)
- Migrate and update example from examples repo (#494) | [@JamieDanielson](https://github.com/JamieDanielson)
- Empower apply-labels action to apply labels (#490) | [@robbkidd](https://github.com/robbkidd)

### Dependencies

- Bump lint-staged from 12.1.1 to 12.1.2 (#501)
- Bump fastify from 3.22.1 to 3.24.0 (#497)
- Bump @opentelemetry/core from 1.0.0 to 1.0.1 (#496)
- Bump lint-staged from 11.2.4 to 12.1.1 (#498)
- Bump eslint from 8.1.0 to 8.3.0 (#499)
- Bump lint-staged from 11.2.3 to 11.2.4 (#487)
- Bump eslint from 8.0.1 to 8.1.0 (#488)
- Bump libhoney from 2.3.3 to 3.0.0 (#478)
- Bump @opentelemetry/core from 0.25.0 to 1.0.0 (#467)
- Bump eslint from 7.32.0 to 8.0.1 (#474)
- Bump husky from 7.0.2 to 7.0.4 (#483)
- Bump lint-staged from 11.1.2 to 11.2.3 (#482)
- Bump jest from 27.3.0 to 27.3.1 (#480)
- Bump fastify from 3.21.6 to 3.22.1 (#479)
- Bump jest from 27.2.2 to 27.3.0 (#476)

## 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
Expand Down
2 changes: 1 addition & 1 deletion OSSMETADATA
Original file line number Diff line number Diff line change
@@ -1 +1 @@
osslifecycle=maintenance
osslifecycle=maintained
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Honeycomb Beeline for NodeJS

[![OSS Lifecycle](https://img.shields.io/osslifecycle/honeycombio/beeline-nodejs)](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md)
[![OSS Lifecycle](https://img.shields.io/osslifecycle/honeycombio/beeline-nodejs?color=success)](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md)
[![CircleCI](https://circleci.com/gh/honeycombio/beeline-nodejs.svg?style=shield)](https://circleci.com/gh/honeycombio/beeline-nodejs)
[![npm](https://img.shields.io/npm/v/honeycomb-beeline)](https://www.npmjs.com/package/honeycomb-beeline)

This package makes it easy to instrument your Express/NodeJS application to send useful events to [Honeycomb](https://honeycomb.io), a service for debugging your software in production.

Expand All @@ -14,7 +15,7 @@ This package makes it easy to instrument your Express/NodeJS application to send

## Known Issues

- Using a bundler (esbuild, webpack, etc.) with the Beeline is unsupported. You may be able to use the Beeline with a bundler, but auto-instrumentations will likely not work.
- Using a bundler (esbuild, webpack, etc.) or ESM with the Beeline is unsupported. You may be able to use the Beeline in those cases, but auto-instrumentations will likely not work.

## Contributions

Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: "3"

services:
pg:
image: postgres
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_USER: ${USER}
ports:
- "127.0.0.1:5432:5432"

0 comments on commit 85ca939

Please sign in to comment.