From bcdb338aa2e17939af396f48e3bddcd0f382fd34 Mon Sep 17 00:00:00 2001 From: nieprzecietny Date: Thu, 19 Nov 2026 00:53:31 +0100 Subject: [PATCH] chore(deps): remove the redundant Microsoft.Bcl.Memory reference from 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 --- Directory.Packages.props | 1 - docs-en/Dependencies/index.md | 18 ++++++++++++++++++ docs/Dependencies/index.md | 18 ++++++++++++++++++ .../TailoredApps.Shared.MediatR.ML.csproj | 2 -- 4 files changed, 36 insertions(+), 3 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 42cabb12..b670436a 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -29,7 +29,6 @@ - diff --git a/docs-en/Dependencies/index.md b/docs-en/Dependencies/index.md index 9a5e507e..b0b4117a 100644 --- a/docs-en/Dependencies/index.md +++ b/docs-en/Dependencies/index.md @@ -42,6 +42,24 @@ pwsh ./scripts/New-BumpDocs.ps1 -RecordsPath ./bump-records.json --- +## Manual changes + +Dependency changes made outside the automated bump. + +### 2026-11-19: `Microsoft.Bcl.Memory` removed + +The reference in `TailoredApps.Shared.MediatR.ML` was redundant, so it was removed together with its entry in +`Directory.Packages.props`. The `TailoredApps.Shared.MediatR.ML` package no longer lists it among its dependencies. + +- It 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: the ML packages declare it for + `netstandard2.0` only, and the library itself does not use it. +- `Microsoft.Bcl.Memory` versions follow the runtime generation (`10.0.x`, `11.0.x`) and there was one entry for both + frameworks: the automated bump would have raised it to `11.0.0` for the `net10.0` asset as well. +- After the removal `dotnet list TailoredApps.Shared.slnx package --vulnerable --include-transitive` reports no vulnerable package. + +--- + ## Change log diff --git a/docs/Dependencies/index.md b/docs/Dependencies/index.md index 50c7c361..f33710a7 100644 --- a/docs/Dependencies/index.md +++ b/docs/Dependencies/index.md @@ -42,6 +42,24 @@ pwsh ./scripts/New-BumpDocs.ps1 -RecordsPath ./bump-records.json --- +## Zmiany ręczne + +Zmiany w zależnościach wprowadzone poza automatycznym bumpem. + +### 2026-11-19: usunięto `Microsoft.Bcl.Memory` + +Referencja w `TailoredApps.Shared.MediatR.ML` była nadmiarowa, więc została usunięta razem z wpisem w +`Directory.Packages.props`. Pakiet `TailoredApps.Shared.MediatR.ML` nie wymienia jej już wśród swoich zależności. + +- Dodano ją w marcu 2026 jako przypięcie zależności przechodniej w wersji `9.0.4` (NU1903, GHSA-73j8-2gch-69rq). +- Dla `net10.0` i `net11.0` żaden pakiet w grafie biblioteki jej nie wymaga: pakiety ML deklarują ją tylko dla + `netstandard2.0`, a sama biblioteka z niej nie korzysta. +- Wersje `Microsoft.Bcl.Memory` idą za generacją runtime (`10.0.x`, `11.0.x`), a wpis był jeden dla obu frameworków: + automatyczny bump podniósłby go do `11.0.0` także dla assetu `net10.0`. +- Po usunięciu `dotnet list TailoredApps.Shared.slnx package --vulnerable --include-transitive` nie zgłasza podatnych pakietów. + +--- + ## Dziennik zmian diff --git a/src/TailoredApps.Shared.MediatR.ML/TailoredApps.Shared.MediatR.ML.csproj b/src/TailoredApps.Shared.MediatR.ML/TailoredApps.Shared.MediatR.ML.csproj index 971c9796..b6c280d1 100644 --- a/src/TailoredApps.Shared.MediatR.ML/TailoredApps.Shared.MediatR.ML.csproj +++ b/src/TailoredApps.Shared.MediatR.ML/TailoredApps.Shared.MediatR.ML.csproj @@ -11,8 +11,6 @@ - -