Bump System.Reactive.Compatibility from 4.4.1 to 5.0.0 in /src
Bumps System.Reactive.Compatibility from 4.4.1 to 5.0.0.
Release notes
Sourced from System.Reactive.Compatibility's releases.
Ix.NET v5.0.0
Ix 5.0
The Ix 5.0 release shipped on November 10, 2020 as part of the .NET 5.0 release wave.
Changes:
The query operators in
System.Linq.Asyncnow support the C# 8.0 nullable reference types feature. For example, theDefaultIfEmptyoperator now has the following signature:public static IAsyncEnumerable<TSource?> DefaultIfEmpty<TSource>(this IAsyncEnumerable<TSource> source)The implementation of query operators in
System.Linq.Asyncnow uses[EnumeratorCancellation]attributes on local functions to support the cancellation of an enumeration. This also reduces the number of heap allocations caused by query operators.Rx.NET v5.0.0
Rx 5.0
The Rx 5.0 release shipped on November 10, 2020 as part of the .NET 5.0 release wave.
Changes:
The query operators in Rx now support the C# 8.0 nullable reference types feature. For example, the
DefaultIfEmptyoperator now has the following signature:public static IObservable<TSource?> DefaultIfEmpty<TSource>(this IObservable<TSource> source)Various types in
System.Reactivenow support deconstruction, for example:var ts = new Timestamped<string>("bar", DateTimeOffset.UtcNow); var (value, time) = ts;Combining operators such as
CombineLatestandZipnow supportValueTuple<>-based overloads (up to 8 components). For example:public static IObservable<(TFirst First, TSecond Second)> Zip<TFirst, TSecond>(this IObservable<TFirst> first, IObservable<TSecond> second)Exceptions rethrown inside Rx now are guaranteed to preserve the original stack trace by using
ExceptionDispatchInfoconsistently across the board. We also have changed the way fresh exceptions onOnErrorare created, e.g.InvalidOperationExceptionfor an empty sequence passed toSingleAsync, in order to guarantee there's a useful stack trace.The implementation of Rx has also moved to use C# 9.0 features internally, for example
staticlambdas.Rx.NET v5.0.0-preview.220
Changes:
... (truncated)
Commits
bd863b1remove preview tagea422f9use taske8e4534invoke bash6bee385use shf74af0dset archfa34e8bbuild with final sdkcb18d1bMerge pull request #1419 from dotnet/dev/bartde/fix_nrtd0fbc51Fix one more warningsb350fddFix a bunch of NRT warnings.b9904a4Merge pull request #1418 from dotnet/dependabot/nuget/Rx.NET/Source/Verify.Xu...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)