chore(deps): remove Microsoft.Data.SqlClient transitive pin once EF Core SqlServer floats a patched SqlClient
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 58/100
Rechercherichtung
Read the Directory.Packages.props pin and the issue's linked background in #602 / PR #609. Test a candidate EFCoreVersion with the pin temporarily removed, then run dotnet nuget why Datasync.Toolkit.sln System.Security.Cryptography.Pkcs and the vulnerable package check. Done when a patched SqlClient is floated, the pin and comment are removed, and the listed restore, build, and test checks pass.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Part of the outdated-package sweep (#587-#594). Follow-up to #602 / PR #609.
Background
#602 added an explicit transitive pin in the root Directory.Packages.props:
<PackageVersion Include="Microsoft.Data.SqlClient" Version="6.1.8" />
Microsoft.EntityFrameworkCore.SqlServer 10.0.14 floats Microsoft.Data.SqlClient 6.1.7, which depends on System.Security.Cryptography.Pkcs 9.0.11 (GHSA-846f-f764-76mx, GHSA-2fmv-rv2c-59x7; fixed in 9.0.21 / 10.0.13). The pin is a workaround and should not live forever.
Task
Remove the Microsoft.Data.SqlClient pin (and its explanatory comment) once a Microsoft.EntityFrameworkCore.SqlServer release floats a Microsoft.Data.SqlClient that is not affected, i.e. one that depends on System.Security.Cryptography.Pkcs >= 9.0.21 (net9.0 group) / >= 10.0.13.
How to check
- Bump
EFCoreVersion(or test a candidate version) and rundotnet nuget why Datasync.Toolkit.sln System.Security.Cryptography.Pkcswith the pin temporarily removed. - If the resolved
Pkcsis >= 9.0.21 and the resolvedMicrosoft.Data.SqlClientis >= 6.1.8, the pin is no longer needed.
Acceptance criteria
- Pin and comment removed from
Directory.Packages.props. dotnet restoreshows noNU1901-NU1904warnings.dotnet list Datasync.Toolkit.sln package --vulnerable --include-transitivereports nothing.dotnet build && dotnet testpass (Docker running for the SQL Server Testcontainers suite);build-library.ymlgreen.- Suggested PR title:
chore(deps): remove Microsoft.Data.SqlClient transitive pin.
- Vorherrschende Sprache
- C#
- Sterne
- 184
- Forks
- 48
- Ø Merge
- 12 Min.
- Gemergte PRs (30 T.)
- 21
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CommunityToolkit/Datasync
-
Examples
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
CommunityToolkit/Datasync#628 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Infrastructure
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 57/100
CommunityToolkit/Datasync#627 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Infra: move iOS/Mac Catalyst sample CI jobs from macos-15 to macos-26Evtl. vergeben @adrianhall hat das heute übernommen. OffenInfrastructure
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
CommunityToolkit/Datasync#622 ·
Maintainer antworten meist innerhalb von 1 Tag
-
dependencies Infrastructure
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 25/100
CommunityToolkit/Datasync#618 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Blocked dependencies Server
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
CommunityToolkit/Datasync#594 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in CommunityToolkit/Datasync
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
BEagle1984/silverback#280 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 63/100
-
Status: Needs Triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
PSAppDeployToolkit/PSAppDeployToolkit#2392 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Playground selection bar: comes back after Apply or scrolling while focus is in the Markdown paneOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
sillsdev/SIL.TextEditing#175 ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs attention untriaged
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#3666 ·
Maintainer antworten meist innerhalb von 3 Tagen