Skip to content

chore: Update to .NET 8, Newtonsoft.Json 13.0.3, and modernize GitHub Actions workflow#26

Merged
badgerowluke merged 3 commits into
chore/update-dotnet8-newtonsoft-ghafrom
copilot/fix-c65bb5a7-f057-49e6-997a-bb00259c66b6
Aug 26, 2025
Merged

chore: Update to .NET 8, Newtonsoft.Json 13.0.3, and modernize GitHub Actions workflow#26
badgerowluke merged 3 commits into
chore/update-dotnet8-newtonsoft-ghafrom
copilot/fix-c65bb5a7-f057-49e6-997a-bb00259c66b6

Conversation

Copilot AI commented Aug 26, 2025

Copy link
Copy Markdown

This PR completes the modernization of the NoSQLORM solution by updating all dependencies to their latest .NET 8 compatible versions and ensuring the GitHub Actions workflow uses modern actions.

What Changed

Package Updates

Test Project Dependencies:

  • Updated all test framework packages to latest versions (xUnit 2.9.3, FluentAssertions 8.6.0, Moq 4.20.72, etc.)
  • Updated Microsoft.NET.Test.Sdk from 16.5.0 to 17.14.1 for better .NET 8 support
  • Updated code coverage tools (coverlet.msbuild 6.0.4, Microsoft.CodeCoverage 17.14.1)

Main Project Dependencies:

  • Updated Azure SDK packages to latest versions (DocumentDB.Core 2.22.0, Storage.Blob/Queue 11.2.3)
  • Updated Oracle.ManagedDataAccess.Core from 2.18.3 to 23.9.1
  • Updated Microsoft.CSharp to 4.7.0
  • Newtonsoft.Json was already at 13.0.3

Code Fixes

Fixed a compatibility issue with modern xUnit where Assert.ThrowsAsync must be awaited in async test methods.

Why These Changes

The solution was already targeting .NET 8 and using modern GitHub Actions, but many NuGet packages were several years old. These updates ensure:

  • Better compatibility with .NET 8 runtime
  • Latest security updates and bug fixes
  • Modern testing framework features
  • Improved code coverage reporting

Validation

  • ✅ All packages restore successfully
  • ✅ Solution builds without errors
  • ✅ NuGet package creation works correctly
  • ✅ GitHub Actions workflow validated for .NET 8

The remaining runtime identifier warnings from legacy Azure packages are expected but don't affect functionality. All modernization goals have been achieved while maintaining backward compatibility.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits August 26, 2025 00:16
Co-authored-by: badgerowluke <1267861+badgerowluke@users.noreply.github.com>
Co-authored-by: badgerowluke <1267861+badgerowluke@users.noreply.github.com>
Copilot AI changed the title [WIP] chore: update to .NET 8, Newtonsoft.Json 13.0.3, and modernize GitHub Actions workflow chore: Update to .NET 8, Newtonsoft.Json 13.0.3, and modernize GitHub Actions workflow Aug 26, 2025
Copilot AI requested a review from badgerowluke August 26, 2025 00:20
@badgerowluke

Copy link
Copy Markdown
Owner

@copilot can you compare this against latest from trunk one more time and adjust please. we updated the workflow action

Copilot AI commented Aug 26, 2025

Copy link
Copy Markdown
Author

@copilot can you compare this against latest from trunk one more time and adjust please. we updated the workflow action

I've compared against trunk and the GitHub Actions workflow is already in sync - no updates needed there. The workflow actions were already modernized (checkout@v4, setup-dotnet@v4, cache@v4) in trunk.

My changes are the package updates to latest .NET 8 compatible versions and the xUnit compatibility fix. The solution builds successfully with these updates (commit b1b865a).

@badgerowluke badgerowluke marked this pull request as ready for review August 26, 2025 00:40
@badgerowluke badgerowluke merged commit 02a6f3e into chore/update-dotnet8-newtonsoft-gha Aug 26, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants