@sixthsummit/ship-api 4.1.2-alpha-20261021214130 → 4.2.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +26 -5
  2. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -1,6 +1,27 @@
1
1
  # @sixthsummit/ship-api
2
2
 
3
- ## 4.1.2-alpha-20261021214130
3
+ ## 4.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - cd52ad0: Move to the OpenTelemetry JS 3.x SDK line: `@opentelemetry/api` `^1.10.0`, `core` /
8
+ `resources` / `sdk-metrics` `^3.0.0`, `sdk-node` / `exporter-prometheus` `^0.300.0`,
9
+ `auto-instrumentations-node` `^0.82.0`. Every package that declares the api now requires
10
+ 1.10, which the 3.x SDK packages demand as a peer, so a fresh install under strict peer
11
+ dependencies resolves cleanly. `@opentelemetry/core` is a regular dependency of
12
+ `ship-api` and `ship-observability-otel` so `auto-instrumentations-node`'s peer resolves
13
+ inside the framework rather than at the application root.
14
+
15
+ `startMetricsServer` keeps listening on all interfaces by default: the 0.300 Prometheus
16
+ exporter binds to `localhost` when no host is given, so the framework now passes
17
+ `0.0.0.0` explicitly unless `host` or `METRICS_HOST` is set. `MetricsServerHandle.host`
18
+ is therefore always a string. The exporter no longer reads
19
+ `OTEL_EXPORTER_PROMETHEUS_HOST` / `_PORT`; use `METRICS_HOST` / `METRICS_PORT`.
20
+
21
+ Applications that construct tracer providers directly should import `TracerProvider`
22
+ from `@opentelemetry/sdk-trace` (the `sdk-trace-base` / `sdk-trace-node` packages are
23
+ retired) and pass span processors an options object, e.g.
24
+ `new SimpleSpanProcessor({ exporter })`. The 3.x SDK requires Node.js 22.15 or newer.
4
25
 
5
26
  ### Patch Changes
6
27
 
@@ -26,10 +47,10 @@
26
47
 
27
48
  Moving to the OpenTelemetry 3.x line is a separate upgrade.
28
49
  - Updated dependencies [c049215]
29
- - @sixthsummit/ship-hono@1.2.1-alpha-20261021214130
30
- - @sixthsummit/ship-testing@1.2.1-alpha-20261021214130
31
- - @sixthsummit/ship-drizzle@1.2.1-alpha-20261021214130
32
- - @sixthsummit/ship-observability-otel@1.2.1-alpha-20261021214130
50
+ - Updated dependencies [cd52ad0]
51
+ - @sixthsummit/ship-hono@1.2.1
52
+ - @sixthsummit/ship-drizzle@1.2.1
53
+ - @sixthsummit/ship-observability-otel@1.3.0
33
54
 
34
55
  ## 4.1.1
35
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sixthsummit/ship-api",
3
- "version": "4.1.2-alpha-20261021214130",
3
+ "version": "4.2.0",
4
4
  "description": "ShipAPI Framework — TypeScript backend on Hono + Drizzle + pluggable AuthProvider + BullMQ + OpenTelemetry. Designed to be edited by AI coding agents.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -95,20 +95,20 @@
95
95
  "@hono/node-server": "^1.19.14",
96
96
  "@hono/node-ws": "^1.3.0",
97
97
  "@hono/zod-validator": "^0.7.6",
98
- "@opentelemetry/api": ">=1.9.1 <1.10.0",
99
- "@opentelemetry/auto-instrumentations-node": "^0.80.0",
100
- "@opentelemetry/core": "^2.11.0",
101
- "@opentelemetry/exporter-prometheus": "^0.222.0",
102
- "@opentelemetry/resources": "^2.11.0",
103
- "@opentelemetry/sdk-metrics": "^2.11.0",
104
- "@opentelemetry/sdk-node": "^0.222.0",
98
+ "@opentelemetry/api": "^1.10.0",
99
+ "@opentelemetry/auto-instrumentations-node": "^0.82.0",
100
+ "@opentelemetry/core": "^3.0.0",
101
+ "@opentelemetry/exporter-prometheus": "^0.300.0",
102
+ "@opentelemetry/resources": "^3.0.0",
103
+ "@opentelemetry/sdk-metrics": "^3.0.0",
104
+ "@opentelemetry/sdk-node": "^0.300.0",
105
105
  "@opentelemetry/semantic-conventions": "^1.43.0",
106
106
  "@sixthsummit/ship-cli": "^1.2.0",
107
107
  "@sixthsummit/ship-contract": "^1.3.0",
108
108
  "@sixthsummit/ship-core": "^1.1.1",
109
- "@sixthsummit/ship-drizzle": "^1.2.1-alpha-20261021214130",
110
- "@sixthsummit/ship-hono": "^1.2.1-alpha-20261021214130",
111
- "@sixthsummit/ship-observability-otel": "^1.2.1-alpha-20261021214130",
109
+ "@sixthsummit/ship-drizzle": "^1.2.1",
110
+ "@sixthsummit/ship-hono": "^1.2.1",
111
+ "@sixthsummit/ship-observability-otel": "^1.3.0",
112
112
  "async": "^3.2.4",
113
113
  "bullmq": "^5.76.3",
114
114
  "chalk": "^5.3.0",
@@ -130,7 +130,7 @@
130
130
  "zod-to-json-schema": "^3.25.2"
131
131
  },
132
132
  "peerDependencies": {
133
- "@sixthsummit/ship-testing": "^1.2.1-alpha-20261021214130",
133
+ "@sixthsummit/ship-testing": "^1.2.1",
134
134
  "typescript": ">=5"
135
135
  },
136
136
  "peerDependenciesMeta": {
@@ -177,8 +177,8 @@
177
177
  "@bull-board/api": "^7.0.0",
178
178
  "@bull-board/hono": "^7.0.0",
179
179
  "@google-cloud/storage": "^7.19.0",
180
- "@opentelemetry/sdk-trace-base": "^2.11.0",
181
- "@sixthsummit/ship-testing": "^1.2.1-alpha-20261021214130",
180
+ "@opentelemetry/sdk-trace": "^3.0.0",
181
+ "@sixthsummit/ship-testing": "^1.2.1",
182
182
  "@testcontainers/localstack": "^12.0.1",
183
183
  "@testcontainers/postgresql": "^12.0.1",
184
184
  "@types/pg": "^8.15.6",