Skip to content

🔧 Forge: NuGet Dependency and Framework Modernization#1

Merged
tedd merged 3 commits into
mainfrom
forge/nuget-modernization-6249327607548631180
Jun 17, 2026
Merged

🔧 Forge: NuGet Dependency and Framework Modernization#1
tedd merged 3 commits into
mainfrom
forge/nuget-modernization-6249327607548631180

Conversation

@tedd

@tedd tedd commented Jun 1, 2026

Copy link
Copy Markdown
Owner
  • 💡 Target: Tedd.ObjectPool target frameworks, tests dependencies, benchmark dependencies, package metadata, nullability validation.
  • 🎯 Execution: Added net8.0 and net9.0 explicit targets, upgraded testing tools (xunit, coverlet) and benchmarking tools (BenchmarkDotNet) to latest. Implemented conditional compilation #if NET8_0_OR_GREATER in hot paths. Fixed strict nullability (#nullable enable).
  • 📊 Compatibility Impact: Preserved netstandard2.0. Explicitly added net8.0 and net9.0. Total backward source and binary compatibility for legacy consumers intact.
  • 🔬 Verification Protocol: Executed dotnet build, dotnet test -f net8.0, dotnet pack -c Release, dotnet format --verify-no-changes.
  • 📦 NuGet Package Validation: Verified multi-targeting generated three assembly DLLs (netstandard2.0, net8.0, net9.0) inside Tedd.ObjectPool.2.0.0.nupkg under lib/.
  • ⚠️ Breaking-Change Assessment: This is a SemVer MINOR update as it introduces explicitly newer TargetFramework bindings and optimizations without removing legacy compatibility.

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

* Added `net8.0` and `net9.0` to `TargetFrameworks` in all projects
* Updated dependencies to the latest stable versions
* Used conditional compilation for `ArgumentOutOfRangeException.ThrowIfLessThan` and `ArgumentNullException.ThrowIfNull` on NET8+ targets
* Fixed nullability warnings in tests and legacy benchmarks
* Created `.jules/forge.md` for modernization logging

Co-authored-by: tedd <[email protected]>
@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 June 1, 2026 00:15

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

Modernizes the Tedd.ObjectPool solution by multi-targeting newer .NET TFMs, updating test/benchmark dependencies, and tightening argument/nullability validation while preserving netstandard2.0 compatibility.

Changes:

  • Multi-targeted the main library to netstandard2.0;net8.0;net9.0 and updated tests/benchmarks to include net9.0.
  • Added conditional argument validation using .NET 8+ throw helpers in hot-path APIs.
  • Addressed nullability warnings in tests and legacy benchmark code.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/Tedd.ObjectPool/Tedd.ObjectPool.csproj Multi-targets the library for netstandard2.0 + modern .NET TFMs.
src/Tedd.ObjectPool/ObjectPool.cs Uses .NET 8+ throw helpers via conditional compilation; minor validation refactor.
src/Tedd.ObjectPool.Tests/Tedd.ObjectPool.Tests.csproj Multi-targets tests; upgrades xUnit/test tooling packages.
src/Tedd.ObjectPool.Tests/ObjectPoolTests.cs Adjusts tests for strict nullability (DummyObject?[] + null-forgiving).
src/Tedd.ObjectPool.Benchmarks/Tedd.ObjectPool.Benchmarks.csproj Multi-targets benchmarks; upgrades BenchmarkDotNet and dependencies.
src/Tedd.ObjectPool.Benchmarks/Legacy/ObjectPool1.cs Updates nullability annotations in legacy benchmark implementation.
.jules/forge.md Adds Forge tracking notes (currently with formatting issue).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .jules/forge.md Outdated
@tedd
tedd merged commit 9309ced into main Jun 17, 2026
2 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