Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency mediatr to v12 #939

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 14, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
MediatR 9.0.0 -> 12.2.0 age adoption passing confidence

Release Notes

jbogard/MediatR (MediatR)

v12.2.0

What's Changed

Full Changelog: jbogard/MediatR@v12.1.1...v12.2.0

v12.1.1

What's Changed

Full Changelog: jbogard/MediatR@v12.1.0...v12.1.1

v12.1.0

Migration Guide

https://github.com/jbogard/MediatR/wiki/Migration-Guide-12.0-to-12.1

What's Changed
New Contributors

Full Changelog: jbogard/MediatR@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.

v12.0.1

What's Changed
New Contributors

Full Changelog: jbogard/MediatR@v12.0.0...v12.0.1

v12.0.0

What's Changed
New Contributors

Migration Guide
Full Changelog: jbogard/MediatR@v11.1.0...v12.0.0

v11.1.0

What's Changed
New Contributors

Full Changelog: jbogard/MediatR@v11.0.0...v11.1.0

v11.0.0

What's Changed
New Contributors

Full Changelog: jbogard/MediatR@v10.0.1...v11.0.0
Migration Guide: https://github.com/jbogard/MediatR/wiki/Migration-Guide-10.x-to-11.0

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: 10.0.0

This release adds support for IAsyncEnumerable<T>. A new request type, IStreamRequest<T> represents a request to create a stream, with a new handler type IStreamRequestHandler<TRequest, TResponse> to handle. An example:

public class StreamPing : IStreamRequest<Pong>
{
    public string? Message { get; init; }
}

public class PingStreamHandler : IStreamRequestHandler<StreamPing, Pong>
{
    public async IAsyncEnumerable<Pong> 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.


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.

@github-actions github-actions bot added this to the v0.19.8 milestone Feb 14, 2023
@renovate renovate bot force-pushed the renovate/mediatr-12.x branch 2 times, most recently from d9400c8 to 13a2cd3 Compare July 10, 2023 17:20
@JoeRobich JoeRobich modified the milestones: v0.19.8, v0.19.9 Sep 20, 2023
@renovate renovate bot force-pushed the renovate/mediatr-12.x branch 2 times, most recently from dcff6f7 to df8924d Compare September 21, 2023 21:04
@JoeRobich JoeRobich modified the milestones: v0.19.9, v0.19.10 Sep 22, 2023
@renovate renovate bot changed the title Update dependency MediatR to v12 chore(deps): update dependency mediatr to v12 Nov 20, 2023
@renovate renovate bot force-pushed the renovate/mediatr-12.x branch 2 times, most recently from 6d647f7 to cacb828 Compare January 2, 2024 03:58
@renovate renovate bot force-pushed the renovate/mediatr-12.x branch 3 times, most recently from 771241d to 15204bd Compare January 14, 2024 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant