Skip to content
Cyrille DUPUYDAUBY edited this page Mar 18, 2020 · 15 revisions

V 3.0.0

Major changes

Breaking changes

  • Dropped support for Net 2.0 and 3.5
  • Equality logic changed for IDictionary: dictionaries are considered equals if they have the same keys and the same values for each key. In NFluent V2, they were considered as different but equivalent.
  • IsAnInstanceOf<nullableType>(null) now fails (with an appropriate message). Previously, it did succeed. But, as captured in issue #68, this behavior was triggered by a bug and kept due to a poor error message when fixed.

Obsolete

Here is the list of methods, classes and other obsolete stuff that have been removed in this version as well as workaround advices.

  • Drop support for Net 2.0 and 3.0: keep using NFluent V2.x versions
  • ILambdaCheck: the definition was kept to prevent breaking build, but it was no longer used. If this is a problem for you, open an issue
  • IsPositive (available for numbers): please use IsStrictlyPositive instead.
  • IsNegative (available for numbers): please use IsStrictlyNegative instead.
  • IsLessThan (available for numbers): please use IsStrictlyNegative instead.
  • IsGreaterThan (available for numbers): please use IsStrictlyGreaterThan instead.
  • IsSameReferenceThan: please use IsSameReferenceAs instead.
  • HasFieldsEqualToThose: please use HasFieldsWithSameValues instead.
  • HasFieldsNotEqualToThose: please use HasNotFieldsWithSameValues instead.
  • IsAFaillingCheckWithMessage: please use IsAFailingCheckWithMessage instead.
  • IsAFaillingCheck: please use IsAFailingCheck instead.
  • Properties (available for enumeration): please use Extracting instead.