chore(deps): replace FluentAssertions with AwesomeAssertions - #104
Merged
Conversation
FluentAssertions changed licence at v8. Read from the packages themselves: 6.12.2 license expression Apache-2.0 7.2.0 license expression Apache-2.0 8.10.0 license file Xceed Community License The v8 LICENSE limits free use to Non-Commercial Use and states that "any use outside of these parameters requires a paid Commercial License from Xceed". That is a licensing decision rather than a version bump, and it reaches anyone consuming these packages commercially. AwesomeAssertions is the community fork that stayed open source: AwesomeAssertions 9.5.0 license expression Apache-2.0 lib: net47, net6.0, net8.0, netstandard2.0, netstandard2.1 Not a pure drop-in: 9.x renames the root namespace, so using directives and global <Using> entries move with the package. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why not simply take FluentAssertions 8
FluentAssertions changed licence at v8. Read from the packages, not from memory:
<license>From v8's
LICENSEfile:That is a licensing decision rather than a version bump — and because these are published packages, it reaches consumers too.
AwesomeAssertions
The community fork that stayed open source. Verified from the package:
Not a pure drop-in. 9.x renames the root namespace — confirmed by inspecting the assembly, which exports
AwesomeAssertions.Numeric,AwesomeAssertions.PrimitivesandAwesomeAssertions.Executionand contains noFluentAssertionsnamespace. So this PR moves three things together:<PackageReference Include="FluentAssertions" …>→AwesomeAssertions9.5.0<Using Include="FluentAssertions" />→AwesomeAssertionsusing FluentAssertions;→using AwesomeAssertions;The fork tracks the v7/v8 API, so any v6-era call sites rename with it (
BeGreaterOrEqualTo→BeGreaterThanOrEqualTo).Verification
Clean Release build and the full suite for this repo — build exit 0, all test assemblies green, and no test was adjusted beyond the API renames noted above.
🤖 Generated with Claude Code