6.8.0
版本发布时间: 2022-10-23 01:17:43
fluentassertions/fluentassertions最新发布版本:7.1.0(2025-01-17 14:51:22)
What's Changed
New features
- Extend collection assertions with
ContainInConsecutiveOrder
andNotContainInConsecutiveOrder
by @StacyCash in https://github.com/fluentassertions/fluentassertions/pull/1963 - Added
NotCompleteWithinAsync
for Task assertions by @lg2de in https://github.com/fluentassertions/fluentassertions/pull/1967 - Added assertions for non-generic
TaskCompletionSource
by @lg2de in https://github.com/fluentassertions/fluentassertions/pull/1961 - Exposes the
IMonitor
object to extensions methods. by @A-Kjeldgaard in https://github.com/fluentassertions/fluentassertions/pull/2010
Improvements
- Optimize
BeEquivalentTo
by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1939 - Print commas at the end of the line by @ronaldkroon in https://github.com/fluentassertions/fluentassertions/pull/1945
- Avoid allocating sub-arrays in
ContainInOrder
by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1960 - Extend
IObjectInfo
with info aboutDeclaringType
by @dennisdoomen in https://github.com/fluentassertions/fluentassertions/pull/1950 - Prepare constructors of
AsyncFunctionAssertions
to make them protected in V7 by @lg2de in https://github.com/fluentassertions/fluentassertions/pull/1972 - Calculate the difference between the subject and the expected nearby time by @IT-VBFK in https://github.com/fluentassertions/fluentassertions/pull/2013
Fixes
- Filter dynamic methods from stack trace by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1943
- Make For/Excluding work with nested paths by @whymatter in https://github.com/fluentassertions/fluentassertions/pull/1953
- Use InvariantCulture when doing case-insensitive matches by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1985
- Global record equivalency settings were not taken into account by @dennisdoomen in https://github.com/fluentassertions/fluentassertions/pull/1984
- Escape brackets in execution time failures by @Briaoeuidhtns in https://github.com/fluentassertions/fluentassertions/pull/1994
Documentation
- More specifically clarify the intentions of
WithArgs
by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1929 - Remove building link from the website by @IT-VBFK in https://github.com/fluentassertions/fluentassertions/pull/1934
- Add
Enum.BeOneOf
to the docs by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1958 - Document how to use
ModuleInitializer
by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1966 - Fix a typo on the Assembly References documentation page by @asydikov in https://github.com/fluentassertions/fluentassertions/pull/1970
- Update summary of
EquivalencyValidator
by @Wolgo in https://github.com/fluentassertions/fluentassertions/pull/1991 - Improve error messages for accidental
Equals
usage by @nycdotnet in https://github.com/fluentassertions/fluentassertions/pull/2006
Others
- Upgrade to C# 10 by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1935
- Use file scoped namespaces by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1936
- More use of pattern matching and lifted operators by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1937
- Update nuget packages by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1962
- Make it possible for third-party libraries to access the underlying collection of instances of
ReadOnlyNonGenericCollectionWrapper
by @logiclrd in https://github.com/fluentassertions/fluentassertions/pull/1968 - Code cleanups by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1973
- Improve coverage for
CollectionMemberObjectInfo
by @dennisdoomen in https://github.com/fluentassertions/fluentassertions/pull/1983 - Deduplicate target frameworks by @0xced in https://github.com/fluentassertions/fluentassertions/pull/1980
- Removed netcoreapp2.0 framework check in formatting precision tests by @iliashkolyar in https://github.com/fluentassertions/fluentassertions/pull/1976
- Rename
ShouldCompareMembersThisDeep
toShouldCompareNodesThisDeep
by @Wolgo in https://github.com/fluentassertions/fluentassertions/pull/1992 - Update nuget packages by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1996
- Cleanups by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/1998
- Update GitHub actions by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/2007
- Fix the PR link in releases.md by @IT-VBFK in https://github.com/fluentassertions/fluentassertions/pull/2014
- Prepare 6.8.0 by @jnyrup in https://github.com/fluentassertions/fluentassertions/pull/2020
New Contributors
- @StacyCash made their first contribution in https://github.com/fluentassertions/fluentassertions/pull/1963
- @asydikov made their first contribution in https://github.com/fluentassertions/fluentassertions/pull/1970
- @0xced made their first contribution in https://github.com/fluentassertions/fluentassertions/pull/1980
- @Wolgo made their first contribution in https://github.com/fluentassertions/fluentassertions/pull/1991
- @Briaoeuidhtns made their first contribution in https://github.com/fluentassertions/fluentassertions/pull/1994
- @nycdotnet made their first contribution in https://github.com/fluentassertions/fluentassertions/pull/2006
- @A-Kjeldgaard made their first contribution in https://github.com/fluentassertions/fluentassertions/pull/2010
Full Changelog: https://github.com/fluentassertions/fluentassertions/compare/6.7.0...6.8.0