Repository navigation
Release v4.141.0
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
requireclauses,produces whenconditions 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'sExplicitOffsetmarker, so input without an offset orZis refused. (#473) - A compared DateTime property typed through a concept is bound as a
DateTimeOffsetand 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-046naming 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).