YB.ParseLiveQueryDotNet
3.3.0
See the version list below for details.
dotnet add package YB.ParseLiveQueryDotNet --version 3.3.0
NuGet\Install-Package YB.ParseLiveQueryDotNet -Version 3.3.0
<PackageReference Include="YB.ParseLiveQueryDotNet" Version="3.3.0" />
<PackageVersion Include="YB.ParseLiveQueryDotNet" Version="3.3.0" />
<PackageReference Include="YB.ParseLiveQueryDotNet" />
paket add YB.ParseLiveQueryDotNet --version 3.3.0
#r "nuget: YB.ParseLiveQueryDotNet, 3.3.0"
#addin nuget:?package=YB.ParseLiveQueryDotNet&version=3.3.0
#tool nuget:?package=YB.ParseLiveQueryDotNet&version=3.3.0
v3.3.0 (Just 3.2.0 - actually): Robust LiveQuery Client with Enhanced Reliability and Stability 🚀
Key Enhancements:
Automatic Reconnection: Implemented automatic reconnection to the LiveQuery server upon connection loss.
- Features exponential backoff with configurable retries.
- Reports reconnection attempts and failures via the
OnError
observable.
Heartbeat (Ping/Pong): Integrated WebSocket Ping/Pong frames for robust connection health monitoring.
- Detects and recovers from "dead" connections, enhancing stability.
Configurable Receive Buffer: Added ability to customize the WebSocket receive buffer size.
- Useful for handling large messages.
- Utilize:
new WebSocketClient(uri, callback, bufferSize);
Refactored WebSocket Handling:
- Complete rewrite for improved stability, error handling, and performance.
- Ensures proper resource disposal (
Dispose()
) to prevent memory leaks. - Provides clear and consistent WebSocket connection state management.
- Includes placeholder for binary message handling.
- Allows control over WebSocket close status and description.
Optimized Subscription Management:
- Simplified unsubscription process.
- Ensures thread-safe subscription operations.
- Removed reflection for enhanced performance.
Full
IDisposable
Implementation:ParseLiveQueryClient
,WebSocketClient
, andSubscription
classes now fully implementIDisposable
.- Guarantees proper resource cleanup.
Enhanced Error Handling: Improved error handling with more informative exceptions and events.
Optimized JSON Handling: Enhanced JSON serialization/deserialization.
Breaking Changes:
- None. This release maintains backward compatibility with v3.1.0. Thorough testing is still strongly recommended.
Upgrade Notes:
- Thorough application testing is highly recommended after upgrading due to significant internal improvements.
- New features (reconnection, buffer size) are optional and do not require code changes to maintain existing functionality.
Happy Coding! 👋🏾
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net5.0
- System.Net.WebSockets.Client (>= 4.3.2)
- System.Reactive (>= 6.0.1)
-
net6.0
- System.Net.WebSockets.Client (>= 4.3.2)
- System.Reactive (>= 6.0.1)
-
net7.0
- System.Net.WebSockets.Client (>= 4.3.2)
- System.Reactive (>= 6.0.1)
-
net8.0
- System.Net.WebSockets.Client (>= 4.3.2)
- System.Reactive (>= 6.0.1)
-
net9.0
- System.Net.WebSockets.Client (>= 4.3.2)
- System.Reactive (>= 6.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
See detailed release notes in ReleaseNotes.md