Skip to content

V2.19.0

Choose a tag to compare

@jeremydmiller jeremydmiller released this 05 Jul 21:33
· 711 commits to main since this release
ea8e292

Fixes

  • Composite projections: DeleteEvent<T> deletions now emit the synthetic ProjectionDeleted<TDoc, TId> to downstream stages (#483, #484).

    AggregationRunner.ApplyChangesAsync short-circuited the DeleteEvent<T> delete branch before recording the slice action, leaving ResultingAction at Nothing and the slice snapshot intact. As a result, EventRange.MarkSliceAction fanned a stale Updated<TDoc> (or nothing) to downstream composite stages instead of the deletion. The delete short-circuit now mirrors the DetermineActionAsync delete path: for a real deletion it records ActionType.Delete, clears the snapshot, and evicts the cache entry so downstream stages receive ProjectionDeleted<TDoc, TId>; with no pre-existing snapshot it stays a no-op. Deletions via Evolve/DetermineActionAsync returning null were already correct and are unchanged.