MediatR
Relicensed Facts checked 26 Nov 2026
MediatR moved to a commercial licence (or RPL-1.5) in July 2025. Version 12.5.0 is the last Apache-2.0 release.
- Was
- Apache-2.0
- Now
- Dual licence, RPL-1.5 or a commercial licence from Lucky Penny Software (from version 13)
- Last free version
12.5.0- First paid version
13.0.0- Changed
- Jul 2025
- Still free for
- A free Community licence is offered to organisations under $5M annual revenue, non-profits, education and non-production use. Check the current terms.
- NuGet
- MediatR (latest 15.0.0, 531M downloads)
- Source
- github.com/LuckyPennySoftware/MediatR
Free alternatives
Source-generated mediator with an API very close to MediatR. The main change is that handlers return ValueTask instead of Task.
NuGet: Mediator.SourceGenerator
A full messaging and command framework, not a drop-in swap. A good fit if you also need messaging.
NuGet: WolverineFx
Command dispatcher and processor with messaging support.
NuGet: Paramore.Brighter
- Write your ownBuilt into .NET
A basic request dispatcher is about 50 lines of C# using dependency injection. Many projects only use MediatR as a simple pass-through and can remove it.
- QuestyCommunity fork
A small fork of MediatR from before the licence change. Early stage.
NuGet: Questy
- Pin 12.5.0Stay on the last free version
Stays Apache-2.0.
Staying on the last free version
Pin the exact version so an update can't move you onto the paid licence by accident:
<PackageReference Include="MediatR" Version="[12.5.0]" />A pinned version gets no new fixes. Check for security advisories before relying on it long term.
Notes
- Versions already published under Apache-2.0 stay Apache-2.0.
- AutoMapper, by the same author, changed licence at the same time.
Sources
- FOSSED: MediatR
- MediatR and MassTransit going commercial (Milan Jovanović)
- MediatR went commercial: replace it, pay for it, or write it yourself (Sep 2026)
Something wrong or out of date? Edit this page on GitHub.