Skip to content

Release v6.43.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 17:18
9451970

A screen element bound to a command or a query is now offered only when the caller may use it and the part it binds is available, and an author can gate an element directly.

Added

  • available for, available when and available with on a screen action and a screen data element, one form per line. An element gate can only narrow what the bound command or query allows, and PLAY1172 warns when a gate could be on while the bound part is not available. (#1379)
  • Element availability is derived from the bound part: SemanticScreenAvailability.Evaluate takes the audiences of the caller and the parts an operator suspended, checks suspension and then the gates down module, feature, slice and construct before authorize, and reports why an element is unavailable (Cause: not authorized, not available, suspended). Without that state it reports everything available, as specifications run.
  • ESM v59 carries the gate of a screen element as "available" on a screen data entry and a screen action, written only when the element has a gate; the v59 golden vector and JSON schema are published.
  • The TypeScript compiler, the event model board, Monaco and the VS Code grammar understand element gates; the shared conformance vectors hold both compilers to them.

Changed

  • A model with no gate on a screen element keeps its earlier ESM version and its syntax JSON bytes.
  • The availability, screens and policies documentation describe element gates, and the Invoicing sample shows one.