@camunda8/orchestration-cluster-api 1.1.2 → 1.1.4

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 CHANGED
@@ -1,3 +1,20 @@
1
+ ## [1.1.4](https://github.com/camunda/orchestration-cluster-api-js/compare/v1.1.3...v1.1.4) (2025-11-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **ci:** prevent BUILDINFO drift from parallel matrix jobs ([45edce6](https://github.com/camunda/orchestration-cluster-api-js/commit/45edce610714cf8cb51ca31833f5469bc925085b))
7
+ * **gen:** regenerate artifacts ([da77e80](https://github.com/camunda/orchestration-cluster-api-js/commit/da77e809ca58c41f5486c392e46d6ad43954a369))
8
+ * mark methods experimental ([f88a8cd](https://github.com/camunda/orchestration-cluster-api-js/commit/f88a8cd6689774ff5cb08c279b04f788d2298375))
9
+ * remove pre-release note ([0c3c26d](https://github.com/camunda/orchestration-cluster-api-js/commit/0c3c26d4b674a33aa5f1a3e9c68f131f90411729))
10
+ * update dependencies ([faacf92](https://github.com/camunda/orchestration-cluster-api-js/commit/faacf92d995add72bcbc41e9740b9bf746b714e3))
11
+
12
+ ## [1.1.3](https://github.com/camunda/orchestration-cluster-api-js/compare/v1.1.2...v1.1.3) (2025-11-10)
13
+
14
+ ### Bug Fixes
15
+
16
+ - log backpressure at debug ([ef8fd69](https://github.com/camunda/orchestration-cluster-api-js/commit/ef8fd6999a39b8ed25a57a3647ec3b20928da640))
17
+
1
18
  ## [1.1.2](https://github.com/camunda/orchestration-cluster-api-js/compare/v1.1.1...v1.1.2) (2025-11-10)
2
19
 
3
20
  ### Bug Fixes
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Camunda 8 Orchestration Cluster TypeScript SDK (Pre‑release)
1
+ # Camunda 8 Orchestration Cluster TypeScript SDK
2
2
 
3
3
  Type‑safe, promise‑based client for the Camunda 8 Orchestration Cluster REST API.
4
4
 
@@ -668,6 +668,8 @@ Notes:
668
668
 
669
669
  ## Functional (fp-ts style) Surface (Opt-In Subpath)
670
670
 
671
+ @experimental - this feature is not guaranteed to be tested or stable.
672
+
671
673
  The main entry stays minimal. To opt in to a TaskEither-style facade & helper combinators import from the dedicated subpath:
672
674
 
673
675
  ```ts
@@ -1116,3 +1118,13 @@ const client = createCamundaClient({
1116
1118
  ## License
1117
1119
 
1118
1120
  Apache 2.0
1121
+
1122
+ ## API Documentation
1123
+
1124
+ Generate an HTML API reference site with TypeDoc (public entry points only):
1125
+
1126
+ ```bash
1127
+ npm run docs:api
1128
+ ```
1129
+
1130
+ Output: static site in `docs/api` (open `docs/api/index.html` in a browser or serve the folder, e.g. `npx http-server docs/api`). Entry points: `src/index.ts`, `src/logger.ts`, `src/fp/index.ts`. Internal generated code, scripts, tests are excluded and private / protected members are filtered. Regenerate after changing public exports.
@@ -9614,7 +9614,7 @@ function installAuthInterceptor(client2, getStrategy, getAuthHeaders) {
9614
9614
  }
9615
9615
 
9616
9616
  // src/runtime/version.ts
9617
- var packageVersion = "1.1.1";
9617
+ var packageVersion = "1.1.4";
9618
9618
 
9619
9619
  // src/runtime/supportLogger.ts
9620
9620
  var NoopSupportLogger = class {
@@ -10372,10 +10372,19 @@ var BackpressureManager = class {
10372
10372
  waiters: this.waiters.length
10373
10373
  };
10374
10374
  }
10375
- log(evt, data) {
10375
+ log(evt, data, prevSeverity) {
10376
10376
  this.logger?.trace?.(() => ["backpressure." + evt, data]);
10377
- if (evt === "severity" || evt.startsWith("permits.")) {
10378
- this.logger?.info?.(() => ["bp.state.change", { event: evt, ...data }]);
10377
+ if (evt === "severity") {
10378
+ const curr = data.severity;
10379
+ const enteringUnhealthy = prevSeverity === "healthy" && curr !== "healthy";
10380
+ const recoveringHealthy = prevSeverity !== "healthy" && curr === "healthy";
10381
+ const level = enteringUnhealthy || recoveringHealthy ? "info" : "debug";
10382
+ this.logger?.[level]?.(() => [
10383
+ "bp.state.change",
10384
+ { event: evt, from: prevSeverity, to: curr }
10385
+ ]);
10386
+ } else if (evt.startsWith("permits.")) {
10387
+ this.logger?.debug?.(() => ["bp.state.change", { event: evt, ...data }]);
10379
10388
  }
10380
10389
  }
10381
10390
  async acquire(signal) {
@@ -10437,7 +10446,8 @@ var BackpressureManager = class {
10437
10446
  } else if (this.severity === "soft") {
10438
10447
  if (!this.observeOnly) this.scalePermits(this.cfg.reduceFactor);
10439
10448
  }
10440
- if (this.severity !== prevSeverity) this.log("severity", { severity: this.severity });
10449
+ if (this.severity !== prevSeverity)
10450
+ this.log("severity", { severity: this.severity }, prevSeverity);
10441
10451
  }
10442
10452
  recordHealthyHint() {
10443
10453
  if (!this.cfg.enabled && !this.observeOnly) return;
@@ -10457,16 +10467,17 @@ var BackpressureManager = class {
10457
10467
  if (now2 - this.lastRecoverCheck < this.cfg.recoveryIntervalMs) return;
10458
10468
  this.lastRecoverCheck = now2;
10459
10469
  if (now2 - this.lastEventAt > this.cfg.decayQuietMs) {
10470
+ const prev = this.severity;
10460
10471
  if (this.severity === "severe") this.severity = "soft";
10461
10472
  else if (this.severity === "soft") this.severity = "healthy";
10462
10473
  if (this.severity === "healthy") this.consecutive = 0;
10463
- this.log("severity", { severity: this.severity });
10474
+ if (prev !== this.severity) this.log("severity", { severity: this.severity }, prev);
10464
10475
  }
10465
10476
  if (this.permitsMax !== null) {
10466
10477
  const bootstrapCap = this.cfg.initialMaxConcurrency ?? 16;
10467
10478
  if (this.permitsMax < bootstrapCap) {
10468
10479
  this.permitsMax = Math.min(bootstrapCap, this.permitsMax + this.cfg.recoveryStep);
10469
- this.log("permits.recover", { max: this.permitsMax });
10480
+ this.log("permits.recover", { max: this.permitsMax }, this.severity);
10470
10481
  this.release();
10471
10482
  }
10472
10483
  }
@@ -18762,4 +18773,4 @@ export {
18762
18773
  withTimeoutTE,
18763
18774
  eventuallyTE
18764
18775
  };
18765
- //# sourceMappingURL=chunk-FMCCRZJE.js.map
18776
+ //# sourceMappingURL=chunk-7HDBRIEN.js.map