Release notes
*Sourced from [FluentAssertions's releases](https://github.com/fluentassertions/fluentassertions/releases).*
> ## 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)
>
> Kudos to [**peterekepeter**](https://github.com/peterekepeter) and [**jnyrup**](https://github.com/jnyrup) for those fixes.
>
> ## 5.3.0
> * {Fix} Fix String.ContainAll param documentation - [#810](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/810)
> * {Fix} Test framework detection didn't always work under .NET Core 2.0 - [#825](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/825)
> * {New} `MethodImplAttribute` now works with `(Not)BeDecoratedWith` - [#804](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/804)
> * {New} Added support for integral types to `[Not]BeCloseTo` - [#803](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/803)
> * {New} Increased the accuracy of `[Not]BeCloseTo` for `DateTime[Offset]` to `Tick` precision instead of milliseconds - [#820](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/820)
> ... (truncated)
Commits
- [`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
- [`a1673b0`](https://github.com/fluentassertions/fluentassertions/commit/a1673b09cbe4cd9e1510dc8e6728f1bed9002085) Should().Throw and Should().NotThrow throw for Func ([#951](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/951))
- [`a9abfa8`](https://github.com/fluentassertions/fluentassertions/commit/a9abfa8c00d236d61255e3d2a21abc42e0261e0a) Consider types assignable to open generics ([#954](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/954)) ([#955](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/955))
- [`a144189`](https://github.com/fluentassertions/fluentassertions/commit/a144189242ec4bf796041c3292072aca67951938) Selecting members during object graph assertions now honors the declaring typ...
- [`b3b0245`](https://github.com/fluentassertions/fluentassertions/commit/b3b0245a56d1808b68d6fdbbf0ce95073e93d06a) Comparing an object graph against IEnumerable works now as expected ([#911](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/911))
- [`31b959d`](https://github.com/fluentassertions/fluentassertions/commit/31b959dbb75c063754f98489e4da9bf88e173cec) Replace FakeItEasy with custom class ([#959](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/959))
- [`3b3f43a`](https://github.com/fluentassertions/fluentassertions/commit/3b3f43a477946efffd847d2e00e311e22ea69cd7) Update test frameworks ([#958](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/958))
- [`d3c1e23`](https://github.com/fluentassertions/fluentassertions/commit/d3c1e230cc089486a1a5c11c5c3c1db48ab24d4d) Cross-platform compatibility ([#957](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/957))
- Additional commits viewable in [compare view](https://github.com/fluentassertions/fluentassertions/compare/4.19.3...5.5.1)
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.1.
Release notes
*Sourced from [FluentAssertions's releases](https://github.com/fluentassertions/fluentassertions/releases).* > ## 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
- [`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.