Skip to content

V10.7.0/razor enhancement and service update - #169

Merged
gimlichael merged 11 commits into
mainfrom
v10.7.0/razor-enhancement-and-service-update
Aug 12, 2026
Merged

V10.7.0/razor enhancement and service update#169
gimlichael merged 11 commits into
mainfrom
v10.7.0/razor-enhancement-and-service-update

Conversation

@gimlichael

Copy link
Copy Markdown
Member

This pull request updates the release notes for multiple NuGet packages in the Cuemon library to announce version 10.7.0. The primary focus is on upgrading dependencies to their latest compatible versions across all supported target frameworks. Additionally, the Cuemon.AspNetCore.Razor.TagHelpers package introduces several new features and enhancements related to tag helper URL resolution.

Dependency Upgrades

  • All listed packages have had their dependencies upgraded to the latest compatible versions for all supported target frameworks, including .NET 10, .NET 9, and .NET Standard 2.0 where applicable. This is reflected in the release notes for each package. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]

New Features and Enhancements in Razor Tag Helpers

  • Added TagHelperBaseUrlMode enum to control how base URLs are resolved in tag helper options.
  • Introduced automatic base URL resolution to CacheBustingTagHelper via the new ResolveUrl method.
  • Added ViewContext property to CacheBustingTagHelper for access to the current HTTP request context.
  • Extended ImageTagHelper, LinkTagHelper, and ScriptTagHelper to support automatic URL resolution from the current HTTP request when TagHelperBaseUrlMode.Automatic is configured.

aicia-bot and others added 6 commits August 11, 2026 21:09
Enable central package transitive pinning for better dependency resolution across the monorepo. Add Newtonsoft.Json as a conditional package dependency for Cuemon.Core.Tests to support test scenarios.
Document version 10.7.0 release with notes about dependency upgrades to latest compatible versions across all supported target frameworks (.NET 10, .NET 9, and .NET Standard 2.0).
@gimlichael gimlichael self-assigned this Aug 11, 2026
@greptile-apps

greptile-apps Bot commented Aug 11, 2026

Copy link
Copy Markdown

Greptile Summary

The PR adds automatic request-based URL resolution for Razor tag helpers, updates package dependencies and release notes for version 10.7.0, and adds the missing public API documentation requested in the previous review.

  • Introduces configurable and automatic base-URL modes for app- and CDN-scoped tag helpers.
  • Updates image, link, and script tag helpers and their tests.
  • Adds a DocFX type overwrite with configured and automatic usage examples.
  • Updates centralized dependency versions and package release notes.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
.docfx/api/types/Cuemon.AspNetCore.Razor.TagHelpers.TagHelperBaseUrlMode.md Adds the requested DocFX overwrite with realistic examples using valid public APIs and correct expected output.
src/Cuemon.AspNetCore.Razor.TagHelpers/TagHelperOptions.cs Adds request-aware base-URL formatting when automatic resolution is selected and no explicit base URL is configured.
src/Cuemon.AspNetCore.Razor.TagHelpers/CacheBustingTagHelper.cs Integrates request context into URL resolution for cache-busted resources.
src/Cuemon.AspNetCore.Razor.TagHelpers/TagHelperBaseUrlMode.cs Defines the public base-URL resolution modes now covered by the added type documentation.
Directory.Packages.props Updates centrally managed dependency versions for the 10.7.0 release.

Reviews (4): Last reviewed commit: "✅ refactor awaiter timeout tests to use ..." | Re-trigger Greptile

/// Specifies how the base URL of a static resource is resolved.
/// </summary>
public enum TagHelperBaseUrlMode
{

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Document the new public API

TagHelperBaseUrlMode is a new public type, but this change does not add the required per-type DocFX overwrite with a realistic usage example. As a result, the generated API documentation does not show consumers how to configure automatic URL resolution.

Context Used: AGENTS.md (source)

Prompt To Fix With AI
This is a comment left during a code review.
Path: src/Cuemon.AspNetCore.Razor.TagHelpers/TagHelperBaseUrlMode.cs
Line: 6

Comment:
**Document the new public API**

`TagHelperBaseUrlMode` is a new public type, but this change does not add the required per-type DocFX overwrite with a realistic usage example. As a result, the generated API documentation does not show consumers how to configure automatic URL resolution.

**Context Used:** AGENTS.md ([source](https://github.com/codebeltnet/cuemon/blob/main/AGENTS.md))

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Codex

@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.29630% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 94.23%. Comparing base (a4ff6ac) to head (1c242fe).

Files with missing lines Patch % Lines
...on.AspNetCore.Razor.TagHelpers/TagHelperOptions.cs 92.30% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #169   +/-   ##
=======================================
  Coverage   94.22%   94.23%           
=======================================
  Files         604      604           
  Lines       19688    19707   +19     
  Branches     2104     2103    -1     
=======================================
+ Hits        18552    18570   +18     
- Misses       1072     1073    +1     
  Partials       64       64           

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Pages/AppImageTagHelper.cshtml Dismissed
Comment thread test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Pages/AppLinkTagHelper.cshtml Dismissed
Comment thread test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Pages/AppLinkTagHelper.cshtml Dismissed
Comment thread test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Pages/AppLinkTagHelper.cshtml Dismissed
Comment thread test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Pages/AppLinkTagHelper.cshtml Dismissed
Comment thread test/Cuemon.AspNetCore.Razor.TagHelpers.Tests/Pages/AppScriptTagHelper.cshtml Dismissed
@gimlichael
gimlichael merged commit d0da548 into main Aug 12, 2026
323 checks passed
@gimlichael
gimlichael deleted the v10.7.0/razor-enhancement-and-service-update branch August 12, 2026 05:12
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.

3 participants