Releases · fluentassertions/fluentassertions · GitHub
Skip to content

Releases: fluentassertions/fluentassertions

8.10.0

Choose a tag to compare

@dennisdoomen dennisdoomen released this 12 May 04:59

What's Changed

Improvements

  • Fail with a descriptive error when path-based rules are used on value-semantic types by @dennisdoomen in #3187
  • Significantly speed up BeEquivalentTo for large unordered collections by @dennisdoomen in #3188
  • Add ComparingNullCollectionsAsEmpty and ComparingNullStringsAsEmpty options to BeEquivalentTo by @dennisdoomen in #3202
  • Include original index in extraneous item failure messages by @dennisdoomen in #3203

Documentation

Others

  • Bump flatted from 3.4.1 to 3.4.2 in the npm_and_yarn group across 1 directory by @dependabot[bot] in #3184
  • Add AI assistant instruction file (agents.md) for Copilot, Claude, and JetBrains Junie by @Copilot in #3176
  • Bump smol-toml from 1.6.0 to 1.6.1 in the npm_and_yarn group across 1 directory by @dependabot[bot] in #3185
  • Bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot[bot] in #3186
  • Bump cspell from 9.7.0 to 10.0.0 by @dependabot[bot] in #3189
  • Update nugets by @jnyrup in #3192
  • Fixup Qodana issues by @jnyrup in #3193
  • Fix Qodana argument separator by @jnyrup in #3195
  • Use new Qodana linter option by @jnyrup in #3196
  • Fix flaky BeLessThanOrEqualTo execution time test by @Copilot in #3200
  • Bump JetBrains/qodana-action from 2025.3 to 2026.1 by @dependabot[bot] in #3201
  • Use long for hashCode in ReferentialComparer to avoid overflow by @dennisdoomen in #3204

Full Changelog: 8.9.0...8.10.0

8.9.0

Choose a tag to compare

@dennisdoomen dennisdoomen released this 16 Mar 17:43
1ba808c

Warning

For projects targeting .NET 9, you need at least .NET SDK 9.0.200 as earlier versions will trigger compile errors because of invalid overload resolution. See #3225

What's Changed

New features

  • Add support for Span<T>, ReadOnlySpan<T>, Memory<T> and ReadOnlyMemory<T> by @dennisdoomen in #3172

Improvements

  • Allow excluding all properties by type from BeEquivalentTo by @Copilot in #3115
  • Clean-up the stack trace when throwing an assertion failure by @dennisdoomen in #3152
  • Improve reporting the differences between differently sized collections in BeEquivalentTo by @dennisdoomen in #3133
  • Improve reporting the subject when chaining Throw and Which by @dennisdoomen in #3160
  • Add HaveMillisecond/NotHaveMillisecond assertion methods for DateTime and DateTimeOffset by @Copilot in #3164
  • Add BeEqualTo and NotBeEqualTo as collection assertion aliases by @Copilot in #3166

Fixes

  • Fix formatting exception when comparing strings containing braces by @Copilot in #3151

Documentation

Others

New Contributors

  • @Copilot made their first contribution in #3119
  • @fuguiKz made their first contribution in #3141

Full Changelog: 8.8.0...8.9.0

7.2.2

Choose a tag to compare

@dennisdoomen dennisdoomen released this 16 Mar 17:44

What's Changed

Fixes

Building

  • Bump F# to 8.0 to compile with .NET 11 SDK by @jnyrup in #3173

Full Changelog: 7.2.1...7.2.2

7.2.1

Choose a tag to compare

@dennisdoomen dennisdoomen released this 07 Feb 19:38

What's Changed

Fixes

  • Prevent a crash while formatting a collection with nested empty collections by @dennisdoomen in #3150

Full Changelog: 7.2.0...7.2.1

8.8.0

Choose a tag to compare

@dennisdoomen dennisdoomen released this 23 Oct 05:08
9f3e1ea

What's Changed

New features

Improvements

  • Allow WithoutMessage when using Should().Throw() and ThrowAsync() by @dennisdoomen in #3100
  • Improve reporting of the differences between long strings by @dennisdoomen in #3101
  • Allow customizing the equivalency behavior for BeXmlSerializable by @logiclrd in #3107

Documentation

Others

Full Changelog: 8.7.1...8.8.0

8.7.1

Choose a tag to compare

@dennisdoomen dennisdoomen released this 02 Oct 09:31

What's Changed

Others

  • JSON assertions did not properly handle floats, doubles and unsigned … by @dennisdoomen in #3105
  • Fixed ambiguity when using Should on a JsonNode derived class ... by @JSkimming in #3102

Full Changelog: 8.7.0...8.7.1

8.7.0

Choose a tag to compare

@dennisdoomen dennisdoomen released this 25 Sep 05:12

What's Changed

New features

  • Added System.Text.Json assertion APIs and BeEquivalentTo support by @dennisdoomen in #3094

Others

Full Changelog: 8.6.0...8.7.0

8.6.0

Choose a tag to compare

@dennisdoomen dennisdoomen released this 14 Aug 15:28

What's Changed

Improvements

  • Add support for inline assertions using Value.ThatMatches and Value.ThatSatisfies by @dennisdoomen in #3076

Others

New Contributors

Full Changelog: 8.5.0...8.6.0

8.5.0

Choose a tag to compare

@dennisdoomen dennisdoomen released this 11 Jul 10:27

What's Changed

New features

  • Extended BeEquivalentTo with support for checking the type of the properties by @dennisdoomen in #3066

Fixes

  • Ensured WithTracing is safe when used with BeEquivalentTo globally by @dennisdoomen in #3067

Others

Full Changelog: 8.4.0...8.5.0

8.4.0

Choose a tag to compare

@dennisdoomen dennisdoomen released this 25 Jun 05:02
cc607f1

What's Changed

Improvements

  • Allow excluding properties by name anywhere in the graph by @dennisdoomen in #3062
  • Added Should().Throw(), ThrowAsync() and ThrowWithinAsync() flavors that don’t require a specific exception type by @Xceed-DelvaJB in #3059

Others

New Contributors

Full Changelog: 8.3.0...8.4.0