Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Madness V3.6.0

Compare
Choose a tag to compare
@JustArchi-ArchiBot JustArchi-ArchiBot released this 19 Jun 17:13
3.6.0
020318c

Changelog

Changes since V3.5.1:

  • Limited ConfigureAwait() polyfill for selected types that need it (@JustArchi).

This change is very similar to DisposeAsync() one we did as part of V2.0.0.

In short, we get ambiguous call to ConfigureAwait() on types that implement both IAsyncDisposable and IDisposable, which comes from the fact that IAsyncDisposable objects already offer that call, and our intention is only to polyfill IDisposable objects that actually need it (so those that are actually IAsyncDisposable in .NET 5.0+).

Since it's impossible to declare where T : !IAsyncDisposable condition on function, the only logical thing is to limit that polyfill to selected types that need it: Stream, TextWriter and Timer for now. Let us know if you need any other ones.


Support

Madness is available for free, this release was made possible thanks to the people that decided to support the project. If you're grateful for what we're doing, please consider donating. Even $1 is highly appreciated and shows that you care. Thank you!

GitHub sponsor Patreon support Crypto donate PayPal.me donate PayPal donate Revolut donate Steam donate