Skip to content

1.5.0

Choose a tag to compare

@Adiakys Adiakys released this 31 Oct 20:51
· 31 commits to main since this release
5ef200a

Fixed

  • Pipeline behaviors now run in registration order, as documented and as in MediatR: the first registered behavior is the outermost. Before 1.5.0 the last registered behavior ran first. Exception handler/action wrappers stay outermost and pre/post-processor wrappers stay innermost. If you register more than one behavior, check that their order is still the one you want.

Added

  • RequestHandlerDelegate and StreamHandlerDelegate take an optional CancellationToken, so await next() compiles, as in MediatR code.
  • When no handler is registered, Send and CreateStream throw an InvalidOperationException that names the request, the interface to implement and the registration call to add.
  • XML documentation for the whole public API, shipped in the package for IntelliSense and coding assistants.
  • Documentation site: https://adiakys.github.io/OpenMediator/, with a guide for migrating from MediatR.

What's Changed

  • 1.5.0: behaviors in registration order, API docs, documentation site by @Adiakys in #13

Full Changelog: 1.4.1...1.5.0