@camunda8/orchestration-cluster-api 10.0.0-alpha.43 → 10.0.0-alpha.44
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 +3 -18
- package/dist/{CamundaClient-DwHGY8e9.d.cts → CamundaClient-Cm0dssvE.d.cts} +267 -41
- package/dist/{CamundaClient-Dxa-jdNc.d.ts → CamundaClient-pcUQlGFl.d.ts} +267 -41
- package/dist/{chunk-JKBNNUPT.js → chunk-AJLLDG7R.js} +3 -3
- package/dist/chunk-AJLLDG7R.js.map +1 -0
- package/dist/effect/index.cjs +86 -42
- 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 +133 -43
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +46 -2
- package/dist/index.js.map +1 -1
- package/dist/{zod.gen-2PU225MP.js → zod.gen-SZTQQ6VL.js} +85 -41
- package/dist/zod.gen-SZTQQ6VL.js.map +1 -0
- package/package.json +2 -2
- package/dist/chunk-JKBNNUPT.js.map +0 -1
- package/dist/zod.gen-2PU225MP.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [10.0.0-alpha.44](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.43...v10.0.0-alpha.44) (2026-09-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* regenerate and update agentInstance examples ([#501](https://github.com/camunda/orchestration-cluster-api-js/issues/501)) ([093ffca](https://github.com/camunda/orchestration-cluster-api-js/commit/093ffca9593205585e197daa07fdd8909009fde7))
|
|
7
|
+
|
|
1
8
|
# [10.0.0-alpha.43](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.42...v10.0.0-alpha.43) (2026-08-28)
|
|
2
9
|
|
|
3
10
|
|
package/README.md
CHANGED
|
@@ -155,20 +155,11 @@ await camunda.createDeployment({
|
|
|
155
155
|
|
|
156
156
|
## Migrating from 8.9
|
|
157
157
|
|
|
158
|
-
SDK 10.x (for Camunda 8.10) promotes several identifier
|
|
158
|
+
SDK 10.x (for Camunda 8.10) promotes several identifier fields from plain `string` to **branded types**, changes the `getResourceContent` response from a string to an object, and makes `BatchOperationItemResponse.processInstanceKey` nullable. Nothing was removed or renamed, and the wire format is unchanged.
|
|
159
159
|
|
|
160
|
-
|
|
160
|
+
**→ See [MIGRATION.md](./MIGRATION.md) for the full guide**, including the complete list of affected fields.
|
|
161
161
|
|
|
162
|
-
|
|
163
|
-
|-------|----------|
|
|
164
|
-
| `RoleId` | Role identifiers |
|
|
165
|
-
| `GroupId` | Group identifiers |
|
|
166
|
-
| `ClientId` | OAuth client identifiers |
|
|
167
|
-
| `MappingRuleId` | Mapping-rule identifiers |
|
|
168
|
-
| `ClusterVariableName` | Cluster variable names |
|
|
169
|
-
| `AgentInstanceKey` | Agent-instance system keys |
|
|
170
|
-
|
|
171
|
-
### Migration
|
|
162
|
+
The common case is branding an identifier at the boundary:
|
|
172
163
|
|
|
173
164
|
<!-- snippet-source: examples/readme.ts | regions: V9ToV10Migration -->
|
|
174
165
|
|
|
@@ -188,12 +179,6 @@ await camunda.assignRoleToGroup({
|
|
|
188
179
|
|
|
189
180
|
Each branded type has an `.assumeExists()` method that validates the string and returns the branded value. Validation runs at call time and can throw if the input is malformed, so call it once at the boundary (startup, config parsing, API response) and pass the branded value through your application. See [Branded Keys](#branded-keys) for more on this pattern.
|
|
190
181
|
|
|
191
|
-
### What does NOT change
|
|
192
|
-
|
|
193
|
-
- The wire format is unchanged — all values are still strings on the wire.
|
|
194
|
-
- No method signatures changed name or arity.
|
|
195
|
-
- Branded values are assignable anywhere a `string` is expected (template literals, logging, JSON serialization), so existing string-handling code continues to work.
|
|
196
|
-
|
|
197
182
|
## Quick Start (Zero‑Config – Recommended)
|
|
198
183
|
|
|
199
184
|
Keep configuration out of application code. Let the factory read `CAMUNDA_*` variables from the environment (12‑factor style). This makes rotation, secret management, and environment promotion safer & simpler.
|