Repository navigation
Release v6.13.0
A policy can now name its own inputs, so one policy serves commands and queries that spell the key of the asset differently.
Added
- A policy declares typed inputs such as
asset AssetId, a read takes its key withby asset, andauthorize PlanGrantscarries a mapping block such asasset = vesselId. An input that is not mapped is filled from the artifact property of the same name, so existing state policies keep working. Both compilers parse and print it, and the reference evaluator and specifications resolve the key through the mapping. (#1231) - ESM v46, selected only by a model that declares an input or a mapping; every earlier model keeps its bytes and revision. The canonical JSON, the published
esm-v46schema, the golden and the documentation describe it.
Changed
- A default source such as
asset AssetId from $context.assetparses, prints and round-trips, and is refused when bound until a trusted context can carry it.