Release v7.4.0
Summary
Adds functionality that enables streaming of FetchForAggregateResponse and filtering of aggregate events based on event type. This is to be able to write an aggregate root rehydration implementation in the SDKs that only fetches the events that are relevant for rehydration and also fixes the problem that fetch for aggregate responses could be too large.
Added
aggregateRootVersion(field 7) on the innerCommittedAggregateEventmessage in theCommittedAggregateEventsmessage. It represents the aggregate root version that the event was applied toFetchForAggregateInBatchesmethod toEventStorewhich takes in aFetchForAggregateInBatchesRequestand streams backFetchForAggregateResponse
Deprecated
aggregateRootVersion(field 3) onCommittedAggregateEventsit represents the aggregate root version of the last event in theeventssequence, it is now replaced bycurrentAggregateRootVersion(field 5) which represents the current aggregate root version of the aggregate regardless of how many events are included in the sequence