This repository has been archived by the owner on Feb 15, 2023. It is now read-only.
7.0.0
This release targets the 7.0.0 release of MediatR.
It also includes fixes for:
- Adding multiple pre/post request processors #59
- Change default lifetime of services to transient #66
- Making registration methods public #22 #60
- Signing the package #62
- Removed AppDomain scanning #70
The last one is a breaking change. It is now required to pass in the assemblies to scan due to loading exceptions. Instead of:
services.AddMediatR();
You'll need:
services.AddMediatR(typeof(Startup), typeof(Core) /* any other assemblies to scan */);