Skip to content

chore: pre-publish NuGet bumps + tighten API-ref types front matter#62

Merged
xavierjohn merged 1 commit into
mainfrom
chore/pre-publish-nuget-bumps-and-types-frontmatter
Jun 19, 2026
Merged

chore: pre-publish NuGet bumps + tighten API-ref types front matter#62
xavierjohn merged 1 commit into
mainfrom
chore/pre-publish-nuget-bumps-and-types-frontmatter

Conversation

@xavierjohn

Copy link
Copy Markdown
Owner

Summary

Pre-publish maintenance before republishing the SLI packages (which carry the new API-reference front matter from #61).

NuGet bumps (Directory.Packages.props)

Stay-current minor/patch bumps. dotnet list package --vulnerable --include-transitive flagged nothing — these are not security fixes.

Package From To
OpenTelemetry (core, Exporter.Console, Exporter.OTLP, Extensions.Hosting) 1.15.3 1.16.0
Scalar.AspNetCore (+ .Microsoft) 2.14.4 2.16.4
Microsoft.Extensions.* (DI.Abstractions, Options, Logging.Console) 10.0.7 10.0.9
Microsoft.AspNetCore.OpenApi, Microsoft.AspNetCore.TestHost 10.0.7 10.0.9
Azure.Core 1.54.0 1.59.0
DotNet.ReproducibleBuilds 2.0.2 2.0.5
FluentAssertions 7.2.0 7.2.2

Held deliberately:

  • FluentAssertions stays on 7.x — 8.x is the paid-license change (per repo copilot-instructions.md).
  • Microsoft.Testing.Extensions.TrxReport 1.9.1 and CodeCoverage 18.0.6 — kept aligned with xunit.v3's Microsoft.Testing.Platform 1.9.x (per the existing comment in the props file).
  • Asp.Versioning.OpenApi 10.0.0-rc.1 — no newer version on the sources.

Docs

Tightens the types: front matter (added in #61) to each doc's actual documented ### type sections — addresses the review feedback on #61. Removed method names and types whose ### sections live in a sibling doc:

  • trellis-api-sli.md: drop SliOutcome, IServiceLevelIndicatorBuilder, AddServiceLevelIndicator, AddServiceLevelIndicatorInstrumentation.
  • trellis-api-sli-apiversioning.md: drop AddApiVersion.

Verification

dotnet build -c Release: 0 warnings / 0 errors. dotnet test: 99 passed / 0 failed across all three test projects.

NuGet (Directory.Packages.props) -- stay-current minor/patch bumps; the
--vulnerable scan flagged nothing:
- OpenTelemetry x4 1.15.3 -> 1.16.0
- Scalar.AspNetCore (+ .Microsoft) 2.14.4 -> 2.16.4
- Microsoft.Extensions.* (DI.Abstractions / Options / Logging.Console) and
  Microsoft.AspNetCore.OpenApi / TestHost 10.0.7 -> 10.0.9
- Azure.Core 1.54.0 -> 1.59.0, DotNet.ReproducibleBuilds 2.0.2 -> 2.0.5
- FluentAssertions 7.2.0 -> 7.2.2 (stays on 7.x)

Held deliberately: FluentAssertions <8 (license), Microsoft.Testing.Extensions
.TrxReport 1.9.1 + .CodeCoverage 18.0.6 (MTP alignment with xunit.v3's
Microsoft.Testing.Platform 1.9.x), Asp.Versioning.OpenApi 10.0.0-rc.1 (no newer).

Build 0 warnings / 0 errors; all 99 tests pass.

Docs: tighten the `types:` front matter added in #61 to the actual documented
`###` type sections (addresses the review feedback on #61) -- drop method names
and types whose sections live in sibling docs: SliOutcome,
IServiceLevelIndicatorBuilder, AddServiceLevelIndicator,
AddServiceLevelIndicatorInstrumentation (trellis-api-sli.md) and AddApiVersion
(trellis-api-sli-apiversioning.md).
xavierjohn added a commit to xavierjohn/Trellis.Microservices.Template that referenced this pull request Jun 19, 2026
@github-actions

Copy link
Copy Markdown

Test Results

99 tests  ±0   99 ✅ ±0   13s ⏱️ ±0s
 3 suites ±0    0 💤 ±0 
 3 files   ±0    0 ❌ ±0 

Results for commit 7c3b3a7. ± Comparison against base commit 6bad684.

Copilot AI 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.

Pull request overview

Pre-publish maintenance for the Trellis Service Level Indicator (.NET) libraries, updating dependency versions and aligning the API reference docs’ YAML front matter types: entries to match the docs’ actual ### type sections (per the indexing/metadata approach introduced in #61).

Changes:

  • Bumped several NuGet package versions in Directory.Packages.props (OpenTelemetry, Scalar.AspNetCore, Microsoft.Extensions.*, Azure.Core, DotNet.ReproducibleBuilds, FluentAssertions 7.x).
  • Tightened types: YAML front matter in trellis-api-sli.md to include only types that have corresponding ### sections in that doc.
  • Tightened types: YAML front matter in trellis-api-sli-apiversioning.md to include only types that have corresponding ### sections in that doc.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
docs/api_reference/trellis-api-sli.md Narrows YAML types: to match the doc’s actual ### type headings (core API reference).
docs/api_reference/trellis-api-sli-apiversioning.md Narrows YAML types: to match the doc’s actual ### type headings (API versioning extension reference).
Directory.Packages.props Minor/patch dependency bumps while retaining repo constraints (e.g., FluentAssertions staying on 7.x).

@xavierjohn xavierjohn merged commit 06499ed into main Jun 19, 2026
5 checks passed
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.

2 participants