Skip to content

Release v4.141.0

Choose a tag to compare

@github-actions github-actions released this 17 Oct 14:07
da3e6e8

Stage now renders Screenplay ESM v26 date comparisons into the Cratis application instead of refusing them.

Added

  • The Cratis renderer renders Date and DateTime comparisons in command require clauses, produces when conditions and property validation rules. Dates are compared as calendar days (DateOnly) and DateTimes as UTC instants (DateTimeOffset), as the reference evaluator compares them. Each compared DateTime command property carries Arc's ExplicitOffset marker, so input without an offset or Z is refused. (#473)
  • A compared DateTime property typed through a concept is bound as a DateTimeOffset and converted to the concept where an event, rule or response uses it, until Arc accepts concept-wrapped dates (Cratis/Arc#3350).

Changed

  • Applications Stage renders and scaffolds now target Arc 22.112.0.
  • The renderer still refuses, with STAGE-ESM-046 naming the property, a compared DateTime concept that carries compliance or is optional, and a compared DateTime property whose name is not camel case.
  • For a command with an authorization policy, an unauthorized caller sending an unbindable date body gets a validation error rather than 403, because Arc binds the body before evaluating Stage's named policies (Cratis/Arc#3341).