@stackbone/cli 0.4.0 → 0.4.1
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 +32 -0
- package/main.js +383 -92
- package/package.json +1 -1
- package/runtime-deps/@stackbone/workflow-world/index.js +48 -13
- package/stackbone-cli-0.4.1.tgz +0 -0
- package/stackbone-cli-0.4.0.tgz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.4.1] - 2026-09-11
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Every generated connector signature declares its second parameter.**
|
|
15
|
+
`connection(id).<op>(args, opts)` has forwarded a second argument at run time
|
|
16
|
+
since it existed and no generated signature declared it, so the SDK's
|
|
17
|
+
`idempotent` was reachable only through the untyped `.call(…)` — not the path
|
|
18
|
+
a creator is steered to. Each signature now prints
|
|
19
|
+
`opts?: CallConnectorOptions`, the three overloads of a `'when-requested'` raw
|
|
20
|
+
response included. An operation with no declared arguments prints
|
|
21
|
+
`args?: undefined` rather than nothing: the runtime proxy is `(args?, opts?)`
|
|
22
|
+
for every operation, so a signature that let `opts` come first would hand the
|
|
23
|
+
creator's options to the provider as arguments. The field itself needs
|
|
24
|
+
`@stackbone/sdk` 0.4.1.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- **A guarded PATCH whose body columns share names with query filters can now be
|
|
29
|
+
called.** Swagger's body argument name is preserved and its object sent
|
|
30
|
+
separately from the query filters, so a partial write no longer collides with
|
|
31
|
+
the filter that selects the row. Flat POST bodies are unchanged, the narrowing
|
|
32
|
+
guard applies to PATCH before the request leaves, and a fetched row schema no
|
|
33
|
+
longer makes a partial write mandatory by way of its server-generated columns.
|
|
34
|
+
Verified against local PostgREST for partial PATCH, stale-version no-op,
|
|
35
|
+
unsafe PATCH refusal and flat POST.
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- The coding-agent labels in the setup flow come from `@stackbone/format`, so
|
|
40
|
+
the browser and the CLI render one list instead of two that drift.
|
|
41
|
+
|
|
10
42
|
## [0.4.0] - 2026-09-10
|
|
11
43
|
|
|
12
44
|
### Added
|