Today, we're shipping three new releases:
It's been 2 weeks since the release of 1.7.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. 🎉
Important note: We have added support for Visual Studio 2019 16.11+. This is in addition to supporting Visual Studio 2022 17.2+. This means the minimum compiler (Roslyn) version is now 3.11 rather than 4.2. In addition we are also providing builds to explicitly support 17.4 (4.4), 17.6 (4.6), and 17.8 (4.8), which means any issues related to our inability to explicitly support C# 12 should now be resolved. Third party support for analyzers (for example, in Mono or JetBrains Rider) should be arranged through those third parties, as we do not directly support them (though of course we are happy to incorporate PRs to fix any issues in our code related to them).
These release notes are a comprehensive list of changes from 1.7.0 to 1.8.0.
ConfigureAwaitOptions
which was introduced in .NET 8. When using this overload, the analyzer ensures that
ConfigureAwaitOptions.ContinueOnCapturedContext
is directly part of the call (meaning, we
do not analyze variables for this value, we expect to see this literal value directly in the call itself).
We have also extended the fixes here to include the ability to pass this value, as well to to convert
a call from false
to true
for the older API (as the old fixer only provided
the ability to remove the call to `ConfigureAwait` entirely).
xunit/xunit#2849
[Collection]
attributes.
xunit/xunit#2845