Skip to content

[Update] lower Microsoft.Extensions.Logging.Abstractions floor to 6.0.0#77

Merged
samatstariongroup merged 1 commit into
developmentfrom
lower-logging-abstractions-floor
Jun 6, 2026
Merged

[Update] lower Microsoft.Extensions.Logging.Abstractions floor to 6.0.0#77
samatstariongroup merged 1 commit into
developmentfrom
lower-logging-abstractions-floor

Conversation

@samatstariongroup
Copy link
Copy Markdown
Member

@samatstariongroup samatstariongroup commented Jun 6, 2026

Summary

The core ReqIFSharp library pinned Microsoft.Extensions.Logging.Abstractions at 10.0.8, but only uses logging APIs that have existed since 6.0.0 (ILogger/ILoggerFactory, CreateLogger<T>, NullLogger<T>, and the Log* message-template extensions).

A PackageReference version is a transitive minimum, so the high floor forced every consumer onto the 10.x line — at odds with the broad reach the netstandard2.0 target is meant to provide. This PR lowers the floor to 6.0.0 while letting NuGet float consumers up when their own graph requires a newer version.

Changes

  • ReqIFSharp/ReqIFSharp.csproj — floor Microsoft.Extensions.Logging.Abstractions at 6.0.0, with an explanatory comment so the low floor isn't "fixed" later by mistake.
  • README.md — new Dependencies section explaining the floor and how .NET 8/10 consumers can float or explicitly pin the dependency.

Verification

  • dotnet build ReqIFSharp/ReqIFSharp.csproj -c Release — succeeds, 0 warnings / 0 errors on netstandard2.0.
  • dotnet list package confirms the dependency resolves at 6.0.0.
  • No source/code changes; build- and test-only dependencies are unaffected (the net10.0 test projects still pull 10.x transitively).

The core library only uses logging APIs present since 6.0.0, yet pinned the floor at 10.0.8. A PackageReference version is a transitive minimum, so the high floor forced every consumer onto the 10.x line and undermined the broad reach of the netstandard2.0 target. Lower the floor to 6.0.0, document the rationale in the csproj, and add a README note explaining how .NET 8/10 consumers can float or pin the dependency.
@samatstariongroup samatstariongroup force-pushed the lower-logging-abstractions-floor branch from 43307bb to b72fed5 Compare June 6, 2026 12:51
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 6, 2026

@samatstariongroup samatstariongroup merged commit bc5ce5a into development Jun 6, 2026
8 checks passed
@samatstariongroup samatstariongroup deleted the lower-logging-abstractions-floor branch June 6, 2026 13:54
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.

1 participant