Skip to content

Release v6.26.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 02:51
f4e01e4

Screenplay models can now say whether a part of an application is there at all for a tenant, a user or the system, separately from who is allowed to use it.

Added

  • audience and reusable availability declarations with for, when and with lines, combined with and, or and parentheses, and available for, available when and available with gates on modules, features, slices, commands, queries and screens. Gates combine down the path and are decided before authorize; an unknown audience, availability or value never opens a gate (#1301)
  • Persona audience lines, for authoring only, and the $context.audiences value.
  • provide <name> <Type> from <source> for scope-driven context values readable in available when.
  • ESM v53, written only when a model uses availability or provided values.
  • Diagnostics PLAY1130 to PLAY1141 for malformed, duplicate, unknown and circular audiences and availabilities, unprovided values, and commands that can be unavailable to their invoker.
  • The same support in the TypeScript compiler, Monaco (hover, completion, go to definition, snippets), the VS Code grammar, rename and the MCP server. The event model board draws a gated slice for the personas that pass its gates and marks it.
  • A documentation page on audiences and availability, and gates in the Invoicing and Commerce samples.

Changed

  • provide is admitted when its source is a literal, the host or a query; provide from a file or code block stays a preview.