v12.1.0
Migration Guide
https://github.com/jbogard/MediatR/wiki/Migration-Guide-12.0-to-12.1
What's Changed
- AddOpenBehavior(type) now supports stream behaviors without duplicate registrations by @asimmon in #860
- Remove unnecessary usage of GetTypeInfo by @jvandertil in #859
- Fix typo in comment by @owns in #873
- Fix runtime exception in DryIoc sample by @hymccord in #881
- Fix broken Benchmarks by @maxime-poulain in #899
- Adding method for registering stream behaviors by @jbogard in #919
- Adding open stream behaviors by @jbogard in #920
- Removing extraneous interfaces and classes for exceptions by @jbogard in #921
- Explicit processor registration by @jbogard in #922
New Contributors
- @jvandertil made their first contribution in #859
- @owns made their first contribution in #873
- @hymccord made their first contribution in #881
- @maxime-poulain made their first contribution in #899
Full Changelog: v12.0.1...v12.1.0
This release removes all scanning around behaviors, stream behaviors, and pre/post processors. That proved too problematic so you MUST register each of these explicitly with the appropriate registration methods inside AddMediatR. This also ensures that the order of behaviors and pre/post processors reflects the explicit order of registration. With the scanning approach, you couldn't control the order.