Skip to content

Chore: update to net10 incl. related packages and removal of Mediatr dependency - #19

Merged
wibevanklaveren merged 3 commits into
masterfrom
chore/wvk/net10
Oct 6, 2026
Merged

wibevanklaveren merged 3 commits into
masterfrom
chore/wvk/net10

Conversation

@wibevanklaveren

Copy link
Copy Markdown
Contributor

update to net10 incl. related packages and removal of Mediatr dependency

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.

Copilot review overview

🟡 Changes recommended

Direct handler injection captures a typed HTTP client for the hosted service’s lifetime, preventing normal factory rotation.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Migrates the solution to .NET 10, refreshes dependencies, and replaces MediatR-based file notifications with direct handler invocation.

Changes:

  • Targets .NET 10 across all projects and publishing configuration.
  • Updates centralized package versions.
  • Removes MediatR and directly registers/invokes the output-file handler.
File Description
Directory.Packages.props Updates dependencies and removes MediatR versions.
global.json Selects the .NET 10 SDK.
publish/​publish-agent.ps1 Publishes for net10.0.
publish/​published-latest-version.txt Advances published version metadata.
src/​QF.BySoft.Entities/​QF.BySoft.Entities.csproj Targets .NET 10.
src/​QF.BySoft.Integration/​QF.BySoft.Integration.csproj Targets .NET 10 and removes MediatR.
src/​QF.BySoft.Integration/​Extensions/​DependencyInjectionExtensions.cs Directly registers the event handler.
src/​QF.BySoft.Integration/​Features/​AgentOutputFile/​AgentOutputFileCreated.cs Removes the MediatR notification interface.
src/​QF.BySoft.Integration/​Features/​AgentOutputFile/​AgentOutputFileCreatedHandler.cs Converts the notification handler to a regular class.
src/​QF.BySoft.Integration/​Features/​AgentOutputFile/​AgentOutputFileWatcherService.cs Invokes the handler directly.
src/​QF.BySoft.LocalData/​QF.BySoft.LocalData.csproj Targets .NET 10.
src/​QF.BySoft.Manufacturability/​QF.BySoft.Manufacturability.csproj Targets .NET 10.
src/​QF.BySoft.Tests/​QF.BySoft.Tests.csproj Targets .NET 10.
src/​QF.Integration.Common/​QF.Integration.Common.csproj Targets .NET 10 and removes MediatR.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

public static void AddFileWatchFeature(this IServiceCollection services)
{
// register agent output file created handler
services.AddTransient<AgentOutputFileCreatedHandler>();
…ctory for handler resolution and add unit tests

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.

Copilot review overview

🟢 Approval recommended

The framework migration and MediatR replacement are consistent across the solution and include focused regression coverage.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)

@wibevanklaveren
wibevanklaveren merged commit eeba569 into master Oct 6, 2026
1 check passed
@wibevanklaveren
wibevanklaveren deleted the chore/wvk/net10 branch October 6, 2026 07:33
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