Skip to content

Upgrade to .NET 8 and update all dependencies#15

Merged
craigjbass merged 2 commits intotrunkfrom
copilot/ensure-project-is-up-to-date
Mar 18, 2026
Merged

Upgrade to .NET 8 and update all dependencies#15
craigjbass merged 2 commits intotrunkfrom
copilot/ensure-project-is-up-to-date

Conversation

Copy link
Contributor

Copilot AI commented Mar 18, 2026

Project was pinned to .NET 5 (EOL) with several stale dependencies, including a high severity vulnerability in RestSharp (CVE/GHSA-9pq7-rcxv-47vq — regex injection).

Dependency updates

Package From To
Target framework net5.0 net8.0
LangVersion 8 latest
RestSharp 106.11.7 ⚠️ 114.0.0
FluentAssertions 5.10.3 8.9.0
nunit 3.13.1 4.5.1
NUnit3TestAdapter 3.17.0 6.1.0
Microsoft.NET.Test.Sdk 16.9.4 18.3.0
Newtonsoft.Json 13.0.1 13.0.4

RestSharp v107+ breaking changes in tests

  • IRestResponseRestResponse
  • Method.GET/POSTMethod.Get/Post
  • Timeout moved from RestRequest.Timeout (int ms) to RestClientOptions.Timeout (TimeSpan)
  • Content-Type header now lives in RestResponse.ContentHeaders — header lookups updated to check both Headers and ContentHeaders
  • AddJsonBody(string) no longer JSON-encodes the string; replaced with AddStringBody(JsonConvert.SerializeObject(value), ContentType.Json)
  • HttpStatusCode no longer implicitly comparable to int in FluentAssertions 8.x — explicit casts added

GitHub Actions

  • actions/checkout@v1actions/checkout@v4
  • actions/setup-dotnet@v1actions/setup-dotnet@v4
  • dotnet-version: 5.0.2018.0.x (all three workflows)
Original prompt

This section details on the original issue you should resolve

<issue_title>Ensure project is up to date</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

…ctions

Co-authored-by: craigjbass <1889973+craigjbass@users.noreply.github.com>
Copilot AI changed the title [WIP] Update project to the latest dependencies and standards Upgrade to .NET 8 and update all dependencies Mar 18, 2026
Copilot AI requested a review from craigjbass March 18, 2026 08:10
@craigjbass craigjbass marked this pull request as ready for review March 18, 2026 15:15
@craigjbass craigjbass merged commit ca1d481 into trunk Mar 18, 2026
3 checks passed
@craigjbass craigjbass deleted the copilot/ensure-project-is-up-to-date branch March 18, 2026 15:16
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.

Ensure project is up to date

2 participants