6.8.0
What's Changed
New features
- Extend collection assertions with
ContainInConsecutiveOrderandNotContainInConsecutiveOrderby @StacyCash in #1963 - Added
NotCompleteWithinAsyncfor Task assertions by @lg2de in #1967 - Added assertions for non-generic
TaskCompletionSourceby @lg2de in #1961 - Exposes the
IMonitorobject to extensions methods. by @A-Kjeldgaard in #2010
Improvements
- Optimize
BeEquivalentToby @jnyrup in #1939 - Print commas at the end of the line by @ronaldkroon in #1945
- Avoid allocating sub-arrays in
ContainInOrderby @jnyrup in #1960 - Extend
IObjectInfowith info aboutDeclaringTypeby @dennisdoomen in #1950 - Prepare constructors of
AsyncFunctionAssertionsto make them protected in V7 by @lg2de in #1972 - Calculate the difference between the subject and the expected nearby time by @IT-VBFK in #2013
Fixes
- Filter dynamic methods from stack trace by @jnyrup in #1943
- Make For/Excluding work with nested paths by @whymatter in #1953
- Use InvariantCulture when doing case-insensitive matches by @jnyrup in #1985
- Global record equivalency settings were not taken into account by @dennisdoomen in #1984
- Escape brackets in execution time failures by @Briaoeuidhtns in #1994
Documentation
- More specifically clarify the intentions of
WithArgsby @jnyrup in #1929 - Remove building link from the website by @IT-VBFK in #1934
- Add
Enum.BeOneOfto the docs by @jnyrup in #1958 - Document how to use
ModuleInitializerby @jnyrup in #1966 - Fix a typo on the Assembly References documentation page by @asydikov in #1970
- Update summary of
EquivalencyValidatorby @Wolgo in #1991 - Improve error messages for accidental
Equalsusage by @nycdotnet in #2006
Others
- Upgrade to C# 10 by @jnyrup in #1935
- Use file scoped namespaces by @jnyrup in #1936
- More use of pattern matching and lifted operators by @jnyrup in #1937
- Update nuget packages by @jnyrup in #1962
- Make it possible for third-party libraries to access the underlying collection of instances of
ReadOnlyNonGenericCollectionWrapperby @logiclrd in #1968 - Code cleanups by @jnyrup in #1973
- Improve coverage for
CollectionMemberObjectInfoby @dennisdoomen in #1983 - Deduplicate target frameworks by @0xced in #1980
- Removed netcoreapp2.0 framework check in formatting precision tests by @iliashkolyar in #1976
- Rename
ShouldCompareMembersThisDeeptoShouldCompareNodesThisDeepby @Wolgo in #1992 - Update nuget packages by @jnyrup in #1996
- Cleanups by @jnyrup in #1998
- Update GitHub actions by @jnyrup in #2007
- Fix the PR link in releases.md by @IT-VBFK in #2014
- Prepare 6.8.0 by @jnyrup in #2020
New Contributors
- @StacyCash made their first contribution in #1963
- @asydikov made their first contribution in #1970
- @0xced made their first contribution in #1980
- @Wolgo made their first contribution in #1991
- @Briaoeuidhtns made their first contribution in #1994
- @nycdotnet made their first contribution in #2006
- @A-Kjeldgaard made their first contribution in #2010
Full Changelog: 6.7.0...6.8.0