Skip to content

Release v22.97.0

Choose a tag to compare

@github-actions github-actions released this 14 Oct 12:04
745673d

Added

  • The Screenplay generator extracts reactors that handle command refusals with Invoke.Command(...).OnRefused(...) and Acknowledge(...) into invokes … on refused [by validation | authorization | constraint …] branches. Branches appear in declaration order. Branches that produce events map CommandRefusal.Message to $refusal.message, and the constraint name to $refusal.constraint under constraint selectors. A reactor whose callbacks cannot be proven pure, or whose output is capped below ESM v19, keeps its file reference and reports SP0071. (#3094)
  • New analyzer ARCCHR0027 warns when an OnRefused branch returns something the runtime rejects, such as a command, a non-event object or an empty collection. See ARCCHR0027. (#3094)

Changed

  • CommandInvocation carries Chronicle's [ReactorSideEffect] marker, so reactors that return command invocations synchronously no longer raise CHR0054. (#3094)
  • Arc requires Cratis Chronicle 19.63.0 or later and Cratis Screenplay 4.160.0 or later. (#3094)