@camunda8/orchestration-cluster-api 10.0.0-alpha.49 → 10.0.0-alpha.50
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 +7 -0
- package/README.md +1 -0
- package/dist/{CamundaClient-D0pHU3oF.d.cts → CamundaClient-DBZ5xkfB.d.cts} +5 -0
- package/dist/{CamundaClient-BD2Gqc3Y.d.ts → CamundaClient-DuZf_I-y.d.ts} +5 -0
- package/dist/{chunk-GIOXXJ73.js → chunk-GMNYLSVD.js} +11 -3
- package/dist/{chunk-GIOXXJ73.js.map → chunk-GMNYLSVD.js.map} +1 -1
- package/dist/effect/index.cjs +10 -2
- package/dist/effect/index.cjs.map +1 -1
- package/dist/effect/index.d.cts +1 -1
- package/dist/effect/index.d.ts +1 -1
- package/dist/effect/index.js +1 -1
- package/dist/index.cjs +10 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [10.0.0-alpha.50](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.49...v10.0.0-alpha.50) (2026-09-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **config:** add CAMUNDA_REST_ADDRESS_EXACT to opt out of /v2 suffix ([#534](https://github.com/camunda/orchestration-cluster-api-js/issues/534)) ([2797790](https://github.com/camunda/orchestration-cluster-api-js/commit/27977905b38cebb1789d6724a6c7702d50bb8679)), closes [#499](https://github.com/camunda/orchestration-cluster-api-js/issues/499)
|
|
7
|
+
|
|
1
8
|
# [10.0.0-alpha.49](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.48...v10.0.0-alpha.49) (2026-09-29)
|
|
2
9
|
|
|
3
10
|
|
package/README.md
CHANGED
|
@@ -199,6 +199,7 @@ Typical `.env` (example):
|
|
|
199
199
|
|
|
200
200
|
```bash
|
|
201
201
|
CAMUNDA_REST_ADDRESS=https://cluster.example # SDK will use https://cluster.example/v2/... unless /v2 already present
|
|
202
|
+
# CAMUNDA_REST_ADDRESS_EXACT=true # optional (specialized): suppress the /v2 suffix (trailing slashes/whitespace are still normalized) — only for gateway/reverse-proxy base paths
|
|
202
203
|
CAMUNDA_AUTH_STRATEGY=OAUTH
|
|
203
204
|
CAMUNDA_CLIENT_ID=***
|
|
204
205
|
CAMUNDA_CLIENT_SECRET=***
|
|
@@ -22668,6 +22668,11 @@ declare const SCHEMA: {
|
|
|
22668
22668
|
readonly aliases: readonly ["ZEEBE_REST_ADDRESS"];
|
|
22669
22669
|
readonly doc: "Base REST endpoint address. Legacy alias: ZEEBE_REST_ADDRESS (used only when CAMUNDA_REST_ADDRESS is unset).";
|
|
22670
22670
|
};
|
|
22671
|
+
readonly CAMUNDA_REST_ADDRESS_EXACT: {
|
|
22672
|
+
readonly type: "boolean";
|
|
22673
|
+
readonly default: false;
|
|
22674
|
+
readonly doc: "Disable the automatic /v2 suffix so CAMUNDA_REST_ADDRESS is used as the base path. The value is still normalized (surrounding whitespace and trailing slashes are trimmed) — this option only suppresses the /v2 append, it does not preserve the address byte-for-byte. Useful for gateway/reverse-proxy deployments whose base path does not follow the /v2 convention.";
|
|
22675
|
+
};
|
|
22671
22676
|
readonly CAMUNDA_SDK_HTTP_RETRY_MAX_ATTEMPTS: {
|
|
22672
22677
|
readonly desc: "Maximum total HTTP attempts (including the initial attempt) for transient failures (429,503, network).";
|
|
22673
22678
|
readonly type: "int";
|
|
@@ -22668,6 +22668,11 @@ declare const SCHEMA: {
|
|
|
22668
22668
|
readonly aliases: readonly ["ZEEBE_REST_ADDRESS"];
|
|
22669
22669
|
readonly doc: "Base REST endpoint address. Legacy alias: ZEEBE_REST_ADDRESS (used only when CAMUNDA_REST_ADDRESS is unset).";
|
|
22670
22670
|
};
|
|
22671
|
+
readonly CAMUNDA_REST_ADDRESS_EXACT: {
|
|
22672
|
+
readonly type: "boolean";
|
|
22673
|
+
readonly default: false;
|
|
22674
|
+
readonly doc: "Disable the automatic /v2 suffix so CAMUNDA_REST_ADDRESS is used as the base path. The value is still normalized (surrounding whitespace and trailing slashes are trimmed) — this option only suppresses the /v2 append, it does not preserve the address byte-for-byte. Useful for gateway/reverse-proxy deployments whose base path does not follow the /v2 convention.";
|
|
22675
|
+
};
|
|
22671
22676
|
readonly CAMUNDA_SDK_HTTP_RETRY_MAX_ATTEMPTS: {
|
|
22672
22677
|
readonly desc: "Maximum total HTTP attempts (including the initial attempt) for transient failures (429,503, network).";
|
|
22673
22678
|
readonly type: "int";
|
|
@@ -4470,6 +4470,11 @@ var SCHEMA = {
|
|
|
4470
4470
|
aliases: ["ZEEBE_REST_ADDRESS"],
|
|
4471
4471
|
doc: "Base REST endpoint address. Legacy alias: ZEEBE_REST_ADDRESS (used only when CAMUNDA_REST_ADDRESS is unset)."
|
|
4472
4472
|
},
|
|
4473
|
+
CAMUNDA_REST_ADDRESS_EXACT: {
|
|
4474
|
+
type: "boolean",
|
|
4475
|
+
default: false,
|
|
4476
|
+
doc: "Disable the automatic /v2 suffix so CAMUNDA_REST_ADDRESS is used as the base path. The value is still normalized (surrounding whitespace and trailing slashes are trimmed) \u2014 this option only suppresses the /v2 append, it does not preserve the address byte-for-byte. Useful for gateway/reverse-proxy deployments whose base path does not follow the /v2 convention."
|
|
4477
|
+
},
|
|
4473
4478
|
CAMUNDA_SDK_HTTP_RETRY_MAX_ATTEMPTS: {
|
|
4474
4479
|
desc: "Maximum total HTTP attempts (including the initial attempt) for transient failures (429,503, network).",
|
|
4475
4480
|
type: "int",
|
|
@@ -5029,10 +5034,13 @@ function hydrateConfig(options = {}) {
|
|
|
5029
5034
|
if (isSecret(k) && v) redacted[k] = redactSecret(v);
|
|
5030
5035
|
else redacted[k] = v;
|
|
5031
5036
|
}
|
|
5037
|
+
const _restAddressExact = reqBool("CAMUNDA_REST_ADDRESS_EXACT");
|
|
5032
5038
|
let _restAddress = reqStr("CAMUNDA_REST_ADDRESS");
|
|
5033
5039
|
if (_restAddress) {
|
|
5034
5040
|
_restAddress = _restAddress.trim();
|
|
5035
|
-
if (
|
|
5041
|
+
if (_restAddressExact) {
|
|
5042
|
+
_restAddress = _restAddress.replace(/\/+$/, "");
|
|
5043
|
+
} else if (!/\/v2\/?$/i.test(_restAddress)) {
|
|
5036
5044
|
_restAddress = `${_restAddress.replace(/\/+$/, "")}/v2`;
|
|
5037
5045
|
} else {
|
|
5038
5046
|
}
|
|
@@ -5435,7 +5443,7 @@ function installAuthInterceptor(client2, getStrategy, getAuthHeaders) {
|
|
|
5435
5443
|
}
|
|
5436
5444
|
|
|
5437
5445
|
// src/runtime/version.ts
|
|
5438
|
-
var packageVersion = "10.0.0-alpha.
|
|
5446
|
+
var packageVersion = "10.0.0-alpha.50";
|
|
5439
5447
|
|
|
5440
5448
|
// src/runtime/supportLogger.ts
|
|
5441
5449
|
var NoopSupportLogger = class {
|
|
@@ -21727,4 +21735,4 @@ export {
|
|
|
21727
21735
|
CamundaClientBase,
|
|
21728
21736
|
CamundaClient
|
|
21729
21737
|
};
|
|
21730
|
-
//# sourceMappingURL=chunk-
|
|
21738
|
+
//# sourceMappingURL=chunk-GMNYLSVD.js.map
|