-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
fix: LiveQuerySubscription.unsubscribe
resolves promise before unsubscribing completes
#1727
Conversation
Thanks for opening this pull request!
|
Codecov ReportBase: 99.89% // Head: 99.89% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## alpha #1727 +/- ##
=======================================
Coverage 99.89% 99.89%
=======================================
Files 61 61
Lines 5985 5991 +6
Branches 1372 1373 +1
=======================================
+ Hits 5979 5985 +6
Misses 6 6
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Is this a breaking change? If yes, can it be made a non-breaking change? |
This isn't a breaking change |
I'm asking because you wrote:
Just to confirm, it's not a breaking change? |
I realized that |
Got it, thanks for confirming, just wanted to make sure |
So is this actually a bugfix then because the promise resolved before the unsub has completed? Like:
|
Thats correct |
LiveQuerySubscription.unsubscribe
resolves promise before unsubscribing completes
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.
Looks good!
# [4.0.0-alpha.8](4.0.0-alpha.7...4.0.0-alpha.8) (2023-02-04) ### Bug Fixes * `LiveQuerySubscription.unsubscribe` resolves promise before unsubscribing completes ([#1727](#1727)) ([1c96205](1c96205))
🎉 This change has been released in version 4.0.0-alpha.8 |
# [4.1.0-beta.1](4.0.1...4.1.0-beta.1) (2023-03-01) ### Bug Fixes * `LiveQuerySubscription.unsubscribe` resolves promise before unsubscribing completes ([#1727](#1727)) ([1c96205](1c96205)) * Node engine version upper range is <19 despite Node 19 support ([#1732](#1732)) ([febe187](febe187)) * Saving a new `Parse.Object` with an unsaved `Parse.File` fails ([#1662](#1662)) ([16535a4](16535a4)) ### Features * `LiveQueryClient.close` returns promise when WebSocket closes ([#1735](#1735)) ([979d660](979d660)) * Upgrade Node Package Manager lock file `package-lock.json` to version 2 ([#1729](#1729)) ([e993786](e993786))
🎉 This change has been released in version 4.1.0-beta.1 |
# [4.1.0-alpha.1](4.0.1...4.1.0-alpha.1) (2023-03-01) ### Bug Fixes * `LiveQuerySubscription.unsubscribe` resolves promise before unsubscribing completes ([#1727](#1727)) ([1c96205](1c96205)) * Node engine version upper range is <19 despite Node 19 support ([#1732](#1732)) ([febe187](febe187)) * Saving a new `Parse.Object` with an unsaved `Parse.File` fails ([#1662](#1662)) ([16535a4](16535a4)) ### Features * `LiveQueryClient.close` returns promise when WebSocket closes ([#1735](#1735)) ([979d660](979d660)) * Upgrade Node Package Manager lock file `package-lock.json` to version 2 ([#1729](#1729)) ([e993786](e993786))
🎉 This change has been released in version 4.1.0-alpha.1 |
# [4.1.0](4.0.1...4.1.0) (2023-05-01) ### Bug Fixes * `LiveQuerySubscription.unsubscribe` resolves promise before unsubscribing completes ([#1727](#1727)) ([1c96205](1c96205)) * Node engine version upper range is <19 despite Node 19 support ([#1732](#1732)) ([febe187](febe187)) * Saving a new `Parse.Object` with an unsaved `Parse.File` fails ([#1662](#1662)) ([16535a4](16535a4)) ### Features * `LiveQueryClient.close` returns promise when WebSocket closes ([#1735](#1735)) ([979d660](979d660)) * Upgrade Node Package Manager lock file `package-lock.json` to version 2 ([#1729](#1729)) ([e993786](e993786))
🎉 This change has been released in version 4.1.0 |
Pull Request
Issue
Closes: #1720
Approach
Tasks