-
Notifications
You must be signed in to change notification settings - Fork 0
Release v0.9.7 #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v0.9.7 #31
Conversation
Merge release/0.9.5 back to develop
Co-authored-by: Copilot <[email protected]>
…sting Add TCK compatibility test results in README
…tus-tracking Feature: Edge Node Device Status Tracking
Fix message ordering and improve dependency injection
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces version 0.9.7 of SparklerNet, which includes significant architectural improvements to the caching and status tracking mechanisms. The release transitions from MemoryCache to HybridCache for more flexible distributed caching support, adds comprehensive status tracking for Edge Nodes and Devices, and enhances message ordering capabilities.
Key Changes:
- Migrated from
Microsoft.Extensions.Caching.MemorytoMicrosoft.Extensions.Caching.Hybridfor improved caching architecture - Added new
StatusTrackingServicefor tracking online/offline status of Edge Nodes and Devices - Refactored
MessageOrderingServiceto support async operations and use HybridCache - Enhanced sample application with dependency injection and configuration profiles (TCK, MIMIC)
Reviewed changes
Copilot reviewed 23 out of 25 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| SparklerNet/SparklerNet.csproj | Version bump to 0.9.7 and added HybridCache dependency |
| SparklerNet/HostApplication/SparkplugHostApplication.cs | Refactored constructor to accept service dependencies via DI, updated message processing for DBIRTH/DDEATH |
| SparklerNet/HostApplication/Extensions/SparkplugHostApplicationExtensions.cs | Added ScanRate command methods for Edge Nodes and Devices |
| SparklerNet/HostApplication/Caches/StatusTrackingService.cs | New service for tracking and querying Edge Node/Device online status |
| SparklerNet/HostApplication/Caches/MessageOrderingService.cs | Migrated to HybridCache and async operations with improved concurrency handling |
| SparklerNet/HostApplication/Caches/IStatusTrackingService.cs | Interface definition for status tracking service |
| SparklerNet/HostApplication/Caches/IMessageOrderingService.cs | Updated interface with async methods and documentation improvements |
| SparklerNet/HostApplication/Caches/CacheHelper.cs | New utility class for cache key building and semaphore management |
| SparklerNet/Core/Options/SparkplugClientOptions.cs | Added AlwaysSubscribeToWildcardTopic and EnableStatusTracking options |
| SparklerNet/Core/Model/Payload.cs | Added GetBdSeq() method for extracting Birth/Death sequence numbers |
| SparklerNet/Core/Events/SparkplugMessageEventArgs.cs | Removed MqttApplicationMessageReceivedEventArgs dependency |
| SparklerNet.Tests/* | Comprehensive test coverage for new services and updated existing tests |
| SparklerNet.Samples/Program.cs | Implemented dependency injection and configuration profile support |
| SparklerNet.Samples/Profiles/* | Added profile system for TCK and MIMIC configurations |
| README.md | Updated with TCK compatibility results, new usage examples, and architecture documentation |
| .spec/GIT_FLOW.md | Added Git Flow workflow documentation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 23 out of 25 changed files in this pull request and generated 14 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Release version 0.9.7