Update Dependencies#886
Conversation
…rceGenerator.Tests
📝 WalkthroughWalkthroughUpdates to NuGet package versions and minor test assertions across project and test csproj files; small formatting/casing change for PrivateAssets in SourceLink entries and one assertion method name fix in tests. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
5b57d59 to
0e79b2b
Compare
There was a problem hiding this comment.
Pull request overview
This PR updates multiple NuGet package dependencies across the Refitter solution to their latest versions and addresses breaking API changes introduced by FluentAssertions 8.8.0.
Changes:
- Updated Microsoft.SourceLink.GitHub from 8.0.0 to 10.0.102 in Refitter and Refitter.Core projects
- Updated System.Text.Json from 10.0.1 to 10.0.2 across Refitter, Refitter.Tests, and Refitter.SourceGenerator.Tests projects
- Updated FluentAssertions from 7.2.0 to 8.8.0 in both test projects
- Updated TUnit from 1.11.28 to 1.12.53 in both test projects
- Updated Microsoft.OpenApi.Readers from 1.6.22 to 1.6.28 in Refitter.Tests
- Updated Microsoft.Extensions.Http.Polly from 10.0.1 to 10.0.2 in Refitter.SourceGenerator.Tests
- Updated Microsoft.Extensions.Http.Resilience from 10.1.0 to 10.2.0 in Refitter.SourceGenerator.Tests
- Fixed FluentAssertions API changes (renamed methods) in test files
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Refitter/Refitter.csproj | Updated Microsoft.SourceLink.GitHub to 10.0.102 and System.Text.Json to 10.0.2, standardized PrivateAssets casing |
| src/Refitter.Core/Refitter.Core.csproj | Updated Microsoft.SourceLink.GitHub to 10.0.102, standardized PrivateAssets casing |
| src/Refitter.Tests/Refitter.Tests.csproj | Updated FluentAssertions to 8.8.0, Microsoft.OpenApi.Readers to 1.6.28, System.Text.Json to 10.0.2, and TUnit to 1.12.53 |
| src/Refitter.SourceGenerator.Tests/Refitter.SourceGenerator.Tests.csproj | Updated FluentAssertions to 8.8.0, Microsoft.Extensions.Http.Polly to 10.0.2, Microsoft.Extensions.Http.Resilience to 10.2.0, System.Text.Json to 10.0.2, TUnit to 1.12.53, and consolidated ProjectReference formatting |
| src/Refitter.Tests/SwaggerPetstoreMultipleFileTests.cs | Replaced deprecated FluentAssertions methods: HaveCountGreaterOrEqualTo → HaveCountGreaterThanOrEqualTo |
| src/Refitter.Tests/SchemaCleanerTests.cs | Replaced deprecated FluentAssertions method: BeLessOrEqualTo → BeLessThanOrEqualTo |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #886 +/- ##
=======================================
Coverage 93.30% 93.30%
=======================================
Files 23 23
Lines 1389 1389
=======================================
Hits 1296 1296
Misses 46 46
Partials 47 47
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|



Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.