Skip to content

Update Dependencies#886

Merged
christianhelle merged 13 commits into
mainfrom
update-dependencies
Jan 26, 2026
Merged

Update Dependencies#886
christianhelle merged 13 commits into
mainfrom
update-dependencies

Conversation

@christianhelle

@christianhelle christianhelle commented Jan 26, 2026

Copy link
Copy Markdown
Owner
  • Update Microsoft.SourceLink.GitHub to 10.0.102 in Refitter.Core
  • Update Microsoft.SourceLink.GitHub to 10.0.102 in Refitter
  • Update System.Text.Json to 10.0.2 in Refitter
  • Update System.Text.Json to 10.0.2 in Refitter.Tests
  • Update Microsoft.OpenApi.Readers to 1.6.28 in Refitter.Tests
  • Update TUnit to 1.12.53 in Refitter.Tests
  • Update Microsoft.Extensions.Http.Polly to 10.0.2 in Refitter.SourceGenerator.Tests
  • Update Microsoft.Extensions.Http.Resilience to 10.2.0 in Refitter.SourceGenerator.Tests
  • Update System.Text.Json to 10.0.2 in Refitter.SourceGenerator.Tests
  • Update TUnit to 1.12.53 in Refitter.SourceGenerator.Tests

Summary by CodeRabbit

  • Chores
    • Updated development dependencies across projects (source-link tooling, HTTP resilience, JSON serialization, test libraries) to newer compatible versions.
  • Tests
    • Refined and corrected test assertions and removed unused imports to align with updated testing libraries and improve test reliability.

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

Copilot AI review requested due to automatic review settings January 26, 2026 08:07
@coderabbitai

coderabbitai Bot commented Jan 26, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Updates 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

Cohort / File(s) Summary
Core SourceLink & main proj deps
src/Refitter.Core/Refitter.Core.csproj, src/Refitter/Refitter.csproj
Microsoft.SourceLink.GitHub bumped 8.0.0 → 10.0.102; PrivateAssets attribute casing changed (Allall). System.Text.Json bumped 10.0.1 → 10.0.2 in src/Refitter/Refitter.csproj.
SourceGenerator test project deps
src/Refitter.SourceGenerator.Tests/Refitter.SourceGenerator.Tests.csproj
Updated package versions: Microsoft.Extensions.Http.Resilience 10.1.0 → 10.2.0, System.Text.Json 10.0.1 → 10.0.2, TUnit 1.11.28 → 1.12.53, Microsoft.Extensions.Http.Polly 10.0.1 → 10.0.2. Consolidated ProjectReference to single-line form (same attributes).
Test project deps & assertions
src/Refitter.Tests/Refitter.Tests.csproj, src/Refitter.Tests/SchemaCleanerTests.cs, src/Refitter.Tests/SwaggerPetstoreMultipleFileTests.cs
FluentAssertions 7.2.0 → 8.8.0, Microsoft.OpenApi.Readers 1.6.22 → 1.6.28, System.Text.Json 10.0.1 → 10.0.2, TUnit 1.11.28 → 1.12.53. In tests: corrected assertion name to BeLessThanOrEqualTo, removed unused using, and replaced HaveCountGreaterOrEqualTo with HaveCountGreaterThanOrEqualTo.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Add .NET 10 support #822: touches src/Refitter/Refitter.csproj (adds net10 TargetFrameworks) — related at project-configuration level.
  • Nswag 14.6.2 #800: updates System.Text.Json references in csproj files — overlaps dependency changes in this PR.

Poem

🐰
Hop, hop—dependencies tuned and bright,
SourceLink leaps from day to night.
Tests polished with a careful paw,
Versions aligned, a tidy law.
Carrots crunch for CI delight!

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Update Dependencies' directly and accurately summarizes the main change—updating multiple NuGet package versions across the codebase to newer versions.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@christianhelle christianhelle self-assigned this Jan 26, 2026
@christianhelle christianhelle added dependencies Pull requests that update a dependency file .NET Pull requests that contain changes to .NET code labels Jan 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jan 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.30%. Comparing base (388ac6d) to head (fa8023b).
⚠️ Report is 16 commits behind head on main.

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           
Flag Coverage Δ
unittests 93.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@christianhelle
christianhelle merged commit 4c5b53b into main Jan 26, 2026
12 checks passed
@christianhelle
christianhelle deleted the update-dependencies branch January 26, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that contain changes to .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants