Bump FluentAssertions from 5.10.3 to 8.6.0 #370
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated FluentAssertions from 5.10.3 to 8.6.0.
Release notes
Sourced from FluentAssertions's releases.
8.6.0
What's Changed
Improvements
Value.ThatMatches
andValue.ThatSatisfies
by @dennisdoomen in Add support for inline assertions using Value.ThatMatches and Value.ThatSatisfies fluentassertions/fluentassertions#3076Others
New Contributors
Full Changelog: fluentassertions/fluentassertions@8.5.0...8.6.0
8.5.0
What's Changed
New features
Fixes
Others
Full Changelog: fluentassertions/fluentassertions@8.4.0...8.5.0
8.4.0
What's Changed
Improvements
Others
New Contributors
Full Changelog: fluentassertions/fluentassertions@8.3.0...8.4.0
8.3.0
What's Changed
Improvements
Others
Full Changelog: fluentassertions/fluentassertions@8.2.0...8.3.0
8.2.0
What's Changed
Improvements
Fixes
StringSyntax
annotations by @jnyrup in RestoreStringSyntax
annotations fluentassertions/fluentassertions#3033Others
Full Changelog: fluentassertions/fluentassertions@8.1.1...8.2.0
8.1.1
What's Changed
Fixes
Full Changelog: fluentassertions/fluentassertions@8.1.0...8.1.1
8.1.0
What's Changed
Improvements
Fixes
Documentation
Others
New Contributors
Full Changelog: fluentassertions/fluentassertions@8.0.1...8.1.0
8.0.1
What's Changed
Improvements
Others
Full Changelog: fluentassertions/fluentassertions@8.0.0...8.0.1
8.0.0
What's Changed
License change
Breaking Changes
OrEqualTo
methods by @IT-VBFK in Remove obsoleteOrEqualTo
methods fluentassertions/fluentassertions#2269SpacesPerIndentionLevel
by @jnyrup in RemoveSpacesPerIndentionLevel
fluentassertions/fluentassertions#2281AllSatisfy
to succeed on empty collections by @jnyrup in ChangeAllSatisfy
to succeed on empty collections fluentassertions/fluentassertions#2321ForConstraint
toIAssertionScope
by @IT-VBFK in AddForConstraint
toIAssertionScope
fluentassertions/fluentassertions#2324OnlyContain
to succeed on empty collections by @IT-VBFK in ChangeOnlyContain
to succeed on empty collections fluentassertions/fluentassertions#2350NSpec3
by @ITaluone in Drop support forNSpec3
fluentassertions/fluentassertions#2356NotThrow[After]
toActionAssertions
by @jnyrup in Move non-genericNotThrow[After]
toActionAssertions
fluentassertions/fluentassertions#2371EquivalencyAssertionOptions
toEquivalencyOptions
by @vbreuss in RenameEquivalencyAssertionOptions
toEquivalencyOptions
fluentassertions/fluentassertions#2414WithoutMatchingRules
andWithoutSelectionRules
while usingBeEquivalentTo
by @vbreuss in Allow fluently callingWithoutMatchingRules
andWithoutSelectionRules
while usingBeEquivalentTo
fluentassertions/fluentassertions#2457SubsequentOrderingAssertions
by @vbreuss in Simplify inheritance ofSubsequentOrderingAssertions
fluentassertions/fluentassertions#2439RespectingRuntimeTypes
andRespectingDeclaredTypes
to better clarify their purpose by @dennisdoomen in RenamedRespectingRuntimeTypes
andRespectingDeclaredTypes
to better clarify their purpose fluentassertions/fluentassertions#2866HttpResponseMessage
assertions by @ITaluone in Remove support forHttpResponseMessage
assertions fluentassertions/fluentassertions#2909New features
NotBeIn(DateTimeKind)
DateTime
assertion by @IT-VBFK in Add missingNotBeIn(DateTimeKind)
DateTime
assertion fluentassertions/fluentassertions#2536EquivalencyOptions
in string assertions by @vbreuss in Allow specifyingEquivalencyOptions
in string assertions fluentassertions/fluentassertions#2413Improvements
TypeMemberReflector
by @jnyrup in OptimizeTypeMemberReflector
fluentassertions/fluentassertions#2320AssertionScope
s to chain their context by @dennisdoomen in Allow nestedAssertionScope
s to chain their context fluentassertions/fluentassertions#2607... (truncated)
8.0.0-rc.2
What's Changed
Fixes
Others
Full Changelog: fluentassertions/fluentassertions@8.0.0-rc.1...8.0.0-rc.2
8.0.0-rc.1
What's Changed
Breaking Changes
RespectingRuntimeTypes
andRespectingDeclaredTypes
to better clarify their purpose by @dennisdoomen in RenamedRespectingRuntimeTypes
andRespectingDeclaredTypes
to better clarify their purpose fluentassertions/fluentassertions#2866HttpResponseMessage
assertions by @ITaluone in Remove support forHttpResponseMessage
assertions fluentassertions/fluentassertions#2909Fixes
Documentation
Others
... (truncated)
8.0.0-alpha.1
What's Changed
Others
Full Changelog: fluentassertions/fluentassertions@7.0.0-alpha.6...8.0.0-alpha.1
7.2.0
What's Changed
Improvements
Fixes
Others
Full Changelog: fluentassertions/fluentassertions@7.1.0...7.2.0
7.1.0
What's Changed
Improvements
Others
Full Changelog: fluentassertions/fluentassertions@7.0.0...7.1.0
7.0.0
What's Changed
Breaking Changes
Fixes
Documentation
Others
System.Configuration.ConfigurationManager
andSystem.Threading.Tasks.Extensions
by @jnyrup in Backport bump ofSystem.Configuration.ConfigurationManager
andSystem.Threading.Tasks.Extensions
fluentassertions/fluentassertions#2856New Contributors
Full Changelog: fluentassertions/fluentassertions@6.12.2...7.0.0
6.12.2
What's Changed
Others
Full Changelog: fluentassertions/fluentassertions@6.12.1...6.12.2
6.12.1
What's Changed
Improvements
BeEmpty()
andBeNullOrEmpty()
performance forIEnumerable<T>
, by materializing only the first item - #2530Fixes
DateTimeOffset
withBeWithin(...).Before(...)
- #2312BeEquivalentTo
will now find and can map subject properties that are implemented through an explicitly-implemented interface - #2152because
andbecauseArgs
were not passed down the equivalency tree - #2318BeEquivalentTo
can again compare a non-genericIDictionary
with a generic one - #2358FormattingOptions
were not respected in innerAssertionScope
- #2329true
andfalse
in failure messages and make them formattable to a customBooleanFormatter
- #2390, #2393NotBeOfType
when wrapped in anAssertionScope
and the subject is null - #2399BeWritable
/BeReadable
when wrapped in anAssertionScope
and the subject is read-only/write-only - #2399ThrowExactly[Async]
when wrapped in anAssertionScope
and no exception is thrown - #2398[Not]HaveExplicitProperty
when wrapped in anAssertionScope
and not implementing the interface - #2403[Not]HaveExplicitMethod
when wrapped in anAssertionScope
and not implementing the interface - #2403BeEquivalentTo
to excludeprivate protected
members from the comparison - #2417BeEquivalentTo
on an emptyArraySegment
- #2445, #2511BeEquivalentTo
with a custom comparer can now handle null values - #2489AssertionScope(context)
create a chained context - #2607AssertionScope
constructor would not create an actual scope associated with the thread - #2607ThrowWithinAsync
not respectingOperationCanceledException
- #2614BeEquivalentTo
with anIEqualityComparer
targeting nullable types - #2648Full Changelog: fluentassertions/fluentassertions@6.12.0...6.12.1
6.12.0
What's Changed
New features
Be
,NotBe
andBeOneOf
for object comparisons with custom comparer by @jnyrup in AddedBe
,NotBe
andBeOneOf
for object comparisons with custom comparer fluentassertions/fluentassertions#2243AssemblyAssertions
withHavePublicKey
andBeUnsigned
by @Corniel in ExtendAssemblyAssertions
withHavePublicKey
andBeUnsigned
fluentassertions/fluentassertions#2207NotContainItemsAssignableTo
by @Leo506 in AddNotContainItemsAssignableTo
fluentassertions/fluentassertions#2266Improvements
Fixes
Documentation
ExcludingNestedObjects
by @dennisdoomen in Improve documentation onExcludingNestedObjects
fluentassertions/fluentassertions#2211HaveElement()
occurrence docs by @IT-VBFK in Add missingHaveElement()
occurrence docs fluentassertions/fluentassertions#2217IComparer<T>
overload by @ITaluone in Add documentation forIComparer<T>
overload fluentassertions/fluentassertions#2220Others
GenericDictionaryEquivalencyStep
by @jnyrup in SimplifyGenericDictionaryEquivalencyStep
fluentassertions/fluentassertions#2191New Contributors
... (truncated)
6.11.0
What's Changed
New features
ThrowWithinAsync
assertions by @lg2de in AddedThrowWithinAsync
assertions fluentassertions/fluentassertions#1974WithoutStrictOrderingFor
overload with an expression by @chrischu in AddWithoutStrictOrderingFor
overload with an expression fluentassertions/fluentassertions#2151Improvements
ToString
to format exceptions by @sdelarosbil in UseToString
to format exceptions fluentassertions/fluentassertions#2150Fixes
AssertionScope
by @jnyrup in Increase robustness of assertions when wrapped in anAssertionScope
fluentassertions/fluentassertions#2133NullReferenceException
by @jnyrup in PreventNullReferenceException
fluentassertions/fluentassertions#2154Excluding()
work on nested collections if root is a collection by @whymatter in MakeExcluding()
work on nested collections if root is a collection fluentassertions/fluentassertions#2135InvalidOperationException
when formatting lambda expression by @jnyrup in PreventInvalidOperationException
when formatting lambda expression fluentassertions/fluentassertions#2176Documentation
Others
binlog
file by @IT-VBFK in Add optional parameter to generate abinlog
file fluentassertions/fluentassertions#2127Task
when inside using block by @jnyrup in awaitTask
when inside using block fluentassertions/fluentassertions#2157DataRowCollectionEquivalency
code coverage by @sdelarosbil in Improve theDataRowCollectionEquivalency
code coverage fluentassertions/fluentassertions#2163... (truncated)
6.10.0
What's Changed
Fixes
System.Net.Http
as a framework dependency by @AArnott in DeclareSystem.Net.Http
as a framework dependency fluentassertions/fluentassertions#2122BeEquivalentTo
handles fields hiding base-class fields by @dennisdoomen in Improves howBeEquivalentTo
handles fields hiding base-class fields fluentassertions/fluentassertions#1990WithResult
extension by @lg2de in Fix timeout check inWithResult
extension fluentassertions/fluentassertions#2101AssertionScope
by @jnyrup in Avoid exceptions when wrapping inAssertionScope
fluentassertions/fluentassertions#2103Others
lcov.info
does exist by @ITaluone in Check iflcov.info
does exist fluentassertions/fluentassertions#2097Build.cs
by @IT-VBFK in Clean upBuild.cs
fluentassertions/fluentassertions#2093ReportSummary
by @IT-VBFK in Add fancyReportSummary
fluentassertions/fluentassertions#2116int.Seconds(TimeSpan)
by @IT-VBFK in Add missing tests forint.Seconds(TimeSpan)
fluentassertions/fluentassertions#2119DocumentationChanges
by @IT-VBFK in Declare few more files asDocumentationChanges
fluentassertions/fluentassertions#2100New Contributors
System.Net.Http
as a framework dependency fluentassertions/fluentassertions#2122Full Changelog: fluentassertions/fluentassertions@6.9.0...6.10.0
6.9.0
What's Changed
New features
BeOneOf
forIComparable
s and object comparisons. by @jez9999 in AddedBeOneOf
forIComparable
s and object comparisons. fluentassertions/fluentassertions#2028BeCloseTo()
/NotBeCloseTo()
to TimeOnlyAssertions by @IT-VBFK in AddBeCloseTo()
/NotBeCloseTo()
to TimeOnlyAssertions fluentassertions/fluentassertions#2030ThatAre[Not]Abstract
,ThatAre[Not]Static
andThatAre[Not]Virtual
toPropertyInfoSelector
by @94sedighi in AddThatAre[Not]Abstract
,ThatAre[Not]Static
andThatAre[Not]Virtual
toPropertyInfoSelector
fluentassertions/fluentassertions#2054ThatAre[Not]Abstract
toMethodInfoSelector
by @94sedighi in AddThatAre[Not]Abstract
toMethodInfoSelector
fluentassertions/fluentassertions#2060ThatAre[Not]Abstract
toTypeSelector
by @94sedighi in AddThatAre[Not]Abstract
toTypeSelector
fluentassertions/fluentassertions#2058ThatAre[Not]Sealed
toTypeSelector.cs
by @94sedighi in AddThatAre[Not]Sealed
toTypeSelector.cs
fluentassertions/fluentassertions#2059ThatAre[Not]Interfaces
toTypeSelector.cs
by @94sedighi in AddThatAre[Not]Interfaces
toTypeSelector.cs
fluentassertions/fluentassertions#2057OccurrenceConstraint
that reads more fluently by @IT-VBFK in Add extensions forOccurrenceConstraint
that reads more fluently fluentassertions/fluentassertions#2047Imply()
toBooleanAssertions
by @IT-VBFK in AddImply()
toBooleanAssertions
fluentassertions/fluentassertions#2074ThatAre[Not]ValueTypes
method toTypeSelector.cs
by @94sedighi in AddThatAre[Not]ValueTypes
method toTypeSelector.cs
fluentassertions/fluentassertions#2083Improvements
IsTuple()
by @jnyrup in Improve performance ofIsTuple()
fluentassertions/fluentassertions#2079IsRecord()
by @jnyrup in OptimizeIsRecord()
fluentassertions/fluentassertions#2080Fixes
AssertionScope
s do not print inner scope reportables by @94sedighi in NestedAssertionScope
s do not print inner scope reportables fluentassertions/fluentassertions#2044ThatArePublicOrInternal
to also look at the setter of properties by @Ruijin92 in ExtendThatArePublicOrInternal
to also look at the setter of properties fluentassertions/fluentassertions#2082Documentation
PathMap
is currently not supported by @jnyrup in Document thatPathMap
is currently not supported fluentassertions/fluentassertions#2067Guard
helper by @jnyrup in ImproveGuard
helper fluentassertions/fluentassertions#2076cSpell
to NUKE build pipeline by @IT-VBFK in AddcSpell
to NUKE build pipeline fluentassertions/fluentassertions#2086Others
EquatableOfInt
implementIComparable<T>
by @jnyrup in LetEquatableOfInt
implementIComparable<T>
fluentassertions/fluentassertions#2036... (truncated)
6.8.0
What's Changed
New features
ContainInConsecutiveOrder
andNotContainInConsecutiveOrder
by @StacyCash in Extend collection assertions withContainInConsecutiveOrder
andNotContainInConsecutiveOrder
fluentassertions/fluentassertions#1963NotCompleteWithinAsync
for Task assertions by @lg2de in AddedNotCompleteWithinAsync
for Task assertions fluentassertions/fluentassertions#1967TaskCompletionSource
by @lg2de in Added assertions for non-genericTaskCompletionSource
fluentassertions/fluentassertions#1961IMonitor
object to extensions methods. by @A-Kjeldgaard in Exposes theIMonitor
object to extensions methods. fluentassertions/fluentassertions#2010Improvements
BeEquivalentTo
by @jnyrup in OptimizeBeEquivalentTo
fluentassertions/fluentassertions#1939ContainInOrder
by @jnyrup in Avoid allocating sub-arrays inContainInOrder
fluentassertions/fluentassertions#1960IObjectInfo
with info aboutDeclaringType
by @dennisdoomen in ExtendIObjectInfo
with info aboutDeclaringType
fluentassertions/fluentassertions#1950AsyncFunctionAssertions
to make them protected in V7 by @lg2de in Prepare constructors ofAsyncFunctionAssertions
to make them protected in V7 fluentassertions/fluentassertions#1972Fixes
Documentation
WithArgs
by @jnyrup in More specifically clarify the intentions ofWithArgs
fluentassertions/fluentassertions#1929Enum.BeOneOf
to the docs by @jnyrup in AddEnum.BeOneOf
to the docs fluentassertions/fluentassertions#1958ModuleInitializer
by @jnyrup in Document how to useModuleInitializer
fluentassertions/fluentassertions#1966EquivalencyValidator
by @Wolgo in Update summary ofEquivalencyValidator
fluentassertions/fluentassertions#1991Equals
usage by @nycdotnet in Improve error messages for accidentalEquals
usage fluentassertions/fluentassertions#2006Others
ReadOnlyNonGenericCollectionWrapper
by @logiclrd in Make it possible for third-party libraries to access the underlying collection of instances ofReadOnlyNonGenericCollectionWrapper
fluentassertions/fluentassertions#1968CollectionMemberObjectInfo
by @dennisdoomen in Improve coverage forCollectionMemberObjectInfo
fluentassertions/fluentassertions#1983ShouldCompareMembersThisDeep
toShouldCompareNodesThisDeep
by @Wolgo in RenameShouldCompareMembersThisDeep
toShouldCompareNodesThisDeep
fluentassertions/fluentassertions#1992New Contributors
ContainInConsecutiveOrder
andNotContainInConsecutiveOrder
fluentassertions/fluentassertions#1963... (truncated)
6.7.0
What's Changed
New features
BeDefined
andNotBeDefined
toEnumAssertions
by @IT-VBFK in AddBeDefined
andNotBeDefined
toEnumAssertions
fluentassertions/fluentassertions#1888System.Data
by @logiclrd in Restore basic assertions for collections inSystem.Data
fluentassertions/fluentassertions#1812For
/Exclude
to allow exclusion of members inside a collection by @whymatter in AddFor
/Exclude
to allow exclusion of members inside a collection fluentassertions/fluentassertions#1782HaveElement()
to be able to assert on occurrences forXDocument
andXElement
by @ITaluone in Add overload toHaveElement()
to be able to assert on occurrences forXDocument
andXElement
fluentassertions/fluentassertions#1880Fixes
T
to the matching events, if one is found by @ITaluone in Do not add all arguments of typeT
to the matching events, if one is found fluentassertions/fluentassertions#1920Documentation
BeInRange
by @andrewlock in Update docxml comments on BeInRange fluentassertions/fluentassertions#1907Others
AssertionScope
by @IT-VBFK in Fix small typo inAssertionScope
fluentassertions/fluentassertions#1890null
with a wildcard by @IT-VBFK in Add missing tests for matchingnull
with a wildcard fluentassertions/fluentassertions#1889null
check tests in Data*Specs by @IT-VBFK in Add missingnull
check tests in Data*Specs fluentassertions/fluentassertions#1899New Contributors
For
/Exclude
to allow exclusion of members inside a collection fluentassertions/fluentassertions#1782Full Changelog: fluentassertions/fluentassertions@6.6.0...6.7.0
6.6.0
What's Changed
New features
DateOnly
struct by @iliashkolyar in Adding support for .NET6DateOnly
struct fluentassertions/fluentassertions#1844TimeOnly
struct by @iliashkolyar in Adding support for .NET6TimeOnly
struct fluentassertions/fluentassertions#1848NullableBooleanAssertions
byNotBe()
by @mu88 in ExtendNullableBooleanAssertions
byNotBe()
fluentassertions/fluentassertions#1865MatchRegex()
to assert on the number of regex matches by @IT-VBFK in Added a new overload toMatchRegex()
to assert on the number of regex matches fluentassertions/fluentassertions#1869Improvements
[Not]MatchRegex
with[StringSyntax("Regex")]
by @jnyrup in Annotated[Not]MatchRegex
with[StringSyntax("Regex")]
fluentassertions/fluentassertions#1816EnumAssertions.Be
by @jnyrup in Determine caller name forEnumAssertions.Be
fluentassertions/fluentassertions#1835Fixes
ExcludingMissingMembers
doesn't undo usage ofWithMapping
by @dennisdoomen in EnsureExcludingMissingMembers
doesn't undo usage ofWithMapping
fluentassertions/fluentassertions#1838WithMapping
now works in equivalency assertions on collections by @dennisdoomen inWithMapping
now works in equivalency assertions on collections fluentassertions/fluentassertions#1858Documentation
ComparingRecordsByMembers
by @kijanawoodard in Fix typo in comment forComparingRecordsByMembers
fluentassertions/fluentassertions#1809AllItemsAreInstancesOfType
by @IT-VBFK in Update migration tip on how to replaceAllItemsAreInstancesOfType
fluentassertions/fluentassertions#1873Others
Description has been truncated