Skip to content

Updates package versions#49

Merged
jldsilva merged 1 commit into
developmentfrom
Update-Packages
Sep 17, 2025
Merged

Updates package versions#49
jldsilva merged 1 commit into
developmentfrom
Update-Packages

Conversation

@jldsilva

@jldsilva jldsilva commented Sep 17, 2025

Copy link
Copy Markdown
Owner

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 Support
Loading
Files Changed
FileSummary
Directory.Packages.propsUpdated package versions for various Microsoft and other related packages.

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

  • Chores
    • Atualização de dependências para estabilidade e compatibilidade: EF Core 9.0.9, Microsoft.Extensions.* 9.0.9, OpenAPI 9.0.9, System.CodeDom 9.0.9, Microsoft.AspNetCore.Mvc.Testing 9.0.9, Scalar.AspNetCore 2.8.4.
  • Tests
    • Adicionado Microsoft.NET.Test.Sdk 17.14.1 para melhorar a execução dos testes.
  • Style
    • Ajustes mínimos de formatação (linhas em branco, nova linha ao final) e reorganização não funcional de uma entrada de pacote.

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.
@jldsilva jldsilva self-assigned this Sep 17, 2025
@jldsilva jldsilva added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Sep 17, 2025
@coderabbitai

coderabbitai Bot commented Sep 17, 2025

Copy link
Copy Markdown

Walkthrough

Atualizaçõ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

Cohort / File(s) Summary
EF Core
Directory.Packages.props
Atualização de Microsoft.EntityFrameworkCore* 9.0.8 → 9.0.9 (Core, Design, InMemory, Relational, Sqlite, Tools).
Microsoft.Extensions.*
Directory.Packages.props
Atualização de Microsoft.Extensions.* 9.0.8 → 9.0.9 (Configuration, Abstractions, Binder, EnvironmentVariables, FileExtensions, UserSecrets, DependencyInjection.Abstractions, Hosting, Hosting.Abstractions, Logging, Logging.Abstractions, Options).
ASP.NET & OpenAPI
Directory.Packages.props
Microsoft.AspNetCore.Authentication.JwtBearer 9.0.8 → 9.0.9; Microsoft.AspNetCore.OpenApi 9.0.8 → 9.0.9; Microsoft.AspNetCore.Mvc.Testing 9.0.8 → 9.0.9.
Ferramentas/Infra
Directory.Packages.props
Microsoft.NET.Test.Sdk adicionado na versão 17.14.1; System.CodeDom 9.0.8 → 9.0.9.
Scalar
Directory.Packages.props
Scalar.AspNetCore 2.7.2 → 2.8.4.
OpenAPI auxiliar
Directory.Packages.props
Reordenação de Google.Apis.Gmail.v1 dentro do mesmo ItemGroup (sem alteração de versão).
Formatação
Directory.Packages.props
Espaços em branco e nova linha final adicionados.

Estimated code review effort

🎯 2 (Simples) | ⏱️ ~10 minutos

Possibly related PRs

Poem

Saltito entre props e versões no ar,
Coelhos numeram: 9.0.9 a brilhar. ✨
Chega o Test.Sdk para testar,
Scalar pula para 2.8.4 sem parar.
Pacotes ordenados, prontos pra rodar—
meu nariz mexe: hora de integrar! 🐇

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title Check ✅ Passed O título "Updates package versions" é curto e descreve claramente a mudança principal do PR — a atualização de múltiplos pacotes (conforme Directory.Packages.props), portanto está diretamente relacionado ao conjunto de mudanças. Ele é conciso, não contém ruído como emojis ou listas de arquivos e permite que um colega entenda rapidamente o propósito do PR. Não precisa cobrir todos os detalhes do conjunto de mudanças para ser adequado como título.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch Update-Packages

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
Directory.Packages.props (2)

38-38: Alinhar Test SDK com extensions de code coverage.

Microsoft.Testing.Extensions.CodeCoverage 17.14.2; considere subir o Microsoft.NET.Test.Sdk para 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

📥 Commits

Reviewing files that changed from the base of the PR and between 897bd02 and 37e6ea8.

📒 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 api para 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ências

Em .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" || true

POSIX (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" || true

ou, se preferir ripgrep (force busca ignorando .gitignore):

rg -n --hidden --no-ignore -S 'Microsoft.AspNetCore.Http.Abstractions' -g '!**/bin/**' -g '!**/obj/**' || true

@jldsilva jldsilva merged commit c149202 into development Sep 17, 2025
5 checks passed
@jldsilva jldsilva deleted the Update-Packages branch September 17, 2025 19:16
@coderabbitai coderabbitai Bot mentioned this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant