MediatR v5.1.0 Release Notes

Release Date: 2018-07-30 // over 5 years ago
  • ๐Ÿš€ This release changes the default behavior of awaiting an enumerable of Task. Previous to this release, tasks where awaited using Task.WhenAll. This causes problems in a variety of environments and situations that expect sequential ordering.

    ๐Ÿš€ In this release, the default behavior for enumerables is to await in a foreach, for:

    • Mediator.Publish
    • RequestPreProcessorBehavior
    • RequestPostProcessorBehavior

    You can override the Mediator.Publish behavior by overriding the virtual PublishCore method, while the other two you can simply replace with your own implementation.