Skip to content

Release v24.5.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 17:43
e73fa37

The availability engine now lives in Cratis.Arc.Availability, so declaring and deciding availability are one package. The engine does not depend on ASP.NET.

Added

  • The availability engine in Cratis.Arc.Availability: gate expressions, the evaluator, audiences, context values and the manifest, with their documentation. The decisions are unchanged: three values, unknown denies, once-per-request values and the same reasons. (#3979) (#3975)
  • arc.WithAvailability() registers availability in one call: the gates, the engine, an in-memory audience source by default, and startup validation that discovers the gated parts and verifies the declared blocks once.
  • AddAvailability registers the engine alone, for hosts that are not web applications.

Changed

  • Cratis.Arc.Availability no longer depends on Cratis.Choreography. The engine types moved from the Cratis.Choreography.Availability namespace to Cratis.Arc.Availability.
  • ChoreographyContextValueSource is now AvailabilityContextValueSource.

Fixed

  • Availability configured with AddArcAvailability was discarded when AddCratis() ran first: gates were lost and parts failed open, and the request context was no longer shared per request.