Skip to content

Releases: Micky5991/EventAggregator

V3.0.1

04 Dec 19:50
Compare
Choose a tag to compare

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

14 Nov 21:35
Compare
Choose a tag to compare

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 a SubscriptionOptions instance or Action<SubscriptionOptions> instead of simple parameters.

Full Changelog: 2.4.1...3.0.0

V2.3.1 - .NET 5 drop, .NET 6 upgrade

02 Oct 13:34
Compare
Choose a tag to compare

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

18 Sep 13:47
Compare
Choose a tag to compare

V2.1.0

23 Feb 19:45
Compare
Choose a tag to compare

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

30 Jan 21:19
Compare
Choose a tag to compare

Add .NET Standard 2.1 as target framework

V2.0.1

09 Jan 16:49
Compare
Choose a tag to compare

Fixed EventAggregator uses T in Publish<T>(T eventData) to get list of handlers instead of the actual object type.

V2.0.0

09 Jan 15:11
Compare
Choose a tag to compare

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

04 Jan 19:04
Compare
Choose a tag to compare
  • 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

28 Mar 22:08
Compare
Choose a tag to compare
  • Add ability to subscribe and trigger synchronous events.
    • Created IEventAggregator.SubscribeSync
    • Created IEventAggregator.PublishSync

Publish policy

Publishing events with Publish, PublishSync will call subscriptions created with:

  • Subscribe
  • SubscribeSync

Publishing events with PublishSync will call subscriptions created with:

  • SubscribeSync