# Rx Release History v6.0
This release adds:
DisposeWith
extension method for IDisposable
to simplify disposal in conjunction with CompositeDisposable
(see #2178 thanks to Chris PulmanTakeUntil
accepting a CancellationToken
(see #2181 thanks to Nils AufschlägerResetExceptionDispatchState
operator for use where a source that will provide the same Exception
instance multiple times over (e.g., the Throw
or Repeat
operators) will be used in conjunction with a mechanism that turns OnError
notifications into actual exceptions (e.g., the await
support) to avoid the problem described in #2187 in which the exception's StackTrace
gets longer and longer with each rethrowing of the exceptionThis release fixes:
Note: the test suite now tests on .NET 9.0. No changes were required as a result of this.
This release fixes:
Note: the test suite now tests on .NET 8.0. No changes were required as a result of this.
Task
used to cause TaskScheduler.UnobservedExceptions
, applications can opt into swallowing failures silently (to be consistent with how Rx has always handled unhandled exceptions in the equivalent non-Task-oriented scenarios; this only applies to cases in which Rx has no way of reporting the exception, typically because the relevant observable no longer has any subscribers on which we could call OnError
)SingleAssignmentDisposableValue
type is now publicsnupkg
instead of being built in, reducing assembly size