Skip to content

Release v22.184.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 08:30
bb5b862

A live query subscription can now be ended when the recorded state its policy decided from changes, for example when an asset's plan is downgraded.

Added

  • StateAwareEmissionGuard<TState>, the emission-guard counterpart of StateAwareAuthorizationPolicy<TState>. It re-reads the recorded state on each guarded emission and ends the subscription when the caller is no longer entitled. It fails closed: a missing key, a missing instance, a failing read or a failing decision all end the subscription, reported through OnDenied with the same StateDenialReason. (#3766)