Today, we're shipping three new releases:
It's been 1 month since the release of 1.3.0 RTM.
As always, we'd like to thank all the users who contributed to the success of xUnit.net through usage, feedback, and code contributions. 🎉
These release notes are a comprehensive list of changes from 1.3.0 to 1.4.0.
.ConfigureAwait(true)
so as to not conflict with users who have enabled
CA2007.
Because .ConfigureAwait(true)
is not "free" (and in can break types when used in the context of
await using
), we strongly recommend developers do not enable CA2007 nor call
.ConfigureAwait(true)
.
xunit/xunit#2779
Task
as safe to invoke normally blocking operations (like .Result
).
These include:
.ContinueWith()
lambda (for the task parameter in the lambda)Task.WhenAll
(for all tasks in the WhenAll)Task.WhenAny
(for the returned task only)Task
objects. We have
commented on the issue with
several known code paths that we're not currently supporting because of either difficulty to implement and/or
because of perceived low probability that users will run into it. As such, we've left the issue open for
further comments if users are seeing these situations (or any others we did not anticipate).
xunit/xunit#2780
AppDomain
boundaries. For a complete list of interfaces that are now triggering
this analyzer, see the linked issue.
xunit/xunit#2784