Skip to content

chore(deps): remove the redundant Microsoft.Bcl.Memory reference from MediatR.ML - #86

Merged
nieprzecietny merged 1 commit into
masterfrom
chore/remove-bcl-memory-pin
Nov 18, 2026
Merged

nieprzecietny merged 1 commit into
masterfrom
chore/remove-bcl-memory-pin

Conversation

@nieprzecietny

Copy link
Copy Markdown
Member

What

Removes Microsoft.Bcl.Memory from TailoredApps.Shared.MediatR.ML and its PackageVersion from Directory.Packages.props.

Why

  • The reference was added in March 2026 only to pin a transitive dependency that resolved to 9.0.4 (NU1903, GHSA-73j8-2gch-69rq).
  • For net10.0 and net11.0 no package in the library's graph needs it any more: Microsoft.ML.Tokenizers, Microsoft.ML.TorchSharp and Microsoft.ML.AutoML declare it for netstandard2.0 only (already at the patched 9.0.14), and the library does not use it.
  • Its versions follow the runtime generation (10.0.x, 11.0.x), but there was one entry for both frameworks. The automated bump in chore(deps): automated dependency bump #84 raises it to 11.0.0 for the net10.0 asset as well.

Effect

The TailoredApps.Shared.MediatR.ML package no longer lists Microsoft.Bcl.Memory among its dependencies (both framework groups).

Docs

docs/Dependencies/index.md and docs-en/Dependencies/index.md get a "Manual changes" section that records the removal. It sits outside the BUMP-LOG markers, so New-BumpDocs.ps1 does not rewrite it.

Verification

  • After restore the package is gone from project.assets.json of the library and of its tests.
  • dotnet list TailoredApps.Shared.slnx package --vulnerable --include-transitive: no vulnerable package in any project.
  • dotnet build TailoredApps.Shared.slnx: 0 warnings, 0 errors.
  • TailoredApps.Shared.MediatR.ML.Tests: 86 passed, 1 skipped on net10.0 and on net11.0. The full solution test run was left to CI.
  • mkdocs build --strict passes for both configurations.

Follow-up

#84 still changes the removed line, so it has to be regenerated after this is merged.

🤖 Generated with Claude Code

… MediatR.ML

The reference was added in March 2026 to pin a transitive dependency that
resolved to 9.0.4 (NU1903, GHSA-73j8-2gch-69rq). For net10.0 and net11.0 no
package in the library's graph needs it any more: the ML packages declare it
for netstandard2.0 only, and the library does not use it.

Its versions follow the runtime generation while the repository had one entry
for both frameworks, so the automated bump was about to raise it to 11.0.0 for
the net10.0 asset as well.

The dependency page gets a "Manual changes" section, outside the generated
bump log, that records the removal.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@nieprzecietny
nieprzecietny requested a review from a team as a code owner November 18, 2026 23:53
@nieprzecietny
nieprzecietny merged commit 410e76c into master Nov 18, 2026
7 checks passed
@nieprzecietny
nieprzecietny deleted the chore/remove-bcl-memory-pin branch November 18, 2026 23:54
@codecov

codecov Bot commented Nov 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.00%. Comparing base (acdbc11) to head (bcdb338).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
+ Coverage   92.95%   93.00%   +0.04%     
==========================================
  Files         140      140              
  Lines        4869     4000     -869     
  Branches      538      540       +2     
==========================================
- Hits         4526     3720     -806     
+ Misses        216      156      -60     
+ Partials      127      124       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

nieprzecietny added a commit that referenced this pull request Nov 19, 2026
Conflicts in Directory.Packages.props and the two dependency pages. Each file
is master's copy with the bump of this branch applied again by
scripts/Bump-Deps.ps1 and scripts/New-BumpDocs.ps1, so the generated log was
not edited by hand.

The Microsoft.Bcl.Memory bump (10.0.14 -> 11.0.0) is gone with the package,
which #86 removed: the entry of 2026-11-16 lists eight packages instead of nine.
Aspire.Hosting.AppHost, which master added after this bump ran, stays at its
version; the next scheduled run decides about it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant