Skip to content

Backport bug fixes to v7#3173

Merged
jnyrup merged 7 commits into
fluentassertions:support-7.0from
jnyrup:v7_backports
Mar 8, 2026
Merged

Backport bug fixes to v7#3173
jnyrup merged 7 commits into
fluentassertions:support-7.0from
jnyrup:v7_backports

Conversation

@jnyrup

@jnyrup jnyrup commented Mar 7, 2026

Copy link
Copy Markdown
Member

This PR backports bug fixes from v8 to v7.

The first two commits are only to fix compiling with .NET 11 SDK

IMPORTANT

  • If the PR touches the public API, the changes have been approved in a separate issue with the "api-approved" label.
  • The code complies with the Coding Guidelines for C#.
  • The changes are covered by unit tests which follow the Arrange-Act-Assert syntax and the naming conventions such as is used in these tests.
  • If the PR adds a feature or fixes a bug, please update the release notes with a functional description that explains what the change means to consumers of this library, which are published on the website.
  • If the PR changes the public API the changes needs to be included by running AcceptApiChanges.ps1 or AcceptApiChanges.sh.
  • If the PR affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
    • Please also run ./build.sh --target spellcheck or .\build.ps1 --target spellcheck before pushing and check the good outcome

CONTRIBUTOR LICENSE GRANT

By submitting this contribution, the contributor hereby irrevocably grants to the project owners and maintainers a perpetual, worldwide, royalty-free, irrevocable license to use, reproduce, modify, distribute, sublicense, and create derivative works of the contribution for any purpose and under any terms, including proprietary licensing.

The contributor waives any moral rights in the contribution to the extent permitted by law and agrees not to assert any claim of authorship or control over the contribution. The contributor represents that they are the sole author of the contribution and that it is provided free of any third-party claims.

The contributor understands and agrees that the maintainers may, at their sole discretion, use, license, or redistribute the contribution as part of any work and under any terms they choose, without further permission or attribution.

  • I have read the Contributor License Grant and accept the conditions
  • I'm interested in a free license for Fluent Assertions and will share my email address through [email protected]

@github-actions

github-actions Bot commented Mar 7, 2026

Copy link
Copy Markdown

Qodana for .NET

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@jnyrup
jnyrup requested a review from dennisdoomen March 7, 2026 16:22
@jnyrup jnyrup added this to the 7.2.2 milestone Mar 7, 2026

@dennisdoomen dennisdoomen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@jnyrup
jnyrup merged commit 16e5b2d into fluentassertions:support-7.0 Mar 8, 2026
5 checks passed
premun pushed a commit to sharpliner/sharpliner that referenced this pull request Mar 16, 2026
Updated
[FluentAssertions](https://github.com/fluentassertions/fluentassertions)
from 7.2.1 to 7.2.2.

<details>
<summary>Release notes</summary>

_Sourced from [FluentAssertions's
releases](https://github.com/fluentassertions/fluentassertions/releases)._

## 7.2.2

<!-- Release notes generated using configuration in .github/release.yml
at support-7.0 -->

## What's Changed
### Fixes
* Fix a formatting exception when `"{}"` is used as a dictionary key by
@​dennisdoomen in
fluentassertions/fluentassertions#3173
* Ensured `WithTracing` is safe when used with `BeEquivalentTo` globally
by @​dennisdoomen in
fluentassertions/fluentassertions#3173
* Fix formatting exception when comparing strings containing braces by
@​dennisdoomen in
fluentassertions/fluentassertions#3173
* Backport `AssertionResultSet` fixes from fluentassertions#​3100 by
@​jnyrup in
fluentassertions/fluentassertions#3173

## Building
* Bump F# to 8.0 to compile with .NET 11 SDK by @​jnyrup in
fluentassertions/fluentassertions#3173

**Full Changelog**:
fluentassertions/fluentassertions@7.2.1...7.2.2

Commits viewable in [compare
view](fluentassertions/fluentassertions@7.2.1...7.2.2).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=FluentAssertions&package-manager=nuget&previous-version=7.2.1&new-version=7.2.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor 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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants