YB.ParseLiveQueryDotNet
3.4.0
dotnet add package YB.ParseLiveQueryDotNet --version 3.4.0
NuGet\Install-Package YB.ParseLiveQueryDotNet -Version 3.4.0
<PackageReference Include="YB.ParseLiveQueryDotNet" Version="3.4.0" />
<PackageVersion Include="YB.ParseLiveQueryDotNet" Version="3.4.0" />
<PackageReference Include="YB.ParseLiveQueryDotNet" />
paket add YB.ParseLiveQueryDotNet --version 3.4.0
#r "nuget: YB.ParseLiveQueryDotNet, 3.4.0"
#addin nuget:?package=YB.ParseLiveQueryDotNet&version=3.4.0
#tool nuget:?package=YB.ParseLiveQueryDotNet&version=3.4.0
v3.4.0: Enhanced Subscription Management and Refined Error Handling ✨
This release focuses on improving the subscription process and making error handling more informative and consistent. We've refined internal workings to provide a smoother, more predictable LiveQuery experience. This version builds cleanly with no warnings, ensuring a smoother development experience. - Finally! 🫡
Key Improvements:
Streamlined Subscription Creation: The
ISubscriptionFactory
has been updated. TheCreateSubscription
method now includes anunsubscribeAction
parameter. This allows for more robust and reliable cleanup when subscriptions are no longer needed. This is a breaking change for anyone with a customISubscriptionFactory
implementation.// Updated interface: Subscription<T> CreateSubscription<T>(int requestId, ParseQuery<T> query, Action<Subscription> unsubscribeAction) where T : ParseObject;
Simplified Unsubscription: The
Subscribe
method withinParseLiveQueryClient
now expertly handles the creation of theunsubscribeAction
. This simplifies the subscription process and guarantees correct resource management. AddedSubscriptionExtensions
providing utility methods for easy unsubscription:UnsubscribeNow()
andUnsubscribeAfter(long timeInMinutes)
.More Informative Error Reporting:
- Improved error handling in
ParseObject
andParseUser
now includes detailed exception messages, making it easier to diagnose issues. - Error logging in
WebSocketClient
during connection closure has been enhanced, providing better insights into connection problems. - The
DidEncounter
method withinSubscription<T>
benefits from improved error handling, passing the error to the subscription to provide error to users.
- Improved error handling in
Internal Enhancements:
TaskQueue
has been refined:TaskQueue.Tail
is now guaranteed to be non-nullable.TaskQueue.Enqueue
now returns a non-nullableTask<ParseUser>
.
ParseCurrentUserController.currentUser
is now non-nullable, reflecting its expected state more accurately.
Breaking Changes:
ISubscriptionFactory
Interface: As mentioned above, theCreateSubscription
method signature has changed. Custom implementations must be updated to include theAction<Subscription> unsubscribeAction
parameter.
Upgrade Notes:
- If you have implemented a custom
ISubscriptionFactory
, you must update itsCreateSubscription
method to match the new signature. - While this release primarily focuses on internal improvements, thorough testing of your application after upgrading is always recommended.
- Enjoy a more streamlined and informative LiveQuery experience!
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