EventFlow 0.12.891

CQRS+ES framework

There is a newer version of this package available.
See the version list below for details.
Install-Package EventFlow -Version 0.12.891
dotnet add package EventFlow --version 0.12.891
<PackageReference Include="EventFlow" Version="0.12.891" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EventFlow --version 0.12.891
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Breaking: Aggregate root no longer have `Aggregate` removed from their
when name, i.e., the metadata property with key `aggregate_name` (or
`MetadataKeys.AggregateName`). If you are dependent on the previous naming,
use the new `AggregateName` attribute and apply it to your aggregates
Breaking: Moved `Identity<>` and `IIdentity` from the `EventFlow.Aggregates`
namespace to `EventFlow.Core` as the identities are not specific for aggregates
Breaking: `ICommand.Id` is renamed to `ICommand.AggregateId` to make "room"
for the new `ICommand.SourceId` property. If commands are serialized, then
it _might_ be important verify that the serialization still works. EventFlow
_does not_ serialize commands, so no mitigation is provided. If the
`Command<,>` is used, make sure to use the correct protected constructor
Breaking: `IEventStore.StoreAsync(...)` now requires an additional
`ISourceId` argument. To create a random one, use `SourceId.New`, but it
should be e.g. the command ID that resulted in the events. Note, this method
isn't typically used by developers
New: Added `ICommand.SourceId`, which contains the ID of the source. The
default (if your commands inherit from `Command<,>`) will be a new
`CommandId` each time the a `Command<,>` instance is created. You can pass
specific value, merely use the newly added constructor taking the ID.
Alternatively you commands could inherit from the new
`DistinctCommand`, enabling commands with the same state to have the
same `SourceId`
New: Duplicate commands can be detected using the new `ISourceId`. Read the
EventFlow article regarding commands for more details
New: Aggregate names can now be configured using the attribute
`AggregateName`. The name can be accessed using the new `IAggregateRoot.Name`
property
New: Added `Identity<>.NewDeterministic(Guid, string)` enabling creation of
[deterministic GUIDs](http://code.logos.com/blog/2011/04/generating_a_deterministic_guid.html)
New: Added new metadata key `source_id` (`MetadataKeys.SourceId`) containing
the source ID, typically the ID of the command from which the event
originated
New: Added new metadata key `event_id` (`MetadataKeys.EventId`) containing a
deterministic ID for the event. Events with the same aggregate sequence
number and from aggregates with the same identity, will have the same event
identity
Fixed: `Identity<>.With(string)` now throws an `ArgumentException` instead of
a `TargetInvocationException` when passed an invalid identity
Fixed: Aggregate roots now build the cache of `Apply` methods once, instead
of when the method is requested the first time

Showing the top 1 GitHub repositories that depend on EventFlow:

Repository Stars
twzhangyang/RestAirline
DDD+CQRS+EventSourcing+Hypermedia API+ASP.NET Core 3.1+Masstransit+docker+k8s

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
0.77.4077 7,645 12/10/2019
0.76.4014 10,533 10/19/2019
0.75.3970 5,435 9/12/2019
0.74.3948 13,486 7/1/2019
0.73.3933 3,052 6/11/2019
0.72.3914 4,983 5/28/2019
0.71.3834 7,915 4/17/2019
0.70.3824 1,280 4/11/2019
0.69.3772 9,806 2/12/2019
0.68.3728 36,424 12/3/2018
0.67.3697 7,915 10/14/2018
0.66.3673 1,535 9/28/2018
0.65.3664 5,189 9/22/2018
0.64.3598 4,905 8/27/2018
0.63.3581 4,114 8/7/2018
0.62.3569 20,614 7/5/2018
0.61.3524 1,826 6/26/2018
0.60.3490 1,052 6/18/2018
0.59.3396 1,661 5/23/2018
0.58.3377 875 5/13/2018
0.57.3359 1,630 4/30/2018
0.56.3328 858 4/24/2018
0.55.3323 766 4/24/2018
0.54.3261 2,487 2/25/2018
0.53.3204 1,032 1/25/2018
0.52.3178 1,934 11/2/2017
0.51.3155 831 10/25/2017
0.50.3124 803 10/21/2017
0.49.3031 2,048 9/7/2017
0.48.2937 1,817 7/11/2017
0.47.2894 1,232 6/28/2017
0.46.2886 1,096 5/29/2017
0.45.2877 812 5/28/2017
0.44.2832 1,251 5/12/2017
0.43.2806 953 5/5/2017
0.42.2755 910 5/2/2017
0.41.2727 812 4/27/2017
0.40.2590 3,626 3/30/2017
0.39.2553 1,059 1/16/2017
0.38.2454 1,029 12/2/2016
0.37.2424 884 11/8/2016
0.36.2315 2,138 10/18/2016
0.35.2247 1,109 9/6/2016
0.34.2221 826 8/23/2016
0.33.2190 820 8/16/2016
0.32.2163 881 7/4/2016
0.31.2106 853 6/30/2016
0.30.2019 895 6/16/2016
0.29.1973 2,631 4/19/2016
0.28.1852 850 4/5/2016
0.27.1765 4,065 2/25/2016
0.26.1714 865 2/20/2016
0.25.1695 857 2/15/2016
0.24.1563 1,263 1/25/2016
0.23.1470 1,784 12/5/2015
0.22.1393 1,752 11/19/2015
0.21.1312 1,047 10/26/2015
0.20.1274 905 10/22/2015
0.19.1225 887 10/19/2015
0.18.1181 1,085 10/7/2015
0.17.1134 880 9/28/2015
0.16.1120 885 9/27/2015
0.15.1057 916 9/24/2015
0.14.1051 897 9/23/2015
0.13.962 1,150 9/13/2015
0.12.891 928 9/4/2015
0.11.751 917 8/24/2015
0.10.642 896 8/17/2015
0.9.580 904 7/20/2015
0.8.560 925 5/29/2015
0.7.481 878 5/22/2015
0.6.456 892 5/18/2015
0.5.390 903 5/8/2015
0.4.353 886 5/5/2015
0.3.292 970 4/30/2015
Show less