Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .docfx/Dockerfile.docfx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
FROM --platform=$BUILDPLATFORM nginx:${NGINX_VERSION} AS base
RUN rm -rf /usr/share/nginx/html/*

FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2.78.4 AS build
FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2.78.5 AS build

ADD [".", "docfx"]

Expand Down
50 changes: 50 additions & 0 deletions .github/prompts/nuget-pouplate.prompt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
mode: agent
description: 'Prompt for populating commits to PackageReleaseNotes.txt files under .nuget/**'
---

Purpose: deterministic, low-analysis instructions so automated runs populate release-note change bullets for the current unreleased version block.

Behavior (exact):
- For every file matching `.nuget/**/PackageReleaseNotes.txt`:
1. Read line 1 and extract `current-version` from `Version: x.y.z` (strict semantic version format).
2. Find the next line below line 1 that matches `Version:` and extract `previous-version` from `Version: x.y.z`.
3. If either version cannot be extracted, do nothing for that file.
4. Define the editable range as the lines after the first `Availability:` line in the current block and before the next `Version:` match (`previous-version`).
5. Resolve release anchor tag by matching `previous-version` to git tag `v<previous-version>` first, then `<previous-version>`.
6. If neither tag exists, do nothing for that file.
7. Collect commits for that package from `tag(previous-version)..HEAD` using path scope derived from the package name:
- Package name = folder name under `.nuget/` for the file.
- Primary source path scope: `src/<PackageName>/**`.
8. Convert commits to release-note bullets using the existing release-note style and headings in that file.
9. Replace only the change-content area inside the current block range:
- Keep `Version:` and `Availability:` unchanged.
- Keep `# ALM` section untouched if already present.
- Populate or update `# New Features`, `# Improvements`, and `# Bug Fixes` as needed.
- Do not modify any content outside the current block range.
10. Save the file in-place and continue to the next file.

Transformation rules (strict):
- Use heading names exactly: `# New Features`, `# Improvements`, `# Bug Fixes`.
- Use bullet style exactly: `- <VERB> <summary>` where `<VERB>` is uppercase and one of `ADDED`, `EXTENDED`, `CHANGED`, `OPTIMIZED`, `FIXED`, `REMOVED`.
- Keep one bullet per logical change; deduplicate repeated commit messages.
- Prefer imperative, product-facing summaries over raw commit text.
- Mention concrete type/member names and namespace when identifiable, matching existing tone.
- Preserve NBSP-only spacer lines (`U+00A0`) between sections.
- Alaways end with a newline followed by spacer lines (`U+00A0`) between sections.
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Fix typo in strict rule wording (Line 34).

“Alaways” should be “Always” to avoid ambiguity in an instruction marked as strict.

✏️ Proposed fix
-- Alaways end with a newline followed by spacer lines (`U+00A0`) between sections.
+- Always end with a newline followed by spacer lines (`U+00A0`) between sections.
📝 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
- Alaways end with a newline followed by spacer lines (`U+00A0`) between sections.
- Always end with a newline followed by spacer lines (`U+00A0`) between sections.
🧰 Tools
🪛 LanguageTool

[grammar] ~34-~34: Ensure spelling is correct
Context: ...er lines (U+00A0) between sections. - Alaways end with a newline followed by spacer l...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/prompts/nuget-pouplate.prompt.md at line 34, Fix the typo in the
strict rule wording by replacing the misspelled token "Alaways" with "Always" in
the sentence "Alaways end with a newline followed by spacer lines (`U+00A0`)
between sections." Ensure the corrected wording reads "Always end with a newline
followed by spacer lines (`U+00A0`) between sections." and keep the surrounding
punctuation and formatting unchanged.

- Do not reorder historical sections and do not rewrite previous version blocks.

Tag and range rules:
- The comparison baseline is always `previous-version` (the next `Version:` in the same file), not `current-version`.
- Commit range is `tag(previous-version)..HEAD`.
- Ignore merge commits unless they contain meaningful release-note content not present in child commits.
- If range contains no relevant commits for the scoped paths, leave the current block unchanged.

Notes:
- Do not infer target versions from changelog text; parse only explicit `Version: x.y.z` lines.
- Keep edits minimal and strictly inside the current version block.
- DO NOT REMOVE THE ASCII 0xA0 NBSP CHARACTERS OR RUN ANY SORT OF TRIM on spacer lines.
- Do not open PRs or create branches.

Example run command (agent):
`run: /nuget-populate`
139 changes: 0 additions & 139 deletions .github/workflows/service-update.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .nuget/Cuemon.AspNetCore.App/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Comment on lines +1 to +6
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Document the 10.4.0 public API changes in this package’s release notes.

The new 10.4.0 block currently lists only dependency upgrades, but this PR introduces user-facing XML/minimal-API functionality. Please add explicit API notes (e.g., FlattenCollectionItems, AddMinimalXmlOptions, and flattened enumerable serialization behavior) so consumers can discover the change from package notes.

Proposed release-note addition
 Version: 10.4.0
 Availability: .NET 10 and .NET 9
 
+# API
+- ADDED `XmlSerializerOptions.FlattenCollectionItems` to enable flattened collection item serialization.
+- ADDED `IServiceCollection.AddMinimalXmlOptions(...)` for minimal API XML formatter registration.
+- CHANGED enumerable XML conversion to support flattened output for collections/dictionaries when enabled.
+
 # ALM
 - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

As per coding guidelines, “Update per-package release notes in .nuget/<PackageName>/PackageReleaseNotes.txt for public API changes”.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.nuget/Cuemon.AspNetCore.App/PackageReleaseNotes.txt around lines 1 - 6,
Update the 10.4.0 release-note block to document the new public API surface
introduced by this PR: add short bullets describing FlattenCollectionItems (its
purpose and effect on serialization), AddMinimalXmlOptions (what it configures
and where to call it), and the new flattened enumerable serialization behavior
(how collections are serialized differently now). Ensure each bullet is concise
and consumer-facing (name + one-line description) and place them under the
10.4.0 header alongside the existing ALM note so users can discover these API
changes.

Version: 10.3.0
Availability: .NET 10 and .NET 9

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10 and .NET 9

Expand Down
6 changes: 6 additions & 0 deletions .nuget/Cuemon.AspNetCore.Mvc/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Comment on lines +1 to +6
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Add the missing 10.4.0 public API notes to this package release entry.

The new 10.4.0 block only mentions dependency upgrades, but this release includes user-visible XML/minimal-API features. Please document those API changes in this package’s release notes.

Proposed release-notes update
 Version: 10.4.0
 Availability: .NET 10 and .NET 9
  
 # ALM
 - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
+ 
+# Improvements
+- ADDED `AddMinimalXmlOptions(IServiceCollection, Action<XmlFormatterOptions>?)` extension for minimal API XML formatter registration
+- ADDED `XmlSerializerOptions.FlattenCollectionItems` to control flattened collection item element naming
+- CHANGED XML enumerable/dictionary serialization to support flattened item output when enabled
+- CHANGED default XML conversion flow to avoid redundant child element wrapping when a dedicated converter exists

As per coding guidelines: “.nuget/**/*.txt: Update per-package release notes in .nuget/<PackageName>/PackageReleaseNotes.txt for public API changes”.

📝 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
Version: 10.4.0
Availability: .NET 10 and .NET 9
 
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
 
Version: 10.4.0
Availability: .NET 10 and .NET 9
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
# Improvements
- ADDED `AddMinimalXmlOptions(IServiceCollection, Action<XmlFormatterOptions>?)` extension for minimal API XML formatter registration
- ADDED `XmlSerializerOptions.FlattenCollectionItems` to control flattened collection item element naming
- CHANGED XML enumerable/dictionary serialization to support flattened item output when enabled
- CHANGED default XML conversion flow to avoid redundant child element wrapping when a dedicated converter exists
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.nuget/Cuemon.AspNetCore.Mvc/PackageReleaseNotes.txt around lines 1 - 6,
Update the Version: 10.4.0 release notes block to include the missing public API
notes: add a short summary of the new XML-related and minimal-API surface area
introduced in this release (mention the user-visible types/members or feature
names added/changed), list any public API additions or breaking changes, and
include short usage/impact notes and migration guidance; ensure the Version:
10.4.0 header in PackageReleaseNotes.txt contains the new API bullet points
consistent with the project's release-note format and coding guidelines.

Version: 10.3.0
Availability: .NET 10 and .NET 9

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10 and .NET 9

Expand Down
6 changes: 6 additions & 0 deletions .nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Comment on lines +1 to +6
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Document the 10.4.0 public API changes in release notes.

The new 10.4.0 entry only lists dependency upgrades, but this PR introduces user-facing API/features (e.g., FlattenCollectionItems, AddMinimalXmlOptions, XML flattening behavior changes). Please add those under feature/improvement sections so the package notes reflect the actual public surface changes.

Suggested update shape
 Version: 10.4.0
 Availability: .NET 10 and .NET 9
 
 # ALM
 - CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
+
+# New Features
+- ADDED AddMinimalXmlOptions extension method for IServiceCollection in Cuemon.AspNetCore XML integration
+
+# Improvements
+- EXTENDED XmlSerializerOptions with FlattenCollectionItems to control flattened collection element naming
+- CHANGED XML enumerable/dictionary conversion and formatter behavior to support flattened item serialization
+- CHANGED default XML conversion flow to avoid redundant child element wrapping when dedicated converters exist

As per coding guidelines: “.nuget/**/*.txt: Update per-package release notes in .nuget/<PackageName>/PackageReleaseNotes.txt for public API changes”.

📝 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
Version: 10.4.0
Availability: .NET 10 and .NET 9
 
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
 
Version: 10.4.0
Availability: .NET 10 and .NET 9
# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)
# New Features
- ADDED AddMinimalXmlOptions extension method for IServiceCollection in Cuemon.AspNetCore XML integration
# Improvements
- EXTENDED XmlSerializerOptions with FlattenCollectionItems to control flattened collection element naming
- CHANGED XML enumerable/dictionary conversion and formatter behavior to support flattened item serialization
- CHANGED default XML conversion flow to avoid redundant child element wrapping when dedicated converters exist
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt around lines 1 - 6, Update
the .nuget package release notes to document the public API changes introduced
in 10.4.0: add a "Features" or "Improvements" section to the
.nuget/Cuemon.AspNetCore/PackageReleaseNotes.txt entry and list the new
user-facing APIs and behavior changes such as FlattenCollectionItems,
AddMinimalXmlOptions, and the XML flattening behavior changes (describe concise
intent/impact of each item), ensuring the release note clearly separates
dependency upgrades from API/behavior changes.

Version: 10.3.0
Availability: .NET 10 and .NET 9

Expand Down
6 changes: 6 additions & 0 deletions .nuget/Cuemon.Core.App/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10, .NET 9 and .NET Standard 2.0

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10, .NET 9 and .NET Standard 2.0

Expand Down
12 changes: 12 additions & 0 deletions .nuget/Cuemon.Core/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
Version: 10.4.0
Availability: .NET 10, .NET 9 and .NET Standard 2.0

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

# Improvements
- CHANGED World class in the Cuemon.Globalization namespace to exclude redundancies in region handling

# Bug Fixes
- FIXED World class in the Cuemon.Globalization namespace where retrieving countries by code in GetStatisticalRegion was not included

Version: 10.3.0
Availability: .NET 10, .NET 9 and .NET Standard 2.0

Expand Down
6 changes: 6 additions & 0 deletions .nuget/Cuemon.Data.Integrity/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10, .NET 9 and .NET Standard 2.0

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10, .NET 9 and .NET Standard 2.0

Expand Down
6 changes: 6 additions & 0 deletions .nuget/Cuemon.Data.SqlClient/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10, .NET 9 and .NET Standard 2.0

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10, .NET 9 and .NET Standard 2.0

Expand Down
6 changes: 6 additions & 0 deletions .nuget/Cuemon.Data/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10, .NET 9 and .NET Standard 2.0

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10, .NET 9 and .NET Standard 2.0

Expand Down
6 changes: 6 additions & 0 deletions .nuget/Cuemon.Diagnostics/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10, .NET 9 and .NET Standard 2.0

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10, .NET 9 and .NET Standard 2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10 and .NET 9

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10 and .NET 9

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10 and .NET 9

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10 and .NET 9

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10 and .NET 9

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10 and .NET 9

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
Version: 10.4.0
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

# New Features
- ADDED ServiceCollectionExtensions class in the Cuemon.Extensions.AspNetCore.Xml namespace with AddMinimalXmlOptions extension method for registering XmlFormatterOptions with IServiceCollection

Version: 10.3.0
Availability: .NET 10 and .NET 9

Expand Down
6 changes: 6 additions & 0 deletions .nuget/Cuemon.Extensions.AspNetCore/PackageReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Version: 10.4.0
Availability: .NET 10 and .NET 9

# ALM
- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)

Version: 10.3.0
Availability: .NET 10 and .NET 9

Expand Down
Loading
Loading