What's Changed
New features
- Add
ThatSatisfyfor methods and properties by @jnyrup in #3257 - Add BeSupersetOf, BeProperSubsetOf and BeProperSupersetOf collection assertions by @dennisdoomen in #3271
- Add BeJsonSerializable round-trip assertions by @dennisdoomen in #3293
- Support asserting on delegates that return a value task by @dennisdoomen in #3301
Improvements
- BeEmpty for IEnumerable assertions now lists the first 10 items in… by @Xceed-DelvaJB in #3198
- Clean-up the stack trace further by @jnyrup in #3290
- Add HaveLineCount()/NotHaveLineCount() and ContainLine()/NotContainLine() to StringAssertions by @dennisdoomen in #3297
- Add public ValueTypeAssertions<TSubject, TAssertions> base class by @dennisdoomen in #3308
Fixes
- Fix JsonNodeAssertions.HaveProperty/NotHaveProperty for properties with explicit null values by @dennisdoomen with @Copilot in #3282
- Fix exception on
HavePropertyonJsonArrayby @jnyrup in #3295 - Fix potential NREs when using AssertionScope (#3178) by @dennisdoomen in #3323
Documentation
Others
- Simplify GetMinValue/GetMaxValue by @jnyrup in #3210
- Revert "Bump coverlet.collector from 6.0.4 to 8.0.1" by @jnyrup in #3218
- Update nugets by @jnyrup in #3226
- Convert the build pipeline from Nuke to Fallout by @dennisdoomen in #3234
- Expose ShouldThrowOnCyclicReference on IEquivalencyValidationContext by @dennisdoomen in #3242
- Prevent pwn-request RCE via the Qodana workflow by @dennisdoomen in #3217
- Harden NPM install by @jnyrup in #3258
- Pin System.Security.Cryptography.Xml to patched version to fix build restore failures by @dennisdoomen in #3283
- Exclude dependabot PRs from auto-generated release notes by @dennisdoomen in #3294
- Fix Qodana PR scans failing on pull requests from forks by @dennisdoomen in #3299
- Cancel duplicate CI runs when a push triggers both push and pull_request events by @dennisdoomen in #3298
- Fix Qodana-flagged possible multiple enumeration and unused auto-property warnings by @dennisdoomen in #3300
- Document lessons learned from #3291 in agents.md by @dennisdoomen in #3307
- Pin SDK to workaround 10.0.400 by @jnyrup in #3309
- Stop the Build workflow from running twice on same-repo PRs by @dennisdoomen in #3311
- Update NuGet.Frameworks to workaround Fallout issue by @jnyrup in #3318
- Prefer Count > 0 over Any() by @jnyrup in #3321
- Correct the arguments passed to
string.Formaton failure by @jnyrup in #3325 - Migrate xunit v3 test projects off the VSTest pipeline by @dennisdoomen in #3320
- Include PackageGuard risk report and SBOM in pipeline by @dennisdoomen in #3324
New Contributors
Full Changelog: 8.10.0...8.11.0