Skip to content

Conversation

gimlichael
Copy link
Member

@gimlichael gimlichael commented Sep 15, 2025

This pull request is a service update focused on upgrading package dependencies to their latest compatible versions across the project. The changes ensure improved compatibility, stability, and support for .NET 9 and .NET 8 environments.

Dependency Upgrades:

  • Updated multiple package versions in Directory.Packages.props, including Codebelt.Bootstrapper.Web, Codebelt.Extensions.Asp.Versioning, Codebelt.Extensions.Xunit.App, Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json, Microsoft.AspNetCore.OpenApi, and Swashbuckle.AspNetCore to their latest releases.
  • Changed the Docker image in testenvironments.json to use a newer base image version for the Ubuntu test runner, improving environment consistency.
  • Updated the NGINX base image version in .docfx/Dockerfile.docfx to 1.29.1-alpine for improved security and stability.

Documentation Updates:

  • Added release notes for version 9.0.7 in .nuget/Codebelt.Extensions.Swashbuckle.AspNetCore/PackageReleaseNotes.txt, highlighting the dependency upgrades and supported .NET versions.
  • Updated the CHANGELOG.md to include the new 9.0.7 release, describing the focus on package dependency updates.

Summary by CodeRabbit

  • Documentation

    • Added release notes and changelog entry for version 9.0.7, noting it as a service update focused on dependencies and availability for .NET 9 and .NET 8.
  • Chores

    • Upgraded multiple dependencies to latest compatible versions.
    • Updated NGINX base image to 1.29.1-alpine.
    • Refreshed Docker test runner image to the latest patch tag.
    • No functional changes to user-facing behavior.

@gimlichael gimlichael self-assigned this Sep 15, 2025
Copy link

coderabbitai bot commented Sep 15, 2025

Walkthrough

Updates version tags across configuration files: NGINX base image in .docfx Dockerfile, centralized NuGet package versions, test runner Docker image, and corresponding changelog and package release notes entries for version 9.0.7.

Changes

Cohort / File(s) Summary
DocFX Docker Image
.docfx/Dockerfile.docfx
Bumps ARG NGINX_VERSION from 1.29.0-alpine to 1.29.1-alpine; both base and final image references use the new tag.
Package Release Notes
.nuget/Codebelt.Extensions.Swashbuckle.AspNetCore/PackageReleaseNotes.txt
Adds Version 9.0.7 notes (Availability: .NET 9/.NET 8; ALM: dependencies upgraded). Removes dependency change note from 9.0.6.
Changelog
CHANGELOG.md
Adds entry for 9.0.7 (2025-09-15) noting a service update focused on dependencies.
Centralized Package Versions
Directory.Packages.props
Version bumps: Codebelt.Bootstrapper.Web 4.0.3→4.0.4; Codebelt.Extensions.Asp.Versioning 9.0.6→9.0.7; Codebelt.Extensions.Xunit.App 10.0.5→10.0.6; Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json 9.0.8→9.0.9; Microsoft.AspNetCore.OpenApi 9.0.8→9.0.9; Swashbuckle.AspNetCore 9.0.3→9.0.4.
Test Environments
testenvironments.json
Updates Docker-Ubuntu dockerImage from gimlichael/ubuntu-testrunner:net8.0.413-9.0.304 to ...:net8.0.414-9.0.305.

Sequence Diagram(s)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • V9.0.5/service update #12 — Earlier change that added and wired the NGINX_VERSION ARG in .docfx/Dockerfile.docfx, directly related to this version bump.
  • V9.0.2/package maintenance #9 — Prior dependency and test environment updates touching Directory.Packages.props and testenvironments.json, matching this PR’s scope.
  • V9.0.4/service update #11 — Previous PR updating the same .docfx/Dockerfile.docfx NGINX base image tag (different target version).

Poem

A nibble of versions, hop hop hooray,
I polished our packages, tidy as hay.
Docker hums softly, nginx in line,
Tests in new runners, everything fine.
Changelog is stamped—9.0.7’s glow,
A rabbit approves: ship it, let’s go! 🐇✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title "V9.0.7/service update" is concise and includes the release version while indicating an update, which matches the PR's primary purpose of a v9.0.7 service/dependency update across packages, test images, and docs; it is short and clear enough for a teammate scanning history. Although "service update" is somewhat generic, the version tag makes the intent specific and related to the changeset. Therefore the title is appropriately related to the main change.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch v9.0.7/service-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

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

Copy link

@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: 0

🧹 Nitpick comments (4)
CHANGELOG.md (1)

10-12: Add availability line for consistency with release notes.

Consider adding “Availability: .NET 9 and .NET 8” under 9.0.7 to mirror PackageReleaseNotes formatting and keep docs aligned.

 ## [9.0.7] - 2025-09-15

+Availability: .NET 9 and .NET 8
+
 This is a service update that focuses on package dependencies.
.docfx/Dockerfile.docfx (2)

1-17: Base stage cleanup is unused; final stage doesn’t inherit from base.

The HTML cleanup in the base stage never applies to the final image. Either inherit final from base or move the cleanup to final.

-FROM nginx:${NGINX_VERSION} AS final
+FROM base AS final
 WORKDIR /usr/share/nginx/html
 COPY --from=build /build/docfx/wwwroot /usr/share/nginx/html

8-11: Prefer COPY over ADD; reduce context and pin image by digest.

Small hardening/efficiency tweaks.

-ADD [".", "docfx"]
+COPY . docfx

Additional:

  • Add a .dockerignore to avoid copying unnecessary files into the build context.
  • Pin nginx:${NGINX_VERSION} and codebeltnet/docfx:2.78.3 by digest for reproducibility.
  • Optionally run as non-root in final (e.g., USER nginx) if feasible for your hosting.
.nuget/Codebelt.Extensions.Swashbuckle.AspNetCore/PackageReleaseNotes.txt (1)

7-12: Resolve duplication/inconsistency with 9.0.6 entry.

If the intent is to relocate “Dependencies upgraded” to 9.0.7, remove the ALM block from 9.0.6 here to avoid conflicting messages with CHANGELOG.

 Version 9.0.6
 Availability: .NET 9 and .NET 8
 
-# ALM
-- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
+
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1d5dc5c and 8b71c24.

📒 Files selected for processing (5)
  • .docfx/Dockerfile.docfx (1 hunks)
  • .nuget/Codebelt.Extensions.Swashbuckle.AspNetCore/PackageReleaseNotes.txt (1 hunks)
  • CHANGELOG.md (1 hunks)
  • Directory.Packages.props (1 hunks)
  • testenvironments.json (1 hunks)
🔇 Additional comments (4)
.nuget/Codebelt.Extensions.Swashbuckle.AspNetCore/PackageReleaseNotes.txt (1)

1-6: LGTM: Clear 9.0.7 note.

Directory.Packages.props (2)

13-13: Consider pinning Swashbuckle/OpenAPI minors together across repos.

Not a blocker; just ensure any consumers relying on generated OpenAPI docs are validated against Swashbuckle.AspNetCore 9.0.4 + Microsoft.AspNetCore.OpenApi 9.0.9 combination.


6-10: LGTM — central package versions verified; no per-project Version overrides found. Directory.Packages.props enables ManagePackageVersionsCentrally and lists the updated versions; project files contain PackageReference entries without Version attributes, so the central versions will be applied.

testenvironments.json (1)

12-12: Ensure .NET SDK versions match testenvironments.json image (8.0.414 & 9.0.305).
No global.json found in the repo — add/update global.json or pin CI job SDKs to 8.0.414 and 9.0.305 to match testenvironments.json dockerImage "gimlichael/ubuntu-testrunner:net8.0.414-9.0.305" (File: testenvironments.json, line 12).

Copy link

codecov bot commented Sep 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.81%. Comparing base (1d5dc5c) to head (8b71c24).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #14   +/-   ##
=======================================
  Coverage   84.81%   84.81%           
=======================================
  Files          11       11           
  Lines         237      237           
  Branches        9        9           
=======================================
  Hits          201      201           
  Misses         36       36           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

@gimlichael gimlichael merged commit fe0e3dc into main Sep 15, 2025
35 of 41 checks passed
@gimlichael gimlichael deleted the v9.0.7/service-update branch September 15, 2025 22:02
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