chore(deps): remove Microsoft.Data.SqlClient transitive pin once EF Core SqlServer floats a patched SqlClient
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 58/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- C#
- Estrelas
- 184
- Forks
- 48
- Merge médio
- 12min
- PRs com merge (30d)
- 21
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de CommunityToolkit/Datasync
-
Examples
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
CommunityToolkit/Datasync#628 ·
Mantenedores costumam responder em até 1 dia
-
Infrastructure
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 57/100
CommunityToolkit/Datasync#627 ·
Mantenedores costumam responder em até 1 dia
-
Infra: move iOS/Mac Catalyst sample CI jobs from macos-15 to macos-26Talvez já em andamento @adrianhall assumiu hoje. AbertaInfrastructure
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
CommunityToolkit/Datasync#622 ·
Mantenedores costumam responder em até 1 dia
-
dependencies Infrastructure
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 25/100
CommunityToolkit/Datasync#618 ·
Mantenedores costumam responder em até 1 dia
-
Blocked dependencies Server
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
CommunityToolkit/Datasync#594 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de CommunityToolkit/Datasync
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
BEagle1984/silverback#280 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 63/100
-
Status: Needs Triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
PSAppDeployToolkit/PSAppDeployToolkit#2392 ·
Mantenedores costumam responder em até 1 dia
-
Playground selection bar: comes back after Apply or scrolling while focus is in the Markdown paneAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
sillsdev/SIL.TextEditing#175 ·
Mantenedores costumam responder em até 1 dia
-
needs attention untriaged
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#3666 ·
Mantenedores costumam responder em até 3 dias