@sebspark/opentelemetry-instrumentation-opensearch 0.3.13 → 0.3.15

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/CHANGELOG.md ADDED
@@ -0,0 +1,179 @@
1
+ # @sebspark/opentelemetry-instrumentation-opensearch
2
+
3
+ ## 0.3.15
4
+
5
+ ### Patch Changes
6
+
7
+ - 9f44fbd: Updated dependencies
8
+
9
+ ## 0.3.14
10
+
11
+ ### Patch Changes
12
+
13
+ - 66ac832: * Upgraded to TypeScript 7
14
+ - Replaced tsup with tsdown for package builds
15
+ - Fixed cli-tester stdout parsing, resolving flaky e2e tests across the repo
16
+ - Patched vulnerable transitive dependencies (uuid, socket.io-parser, and others)
17
+
18
+ ## 0.3.13
19
+
20
+ ### Patch Changes
21
+
22
+ - eefb531: Updated dependencies
23
+
24
+ ## 0.3.12
25
+
26
+ ### Patch Changes
27
+
28
+ - 5e9fc45: Bump dependencies. Security fixes:
29
+
30
+ - **form-data** 2.5.6 / 4.0.6 — CRLF injection via unescaped multipart field names and filenames (High)
31
+ - **vite** 8.1.2 — `server.fs.deny` bypass on Windows alternate paths; NTLMv2 hash disclosure via launch-editor (High/Moderate)
32
+ - **ws** 8.21.0 — Memory exhaustion DoS from tiny fragments; uninitialized memory disclosure (High/Moderate)
33
+ - **undici** 8.5.0 — Multiple DoS and information disclosure CVEs (High/Moderate/Low)
34
+ - **tar** 7.5.19 — PAX size override causes tar parser differential / file smuggling (Moderate)
35
+ - **qs** 6.15.3 — DoS via `qs.stringify` crash on null/undefined entries (Moderate)
36
+ - **@opentelemetry/core** 2.8.0 — Unbounded memory allocation in W3C Baggage propagation (Moderate)
37
+ - **@babel/core** 7.29.7 — Arbitrary file read via sourceMappingURL comment (Low)
38
+ - **protobufjs** 8.6.5
39
+
40
+ Other dependency updates:
41
+
42
+ - `@google-cloud/spanner` 8.8.0
43
+ - `@testcontainers/*` 12.0.4
44
+ - `google-auth-library` 10.9.0
45
+ - `mockserver-client` 7.3.0
46
+ - `nock` 14.0.16
47
+ - `prettier` 3.9.4
48
+ - `redis` 6.1.0
49
+ - `webpack` 5.108.3 / `webpack-cli` 7.1.0
50
+
51
+ ## 0.3.11
52
+
53
+ ### Patch Changes
54
+
55
+ - e0eda57: Updated dependencies
56
+
57
+ ## 0.3.10
58
+
59
+ ### Patch Changes
60
+
61
+ - 26d55f0: Fix `@sebspark/memredis` so Redis clients are assignable to `IPersistor` by widening the pub/sub subscription return types to accept both MemRedis and node-redis implementations.
62
+
63
+ Also update supporting dependencies across the affected packages.
64
+
65
+ ## 0.3.9
66
+
67
+ ### Patch Changes
68
+
69
+ - a6c27f3: Updated dependencies
70
+
71
+ ## 0.3.8
72
+
73
+ ### Patch Changes
74
+
75
+ - 264e665: Upgrade `redis` to v6 in `@sebspark/promise-cache` and bump minor dependencies across the workspace.
76
+
77
+ **Breaking change (`@sebspark/promise-cache`):**
78
+ `redis` upgraded from `5.12.1` → `6.0.0`. Redis v6 contains breaking changes in its API — see the [redis v6 migration guide](https://github.com/redis/node-redis/blob/master/docs/v4-to-v6.md) if your code uses the client directly.
79
+
80
+ **Dependency updates across packages:**
81
+ - `testcontainers` / `@testcontainers/*`: `12.0.0` → `12.0.1` (health-check, opensearch, opentelemetry-instrumentation-opensearch, otel, promise-cache, socket.io-gcp-pubsub-emitter, spanner-migrate, test-iap)
82
+ - `redis`: `5.12.1` → `6.0.0` (otel, promise-cache)
83
+ - `tsdown`: `0.22.0` → `0.22.1` (tsconfig)
84
+ - `turbo` / `@turbo/gen`: `2.9.15` → `2.9.16`
85
+ - `webpack-cli`: `7.0.2` → `7.0.3` (avsc-isometric)
86
+
87
+ **Test fix (`@sebspark/promise-cache`):**
88
+ Pinned Redis container image tag to `redis:8.8-alpine` (was `redis:8-alpine`) to prevent floating-tag drift in e2e tests.
89
+
90
+ ## 0.3.7
91
+
92
+ ### Patch Changes
93
+
94
+ - 242eb33: This release primarily updates dependencies across the listed packages, including:
95
+ - Testcontainers v12 upgrades in packages that run integration/e2e tests.
96
+ - Vitest/Biome/Turbo and related tooling updates.
97
+ - Runtime dependency updates such as `date-fns`, `@inquirer/*`, `socket.io-adapter`, and `ws`.
98
+
99
+ It also includes two targeted fixes:
100
+ - `@sebspark/opensearch`: fixed TypeScript compatibility so strict `SearchRequest<T>` / `SearchRequestBody<T>` can be assigned to OpenSearch API request types, and added a compile-time compatibility test.
101
+ - `@sebspark/health-check`: updated the e2e readiness payload assertions and type-only import usage to match current runtime output and TypeScript expectations.
102
+
103
+ ## 0.3.6
104
+
105
+ ### Patch Changes
106
+
107
+ - c5e9c99: Resolve protobufjs CVE by pinning to `8.3.0` across all affected packages via root resolutions. Upgraded OpenTelemetry packages to `0.218.0` (which also eliminates the previous hardpin on `protobufjs@8.0.1`), `axios` to `1.16.1`, `ws` to `8.20.1`, `qs` to `6.15.2`, and `@opentelemetry/semantic-conventions` to `1.41.1`.
108
+
109
+ ## 0.3.5
110
+
111
+ ### Patch Changes
112
+
113
+ - cf4ca8e: Export `Filter`, `MethodCall`, `MethodCallBuilder`, and `ResponseCb` from `@sebspark/emulator` so that packages wrapping `createEmulator<T>()` can name the return types in their generated declaration files (fixes TS4023).
114
+
115
+ Dependency updates:
116
+ - `@opentelemetry/*` instrumentation packages: `0.216.0` → `0.217.0`; `instrumentation-undici`: `0.26.0` → `0.27.0`; resource detectors, individual instrumentations bumped to latest patch/minor releases
117
+ - `@google-cloud/spanner`: `8.7.0` → `8.7.1`
118
+ - `fast-xml-parser`: `5.7.2` → `5.7.3`
119
+ - Dev: `turbo` `2.9.8` → `2.9.9`, `knip` `6.11.0` → `6.12.0`, `syncpack` `14.3.1` → `15.0.0`
120
+
121
+ ## 0.3.4
122
+
123
+ ### Patch Changes
124
+
125
+ - 7d8cc98: Dependabot dependency updates
126
+
127
+ ## 0.3.3
128
+
129
+ ### Patch Changes
130
+
131
+ - 8a120f6: Updated dependencies for all and docs for emulator
132
+
133
+ ## 0.3.2
134
+
135
+ ### Patch Changes
136
+
137
+ - e9a7a28: Updated dependencies
138
+
139
+ ## 0.3.1
140
+
141
+ ### Patch Changes
142
+
143
+ - 4e12590: Updated dependencies
144
+
145
+ ## 0.3.0
146
+
147
+ ### Minor Changes
148
+
149
+ - f202dc3: Improved Opensearch tracing
150
+
151
+ ## 0.2.2
152
+
153
+ ### Patch Changes
154
+
155
+ - 91aed80: Updated dependencies
156
+
157
+ ## 0.2.1
158
+
159
+ ### Patch Changes
160
+
161
+ - cd9e760: Duration added to openapie-express routes
162
+
163
+ ## 0.2.0
164
+
165
+ ### Minor Changes
166
+
167
+ - b92b79a: Added a bunch of metrics
168
+
169
+ ## 0.1.1
170
+
171
+ ### Patch Changes
172
+
173
+ - 67d6129: Updated dependencies
174
+
175
+ ## 0.1.0
176
+
177
+ ### Minor Changes
178
+
179
+ - 77a7a66: First release
package/dist/index.d.mts CHANGED
@@ -11,7 +11,7 @@ interface OpenSearchInstrumentationConfig extends InstrumentationConfig {
11
11
  }
12
12
  //#endregion
13
13
  //#region src/index.d.ts
14
- declare class OpenSearchInstrumentation extends InstrumentationBase {
14
+ export declare class OpenSearchInstrumentation extends InstrumentationBase {
15
15
  private readonly osConfig;
16
16
  private _original;
17
17
  constructor(config?: OpenSearchInstrumentationConfig);
@@ -20,5 +20,5 @@ declare class OpenSearchInstrumentation extends InstrumentationBase {
20
20
  disable(): void;
21
21
  }
22
22
  //#endregion
23
- export { OpenSearchInstrumentation, type OpenSearchInstrumentationConfig };
23
+ export type { OpenSearchInstrumentationConfig };
24
24
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/index.ts"],"mappings":";;;;UAOiB,wCAAwC;EACvD,kCAAkC,QAAQ;EAC1C,eAAe,MAAM,MAAM,QAAQ;EACnC,gBAAgB,MAAM,MAAM,UAAU;EACtC;EACA;;;;cCGW,kCAAkC;mBAC5B;UACT;EAEI,YAAA,SAAQ;YAQV;EAED;EAWA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/types.ts","../src/index.ts"],"mappings":";;;;UAOiB,wCAAwC;EACvD,kCAAkC,QAAQ;EAC1C,eAAe,MAAM,MAAM,QAAQ;EACnC,gBAAgB,MAAM,MAAM,UAAU;EACtC;EACA;;;;qBCGW,kCAAkC;mBAC5B;UACT;EAER,YAAY,SAAQ;YAQV;EAED;EAWA"}
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import { suppressTracing } from "@opentelemetry/core";
6
6
  import { ATTR_DB_COLLECTION_NAME, ATTR_DB_OPERATION_NAME, ATTR_DB_QUERY_TEXT, ATTR_DB_SYSTEM_NAME, ATTR_HTTP_RESPONSE_STATUS_CODE, ATTR_SERVER_ADDRESS, ATTR_SERVER_PORT } from "@opentelemetry/semantic-conventions";
7
7
  //#region package.json
8
8
  var name = "@sebspark/opentelemetry-instrumentation-opensearch";
9
- var version = "0.3.13";
9
+ var version = "0.3.15";
10
10
  //#endregion
11
11
  //#region src/parse-path.ts
12
12
  const METHOD_OPERATIONS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebspark/opentelemetry-instrumentation-opensearch",
3
- "version": "0.3.13",
3
+ "version": "0.3.15",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -20,31 +20,36 @@
20
20
  "lint": "biome check .",
21
21
  "test": "vitest run --passWithNoTests --coverage",
22
22
  "test:e2e": "vitest --config vitest.config.e2e.ts --run",
23
- "typecheck": "vitest --typecheck.only --passWithNoTests"
23
+ "typecheck": "vitest --typecheck.only --passWithNoTests --run"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@opensearch-project/opensearch": ">=2",
27
27
  "@opentelemetry/api": ">=1.9.0"
28
28
  },
29
29
  "dependencies": {
30
- "@opentelemetry/core": "2.10.0",
31
- "@opentelemetry/instrumentation": "0.221.0",
30
+ "@opentelemetry/core": "2.11.0",
31
+ "@opentelemetry/instrumentation": "0.222.0",
32
32
  "@opentelemetry/semantic-conventions": "1.43.0"
33
33
  },
34
34
  "devDependencies": {
35
+ "@biomejs/biome": "2.5.14",
35
36
  "@opensearch-project/opensearch": "3.6.0",
36
37
  "@opentelemetry/api": "1.9.1",
37
- "@opentelemetry/instrumentation-http": "0.221.0",
38
- "@opentelemetry/instrumentation-undici": "0.31.0",
39
- "@opentelemetry/sdk-trace-base": "2.10.0",
40
- "@opentelemetry/sdk-trace-node": "2.10.0",
41
- "@testcontainers/opensearch": "12.1.0"
38
+ "@opentelemetry/instrumentation-http": "0.222.0",
39
+ "@opentelemetry/instrumentation-undici": "0.32.0",
40
+ "@opentelemetry/sdk-trace-base": "2.11.0",
41
+ "@opentelemetry/sdk-trace-node": "2.11.0",
42
+ "@sebspark/tsconfig": "*",
43
+ "@testcontainers/opensearch": "12.1.0",
44
+ "typescript": "7.0.2",
45
+ "vite": "8.3.0",
46
+ "vitest": "5.0.1"
42
47
  },
43
48
  "resolutions": {
44
- "protobufjs": "8.6.5"
49
+ "protobufjs": "8.8.0"
45
50
  },
46
51
  "repository": {
47
52
  "type": "git",
48
53
  "url": "https://github.com/seb-oss/Spark-packages.git"
49
54
  }
50
- }
55
+ }