YB.ParseLiveQueryDotNet
3.5.0
This package's readme did not reflect the release state.
Kindly download the v3.5.1
See the version list below for details.
dotnet add package YB.ParseLiveQueryDotNet --version 3.5.0
NuGet\Install-Package YB.ParseLiveQueryDotNet -Version 3.5.0
<PackageReference Include="YB.ParseLiveQueryDotNet" Version="3.5.0" />
<PackageVersion Include="YB.ParseLiveQueryDotNet" Version="3.5.0" />
<PackageReference Include="YB.ParseLiveQueryDotNet" />
paket add YB.ParseLiveQueryDotNet --version 3.5.0
#r "nuget: YB.ParseLiveQueryDotNet, 3.5.0"
#:package YB.ParseLiveQueryDotNet@3.5.0
#addin nuget:?package=YB.ParseLiveQueryDotNet&version=3.5.0
#tool nuget:?package=YB.ParseLiveQueryDotNet&version=3.5.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
ISubscriptionFactoryhas been updated. TheCreateSubscriptionmethod now includes anunsubscribeActionparameter. This allows for more robust and reliable cleanup when subscriptions are no longer needed. This is a breaking change for anyone with a customISubscriptionFactoryimplementation.// Updated interface: Subscription<T> CreateSubscription<T>(int requestId, ParseQuery<T> query, Action<Subscription> unsubscribeAction) where T : ParseObject;Simplified Unsubscription: The
Subscribemethod withinParseLiveQueryClientnow expertly handles the creation of theunsubscribeAction. This simplifies the subscription process and guarantees correct resource management. AddedSubscriptionExtensionsproviding utility methods for easy unsubscription:UnsubscribeNow()andUnsubscribeAfter(long timeInMinutes).More Informative Error Reporting:
- Improved error handling in
ParseObjectandParseUsernow includes detailed exception messages, making it easier to diagnose issues. - Error logging in
WebSocketClientduring connection closure has been enhanced, providing better insights into connection problems. - The
DidEncountermethod withinSubscription<T>benefits from improved error handling, passing the error to the subscription to provide error to users.
- Improved error handling in
Internal Enhancements:
TaskQueuehas been refined:TaskQueue.Tailis now guaranteed to be non-nullable.TaskQueue.Enqueuenow returns a non-nullableTask<ParseUser>.
ParseCurrentUserController.currentUseris now non-nullable, reflecting its expected state more accurately.
Breaking Changes:
ISubscriptionFactoryInterface: As mentioned above, theCreateSubscriptionmethod signature has changed. Custom implementations must be updated to include theAction<Subscription> unsubscribeActionparameter.
Upgrade Notes:
- If you have implemented a custom
ISubscriptionFactory, you must update itsCreateSubscriptionmethod 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 | 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- System.Reactive (>= 6.0.1)
-
net7.0
- System.Reactive (>= 6.0.1)
-
net8.0
- System.Reactive (>= 6.0.1)
-
net9.0
- 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