Skip to content
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

feat: Add ParseQuery.watch to trigger LiveQuery only on update of specific fields #1839

Merged
merged 1 commit into from
Apr 2, 2023

Conversation

dplewis
Copy link
Member

@dplewis dplewis commented Mar 30, 2023

Pull Request

Issue

LiveQuery watch was introducted in Parse Server 6 parse-community/parse-server#8028

Closes: #1806

@parse-github-assistant
Copy link

Thanks for opening this pull request!

@dplewis dplewis requested a review from a team March 30, 2023 20:54
@codecov
Copy link

codecov bot commented Mar 30, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (f30c3ab) 99.90% compared to head (5ae1116) 99.90%.

❗ Current head 5ae1116 differs from pull request most recent head 30e6b55. Consider uploading reports for the commit 30e6b55 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##            alpha    #1839   +/-   ##
=======================================
  Coverage   99.90%   99.90%           
=======================================
  Files          61       61           
  Lines        6104     6117   +13     
  Branches     1482     1485    +3     
=======================================
+ Hits         6098     6111   +13     
  Misses          6        6           
Impacted Files Coverage Δ
src/LiveQueryClient.js 99.04% <100.00%> (+<0.01%) ⬆️
src/ParseQuery.js 100.00% <100.00%> (ø)

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 in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dplewis dplewis requested a review from mtrezza March 31, 2023 21:41
Copy link
Member

@mtrezza mtrezza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@mtrezza mtrezza merged commit 7479343 into parse-community:alpha Apr 2, 2023
parseplatformorg pushed a commit that referenced this pull request Apr 2, 2023
# [4.1.0-alpha.3](4.1.0-alpha.2...4.1.0-alpha.3) (2023-04-02)

### Features

* Add `ParseQuery.watch` to trigger LiveQuery only on update of specific fields ([#1839](#1839)) ([7479343](7479343))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 4.1.0-alpha.3

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Apr 2, 2023
@dplewis dplewis deleted the query-watch branch April 28, 2023 02:18
parseplatformorg pushed a commit that referenced this pull request May 1, 2023
# [4.2.0-beta.1](4.1.0...4.2.0-beta.1) (2023-05-01)

### Bug Fixes

* `Parse.File.cancel` starts new attempt to save file ([#1781](#1781)) ([b755e42](b755e42))

### Features

* Add `Parse.User.loginAs` ([#1875](#1875)) ([381fcfc](381fcfc))
* Add `ParseQuery.watch` to trigger LiveQuery only on update of specific fields ([#1839](#1839)) ([7479343](7479343))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 4.2.0-beta.1

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label May 1, 2023
parseplatformorg pushed a commit that referenced this pull request May 1, 2023
# [4.2.0-alpha.1](4.1.0...4.2.0-alpha.1) (2023-05-01)

### Bug Fixes

* `Parse.File.cancel` starts new attempt to save file ([#1781](#1781)) ([b755e42](b755e42))

### Features

* Add `Parse.User.loginAs` ([#1875](#1875)) ([381fcfc](381fcfc))
* Add `ParseQuery.watch` to trigger LiveQuery only on update of specific fields ([#1839](#1839)) ([7479343](7479343))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 4.2.0-alpha.1

parseplatformorg pushed a commit that referenced this pull request Sep 15, 2023
# [4.2.0](4.1.0...4.2.0) (2023-09-15)

### Bug Fixes

* `Parse.File.cancel` starts new attempt to save file ([#1781](#1781)) ([b755e42](b755e42))

### Features

* Add `Parse.User.loginAs` ([#1875](#1875)) ([381fcfc](381fcfc))
* Add `ParseQuery.watch` to trigger LiveQuery only on update of specific fields ([#1839](#1839)) ([7479343](7479343))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 4.2.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support LiveQuery watch
3 participants