Skip to content

Releases: fluentassertions/fluentassertions

8.0.0-alpha.1

02 Dec 19:03
c14f48b
Compare
Choose a tag to compare
8.0.0-alpha.1 Pre-release
Pre-release

What's Changed

Others

Full Changelog: 7.0.0-alpha.6...8.0.0-alpha.1

7.0.0

01 Dec 14:11
Compare
Choose a tag to compare

What's Changed

Breaking Changes

Fixes

  • The expectation node identified as a cyclic reference is still compared to the subject node using simple equality. by @dennisdoomen in #2819
  • Fix support for write-only properties in BeEquivalentTo by @dennisdoomen in #2836

Documentation

  • Fix minor syntax error in objectgraphs.md by @rklec in #2847

Others

New Contributors

Full Changelog: 6.12.2...7.0.0

7.0.0-alpha.6

30 Nov 21:20
ef0cfbc
Compare
Choose a tag to compare
7.0.0-alpha.6 Pre-release
Pre-release

What's Changed

Breaking Changes

Fixes

  • The expectation node identified as a cyclic reference is still compared to the subject node using simple equality. by @dennisdoomen in #2819
  • Fix support for write-only properties in BeEquivalentTo by @dennisdoomen in #2836

Documentation

  • Fix minor syntax error in objectgraphs.md by @rklec in #2847

Others

New Contributors

Full Changelog: 7.0.0-alpha.5...7.0.0-alpha.6

6.12.2

08 Nov 12:09
c6cd85c
Compare
Choose a tag to compare

What's Changed

Others

  • Better support for default interface and explicitly implemented properties by @dennisdoomen in #2794

Full Changelog: 6.12.1...6.12.2

7.0.0-alpha.5

03 Nov 15:28
70cae37
Compare
Choose a tag to compare
7.0.0-alpha.5 Pre-release
Pre-release

What's Changed

Breaking Changes

New features

Improvements

  • Add [StringSyntax("CompositeFormat")] to all because parameters by @psychotoad in #2635
  • Add support for Satisfy on ReferenceTypeAssertions by @siewers in #2597
  • Filter the list of events returned by RaisePropertyChangeFor by @arocheleau in #2677
  • Add a bunch of assertions on XElement and XDocument by @ITaluone in #2690
  • Correctly specify nullability of Subject for NumericAssertions by @vbreuss in #2473

Fixes

  • Remove non-compliant StringSyntaxAttribute by @IT-VBFK in #2669
  • Do not use UsingLineBreaks for [Not]BeSameAs by @jnyrup in #2726

Documentation

Others

Read more

6.12.1

09 Sep 14:04
Compare
Choose a tag to compare

What's Changed

Improvements

  • Improve BeEmpty() and BeNullOrEmpty() performance for IEnumerable<T>, by materializing only the first item - #2530

Fixes

  • Fixed formatting error when checking nullable DateTimeOffset with BeWithin(...).Before(...) - #2312
  • BeEquivalentTo will now find and can map subject properties that are implemented through an explicitly-implemented interface - #2152
  • Fixed that the because and becauseArgs were not passed down the equivalency tree - #2318
  • BeEquivalentTo can again compare a non-generic IDictionary with a generic one - #2358
  • Fixed that the FormattingOptions were not respected in inner AssertionScope - #2329
  • Capitalize true and false in failure messages and make them formattable to a custom BooleanFormatter - #2390, #2393
  • Improved the failure message for NotBeOfType when wrapped in an AssertionScope and the subject is null - #2399
  • Improved the failure message for BeWritable/BeReadable when wrapped in an AssertionScope and the subject is read-only/write-only - #2399
  • Improved the failure message for ThrowExactly[Async] when wrapped in an AssertionScope and no exception is thrown - #2398
  • Improved the failure message for [Not]HaveExplicitProperty when wrapped in an AssertionScope and not implementing the interface - #2403
  • Improved the failure message for [Not]HaveExplicitMethod when wrapped in an AssertionScope and not implementing the interface - #2403
  • Changed BeEquivalentTo to exclude private protected members from the comparison - #2417
  • Fixed using BeEquivalentTo on an empty ArraySegment - #2445, #2511
  • BeEquivalentTo with a custom comparer can now handle null values - #2489
  • Ensured that nested calls to AssertionScope(context) create a chained context - #2607
  • One overload of the AssertionScope constructor would not create an actual scope associated with the thread - #2607
  • Fixed ThrowWithinAsync not respecting OperationCanceledException - #2614
  • Fixed using BeEquivalentTo with an IEqualityComparer targeting nullable types - #2648

Full Changelog: 6.12.0...6.12.1

7.0.0-alpha.4

29 May 18:26
fa3b9cb
Compare
Choose a tag to compare
7.0.0-alpha.4 Pre-release
Pre-release

What's Changed

Breaking Changes

  • Rename EquivalencyAssertionOptions to EquivalencyOptions by @vbreuss in #2414
  • Allow fluently calling WithoutMatchingRules and WithoutSelectionRules while using BeEquivalentTo by @vbreuss in #2457
  • Consolidate namespace and file location by @vbreuss in #2449

New features

  • Add BeNaN and NotBeNaN assertions by @arocheleau in #2606
  • Add missing NotBeIn(DateTimeKind) DateTime assertion by @IT-VBFK in #2536
  • Allow specifying EquivalencyOptions in string assertions by @vbreuss in #2413
  • Allow event monitoring to ignore failing event accessors by @ITaluone in #2629

Improvements

  • Add support for NUnit4 by @vbreuss in #2483
  • BeEmpty() materializes IEnumerable only once, even on failure by @louis-z in #2530
  • Add [NotNull] attribute on the Should() method for object assertions by @0xced in #2380
  • Avoid allocations when chaining contexts by @jnyrup in #2613
  • Add option to ignore newline style when comparing strings for equivalency by @vbreuss in #2565
  • Allow nested AssertionScopes to chain their context by @dennisdoomen in #2607

Fixes

  • Exclude private protected members from BeEquivalentTo by @jnyrup in #2417
  • Fix issue when an empty ArraySegment is a member of a class by @ITaluone in #2511
  • Correct null handling when using a custom comparer by @MartinDemberger in #2489
  • Avoid treating "\\r\\n" as new line. by @vbreuss in #2569
  • Make ThrowWithinAsync respect canceled tasks by @jnyrup in #2614
  • Fixed BeEquivalentTo when using a custom comparer targeting nullable types by @arocheleau in #2648

Documentation

  • Restore DateTime tips by @jnyrup in #2422
  • Added more date/time tips by @Meir017 in #2435
  • Update release notes WRT recent BeEmpty improvements by @louis-z in #2541
  • Document preference of rebase over merge when updating local branches by @vbreuss in #2544

Others

Read more

7.0.0-alpha.3

26 Oct 13:29
Compare
Choose a tag to compare
7.0.0-alpha.3 Pre-release
Pre-release

Internal release needed to continue working on FluentAssertions.DataSets.

7.0.0-alpha.2

14 Oct 13:50
b43127c
Compare
Choose a tag to compare
7.0.0-alpha.2 Pre-release
Pre-release

Internal release needed to continue working on FluentAssertions.DataSets.

7.0.0-alpha.1

28 Aug 08:27
22ac70f
Compare
Choose a tag to compare
7.0.0-alpha.1 Pre-release
Pre-release

Internal release needed to continue working on FluentAssertions.DataSets.