Skip to content

Release v4.58.0

Choose a tag to compare

@github-actions github-actions released this 10 Oct 16:30
70271de

Added

  • Stage now renders Screenplay models that declare named event sources and streams and route commands to them.
    • Each event source becomes a Chronicle IEventSource definition under EventSources/.
    • Routed commands carry [EventSource<T>("<stream>")] and set the stream id on the events they append. The stream id can be a UUID, a text, a whole-number or a composite value, or a literal. Authorization and validation run before the route.
    • A text stream id that cannot be used is returned as a validation error rather than an exception.
    • Plans for a module, feature or slice include the event source definitions their commands use.
    • Generated specifications for routed commands are refused with STAGE-ESM-030 until they can assert routes. See https://github.com/Cratis/Stage/blob/main/Documentation/reference/event-source-routing.md. (part of #177)

Changed

  • Stage and the applications it renders now use Chronicle 19.39.1 and Arc 22.65.3. In this release Chronicle registers event source definitions in the application's services, which routed commands need when they run.