Skip to content

Release v5.24.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 04:58
76f8412

Added

  • A model that provides values to its request context now renders: provide at the application, a module, a feature or a slice becomes a generated ProvidedValueResolvers service on Choreography's context value engine, resolving each value lazily and once per request, with the nearest declaration winning. Literal, $context expression, host and keyed snapshot query sources render, and the host registers an empty IHostContextValues you can replace from Customizations/Program.cs. See Provided values rendering. (part of #1116)
  • Stage admits ESM 53, the version that carries provided values, audiences and availability gates. A model that declares an audience, an availability or an available gate is refused with STAGE-ESM-016 until those render.
  • STAGE-ESM-075 and STAGE-ESM-076 refuse a provided value Stage cannot resolve faithfully, such as a query with authorization, filters or a performer, a query keyed by a literal, a collection or a concept type.

Changed

  • Stage now builds against Screenplay 6.26.0 and Choreography 2.7.0, and rendered applications pin Choreography 2.7.0. The scaffold adds GeneratedProvideRegistration.cs and registers it from Program.cs.