@opentelemetry/instrumentation-winston 0.29.0 → 0.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,7 +3,9 @@
3
3
  [![NPM Published Version][npm-img]][npm-url]
4
4
  [![Apache License][license-image]][license-image]
5
5
 
6
- This module provides automatic instrumentation for injection of trace context to [`winston`](https://www.npmjs.com/package/winston).
6
+ This module provides automatic instrumentation for injection of trace context for the [`winston`](https://www.npmjs.com/package/winston) module, which may be loaded using the [`@opentelemetry/sdk-trace-node`](https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-node) package and is included in the [`@opentelemetry/auto-instrumentations-node`](https://www.npmjs.com/package/@opentelemetry/auto-instrumentations-node) bundle.
7
+
8
+ If total installation size is not constrained, it is recommended to use the [`@opentelemetry/auto-instrumentations-node`](https://www.npmjs.com/package/@opentelemetry/auto-instrumentations-node) bundle with [@opentelemetry/sdk-node](`https://www.npmjs.com/package/@opentelemetry/sdk-node`) for the most seamless instrumentation experience.
7
9
 
8
10
  Compatible with OpenTelemetry JS API and SDK `1.0+`.
9
11
 
@@ -1,2 +1,3 @@
1
1
  export * from './instrumentation';
2
+ export * from './types';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -26,4 +26,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
28
  __exportStar(require("./instrumentation"), exports);
29
+ __exportStar(require("./types"), exports);
29
30
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;AAEH,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;AAEH,oDAAkC;AAClC,0CAAwB"}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.29.0";
1
+ export declare const VERSION = "0.30.1";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -17,5 +17,5 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.VERSION = void 0;
19
19
  // this is autogenerated file, see scripts/version-update.js
20
- exports.VERSION = '0.29.0';
20
+ exports.VERSION = '0.30.1';
21
21
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentelemetry/instrumentation-winston",
3
- "version": "0.29.0",
3
+ "version": "0.30.1",
4
4
  "description": "OpenTelemetry instrumentation for winston",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/src/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "author": "OpenTelemetry Authors",
31
31
  "license": "Apache-2.0",
32
32
  "engines": {
33
- "node": ">=8.12.0"
33
+ "node": ">=14"
34
34
  },
35
35
  "files": [
36
36
  "build/src/**/*.js",
@@ -52,22 +52,22 @@
52
52
  "@opentelemetry/sdk-trace-base": "^1.3.1",
53
53
  "@opentelemetry/sdk-trace-node": "^1.3.1",
54
54
  "@types/mocha": "7.0.2",
55
- "@types/node": "16.11.21",
55
+ "@types/node": "18.11.7",
56
56
  "@types/sinon": "10.0.2",
57
57
  "gts": "3.1.0",
58
58
  "mocha": "7.2.0",
59
59
  "nyc": "15.1.0",
60
60
  "rimraf": "3.0.2",
61
- "sinon": "13.0.1",
61
+ "sinon": "14.0.0",
62
62
  "test-all-versions": "5.0.1",
63
- "ts-mocha": "8.0.0",
63
+ "ts-mocha": "10.0.0",
64
64
  "typescript": "4.3.5",
65
65
  "winston": "3.3.3",
66
66
  "winston2": "npm:winston@2.4.5"
67
67
  },
68
68
  "dependencies": {
69
- "@opentelemetry/instrumentation": "^0.29.2"
69
+ "@opentelemetry/instrumentation": "^0.32.0"
70
70
  },
71
71
  "homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-winston#readme",
72
- "gitHead": "9633cf49c4099e97dd2a285d0399455e17a593e3"
72
+ "gitHead": "bd79bd04cba3f16658caf37d9a5c65e5bd5980f6"
73
73
  }
package/CHANGELOG.md DELETED
@@ -1,54 +0,0 @@
1
- # Changelog
2
-
3
- ## [0.29.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-winston-v0.28.0...instrumentation-winston-v0.29.0) (2022-06-08)
4
-
5
-
6
- ### Features
7
-
8
- * update core dependencies stable ^1.3.1 experimental ^0.29.2 ([141b155](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/141b155e344980b51264e26b26c117b2113bcef6))
9
-
10
- ## [0.28.0](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-winston-v0.27.3...instrumentation-winston-v0.28.0) (2022-05-14)
11
-
12
-
13
- ### Features
14
-
15
- * add supported node versions for all packages ([#973](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/973)) ([baaacbd](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/baaacbdd35ca4baab0afae64647aa8c0380ee4b7))
16
- * remove colors dependency ([#943](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/943)) ([b21b96c](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/b21b96c1a3a4f871370f970d6b2825f00e1fe595)), closes [#826](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/826)
17
- * use Otel SDK 1.2/0.28 ([#984](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/984)) ([098c2ed](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/098c2ed6f9c5ab7bd865685018c0777245aab3b7))
18
-
19
- ### [0.27.3](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-winston-v0.27.2...instrumentation-winston-v0.27.3) (2022-03-14)
20
-
21
-
22
- ### Bug Fixes
23
-
24
- * avoid leaking winston types ([#932](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/932)) ([31c4886](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/31c4886e168c24496a2c60721eb0d9e3b8732d27))
25
-
26
- ### [0.27.2](https://github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-winston-v0.27.1...instrumentation-winston-v0.27.2) (2022-03-02)
27
-
28
-
29
- ### Bug Fixes
30
-
31
- * **documentation:** mixed up winston readme for hook ([#910](https://github.com/open-telemetry/opentelemetry-js-contrib/issues/910)) ([0a557e8](https://github.com/open-telemetry/opentelemetry-js-contrib/commit/0a557e86c0d70dc6ab7af9736b1746f89c5fc8bf))
32
-
33
- ### [0.27.1](https://www.github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-winston-v0.27.0...instrumentation-winston-v0.27.1) (2022-01-24)
34
-
35
-
36
- ### Bug Fixes
37
-
38
- * fix CI by forcing colors@1.4.0 ([#825](https://www.github.com/open-telemetry/opentelemetry-js-contrib/issues/825)) ([0ec9f08](https://www.github.com/open-telemetry/opentelemetry-js-contrib/commit/0ec9f080520fe0f146a915a656300ef53a151ace))
39
- * rename lerna's --include-filtered-dependencies option ([#817](https://www.github.com/open-telemetry/opentelemetry-js-contrib/issues/817)) ([cf268e7](https://www.github.com/open-telemetry/opentelemetry-js-contrib/commit/cf268e7a92b7800ad6dbec9ca77466f9ee03ee1a))
40
- * use localhost for services in CI ([#816](https://www.github.com/open-telemetry/opentelemetry-js-contrib/issues/816)) ([f497313](https://www.github.com/open-telemetry/opentelemetry-js-contrib/commit/f4973133e86549bbca301983085cc67788a10acd))
41
-
42
- ## [0.27.0](https://www.github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-winston-v0.26.0...instrumentation-winston-v0.27.0) (2021-11-30)
43
-
44
-
45
- ### Features
46
-
47
- * use latest instrumentation base ([#769](https://www.github.com/open-telemetry/opentelemetry-js-contrib/issues/769)) ([7aff23e](https://www.github.com/open-telemetry/opentelemetry-js-contrib/commit/7aff23ebebbe209fa3b78c2e7f513c9cd2231be4))
48
-
49
- ## [0.26.0](https://www.github.com/open-telemetry/opentelemetry-js-contrib/compare/instrumentation-winston-v0.25.0...instrumentation-winston-v0.26.0) (2021-10-22)
50
-
51
-
52
- ### Features
53
-
54
- * support API and SDK 1.0 ([#706](https://www.github.com/open-telemetry/opentelemetry-js-contrib/issues/706)) ([096b694](https://www.github.com/open-telemetry/opentelemetry-js-contrib/commit/096b694bbc3079f0ab4ee0462869b10eb8185202))