chore(deps): pin FluentAssertions to 6.12.0 to keep packages MIT-licensed#34
Merged
Conversation
FluentAssertions 7.x+ moved to a commercial (Xceed) license; 6.12.0 is the last MIT-licensed release. The published RP2040Sharp.TestKit package took a transitive dependency on 8.8.0, so consumers inherited the non-MIT license. - Pin FluentAssertions to 6.12.0 in TestKit, unit tests, and integration tests. - Port the custom assertions (CortexM0/Gpio/UartProbe) back to the 6.x extension model: constructor without AssertionChain, using Execute.Assertion instead. Tests: 445 unit + 149 integration green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <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.
Description
FluentAssertions 7.x and later moved to a commercial
Xceed license; 6.12.0 is the last
MIT-licensed release. The published
RP2040Sharp.TestKitpackage took a transitivedependency on FluentAssertions 8.8.0, which would impose non-MIT terms on anyone
consuming the TestKit. This PR pins FluentAssertions back to 6.12.0 so the whole
dependency graph stays MIT-compatible.
Changes
FluentAssertionsto6.12.0inRP2040.TestKit,RP2040Sharp.Tests, andRP2040Sharp.IntegrationTests.CortexM0Assertions,GpioAssertions,UartProbeAssertions) back to the FluentAssertions 6.x extension model — constructorwithout
AssertionChain, usingExecute.Assertioninstead of the 8.x chain object.1.0.0-rc.2entry toCHANGELOG.md.No functional or API changes to the emulator itself. The packed
RP2040Sharp.TestKitnuspec now declaresFluentAssertions 6.12.0.Tests: 445 unit + 149 integration — all green.
Type of change
Checklist
dotnet test)Screenshots / Hex Dumps (Optional)