This is a pretty big release, with a number of breaking changes.
Breaking changes include:
- Depending directly on
IServiceProviderto resolve services
- Making "void" request handlers return
IRequestdoes not inherit
- Consolidating the
MediatR.Extensions.Microsoft.DependencyInjectionpackage into the main MediatR package
- Rolling back stricter generic constraints in various behavior interfaces
- Various behavior registrations now inside of the
- Overloads of
AddMediatRconsolidated into single configuration object
The migration guide includes instructions for upgrading. In addition, this release adds some new functionality, including:
- Adding custom notification publisher strategies (for parallel vs. sequential execution, for example).
Enjoy! Or not? Either way, it's out.