chore(deps): remove Microsoft.Data.SqlClient transitive pin once EF Core SqlServer floats a patched SqlClient
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 58/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- C#
- Étoiles
- 184
- Forks
- 48
- Merge moyen
- 12 min
- PR mergées (30 j)
- 21
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de CommunityToolkit/Datasync
-
Examples
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
CommunityToolkit/Datasync#628 ·
Les mainteneurs répondent en général sous 1 jour
-
Infra: drop the 10.0.107 workload set pin and move iOS/Mac Catalyst sample CI to Xcode 26.5+OuverteInfrastructure
Difficulté 3/5 1-2 jours Accessibilité débutants 57/100
CommunityToolkit/Datasync#627 ·
Les mainteneurs répondent en général sous 1 jour
-
Infra: move iOS/Mac Catalyst sample CI jobs from macos-15 to macos-26Peut-être pris @adrianhall l’a pris aujourd’hui. OuverteInfrastructure
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
CommunityToolkit/Datasync#622 ·
Les mainteneurs répondent en général sous 1 jour
-
dependencies Infrastructure
Difficulté 1/5 Moins d'une heure Accessibilité débutants 25/100
CommunityToolkit/Datasync#618 ·
Les mainteneurs répondent en général sous 1 jour
-
Blocked dependencies Server
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
CommunityToolkit/Datasync#594 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de CommunityToolkit/Datasync
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
BEagle1984/silverback#280 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 63/100
-
Status: Needs Triage
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
PSAppDeployToolkit/PSAppDeployToolkit#2392 ·
Les mainteneurs répondent en général sous 1 jour
-
Playground selection bar: comes back after Apply or scrolling while focus is in the Markdown paneOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
sillsdev/SIL.TextEditing#175 ·
Les mainteneurs répondent en général sous 1 jour
-
needs attention untriaged
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#3666 ·
Les mainteneurs répondent en général sous 3 jours