Updates package versions#49
Conversation
Updates multiple package versions to their latest stable releases, ensuring compatibility and access to the newest features and bug fixes. Specifically updates Microsoft related packages like EntityFrameworkCore, Extensions, AspNetCore as well as Scalar.AspNetCore and others.
WalkthroughAtualizações de versões de pacotes centralizadas em Directory.Packages.props, incluindo upgrades de 9.0.8 para 9.0.9 em EF Core, Microsoft.Extensions.*, OpenAPI e ASP.NET; bump do Scalar.AspNetCore para 2.8.4; adição de Microsoft.NET.Test.Sdk 17.14.1; reordenação de uma entrada do Google.Apis.Gmail.v1 e ajustes de formatação. Changes
Estimated code review effort🎯 2 (Simples) | ⏱️ ~10 minutos Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
Directory.Packages.props (2)
38-38: Alinhar Test SDK com extensions de code coverage.Há
Microsoft.Testing.Extensions.CodeCoverage17.14.2; considere subir oMicrosoft.NET.Test.Sdkpara a mesma série de patch, caso disponível.Proposta:
- <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" /> + <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.2" />Se preferir, posso validar a última versão estável e CVEs via consulta web.
1-5: Recomendação: travar restaurações com lockfile.Para builds reproduzíveis e segurança da cadeia de suprimentos, habilite lockfile no nível central.
Sugestão:
<PropertyGroup> <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> <CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled> + <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> </PropertyGroup>Depois, gere e versione os
packages.lock.json.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
Directory.Packages.props(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Analyze (csharp)
🔇 Additional comments (7)
Directory.Packages.props (7)
6-6: Espaço em branco OK.Sem impacto funcional.
10-10: Reordenação do Gmail API sem efeito.Apenas reorganização; sem mudanças de versão/comportamento.
17-38: Bumps para 9.0.9 (ASP.NET/EF Core/Extensions) parecem coerentes.Bom alinhamento de patch. Garanta que os projetos estejam em net9.0 e que migrações/seed rodem sem warnings.
Sugestões rápidas:
- Rode build/test e um smoke dos contextos EF (migrações, conexão Npgsql).
- Verifique vulnerabilidades pendentes nesses IDs (NuGet): Microsoft.AspNetCore.Authentication.JwtBearer, Microsoft.EntityFrameworkCore., Microsoft.Extensions., Microsoft.NET.Test.Sdk, System.CodeDom, Scalar.AspNetCore.
Posso gerar um script
gh apipara checar CVEs no NuGet se quiser.
43-43: Atualização do Scalar.AspNetCore para 2.8.4.Mudanças recentes podem afetar UI/rotas/opções. Faça um quick check do endpoint de docs e do middleware no Program.cs.
Quer que eu verifique notas de versão e potenciais breaking changes?
52-52: Bump do Microsoft.AspNetCore.Mvc.Testing OK.Mantém paridade com o runtime 9.0.9; boa prática para TestServer.
57-57: Atualização do System.CodeDom OK.Patch update seguro; sem ressalvas.
18-18: Remover pinagem central: Microsoft.AspNetCore.Http.Abstractions v2.3.0 se não houver referênciasEm .NET 5+ esse pacote costuma ser desnecessário (APIs no shared framework) e pode causar conflitos de binding. Ação: remova a pinagem central; reintroduza só se existir um PackageReference explícito que realmente necessite.
- <PackageVersion Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.3.0" />Verificação: o comando anterior retornou "No files were searched". Confirme antes de remover executando no repositório um dos comandos abaixo:
git:
git grep -n "Microsoft.AspNetCore.Http.Abstractions" || truePOSIX (procura em .csproj / props):
find . -type f \( -name '*.csproj' -o -name 'Directory.Packages.props' -o -name '*.props' \) -not -path '*/bin/*' -not -path '*/obj/*' -print0 | xargs -0 grep -n "Microsoft.AspNetCore.Http.Abstractions" || trueou, se preferir ripgrep (force busca ignorando .gitignore):
rg -n --hidden --no-ignore -S 'Microsoft.AspNetCore.Http.Abstractions' -g '!**/bin/**' -g '!**/obj/**' || true
Updates multiple package versions to their latest stable releases, ensuring compatibility and access to the newest features and bug fixes.
Specifically updates Microsoft related packages like EntityFrameworkCore, Extensions, AspNetCore as well as Scalar.AspNetCore and others.
✨
Description by Callstackai
This PR updates multiple package versions to their latest stable releases, ensuring compatibility and access to the newest features and bug fixes, particularly for Microsoft related packages.
Diagrams of code changes
sequenceDiagram participant App participant Auth as Authentication Layer participant Gmail as Gmail Integration participant DB as Database Layer App->>Auth: Add JWT Bearer Authentication Note over Auth: New Package: Microsoft.AspNetCore.Authentication.JwtBearer App->>Gmail: Add Gmail API Support Note over Gmail: New Package: Google.Apis.Gmail.v1 App->>DB: Enhanced Database Capabilities Note over DB: New EF Core 9.0.9 Packages<br/>and PostgreSQL SupportFiles Changed
This PR includes files in programming languages that we currently do not support. We have not reviewed files with the extensions
.props. See list of supported languages.Summary by CodeRabbit