jbogard/MediatR
### [`v11.1.0`](https://togithub.com/jbogard/MediatR/releases/tag/v11.1.0)
#### What's Changed
- chore: fix typos by [@lucianodelucchi](https://togithub.com/lucianodelucchi) in [https://github.com/jbogard/MediatR/pull/777](https://togithub.com/jbogard/MediatR/pull/777)
- Adding type forwardings for types that were moved to the Contracts package by [@ydie22](https://togithub.com/ydie22) in [https://github.com/jbogard/MediatR/pull/800](https://togithub.com/jbogard/MediatR/pull/800)
#### New Contributors
- [@lucianodelucchi](https://togithub.com/lucianodelucchi) made their first contribution in [https://github.com/jbogard/MediatR/pull/777](https://togithub.com/jbogard/MediatR/pull/777)
- [@ydie22](https://togithub.com/ydie22) made their first contribution in [https://github.com/jbogard/MediatR/pull/800](https://togithub.com/jbogard/MediatR/pull/800)
**Full Changelog**: https://github.com/jbogard/MediatR/compare/v11.0.0...v11.1.0
### [`v11.0.0`](https://togithub.com/jbogard/MediatR/releases/tag/v11.0.0)
#### What's Changed
- Small grammatical change by [@NRKirby](https://togithub.com/NRKirby) in [https://github.com/jbogard/MediatR/pull/740](https://togithub.com/jbogard/MediatR/pull/740)
- Fix "The Castle Windsor Implementation doesn't work with exception handlers [#741](https://togithub.com/jbogard/MediatR/issues/741)" issue by [@alexandruchirita4192](https://togithub.com/alexandruchirita4192) in [https://github.com/jbogard/MediatR/pull/742](https://togithub.com/jbogard/MediatR/pull/742)
- Improve Test Code Coverage by [@rafaelsc](https://togithub.com/rafaelsc) in [https://github.com/jbogard/MediatR/pull/748](https://togithub.com/jbogard/MediatR/pull/748)
- MediatR.Examples.Windsor fix bug created by me before by [@alexandruchirita4192](https://togithub.com/alexandruchirita4192) in [https://github.com/jbogard/MediatR/pull/744](https://togithub.com/jbogard/MediatR/pull/744)
- Fixed documentation comment of RequestExceptionActionProcessorBehavior by [@mjalil](https://togithub.com/mjalil) in [https://github.com/jbogard/MediatR/pull/739](https://togithub.com/jbogard/MediatR/pull/739)
- Each matching exception handler/action is invoked at most once by [@FDUdannychen](https://togithub.com/FDUdannychen) in [https://github.com/jbogard/MediatR/pull/767](https://togithub.com/jbogard/MediatR/pull/767)
- Switching to ubuntu by [@jbogard](https://togithub.com/jbogard) in [https://github.com/jbogard/MediatR/pull/712](https://togithub.com/jbogard/MediatR/pull/712)
- CA1068: CancellationToken parameters must come last by [@panosru](https://togithub.com/panosru) in [https://github.com/jbogard/MediatR/pull/772](https://togithub.com/jbogard/MediatR/pull/772)
#### New Contributors
- [@NRKirby](https://togithub.com/NRKirby) made their first contribution in [https://github.com/jbogard/MediatR/pull/740](https://togithub.com/jbogard/MediatR/pull/740)
- [@alexandruchirita4192](https://togithub.com/alexandruchirita4192) made their first contribution in [https://github.com/jbogard/MediatR/pull/742](https://togithub.com/jbogard/MediatR/pull/742)
- [@rafaelsc](https://togithub.com/rafaelsc) made their first contribution in [https://github.com/jbogard/MediatR/pull/748](https://togithub.com/jbogard/MediatR/pull/748)
- [@mjalil](https://togithub.com/mjalil) made their first contribution in [https://github.com/jbogard/MediatR/pull/739](https://togithub.com/jbogard/MediatR/pull/739)
- [@FDUdannychen](https://togithub.com/FDUdannychen) made their first contribution in [https://github.com/jbogard/MediatR/pull/767](https://togithub.com/jbogard/MediatR/pull/767)
- [@panosru](https://togithub.com/panosru) made their first contribution in [https://github.com/jbogard/MediatR/pull/772](https://togithub.com/jbogard/MediatR/pull/772)
**Full Changelog**: https://github.com/jbogard/MediatR/compare/v10.0.1...v11.0.0
**Migration Guide**: https://github.com/jbogard/MediatR/wiki/Migration-Guide-10.x-to-11.0
### [`v10.0.1`](https://togithub.com/jbogard/MediatR/releases/tag/v10.0.1): 10.0.1
This is a patch release to support the latest Contracts package, which changed its targets to `netstandard2.0` and `net461`.
Although MediatR supports only `netstandard2.1` and above, it should not force the consumers of the contracts as such.
### [`v10.0.0`](https://togithub.com/jbogard/MediatR/releases/tag/v10.0.0): 10.0.0
This release adds support for `IAsyncEnumerable`. A new request type, `IStreamRequest` represents a request to create a stream, with a new handler type `IStreamRequestHandler` to handle. An example:
```csharp
public class StreamPing : IStreamRequest
{
public string? Message { get; init; }
}
public class PingStreamHandler : IStreamRequestHandler
{
public async IAsyncEnumerable Handle(StreamPing request,
[EnumeratorCancellation] CancellationToken cancellationToken)
{
yield return await Task.Run(() => new Pong { Message = request.Message + " Pang" }, cancellationToken);
}
}
```
Where the work inside of the handler would likely be calling some other streaming API, such as gRPC, EF Core streaming support, Dapper streaming etc.
There are also separate behaviors, with `IStreamPipelineBehavior` that are separate from the normal `IPipelineBehavior`.
With the addition of `IAsyncEnumerable`, this release now targets `netstandard2.1` exclusively.
There are some breaking API changes, called out in the [10.0 migration guide](https://togithub.com/jbogard/MediatR/wiki/Migration-Guide-9.x-to-10.0).
### [`v9.0.0`](https://togithub.com/jbogard/MediatR/releases/tag/v9.0.0): 9.0.0
This release contains a small, but breaking change. In order to provide a simpler interface, the `IMediator` interface is now split into two interfaces, a sender and publisher:
```csharp
public interface ISender
{
Task Send(IRequest request, CancellationToken cancellationToken = default);
Task
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
8.0.1
->11.1.0
Release Notes
jbogard/MediatR
### [`v11.1.0`](https://togithub.com/jbogard/MediatR/releases/tag/v11.1.0) #### What's Changed - chore: fix typos by [@lucianodelucchi](https://togithub.com/lucianodelucchi) in [https://github.com/jbogard/MediatR/pull/777](https://togithub.com/jbogard/MediatR/pull/777) - Adding type forwardings for types that were moved to the Contracts package by [@ydie22](https://togithub.com/ydie22) in [https://github.com/jbogard/MediatR/pull/800](https://togithub.com/jbogard/MediatR/pull/800) #### New Contributors - [@lucianodelucchi](https://togithub.com/lucianodelucchi) made their first contribution in [https://github.com/jbogard/MediatR/pull/777](https://togithub.com/jbogard/MediatR/pull/777) - [@ydie22](https://togithub.com/ydie22) made their first contribution in [https://github.com/jbogard/MediatR/pull/800](https://togithub.com/jbogard/MediatR/pull/800) **Full Changelog**: https://github.com/jbogard/MediatR/compare/v11.0.0...v11.1.0 ### [`v11.0.0`](https://togithub.com/jbogard/MediatR/releases/tag/v11.0.0) #### What's Changed - Small grammatical change by [@NRKirby](https://togithub.com/NRKirby) in [https://github.com/jbogard/MediatR/pull/740](https://togithub.com/jbogard/MediatR/pull/740) - Fix "The Castle Windsor Implementation doesn't work with exception handlers [#741](https://togithub.com/jbogard/MediatR/issues/741)" issue by [@alexandruchirita4192](https://togithub.com/alexandruchirita4192) in [https://github.com/jbogard/MediatR/pull/742](https://togithub.com/jbogard/MediatR/pull/742) - Improve Test Code Coverage by [@rafaelsc](https://togithub.com/rafaelsc) in [https://github.com/jbogard/MediatR/pull/748](https://togithub.com/jbogard/MediatR/pull/748) - MediatR.Examples.Windsor fix bug created by me before by [@alexandruchirita4192](https://togithub.com/alexandruchirita4192) in [https://github.com/jbogard/MediatR/pull/744](https://togithub.com/jbogard/MediatR/pull/744) - Fixed documentation comment of RequestExceptionActionProcessorBehavior by [@mjalil](https://togithub.com/mjalil) in [https://github.com/jbogard/MediatR/pull/739](https://togithub.com/jbogard/MediatR/pull/739) - Each matching exception handler/action is invoked at most once by [@FDUdannychen](https://togithub.com/FDUdannychen) in [https://github.com/jbogard/MediatR/pull/767](https://togithub.com/jbogard/MediatR/pull/767) - Switching to ubuntu by [@jbogard](https://togithub.com/jbogard) in [https://github.com/jbogard/MediatR/pull/712](https://togithub.com/jbogard/MediatR/pull/712) - CA1068: CancellationToken parameters must come last by [@panosru](https://togithub.com/panosru) in [https://github.com/jbogard/MediatR/pull/772](https://togithub.com/jbogard/MediatR/pull/772) #### New Contributors - [@NRKirby](https://togithub.com/NRKirby) made their first contribution in [https://github.com/jbogard/MediatR/pull/740](https://togithub.com/jbogard/MediatR/pull/740) - [@alexandruchirita4192](https://togithub.com/alexandruchirita4192) made their first contribution in [https://github.com/jbogard/MediatR/pull/742](https://togithub.com/jbogard/MediatR/pull/742) - [@rafaelsc](https://togithub.com/rafaelsc) made their first contribution in [https://github.com/jbogard/MediatR/pull/748](https://togithub.com/jbogard/MediatR/pull/748) - [@mjalil](https://togithub.com/mjalil) made their first contribution in [https://github.com/jbogard/MediatR/pull/739](https://togithub.com/jbogard/MediatR/pull/739) - [@FDUdannychen](https://togithub.com/FDUdannychen) made their first contribution in [https://github.com/jbogard/MediatR/pull/767](https://togithub.com/jbogard/MediatR/pull/767) - [@panosru](https://togithub.com/panosru) made their first contribution in [https://github.com/jbogard/MediatR/pull/772](https://togithub.com/jbogard/MediatR/pull/772) **Full Changelog**: https://github.com/jbogard/MediatR/compare/v10.0.1...v11.0.0 **Migration Guide**: https://github.com/jbogard/MediatR/wiki/Migration-Guide-10.x-to-11.0 ### [`v10.0.1`](https://togithub.com/jbogard/MediatR/releases/tag/v10.0.1): 10.0.1 This is a patch release to support the latest Contracts package, which changed its targets to `netstandard2.0` and `net461`. Although MediatR supports only `netstandard2.1` and above, it should not force the consumers of the contracts as such. ### [`v10.0.0`](https://togithub.com/jbogard/MediatR/releases/tag/v10.0.0): 10.0.0 This release adds support for `IAsyncEnumerableConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.