Releases: Micky5991/EventAggregator
V3.0.1
This release fixes the selected minimal versions of the projects to span every actively supported .NET version. Right now this is .NET 8 and .NET 9.
Thanks to @RolandoTonin for bringing attention to this issue.
Full Changelog: 3.0.0...3.0.1
V3.0.0
Updates
- Dropped all .NET Versions prior to .NET 8. And dropped .NET Standard.
- Upgraded to C# 13.
- Arguments are now checked with
CommunityToolkit.Diagnostics
instead of manual exceptions. - Removed StyleCop and switch from
this.
to lowerdash prefix. - Replaced moq with NSubstitute.
- Replaced sample Program-Class with simpler Program.cs setup.
- Created basic diagostics activities for .NET. OpenTelemetry support may follow.
- Fixed typo in Subscription #7
Breaking Changes
Subscribe()
now requires aSubscriptionOptions
instance orAction<SubscriptionOptions>
instead of simple parameters.
Full Changelog: 2.4.1...3.0.0
V2.3.1 - .NET 5 drop, .NET 6 upgrade
Upgrades library to use .NET Core 3.1 and .NET 6 as target.
.NET 5 has been dropped.
Full Changelog: 2.2.0...2.3.1
V2.2.0 - .NET Core 2.1 support drop
This release drops the support of the now EOL .NET Core 2.1
https://devblogs.microsoft.com/dotnet/net-core-2-1-will-reach-end-of-support-on-august-21-2021/
V2.1.0
New Features
- Added support for async handlers
WARNING: Keep in mind, the publisher is unable to wait for a result, so do not change event data in the subscription-handler.
V2.0.2
Add .NET Standard 2.1 as target framework
V2.0.1
Fixed EventAggregator uses T
in Publish<T>(T eventData)
to get list of handlers instead of the actual object type.
V2.0.0
This release changes the EventAggregator fundamentally and rewrite every aspect.
Added
- Improved support for main-threads and background threads
- Explicit support for data changing events
- Documentation of every interface
Removed
- Async support
- Event filters
- Catchall listeners (subscribe to
IEvent
)
V1.2.2
- Fixed exception logging and passing of context to logger
- Add Support for .NET Core 2.1, .NET Core 3.1 and .NET 5.0
V1.2.0
- Add ability to subscribe and trigger synchronous events.
- Created
IEventAggregator.SubscribeSync
- Created
IEventAggregator.PublishSync
- Created
Publish policy
Publishing events with Publish
, PublishSync
will call subscriptions created with:
Subscribe
SubscribeSync
Publishing events with PublishSync
will call subscriptions created with:
SubscribeSync