Skip to content

Release v22.160.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 07:25
72b06c9

Added

  • Libraries can mark an assembly with [assembly: ArtifactsRequireOptIn] so a host serves its model-bound commands and queries only after options.Artifacts.Include(assembly) (#3621)
  • The read-model parameter shapes a command Handle method can declare are documented, and the new Info diagnostic ARCCHR0040 suggests a read-model parameter where Handle uses IDecisionReads or DecisionRead<T> directly (#3620)
  • Allow restricting WebSocket query connections to trusted origins with Cratis:Arc:Query:AllowedWebSocketOrigins.

Changed

  • Arc binds ArcOptions from configuration without reflection, so every Arc setting in appsettings.json and environment variables is honored in trimmed and Native AOT applications with the same values as before. Option objects replaced by a subclass with its own properties still use the stock reflection binder, which is not supported under Native AOT. See Configuration. (#3597)