Skip to content

chore(deps): update NuGet dependencies#71

Open
deniswsrosa wants to merge 1 commit into
mainfrom
chore/dependency-update-20260706-t_a3ee8a84
Open

chore(deps): update NuGet dependencies#71
deniswsrosa wants to merge 1 commit into
mainfrom
chore/dependency-update-20260706-t_a3ee8a84

Conversation

@deniswsrosa

Copy link
Copy Markdown

Summary

  • Updates direct NuGet dependencies for the ASP.NET 8 Minimal API quickstart.
  • Aggregates/supersedes the currently open Dependabot bumps for Couchbase, FluentValidation, Microsoft.AspNetCore.Mvc.Testing, and coverlet, while also updating other stale direct packages.
  • Keeps the project on net8.0 and preserves dotnet/NuGet package management.

Hermes Kanban task: t_a3ee8a84

Updated dependencies

Ecosystem Dependency Previous Updated Type Notes
NuGet Couchbase.Extensions.DependencyInjection 3.7.0 3.9.3 production Direct stable update; also aligns CouchbaseNetClient dependency.
NuGet CouchbaseNetClient 3.7.0 3.9.3 production Direct stable update; resolves the NU1902 advisory reported for 3.7.0 during restore.
NuGet FluentValidation 11.10.0 12.1.1 production Major stable update; local build/tests pass.
NuGet FluentValidation.DependencyInjectionExtensions 11.9.2 12.1.1 production Major stable update matching FluentValidation.
NuGet Microsoft.AspNetCore.OpenApi 8.0.15 8.0.22 production/test Kept on latest 8.x to respect net8.0 and CI setup-dotnet 8.0.x.
NuGet Swashbuckle.AspNetCore 6.5.0 6.9.0 production Latest stable 6.x. Higher majors pull Microsoft.OpenApi v2 changes and are not a conservative drop-in for the current code.
NuGet Microsoft.NET.Test.Sdk 17.13.0 18.7.0 test Direct stable update.
NuGet Microsoft.AspNetCore.Mvc.Testing 8.0.6 8.0.22 test Kept on latest 8.x to respect net8.0 and CI setup-dotnet 8.0.x.
NuGet xunit.runner.visualstudio 3.0.2 3.1.5 test Direct stable update.
NuGet coverlet.collector 6.0.2 10.0.1 test Direct stable update.

Validation

Commands run:

dotnet restore Couchbase.TravelSample.sln
cd src/Couchbase.TravelSample && dotnet build --configuration Debug --no-restore

# The host initially only had .NET 10 runtime, so .NET 8 SDK/runtime were installed locally under /home/ubuntu/.dotnet8 for net8 test execution.
export DOTNET_ROOT=/home/ubuntu/.dotnet8
export PATH=/home/ubuntu/.dotnet8:$PATH

# Integration-test dependency: local throwaway Couchbase container with travel-sample bucket loaded.
export DB_CONN_STR=couchbase://<local-couchbase-container-ip>
export DB_USERNAME=Administrator
export DB_PASSWORD=<local-test-password>
cd src/Couchbase.TravelSample.Tests && timeout 120 dotnet test --no-build --verbosity normal

dotnet test Couchbase.TravelSample.sln --verbosity normal

Outcomes:

  • Restore: passed.
  • Build: passed with 0 warnings and 0 errors.
  • Suggested no-build test: passed, 35/35 tests.
  • Full dotnet test: passed, 35/35 tests.

Evidence status

Evidence Status Notes
Browser evidence not_applicable This is a dependency-only PR; integration tests exercise the ASP.NET API via WebApplicationFactory.
Swagger/OpenAPI evidence not_applicable No running browser/API evidence requested beyond the existing integration suite.
Integration tests passed Ran against a local Couchbase Docker container with the travel-sample bucket loaded.

Risk notes

  • FluentValidation is a major update (11.x to 12.x); the existing validation registration and integration tests pass unchanged.
  • Swashbuckle was intentionally limited to 6.9.0. Attempting the latest 10.x line produced Microsoft.OpenApi v2 compile incompatibilities with the current code, so this PR avoids that manual migration.
  • Microsoft.AspNetCore.* package updates were constrained to 8.0.22 because the repository targets net8.0 and CI installs .NET 8.
  • Existing Dependabot PRs cover subsets of these updates; this PR is an aggregate validated update rather than a duplicate of any one Dependabot PR.

Rollback

Revert this PR to restore the previous NuGet PackageReference versions.

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request updates various NuGet package dependencies in both the main project and the test project to their newer versions, including Couchbase, FluentValidation, Microsoft.AspNetCore, and xunit runner packages. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant