reactivemarbles / ObservableEvents

MIT License
122 stars 10 forks source link

Bump System.Reactive from 4.4.1 to 5.0.0 #12

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

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:

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 ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Looks like System.Reactive is up-to-date now, so this is no longer needed.

github-actions[bot] commented 2 years ago

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.