Release notes
*Sourced from [FluentAssertions's releases](https://github.com/fluentassertions/fluentassertions/releases).*
> ## 5.5.3
> * {Fix} Performance fixes in `BeEquivalenTo` - [#935](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/935)
> * {Fix} Reverted 5.5.0 changes to `AssertionScope` to ensure binary compatibility - [#977](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/977)
>
> ## 5.5.2
> * {Fix} Allows `BeEquivalentTo` to handle a non-generic collection as the SUT - [#975](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/975), [#973](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/973)
> * {Fix} Optimized performance of `IncludeMemberByPathSelectionRule` - [#969](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/969)
>
> ## 5.5.1
> * {New} Now provides a hint when strings differ in length and contain differences - [#915](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/915), [#907](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/907)
> * {New} Added `ThrowAsync`, `ThrowExactlyAsync` and `NotThrowAsync` - [#931](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/931)
> * {New} Added support for `Should().Throw` and `Should().NotThrow` for `Func` - [#951](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/951)
> * {New} Added support for `private protected` access modifier - [#932](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/932)
> * {New} Updated `BeApproximately` to support nullable types for both the subject and the expectation nullable - [#934](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/934)
> * {New} Added `async` version of `ExecutionTime` to - [#938](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/938)
> * {New} Updated `NotBeApproximately` to accepting nullable subject and expectation - [#939](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/939)
> * {New} `type.Should().Be(type)` now support open generics - [#954](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/954), [#955](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/955)
> * {Fix} Minor performance improvements to prevent rendering messages if a test did not fail - [#921](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/921), [#915](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/915)
> * {Fix} Improve performance of `Should().AllBeEquivalentTo()` - [#920](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/920), [#914](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/914)
> * {Fix} Improve the presentation of enums to include the value and the number - [#923](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/923), [#897](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/897)
> * {Fix} `BeEquivalentTo` with `WithStrictOrdering` produced messy failure message - [#918](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/918)
> * {Fix} Fixes detecting checking equivalency of a `null` subject to a dictionary - [#933](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/933)
> * {Fix} Fixes duplicate conversions being mentioned in the output of the equivalency API - [#941](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/941)
> * {Fix} Comparing an object graph against `IEnumerable` now works now as expected - [#911](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/911)
> * {Fix} Selecting members during object graph assertions now better handles `new` overrides -#960, [#956](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/956)
>
> **Note** In versions prior to 5.5, FA may have skipped certain properties in the equivalency comparison. [#960](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/960) fixes this, so this may cause some breaking changes.
>
> Lots of kudos [**jnyrup**](https://github.com/jnyrup) and [**krajek**](https://github.com/krajek) for a majority for the work in this release.
>
> ## 5.4.2
> * {Fix} Limits the depth of rendering an object to a max of 5 to prevent OOM exceptions - [#898](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/898)
> * {Fix} Show the entire exception instead of just the message when an `async` function throws - [#892](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/892)
> * {Fix} Fixed a StackOverflow while comparing an self-returning enumerable - [#887](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/887)
> * {Fix} Custom rules (`Using().WhenTypeIs()`) were not executed on dictionary equivalency assertions - [#886](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/886)
> * {Fix} The failure message of `HaveOffset` returned the seconds instead of the offset - [#883](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/883)
>
> ## 5.4.1
> * {Fix} Make GetEqualityStrategy thread-safe again - [#864](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/864)
>
> ## 5.4.0
> * {Fix} Fixes the dependency on the unlisted `System.Reflection.Emit` by adding direct support for .NET Core - [#861](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/861)
> * {Potentially Breaking} Restricted the Event assertion API to the run-time .NET platforms only - [#861](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/861)
>
> ## 5.3.2
> * {Fix} `AssertionScope` did not work with `GenericCollectionAssertions` - [#835](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/835)
> * {Fix} Improved the performance of asserting large arrays for equivalency - [#840](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/840)
> * {Fix} Handle an edge case that only seems to happen under NCrunch - [#841](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/841)
> * {Fix} Resolved potential deadlocks and long-running threads in the execution time assertions - [#842](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/842)
>
> ... (truncated)
Commits
- [`9a36498`](https://github.com/fluentassertions/fluentassertions/commit/9a36498ac92d6cce8ae1e542233eef78b7050a7e) Reverted changes to AssertionScope to ensure binary compatibility ([#977](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/977))
- [`014cf50`](https://github.com/fluentassertions/fluentassertions/commit/014cf508048200b603200ec6b61029cf6c117238) EquivalencyValidator performance fixes ([#935](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/935))
- [`fba232b`](https://github.com/fluentassertions/fluentassertions/commit/fba232b06df5afb4233118cca20d8be2764e31d5) Rename ChainedAssertionScope.cs to ContinuedAssertionScope.cs ([#976](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/976))
- [`d25c795`](https://github.com/fluentassertions/fluentassertions/commit/d25c7952dbdde6acaec6f5b3790a5dd8b206c270) Allows BeEquivalentTo to handle a non-generic collection as the SUT ([#975](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/975))
- [`fe56239`](https://github.com/fluentassertions/fluentassertions/commit/fe5623996076b909fe16d875f67f5588b5f05888) Optimize performance of IncludeMemberByPathSelectionRule ([#969](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/969))
- [`383ed1d`](https://github.com/fluentassertions/fluentassertions/commit/383ed1dadda48692e4864b77696d321c144b1f7a) Rename expected to unexpected for negative tests ([#970](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/970))
- [`116faa7`](https://github.com/fluentassertions/fluentassertions/commit/116faa7b472fb1c52c98005d7070e143eff2f24e) Rename namespace ([#971](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/971))
- [`5e73e51`](https://github.com/fluentassertions/fluentassertions/commit/5e73e51922f1b79d2d93bff6d0ad7e32914e4fb0) Add support for async assertion on Func> ([#968](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/968))
- [`2f1e900`](https://github.com/fluentassertions/fluentassertions/commit/2f1e900c00bd2af5d9e59b7da639191fc45a4382) When deeply nested collections where compared to an empty collection it threw...
- [`3ddba71`](https://github.com/fluentassertions/fluentassertions/commit/3ddba7139bb6d828239226fd7ba85fdd0a08954f) Bumped the version in the landing page
- Additional commits viewable in [compare view](https://github.com/fluentassertions/fluentassertions/compare/4.19.3...5.5.3)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps FluentAssertions from 4.19.3 to 5.5.3.
Release notes
*Sourced from [FluentAssertions's releases](https://github.com/fluentassertions/fluentassertions/releases).* > ## 5.5.3 > * {Fix} Performance fixes in `BeEquivalenTo` - [#935](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/935) > * {Fix} Reverted 5.5.0 changes to `AssertionScope` to ensure binary compatibility - [#977](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/977) > > ## 5.5.2 > * {Fix} Allows `BeEquivalentTo` to handle a non-generic collection as the SUT - [#975](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/975), [#973](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/973) > * {Fix} Optimized performance of `IncludeMemberByPathSelectionRule` - [#969](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/969) > > ## 5.5.1 > * {New} Now provides a hint when strings differ in length and contain differences - [#915](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/915), [#907](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/907) > * {New} Added `ThrowAsync`, `ThrowExactlyAsync` and `NotThrowAsync` - [#931](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/931) > * {New} Added support for `Should().Throw` and `Should().NotThrow` for `FuncCommits
- [`9a36498`](https://github.com/fluentassertions/fluentassertions/commit/9a36498ac92d6cce8ae1e542233eef78b7050a7e) Reverted changes to AssertionScope to ensure binary compatibility ([#977](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/977)) - [`014cf50`](https://github.com/fluentassertions/fluentassertions/commit/014cf508048200b603200ec6b61029cf6c117238) EquivalencyValidator performance fixes ([#935](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/935)) - [`fba232b`](https://github.com/fluentassertions/fluentassertions/commit/fba232b06df5afb4233118cca20d8be2764e31d5) Rename ChainedAssertionScope.cs to ContinuedAssertionScope.cs ([#976](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/976)) - [`d25c795`](https://github.com/fluentassertions/fluentassertions/commit/d25c7952dbdde6acaec6f5b3790a5dd8b206c270) Allows BeEquivalentTo to handle a non-generic collection as the SUT ([#975](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/975)) - [`fe56239`](https://github.com/fluentassertions/fluentassertions/commit/fe5623996076b909fe16d875f67f5588b5f05888) Optimize performance of IncludeMemberByPathSelectionRule ([#969](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/969)) - [`383ed1d`](https://github.com/fluentassertions/fluentassertions/commit/383ed1dadda48692e4864b77696d321c144b1f7a) Rename expected to unexpected for negative tests ([#970](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/970)) - [`116faa7`](https://github.com/fluentassertions/fluentassertions/commit/116faa7b472fb1c52c98005d7070e143eff2f24e) Rename namespace ([#971](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/971)) - [`5e73e51`](https://github.com/fluentassertions/fluentassertions/commit/5e73e51922f1b79d2d93bff6d0ad7e32914e4fb0) Add support for async assertion on FuncDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.