Release notes
*Sourced from [FluentAssertions's releases](https://github.com/fluentassertions/fluentassertions/releases).*
> ## 5.6.0
> * {New} Provide opt-out to `AssertionOptions(o => o.WithStrictOrdering())` - [#974](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/974)
> * {New} Add collection assertion `ContainEquivalentOf` - [#950](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/950)
> * {New} Add `Should().NotThrowAfter` assertion for actions - [#942](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/942)
>
> Kudos to [**BrunoJuchli**](https://github.com/BrunoJuchli), [**matthiaslischka**](https://github.com/matthiaslischka) and [**frederik-h**](https://github.com/frederik-h) for these amazing additions.
>
> ## 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)
> ... (truncated)
Commits
- [`6cf1d34`](https://github.com/fluentassertions/fluentassertions/commit/6cf1d347ff39170f14755bc1028c2183d86bb61b) Add Should().NotThrowAfter assertion for actions ([#942](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/942))
- [`0702ef4`](https://github.com/fluentassertions/fluentassertions/commit/0702ef403998b3d87abe447e3a2f9875a457ec50) Add collection assertion ContainEquivalentOf ([#950](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/950))
- [`f92c994`](https://github.com/fluentassertions/fluentassertions/commit/f92c994056a5a5849d21f9b93ba99226d1037bb1) API breakage test for IDictionary ([#984](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/984))
- [`31d55a9`](https://github.com/fluentassertions/fluentassertions/commit/31d55a9487d245a4e04654db56271b1fc50ca62c) Provide opt-out to `AssertionOptions(o => o.WithStrictOrdering())` ([#974](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/974))
- [`b442c65`](https://github.com/fluentassertions/fluentassertions/commit/b442c65db044ca564c1c41c8ec2d85007d2abad9) Update examples.md ([#982](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/982))
- [`08d3067`](https://github.com/fluentassertions/fluentassertions/commit/08d30671bfc4dde9b17f90a3082d652652b52ab6) Added auto-ads
- [`aa96583`](https://github.com/fluentassertions/fluentassertions/commit/aa96583536589d3c860e695cdb075089b1cb0f56) Replace private properties with methods ([#981](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/981))
- [`d9030bb`](https://github.com/fluentassertions/fluentassertions/commit/d9030bbb95ee72d072866a8d885c66f0cdf456f8) Relax timing tests ([#980](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/980))
- [`c4ef6e2`](https://github.com/fluentassertions/fluentassertions/commit/c4ef6e280f95df75bab5fb1f8cc0fe34904e07ff) fix typo ([#979](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/979))
- [`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))
- Additional commits viewable in [compare view](https://github.com/fluentassertions/fluentassertions/compare/4.19.3...5.6.0)
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.6.0.
Release notes
*Sourced from [FluentAssertions's releases](https://github.com/fluentassertions/fluentassertions/releases).* > ## 5.6.0 > * {New} Provide opt-out to `AssertionOptions(o => o.WithStrictOrdering())` - [#974](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/974) > * {New} Add collection assertion `ContainEquivalentOf` - [#950](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/950) > * {New} Add `Should().NotThrowAfter` assertion for actions - [#942](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/942) > > Kudos to [**BrunoJuchli**](https://github.com/BrunoJuchli), [**matthiaslischka**](https://github.com/matthiaslischka) and [**frederik-h**](https://github.com/frederik-h) for these amazing additions. > > ## 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
- [`6cf1d34`](https://github.com/fluentassertions/fluentassertions/commit/6cf1d347ff39170f14755bc1028c2183d86bb61b) Add Should().NotThrowAfter assertion for actions ([#942](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/942)) - [`0702ef4`](https://github.com/fluentassertions/fluentassertions/commit/0702ef403998b3d87abe447e3a2f9875a457ec50) Add collection assertion ContainEquivalentOf ([#950](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/950)) - [`f92c994`](https://github.com/fluentassertions/fluentassertions/commit/f92c994056a5a5849d21f9b93ba99226d1037bb1) API breakage test for IDictionary ([#984](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/984)) - [`31d55a9`](https://github.com/fluentassertions/fluentassertions/commit/31d55a9487d245a4e04654db56271b1fc50ca62c) Provide opt-out to `AssertionOptions(o => o.WithStrictOrdering())` ([#974](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/974)) - [`b442c65`](https://github.com/fluentassertions/fluentassertions/commit/b442c65db044ca564c1c41c8ec2d85007d2abad9) Update examples.md ([#982](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/982)) - [`08d3067`](https://github.com/fluentassertions/fluentassertions/commit/08d30671bfc4dde9b17f90a3082d652652b52ab6) Added auto-ads - [`aa96583`](https://github.com/fluentassertions/fluentassertions/commit/aa96583536589d3c860e695cdb075089b1cb0f56) Replace private properties with methods ([#981](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/981)) - [`d9030bb`](https://github.com/fluentassertions/fluentassertions/commit/d9030bbb95ee72d072866a8d885c66f0cdf456f8) Relax timing tests ([#980](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/980)) - [`c4ef6e2`](https://github.com/fluentassertions/fluentassertions/commit/c4ef6e280f95df75bab5fb1f8cc0fe34904e07ff) fix typo ([#979](https://github-redirect.dependabot.com/fluentassertions/fluentassertions/issues/979)) - [`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)) - Additional commits viewable in [compare view](https://github.com/fluentassertions/fluentassertions/compare/4.19.3...5.6.0)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.