Skip to content

.NET 10 & Minimal API Support#61

Merged
engineering87 merged 20 commits intomainfrom
develop
Apr 25, 2026
Merged

.NET 10 & Minimal API Support#61
engineering87 merged 20 commits intomainfrom
develop

Conversation

@engineering87
Copy link
Copy Markdown
Owner

This PR introduces .NET 10 support, Minimal API integration via a new endpoint filter, hardened event processing, and significantly expanded test coverage.

⚠️ Breaking Changes

  • Target framework upgraded to .NET 10: all consuming projects must target .NET 10 or later.
  • Enqueue(WartEventWithFilters) now throws InvalidOperationException when writing to a completed channel instead of returning false.

✨ New Features

  • Minimal API support: New WartEndpointFilter and WartEndpointExtensions for intercepting HTTP requests in Minimal API pipelines.
  • WART-MinimalApi sample project: Demonstrates endpoint filter integration with sample endpoints.

🐛 Bug Fixes

  • WartEventQueueService: IsEmpty uses TryPeek(out WartEventWithFilters) to reduce race conditions in concurrent scenarios.
  • WartEventWorker: Hardened edge case handling during event processing.
  • JWT authentication: Fixed null reference in LifetimeValidator for tokens without exp claim.
  • JsonArrayOrObjectStringConverter: Improved serialization robustness.

@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@engineering87 engineering87 merged commit 0f1f251 into main Apr 25, 2026
8 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