Skip to content

Updates dependencies to latest versions#39

Merged
jldsilva merged 1 commit into
developmentfrom
Nuget-Packages-Update
Aug 7, 2025
Merged

Updates dependencies to latest versions#39
jldsilva merged 1 commit into
developmentfrom
Nuget-Packages-Update

Conversation

@jldsilva
Copy link
Copy Markdown
Owner

@jldsilva jldsilva commented Aug 7, 2025

Updates NuGet package dependencies to the latest available versions.

This change ensures the project benefits from the latest features,
performance improvements, and security patches provided by the
updated dependencies. It includes updates to MSTest, Entity Framework Core,
Quartz, and other related libraries. Also adds Microsoft.CodeCoverage
package for unit tests projects.

Description by Callstackai

This PR updates various NuGet package dependencies to their latest versions, ensuring the project benefits from the latest features, performance improvements, and security patches. It also adds the Microsoft.CodeCoverage package for unit tests projects.

Diagrams of code changes
sequenceDiagram
    participant API as InvoiceReminder.API
    participant Auth as InvoiceReminder.Authentication
    participant App as InvoiceReminder.Application
    participant Data as InvoiceReminder.Data
    participant Domain as InvoiceReminder.Domain
    participant Jobs as InvoiceReminder.JobScheduler
    participant Services as InvoiceReminder.ExternalServices

    API->>App: References
    API->>Auth: References
    API->>Services: References
    
    Auth->>App: References
    
    App->>Data: References
    App->>Domain: References
    App->>Jobs: References
    
    Data->>Domain: References
    
    Jobs->>Domain: References
    Jobs->>Services: References
    
    Services->>Data: References
Loading
Files Changed
FileSummary
InvoiceReminder.API.UnitTests/InvoiceReminder.API.UnitTests.csprojUpdated MSTest.Sdk to version 3.10.1 and added Microsoft.CodeCoverage package.
InvoiceReminder.API/InvoiceReminder.API.csprojUpdated various package versions to the latest, including Microsoft.AspNetCore.Authentication.JwtBearer and Microsoft.EntityFrameworkCore.
InvoiceReminder.Application.UnitTests/InvoiceReminder.Application.UnitTests.csprojUpdated MSTest.Sdk to version 3.10.1 and added Microsoft.CodeCoverage package.
InvoiceReminder.Application/InvoiceReminder.Application.csprojUpdated various package versions to the latest, including Microsoft.EntityFrameworkCore and Quartz.
InvoiceReminder.ArchitectureTests/InvoiceReminder.ArchitectureTests.csprojUpdated MSTest.Sdk to version 3.10.1 and added Microsoft.CodeCoverage package.
InvoiceReminder.Authentication/InvoiceReminder.Authentication.csprojUpdated package versions to the latest, including Microsoft.EntityFrameworkCore.
InvoiceReminder.CrossCutting.IoC/InvoiceReminder.CrossCutting.IoC.csprojUpdated package versions to the latest, including Microsoft.EntityFrameworkCore.
InvoiceReminder.Data/InvoiceReminder.Data.csprojUpdated package versions to the latest, including Microsoft.EntityFrameworkCore.
InvoiceReminder.Domain/InvoiceReminder.Domain.csprojUpdated package versions to the latest, including Microsoft.Extensions.Configuration.
InvoiceReminder.DomainEntities.UnitTests/InvoiceReminder.DomainEntities.UnitTests.csprojUpdated MSTest.Sdk to version 3.10.1 and added Microsoft.CodeCoverage package.
InvoiceReminder.ExternalServices.UnitTests/InvoiceReminder.ExternalServices.UnitTests.csprojUpdated MSTest.Sdk to version 3.10.1 and added Microsoft.CodeCoverage package.
InvoiceReminder.Infrastructure.UnitTests/InvoiceReminder.Infrastructure.UnitTests.csprojUpdated MSTest.Sdk to version 3.10.1 and added Microsoft.CodeCoverage package.
InvoiceReminder.JobScheduler.UnitTests/InvoiceReminder.JobScheduler.UnitTests.csprojUpdated MSTest.Sdk to version 3.10.1 and added Microsoft.CodeCoverage package.
InvoiceReminder.JobScheduler/InvoiceReminder.JobScheduler.csprojUpdated package versions to the latest, including Microsoft.Extensions.Hosting.
InvoiceReminder.Services/InvoiceReminder.ExternalServices.csprojUpdated package versions to the latest, including Microsoft.EntityFrameworkCore.
InvoiceReminder.UnitTests.Assets/InvoiceReminder.UnitTests.Assets.csprojUpdated System.CodeDom package to version 9.0.8.

This PR includes files in programming languages that we currently do not support. We have not reviewed files with the extensions .csproj. See list of supported languages.

Summary by CodeRabbit

  • Chores
    • Atualização de versões de múltiplos pacotes NuGet em todos os projetos, incluindo Entity Framework Core, MSTest, Quartz, SonarAnalyzer.CSharp e outros.
    • Inclusão do pacote de cobertura de código Microsoft.CodeCoverage em projetos de testes.
    • Reorganização e padronização da ordem dos grupos de referências de projetos e pacotes nos arquivos de configuração dos projetos.
    • Nenhuma alteração em funcionalidades, APIs públicas ou lógica de código.

Updates NuGet package dependencies to the latest available versions.

This change ensures the project benefits from the latest features,
performance improvements, and security patches provided by the
updated dependencies. It includes updates to MSTest, Entity Framework Core,
Quartz, and other related libraries. Also adds Microsoft.CodeCoverage
package for unit tests projects.
@jldsilva jldsilva self-assigned this Aug 7, 2025
@jldsilva jldsilva added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Aug 7, 2025
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Aug 7, 2025

Walkthrough

Os arquivos de projeto (.csproj) de todos os módulos do InvoiceReminder foram atualizados. As mudanças consistem principalmente em atualizações de versões de pacotes NuGet, reorganização dos blocos de referências de projeto e pacote, e adição do pacote Microsoft.CodeCoverage em projetos de teste. Não houve alterações em código-fonte, APIs públicas ou estrutura dos projetos.

Changes

Cohort / File(s) Change Summary
Atualização de dependências em projetos de teste
InvoiceReminder.API.UnitTests/InvoiceReminder.API.UnitTests.csproj, InvoiceReminder.Application.UnitTests/InvoiceReminder.Application.UnitTests.csproj, InvoiceReminder.ArchitectureTests/InvoiceReminder.ArchitectureTests.csproj, InvoiceReminder.DomainEntities.UnitTests/InvoiceReminder.DomainEntities.UnitTests.csproj, InvoiceReminder.ExternalServices.UnitTests/InvoiceReminder.ExternalServices.UnitTests.csproj, InvoiceReminder.Infrastructure.UnitTests/InvoiceReminder.Infrastructure.UnitTests.csproj, InvoiceReminder.JobScheduler.UnitTests/InvoiceReminder.JobScheduler.UnitTests.csproj
Atualização das versões do MSTest SDK e pacotes relacionados de 3.9.3 para 3.10.1, atualização de Microsoft.NET.Test.Sdk, Microsoft.Testing.Extensions.CodeCoverage, Microsoft.Testing.Extensions.TrxReport, e adição do pacote Microsoft.CodeCoverage.
Atualização e reorganização de dependências em projetos de aplicação
InvoiceReminder.API/InvoiceReminder.API.csproj, InvoiceReminder.Application/InvoiceReminder.Application.csproj, InvoiceReminder.Authentication/InvoiceReminder.Authentication.csproj, InvoiceReminder.CrossCutting.IoC/InvoiceReminder.CrossCutting.IoC.csproj, InvoiceReminder.Data/InvoiceReminder.Data.csproj, InvoiceReminder.Domain/InvoiceReminder.Domain.csproj, InvoiceReminder.JobScheduler/InvoiceReminder.JobScheduler.csproj, InvoiceReminder.Services/InvoiceReminder.ExternalServices.csproj
Atualização de versões de pacotes NuGet (principalmente Microsoft.EntityFrameworkCore, Quartz, SonarAnalyzer.CSharp, etc.), reorganização dos blocos de referências de projeto e pacotes para melhor legibilidade, sem mudanças funcionais.
Atualização isolada de dependência
InvoiceReminder.UnitTests.Assets/InvoiceReminder.UnitTests.Assets.csproj
Atualização da versão do pacote System.CodeDom de 9.0.7 para 9.0.8.

Sequence Diagram(s)

(Nenhum diagrama gerado, pois as mudanças são apenas em arquivos de configuração e não afetam o fluxo de controle ou lógica do sistema.)

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutos

Possibly related PRs

  • jldsilva/InvoiceReminder#28: Atualização anterior das versões dos pacotes MSTest e Microsoft.NET.Test.Sdk no mesmo projeto de teste, relacionada por tratar do mesmo conjunto de dependências.
  • jldsilva/InvoiceReminder#30: Atualização anterior do MSTest SDK e pacotes de teste nos mesmos arquivos, mas para versões anteriores às deste PR.

Poem

🐇✨
Pulando entre .csproj, o coelho foi,
Atualizando pacotes, de leve saltou.
MSTest, Quartz e EF, tudo ficou novo,
Cobertura de código chegou de um sopro.
Sem mudar o código, só arrumou a casa,
Agora o build reluz, e o coelho descansa!
🌱💻

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch Nuget-Packages-Update

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🔭 Outside diff range comments (2)
InvoiceReminder.Application.UnitTests/InvoiceReminder.Application.UnitTests.csproj (1)

21-28: Isolar o pacote Microsoft.CodeCoverage para evitar vazamento transitivo

O pacote de cobertura não precisa estar disponível para projetos que referenciam este assembly de testes. Defina PrivateAssets como all para evitar que ele seja restaurado fora deste projeto, reduzindo o tempo de build e mantendo o grafo de dependências mais limpo.

-    <PackageReference Include="Microsoft.CodeCoverage" Version="17.14.1" />
+    <PackageReference Include="Microsoft.CodeCoverage" Version="17.14.1">
+      <PrivateAssets>all</PrivateAssets>
+    </PackageReference>
InvoiceReminder.ExternalServices.UnitTests/InvoiceReminder.ExternalServices.UnitTests.csproj (1)

23-30: Repita a configuração PrivateAssets para o pacote de cobertura

Assim como nos outros projetos de teste, recomenda-se marcar o pacote Microsoft.CodeCoverage como privado.

-    <PackageReference Include="Microsoft.CodeCoverage" Version="17.14.1" />
+    <PackageReference Include="Microsoft.CodeCoverage" Version="17.14.1">
+      <PrivateAssets>all</PrivateAssets>
+    </PackageReference>
🧹 Nitpick comments (7)
InvoiceReminder.API/InvoiceReminder.API.csproj (1)

18-28: Considere centralizar versões em Directory.Packages.props

Os mesmos números de versão aparecem em vários projetos. Centralizar em um arquivo Directory.Packages.props reduz duplicação e facilita upgrades futuros.

InvoiceReminder.JobScheduler.UnitTests/InvoiceReminder.JobScheduler.UnitTests.csproj (1)

20-33: Mesma duplicação de pacotes de cobertura identificada

Assim como nos testes da API, este projeto adiciona Microsoft.CodeCoverage e atualiza Microsoft.Testing.Extensions.CodeCoverage. Recomendo alinhar a estratégia de cobertura para evitar conflitos e reduzir o tempo de restauração.

InvoiceReminder.JobScheduler/InvoiceReminder.JobScheduler.csproj (1)

15-17: Considere adotar Central Package Management

Várias versões idênticas de Microsoft.Extensions.* e SonarAnalyzer.CSharp foram atualizadas em todos os projetos. Avalie mover as versões para um Directory.Packages.props, reduzindo esforço de manutenção futura.

InvoiceReminder.Authentication/InvoiceReminder.Authentication.csproj (1)

15-18: Centralize versões comuns de pacotes

Assim como nos demais projetos, essas mesmas versões aparecem repetidamente. Um Directory.Packages.props eliminaria duplicação.

InvoiceReminder.Application/InvoiceReminder.Application.csproj (1)

25-29: Sugestão: usar Central Package Management

Mesma recomendação que nos outros projetos para minimizar esforço de atualização.

InvoiceReminder.Data/InvoiceReminder.Data.csproj (2)

18-34: EF Core 9.0.8 – gere baseline de migrações

Como este projeto contém design/tools 9.0.8, adicione uma execução do comando abaixo no pipeline CI para prevenir drift de modelo:

dotnet ef migrations script --idempotent --output build/ef.sql

18-34: Considere Directory.Packages.props para versões comuns

Dezenas de referências Microsoft.Extensions.* com a mesma versão aparecem em todo o solution. Centralizar reduzirá ruído em futuros PRs de upgrade.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1a6f33c and 8ee2559.

📒 Files selected for processing (16)
  • InvoiceReminder.API.UnitTests/InvoiceReminder.API.UnitTests.csproj (3 hunks)
  • InvoiceReminder.API/InvoiceReminder.API.csproj (1 hunks)
  • InvoiceReminder.Application.UnitTests/InvoiceReminder.Application.UnitTests.csproj (3 hunks)
  • InvoiceReminder.Application/InvoiceReminder.Application.csproj (1 hunks)
  • InvoiceReminder.ArchitectureTests/InvoiceReminder.ArchitectureTests.csproj (2 hunks)
  • InvoiceReminder.Authentication/InvoiceReminder.Authentication.csproj (1 hunks)
  • InvoiceReminder.CrossCutting.IoC/InvoiceReminder.CrossCutting.IoC.csproj (1 hunks)
  • InvoiceReminder.Data/InvoiceReminder.Data.csproj (1 hunks)
  • InvoiceReminder.Domain/InvoiceReminder.Domain.csproj (1 hunks)
  • InvoiceReminder.DomainEntities.UnitTests/InvoiceReminder.DomainEntities.UnitTests.csproj (2 hunks)
  • InvoiceReminder.ExternalServices.UnitTests/InvoiceReminder.ExternalServices.UnitTests.csproj (3 hunks)
  • InvoiceReminder.Infrastructure.UnitTests/InvoiceReminder.Infrastructure.UnitTests.csproj (3 hunks)
  • InvoiceReminder.JobScheduler.UnitTests/InvoiceReminder.JobScheduler.UnitTests.csproj (3 hunks)
  • InvoiceReminder.JobScheduler/InvoiceReminder.JobScheduler.csproj (1 hunks)
  • InvoiceReminder.Services/InvoiceReminder.ExternalServices.csproj (1 hunks)
  • InvoiceReminder.UnitTests.Assets/InvoiceReminder.UnitTests.Assets.csproj (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 (20)
InvoiceReminder.UnitTests.Assets/InvoiceReminder.UnitTests.Assets.csproj (1)

10-10: Atualização de patch de System.CodeDom parece segura

Upgrade de 9.0.7 → 9.0.8 mantém compatibilidade binária e cumpre o objetivo de manter dependências atualizadas.
Nenhum impacto funcional previsto. 👍

InvoiceReminder.CrossCutting.IoC/InvoiceReminder.CrossCutting.IoC.csproj (2)

18-24: Atualização de pacotes para 9.0.8 parece segura
Mudança estritamente de patch; sem breaking changes conhecidos. Ótimo manter a solução alinhada às últimas correções.


18-24: Verificação de consistência de versões concluída
Não foram encontradas referências à versão 9.0.7 em outros arquivos .csproj, garantindo alinhamento de versões.

InvoiceReminder.Application.UnitTests/InvoiceReminder.Application.UnitTests.csproj (1)

31-34: Verifique a divergência de patch entre extensões de cobertura

Microsoft.Testing.Extensions.CodeCoverage está em 17.14.2, enquanto Microsoft.CodeCoverage ficou em 17.14.1. Normalmente as equipes liberam esses pacotes em pares; misturar versões pode gerar warnings ou comportamentos inesperados no dotnet test /collect:"XPlat Code Coverage".

Confirme se existe uma razão para manter versões diferentes ou alinhe ambas para 17.14.2.

InvoiceReminder.ExternalServices.UnitTests/InvoiceReminder.ExternalServices.UnitTests.csproj (1)

33-36: Divergência de versão entre pacotes de cobertura

Mesma observação do outro projeto: Microsoft.Testing.Extensions.CodeCoverage está em 17.14.2, enquanto Microsoft.CodeCoverage em 17.14.1. Avalie alinhar.

InvoiceReminder.DomainEntities.UnitTests/InvoiceReminder.DomainEntities.UnitTests.csproj (1)

29-33: Alinhamento de versões de cobertura

Novamente, small mismatch 17.14.2 vs 17.14.1. Confirme compatibilidade.

InvoiceReminder.ArchitectureTests/InvoiceReminder.ArchitectureTests.csproj (1)

29-32: Consistência de patch das extensões de cobertura

Mesma inconsistência de patch (17.14.2 vs 17.14.1). Recomendo uniformizar.

InvoiceReminder.API/InvoiceReminder.API.csproj (2)

10-15: Boa reorganização dos ProjectReference

Mover as referências para o início melhora a legibilidade e mantém consistência com os demais projetos.


18-28: Atualização para EF Core 9.0.8 requer alinhamento de provider

Ao atualizar os pacotes Microsoft.EntityFrameworkCore* para 9.0.8 (versão preview), certifique-se de que todos os provedores específicos de banco (ex.: Npgsql.EntityFrameworkCore.PostgreSQL ou Microsoft.EntityFrameworkCore.SqlServer) também estejam na mesma versão 9.0.8. Misturar versões gera falhas em tempo de execução.

Solicito verificar os outros .csproj da solução.

InvoiceReminder.Services/InvoiceReminder.ExternalServices.csproj (1)

20-20: Pacote Microsoft.AspNetCore.Http.Abstractions ainda na versão 2.3.0 em projeto net9.0. Verificar compatibilidade

A versão 2.x desse pacote foi concebida para .NET Core 2.x; não recebe mais correções e contém APIs obsoletas. Manter essa dependência pode introduzir warnings de compatibilidade (“downgrade”) durante o dotnet restore e, em casos extremos, conflitos de binding em runtime.

Avalie atualizar para as APIs atuais (Microsoft.AspNetCore.Http / Microsoft.AspNetCore.App > 8) ou, se a dependência não for necessária, removê-la completamente.

InvoiceReminder.API.UnitTests/InvoiceReminder.API.UnitTests.csproj (1)

24-36: Sobreposição entre Microsoft.CodeCoverage e Microsoft.Testing.Extensions.CodeCoverage

O projeto referencia simultaneamente Microsoft.CodeCoverage (17.14.1) e atualiza Microsoft.Testing.Extensions.CodeCoverage (17.14.2). Estes pacotes fornecem instrumentação de cobertura semelhantes; mantê-los juntos costuma resultar em assemblies duplicados (Microsoft.VisualStudio.CodeCoverage.*) ou mensagens de “duplicate instrumentation”.

Confirme se ambos são realmente necessários; em muitos cenários apenas o Extensions.CodeCoverage já traz o runtime de cobertura.

InvoiceReminder.Infrastructure.UnitTests/InvoiceReminder.Infrastructure.UnitTests.csproj (1)

22-37: Consistência de versões dos pacotes EF Core

Todas as referências foram atualizadas para 9.0.8 – 👍. Apenas garanta que os projetos de produção (ex.: InvoiceReminder.Data, API, etc.) também estejam em 9.0.8 para evitar problemas de assembly mismatch durante execução dos testes.

InvoiceReminder.Domain/InvoiceReminder.Domain.csproj (1)

11-18: Atualização de dependências aprovada

Os bumps para 9.0.8 e SonarAnalyzer 10.15 alinham o projeto às demais camadas; não há alertas adicionais.

InvoiceReminder.JobScheduler/InvoiceReminder.JobScheduler.csproj (2)

10-12: Verifique o caminho do ProjectReference para o ExternalServices

O arquivo referenciado ..\InvoiceReminder.Services\InvoiceReminder.ExternalServices.csproj fica em uma pasta chamada InvoiceReminder.Services, mas o nome do projeto é InvoiceReminder.ExternalServices. Confirme que o caminho relativo está correto e que não houve duplicidade ou referência quebrada após a reorganização dos <ItemGroup>.


15-17: Atualizações de pacotes OK, mas valide compatibilidade do Quartz 3.15.0

O salto de 3.14.0 → 3.15.0 do Quartz costuma ser seguro, porém há ajustes de API menores (p.ex. suporte a time zone provider). Rode a suíte de integração do JobScheduler para garantir que jobs são agendados/recuperados corretamente.

InvoiceReminder.Authentication/InvoiceReminder.Authentication.csproj (2)

11-12: Boa prática: referências de projeto movidas para o topo

Reorganização melhora a legibilidade e segue convenção usada no restante da solução.


15-18: Patch upgrade do EF Core 9.0.8 – execute migrações em staging

Apesar de ser apenas patch, versões x.0.y do EF Core já introduziram alterações de runtime no passado. Gere e aplique migrações em um ambiente de staging antes de promover para produção.

InvoiceReminder.Application/InvoiceReminder.Application.csproj (2)

17-21: Referências duplicadas removidas?

As referências de projeto foram movidas para cima. Confirme que os <ProjectReference> equivalentes foram removidos do bloco original para evitar restauração duplicada.


25-29: Quartz 3.15.0 e Microsoft.Extensions 9.0.8 – revise testes de background jobs

Combinação de Quartz com Microsoft.Extensions.Logging já teve breaking change de DI em versões anteriores. Execute testes de serviço/worker para garantir que injeção de IJobFactory continua funcional.

InvoiceReminder.Data/InvoiceReminder.Data.csproj (1)

10-12: Referência ao domínio movida para cima – 👍

Melhora a clareza da dependência entre projetos.

Comment on lines +23 to 26
<PackageReference Include="Microsoft.CodeCoverage" Version="17.14.1" />
<PackageReference Include="NetArchTest.Rules" Version="1.3.2" />
<PackageReference Include="Shouldly" Version="4.3.0" />
</ItemGroup>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Adicionar PrivateAssets ao pacote de cobertura

-    <PackageReference Include="Microsoft.CodeCoverage" Version="17.14.1" />
+    <PackageReference Include="Microsoft.CodeCoverage" Version="17.14.1">
+      <PrivateAssets>all</PrivateAssets>
+    </PackageReference>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<PackageReference Include="Microsoft.CodeCoverage" Version="17.14.1" />
<PackageReference Include="NetArchTest.Rules" Version="1.3.2" />
<PackageReference Include="Shouldly" Version="4.3.0" />
</ItemGroup>
<PackageReference Include="Microsoft.CodeCoverage" Version="17.14.1">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="NetArchTest.Rules" Version="1.3.2" />
<PackageReference Include="Shouldly" Version="4.3.0" />
</ItemGroup>
🤖 Prompt for AI Agents
In InvoiceReminder.ArchitectureTests/InvoiceReminder.ArchitectureTests.csproj
around lines 23 to 26, the Microsoft.CodeCoverage package reference is missing
the PrivateAssets attribute. Add PrivateAssets="all" to the
Microsoft.CodeCoverage PackageReference to prevent it from being exposed to
projects that consume this project.

Comment on lines +22 to 26
<PackageReference Include="Microsoft.CodeCoverage" Version="17.14.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.8" />
<PackageReference Include="NSubstitute" Version="5.3.0" />
<PackageReference Include="Shouldly" Version="4.3.0" />
</ItemGroup>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Marcar Microsoft.CodeCoverage como ativo apenas localmente

Evite propagar o pacote de cobertura para projetos que referenciam tests assets:

-    <PackageReference Include="Microsoft.CodeCoverage" Version="17.14.1" />
+    <PackageReference Include="Microsoft.CodeCoverage" Version="17.14.1">
+      <PrivateAssets>all</PrivateAssets>
+    </PackageReference>
🤖 Prompt for AI Agents
In
InvoiceReminder.DomainEntities.UnitTests/InvoiceReminder.DomainEntities.UnitTests.csproj
around lines 22 to 26, the Microsoft.CodeCoverage package should be marked as
PrivateAssets="all" to prevent it from propagating to projects that reference
the test assets. Modify the PackageReference for Microsoft.CodeCoverage to
include PrivateAssets="all" so it is only active locally within this test
project.

@jldsilva jldsilva merged commit e987a8c into development Aug 7, 2025
5 checks passed
@jldsilva jldsilva deleted the Nuget-Packages-Update branch August 7, 2025 16:53
@coderabbitai coderabbitai Bot mentioned this pull request Sep 2, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Nov 21, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Dec 5, 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