Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Apr 15, 2021

Bumps System.Reactive from 4.4.1 to 5.0.0.

Release notes

Sourced from System.Reactive'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.Async now support the C# 8.0 nullable reference types feature. For example, the DefaultIfEmpty operator now has the following signature:

public static IAsyncEnumerable<TSource?> DefaultIfEmpty<TSource>(this IAsyncEnumerable<TSource> source)

The implementation of query operators in System.Linq.Async now 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 DefaultIfEmpty operator now has the following signature:

public static IObservable<TSource?> DefaultIfEmpty<TSource>(this IObservable<TSource> source)

Various types in System.Reactive now support deconstruction, for example:

var ts = new Timestamped<string>("bar", DateTimeOffset.UtcNow);
var (value, time) = ts;

Combining operators such as CombineLatest and Zip now support ValueTuple<>-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 ExceptionDispatchInfo consistently across the board. We also have changed the way fresh exceptions on OnError are created, e.g. InvalidOperationException for an empty sequence passed to SingleAsync, 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 static lambdas.

Rx.NET v5.0.0-preview.220

Changes:

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually

@dependabot dependabot bot added .NET dependencies Pull requests that update a dependency file labels Apr 15, 2021
@github-actions github-actions bot added this to the v0.13.0 milestone Apr 15, 2021
@github-actions github-actions bot removed the .NET label Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant