Skip to content

🔧 Forge: NuGet Dependency and Framework Modernization#21

Open
tedd wants to merge 1 commit into
mainfrom
forge-modernize-dependencies-5371295483690275410
Open

🔧 Forge: NuGet Dependency and Framework Modernization#21
tedd wants to merge 1 commit into
mainfrom
forge-modernize-dependencies-5371295483690275410

Conversation

@tedd

@tedd tedd commented Jul 1, 2026

Copy link
Copy Markdown
Owner
  • 💡 Target: Core Tedd.SpanUtils package dependencies, test project packages, tool target frameworks (Benchmark/SourceGenerator).
  • 🎯 Execution: System.Memory updated to 4.6.0 and System.Runtime.CompilerServices.Unsafe to 6.1.0 in Tedd.SpanUtils.csproj. Outdated frameworks (net5.0) in tool projects migrated to net8.0. xUnit, BenchmarkDotNet, and Roslyn CodeAnalysis dependencies upgraded to stable versions verified via the NuGet flatcontainer API.
  • 📊 Compatibility Impact: Multi-targeting (net462, netstandard2.0, netstandard2.1, net8.0, net10.0) remains intact. Older consumer compatibility preserved.
  • 🔬 Verification Protocol: dotnet build, dotnet test, dotnet pack, and dotnet format executed across src/Tedd.SpanUtils.sln. Tests pass successfully.
  • 📦 NuGet Package Validation: Explored Tedd.SpanUtils.1.1.0-beta.7.nupkg via unzip -p. Dependency groups verified as strictly partitioned per target framework without leakage.
  • ⚠️ Breaking-Change Assessment: SemVer Patch/Minor. Modernization only bumps dependency constraints; no public API surface changes were made.

PR created automatically by Jules for task 5371295483690275410 started by @tedd

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>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copilot AI review requested due to automatic review settings July 1, 2026 00:54

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 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.Memory and System.Runtime.CompilerServices.Unsafe package versions in the core Tedd.SpanUtils library for legacy targets.
  • Upgraded test dependencies (Microsoft.NET.Test.Sdk, xUnit, runners, coverlet, and Tedd.RandomUtils) and removed the deprecated Microsoft.NETCore.App reference.
  • Migrated internal tool projects (Benchmark, SourceGenerator) from net5.0 to net8.0 and 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.

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