🔧 Forge: NuGet Dependency and Framework Modernization#21
Conversation
Updates outdated dependencies while preserving backwards compatibility across framework targets. Replaces unsupported frameworks in tools/tests with net8.0. - System.Memory -> 4.6.0 - System.Runtime.CompilerServices.Unsafe -> 6.1.0 - Test Frameworks / BenchmarkDotNet / CodeAnalysis -> Latest Stable Co-authored-by: tedd <493224+tedd@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
There was a problem hiding this comment.
Pull request overview
This PR modernizes NuGet dependencies and target frameworks across the Tedd.SpanUtils solution, keeping the core library’s multi-targeting intact while bringing supporting projects (tests/benchmarks/tools) onto maintained package and framework versions.
Changes:
- Updated
System.MemoryandSystem.Runtime.CompilerServices.Unsafepackage versions in the coreTedd.SpanUtilslibrary for legacy targets. - Upgraded test dependencies (Microsoft.NET.Test.Sdk, xUnit, runners, coverlet, and
Tedd.RandomUtils) and removed the deprecatedMicrosoft.NETCore.Appreference. - Migrated internal tool projects (
Benchmark,SourceGenerator) fromnet5.0tonet8.0and added a Forge note documenting the drift/remediation.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Tedd.SpanUtils/Tedd.SpanUtils.csproj | Bumps legacy-target package references for System.Memory and Unsafe while preserving existing multi-targeting. |
| src/Tedd.SpanUtils.Tests/Tedd.SpanUtils.Tests.csproj | Modernizes test SDK/runner/coverage dependencies and removes deprecated runtime package reference. |
| src/Tedd.SpanUtils.SourceGenerator/Tedd.SpanUtils.SourceGenerator.csproj | Moves source generator tooling to net8.0 and updates Roslyn/analyzer packages. |
| src/Tedd.SpanUtils.DotNet4Tests/Tedd.SpanUtils.DotNet4Tests.csproj | Aligns .NET Framework test project dependencies with updated System.Memory, xUnit, and Tedd.RandomUtils. |
| src/Tedd.SpanUtils.Benchmark/Tedd.SpanUtils.Benchmark.csproj | Migrates benchmarks to net8.0 and updates BenchmarkDotNet packages. |
| .jules/forge.md | Adds a Forge log entry describing the identified dependency/framework drift and the intended remediation steps. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Tedd.SpanUtilspackage dependencies, test project packages, tool target frameworks (Benchmark/SourceGenerator).System.Memoryupdated to4.6.0andSystem.Runtime.CompilerServices.Unsafeto6.1.0inTedd.SpanUtils.csproj. Outdated frameworks (net5.0) in tool projects migrated tonet8.0. xUnit, BenchmarkDotNet, and Roslyn CodeAnalysis dependencies upgraded to stable versions verified via the NuGet flatcontainer API.net462,netstandard2.0,netstandard2.1,net8.0,net10.0) remains intact. Older consumer compatibility preserved.dotnet build,dotnet test,dotnet pack, anddotnet formatexecuted acrosssrc/Tedd.SpanUtils.sln. Tests pass successfully.Tedd.SpanUtils.1.1.0-beta.7.nupkgviaunzip -p. Dependency groups verified as strictly partitioned per target framework without leakage.PR created automatically by Jules for task 5371295483690275410 started by @tedd