fluentassertions/fluentassertions (FluentAssertions)
### [`v6.12.1`](https://redirect.github.com/fluentassertions/fluentassertions/releases/tag/6.12.1)
[Compare Source](https://redirect.github.com/fluentassertions/fluentassertions/compare/6.12.0...6.12.1)
#### What's Changed
##### Improvements
- Improve `BeEmpty()` and `BeNullOrEmpty()` performance for `IEnumerable`, by materializing only the first item - [#2530](https://redirect.github.com/fluentassertions/fluentassertions/pull/2530)
##### Fixes
- Fixed formatting error when checking nullable `DateTimeOffset` with `BeWithin(...).Before(...)` - [#2312](https://redirect.github.com/fluentassertions/fluentassertions/pull/2312)
- `BeEquivalentTo` will now find and can map subject properties that are implemented through an explicitly-implemented interface - [#2152](https://redirect.github.com/fluentassertions/fluentassertions/pull/2152)
- Fixed that the `because` and `becauseArgs` were not passed down the equivalency tree - [#2318](https://redirect.github.com/fluentassertions/fluentassertions/pull/2318)
- `BeEquivalentTo` can again compare a non-generic `IDictionary` with a generic one - [#2358](https://redirect.github.com/fluentassertions/fluentassertions/pull/2358)
- Fixed that the `FormattingOptions` were not respected in inner `AssertionScope` - [#2329](https://redirect.github.com/fluentassertions/fluentassertions/pull/2329)
- Capitalize `true` and `false` in failure messages and make them formattable to a custom `BooleanFormatter` - [#2390](https://redirect.github.com/fluentassertions/fluentassertions/pull/2390), [#2393](https://redirect.github.com/fluentassertions/fluentassertions/pull/2393)
- Improved the failure message for `NotBeOfType` when wrapped in an `AssertionScope` and the subject is null - [#2399](https://redirect.github.com/fluentassertions/fluentassertions/pull/2399)
- Improved the failure message for `BeWritable`/`BeReadable` when wrapped in an `AssertionScope` and the subject is read-only/write-only - [#2399](https://redirect.github.com/fluentassertions/fluentassertions/pull/2399)
- Improved the failure message for `ThrowExactly[Async]` when wrapped in an `AssertionScope` and no exception is thrown - [#2398](https://redirect.github.com/fluentassertions/fluentassertions/pull/2398)
- Improved the failure message for `[Not]HaveExplicitProperty` when wrapped in an `AssertionScope` and not implementing the interface - [#2403](https://redirect.github.com/fluentassertions/fluentassertions/pull/2403)
- Improved the failure message for `[Not]HaveExplicitMethod` when wrapped in an `AssertionScope` and not implementing the interface - [#2403](https://redirect.github.com/fluentassertions/fluentassertions/pull/2403)
- Changed `BeEquivalentTo` to exclude `private protected` members from the comparison - [#2417](https://redirect.github.com/fluentassertions/fluentassertions/pull/2417)
- Fixed using `BeEquivalentTo` on an empty `ArraySegment` - [#2445](https://redirect.github.com/fluentassertions/fluentassertions/pull/2445), [#2511](https://redirect.github.com/fluentassertions/fluentassertions/pull/2511)
- `BeEquivalentTo` with a custom comparer can now handle null values - [#2489](https://redirect.github.com/fluentassertions/fluentassertions/pull/2489)
- Ensured that nested calls to `AssertionScope(context)` create a chained context - [#2607](https://redirect.github.com/fluentassertions/fluentassertions/pull/2607)
- One overload of the `AssertionScope` constructor would not create an actual scope associated with the thread - [#2607](https://redirect.github.com/fluentassertions/fluentassertions/pull/2607)
- Fixed `ThrowWithinAsync` not respecting `OperationCanceledException` - [#2614](https://redirect.github.com/fluentassertions/fluentassertions/pull/2614)
- Fixed using `BeEquivalentTo` with an `IEqualityComparer` targeting nullable types - [#2648](https://redirect.github.com/fluentassertions/fluentassertions/pull/2648)
**Full Changelog**: https://github.com/fluentassertions/fluentassertions/compare/6.12.0...6.12.1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
6.12.0
->6.12.1
Release Notes
fluentassertions/fluentassertions (FluentAssertions)
### [`v6.12.1`](https://redirect.github.com/fluentassertions/fluentassertions/releases/tag/6.12.1) [Compare Source](https://redirect.github.com/fluentassertions/fluentassertions/compare/6.12.0...6.12.1) #### What's Changed ##### Improvements - Improve `BeEmpty()` and `BeNullOrEmpty()` performance for `IEnumerableConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.