From 0a1c7fd3f5cfb74eb77a23a6a1054144b524e37f Mon Sep 17 00:00:00 2001 From: Francis Pion Date: Sun, 15 Feb 2026 23:20:16 -0500 Subject: [PATCH] EventBus HandleAsync method is now public. --- .editorconfig | 1 + CHANGELOG.md | 9 ++++++++- lib/Logitar.EventSourcing.Infrastructure/EventBus.cs | 2 +- .../Logitar.EventSourcing.Infrastructure.csproj | 6 +++--- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index 1b25fe4..9f10270 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,6 +5,7 @@ root = true # All files [*] indent_style = space +guidelines = 100, 160 # XML project files [*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}] diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e84c27..1b1b083 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Nothing yet. +## [10.1.2] - 2026-02-15 + +### Fixed + +- EventBus HandleAsync method is now public. + ## [10.1.1] - 2026-01-23 ### Fixed @@ -198,7 +204,8 @@ There are so many changes in this version that I may have missed some. - Marked old TypeExtensions as obsolete. - Refactored AggregateRoot. -[unreleased]: https://github.com/Logitar/EventSourcing/compare/v10.1.1...HEAD +[unreleased]: https://github.com/Logitar/EventSourcing/compare/v10.1.2...HEAD +[10.1.2]: https://github.com/Logitar/EventSourcing/compare/v10.1.1...v10.1.2 [10.1.1]: https://github.com/Logitar/EventSourcing/compare/v10.1.0...v10.1.1 [10.1.0]: https://github.com/Logitar/EventSourcing/compare/v10.0.0...v10.1.0 [10.0.0]: https://github.com/Logitar/EventSourcing/compare/v7.0.2...v10.0.0 diff --git a/lib/Logitar.EventSourcing.Infrastructure/EventBus.cs b/lib/Logitar.EventSourcing.Infrastructure/EventBus.cs index 3884ffc..5671e96 100644 --- a/lib/Logitar.EventSourcing.Infrastructure/EventBus.cs +++ b/lib/Logitar.EventSourcing.Infrastructure/EventBus.cs @@ -32,7 +32,7 @@ public EventBus(IServiceProvider serviceProvider) /// The event to publish. /// The cancellation token. /// The asynchronous operation. - public async Task PublishAsync(IEvent @event, CancellationToken cancellationToken) + public virtual async Task PublishAsync(IEvent @event, CancellationToken cancellationToken) { IReadOnlyCollection handlers = await GetHandlersAsync(@event, cancellationToken); if (handlers.Count > 0) diff --git a/lib/Logitar.EventSourcing.Infrastructure/Logitar.EventSourcing.Infrastructure.csproj b/lib/Logitar.EventSourcing.Infrastructure/Logitar.EventSourcing.Infrastructure.csproj index 5d631c8..c97eb3a 100644 --- a/lib/Logitar.EventSourcing.Infrastructure/Logitar.EventSourcing.Infrastructure.csproj +++ b/lib/Logitar.EventSourcing.Infrastructure/Logitar.EventSourcing.Infrastructure.csproj @@ -14,14 +14,14 @@ README.md git https://github.com/Logitar/EventSourcing - 10.1.1.0 + 10.1.2.0 $(AssemblyVersion) LICENSE True - 10.1.1 + 10.1.2 en-CA True - NuGet and LICENSE year upgrade. + EventBus HandleAsync method is now public. logitar net framework event sourcing infrastructure https://github.com/Logitar/EventSourcing/tree/main/lib/Logitar.EventSourcing.Infrastructure