Skip to content

Release v1.3.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 04:04
c183929

Arc for Elixir declares, decides and exposes availability with the same model and manifest as Arc for .NET.

Added

  • Availability: audiences, blocks (for, when, with, not) and gates on module, feature, slice, command and query, declared with available and an Arc.Availability.Definition; the engine passes the shared manifest and conformance cases of Cratis/Arc (#36)
  • One gate that runs first in the pipeline, before binding, Arc.Filter and authorization: NotAvailable and Suspended answer 403, a decision that cannot be made answers a retryable 503 (isRetryable)
  • Audience sources (granted, withdrawn), suspension sources (suspended, resumed), Arc.Availability.Memory, and the observable /.cratis/availability that re-emits on change, across nodes with Phoenix.PubSub
  • The availability manifest (cratis-availability-manifest version 1) can be written and read with Arc.Availability.Manifest
  • Generated proxies carry static readonly part (PartIdentity), and read model proxies are generated for nested lists, enums ({:enum, [...]}) and derived types ({:one_of, [...]})
  • Arc.LiveView.Availability.available/1 and Arc.LiveView.available?/3 hide the parts a caller cannot use

Changed

  • The TypeScript contract gate and the samples use @cratis/arc 24.8.1, which has PartIdentity; the showcase proxies are regenerated
  • Arc.QueryResult carries authorizationFailureReason and isRetryable when they are set