@ontrails/commander 0.2.4 → 0.3.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.
- package/CHANGELOG.md +16 -0
- package/package.json +3 -3
- package/src/to-commander.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @ontrails/commander
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`dffba59`](https://github.com/outfitter-dev/trails/commit/dffba590dc569d1af8e93fe449ee8be8aa6d689e): Require explicitly authored actor evidence on execution permits, retain optional issuer and finite millisecond expiry, and derive collision-free issuer-qualified subject keys. This is a breaking 0.x shape migration: custom adapters, contexts and inline CLI permits must supply `actors`, including `[]` when no acting party is known.
|
|
8
|
+
|
|
9
|
+
Retain validated JWT attester, expiry and current-first actor chains without inventing actor namespaces or trusting caller provenance. Preserve full permits at existing authentication boundaries and update test factories and generated permit commands.
|
|
10
|
+
|
|
11
|
+
Carry identity evidence through traces, queries and OTel output. Upgrade version-2 developer trace stores without deleting records; preserve unknown historical actors separately from known empty chains. See the permit identity migration guide for compatibility details.
|
|
12
|
+
|
|
13
|
+
The RPC conformance suite's shared writer permit now carries `actors: []`, so hosts running `createRpcConformanceCases` need no change.
|
|
14
|
+
|
|
15
|
+
## 0.2.5
|
|
16
|
+
|
|
17
|
+
No changes in this release.
|
|
18
|
+
|
|
3
19
|
## 0.2.4
|
|
4
20
|
|
|
5
21
|
No changes in this release.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ontrails/commander",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/outfitter-dev/trails.git",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"clean": "rm -rf dist *.tsbuildinfo"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ontrails/cli": "^0.
|
|
31
|
-
"@ontrails/core": "^0.
|
|
30
|
+
"@ontrails/cli": "^0.3.0",
|
|
31
|
+
"@ontrails/core": "^0.3.0",
|
|
32
32
|
"commander": "^14.0.3"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
package/src/to-commander.ts
CHANGED
|
@@ -504,7 +504,7 @@ const collectPermitScopeLines = (
|
|
|
504
504
|
const scopeJson = scopes.map((scope) => JSON.stringify(scope)).join(',');
|
|
505
505
|
return [
|
|
506
506
|
`Required scopes: ${scopes.join(', ')}`,
|
|
507
|
-
`Grant with: --permit '{"id":"<caller-id>","scopes":[${scopeJson}]}'`,
|
|
507
|
+
`Grant with: --permit '{"actors":[],"id":"<caller-id>","scopes":[${scopeJson}]}'`,
|
|
508
508
|
];
|
|
509
509
|
};
|
|
510
510
|
|