-
-
Notifications
You must be signed in to change notification settings - Fork 594
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 comment to MongoDB query via Parse.Query.comment
#2088
feat: Add comment to MongoDB query via Parse.Query.comment
#2088
Conversation
Thanks for opening this pull request!
|
CI fails with:
I believe the tests are not running with the latest alpha version of Parse Server because the package-lock file usually specifies a commit hash so it's locked to a specific version. Running |
Yes, I was expecting this error. for me, all tests passed when I used parse server as local package after making changes locally related to parse-community/parse-server#8928 |
Could you upgrade Parse Server like I've mentioned? |
Parse.Query.comment
There has been some issue with the package-lock file; I've reverted it and ran |
I believe we need to upgrade the Parse JS SDK to support only Node 18 and 20, the same node versions as Parse Server 7. In a separate PR, before we can merge this PR. #2063 |
Tests are failing because the Parse JS SDK test suite needs to be updated for Parse Server 7. For example, allowClientClassCreation needs to be set to true. #1979 |
When running tests locally most of them pass, did you figure out the issue for this? |
Did you download the latest commit of this branch? I would be surprised if it passed locally. They likely pass when testing with an older version of Parse Server, but not with the latest alpha version as in this branch. |
You're correct tests are failing, didn't notice you changed to alpha 25 I had to run |
Yes, I recommend to pull the latest commit in this PR to your local clone, so that you use the same code, delete your current |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## alpha #2088 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 61 61
Lines 6173 6186 +13
Branches 1494 1498 +4
=========================================
+ Hits 6173 6186 +13 ☔ View full report in Codecov by Sentry. |
Tests are passing now; could you check the codecov? It seems that the new tests are not testing all lines of the new feature. After that it should be good to merge. |
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! Codecov is fixed and all tests pass, thanks for the PR!
# [5.0.0-alpha.3](5.0.0-alpha.2...5.0.0-alpha.3) (2024-03-11) ### Features * Add comment to MongoDB query via `Parse.Query.comment` ([#2088](#2088)) ([a970913](a970913))
🎉 This change has been released in version 5.0.0-alpha.3 |
# [5.0.0-beta.1](4.3.1...5.0.0-beta.1) (2024-03-17) ### Bug Fixes * Calling `Parse.Object.relation.add` multiple times adds only the first object ([#2078](#2078)) ([0f98117](0f98117)) ### Features * Add comment to MongoDB query via `Parse.Query.comment` ([#2088](#2088)) ([a970913](a970913)) * Add compatibility with Parse Server 7 ([#2089](#2089)) ([86600bc](86600bc)) * Add support for Node 20, remove support for Node 14 and 16 ([#2063](#2063)) ([74eb4d5](74eb4d5)) ### BREAKING CHANGES * Parse JS SDK 5 requires Parse Server 7 and is incompatible with Parse Server 6. ([86600bc](86600bc)) * Removes support for Node 14 and 16. ([74eb4d5](74eb4d5))
🎉 This change has been released in version 5.0.0-beta.1 |
# [5.0.0](4.3.1...5.0.0) (2024-03-17) ### Bug Fixes * Calling `Parse.Object.relation.add` multiple times adds only the first object ([#2078](#2078)) ([0f98117](0f98117)) ### Features * Add comment to MongoDB query via `Parse.Query.comment` ([#2088](#2088)) ([a970913](a970913)) * Add compatibility with Parse Server 7 ([#2089](#2089)) ([86600bc](86600bc)) * Add support for Node 20, remove support for Node 14 and 16 ([#2063](#2063)) ([74eb4d5](74eb4d5)) ### BREAKING CHANGES * Parse JS SDK 5 requires Parse Server 7 and is incompatible with Parse Server 6. ([86600bc](86600bc)) * Removes support for Node 14 and 16. ([74eb4d5](74eb4d5))
🎉 This change has been released in version 5.0.0 |
…rification * alpha: chore(release): 5.0.0-beta.1 [skip ci] chore(release): 5.0.0-alpha.3 [skip ci] feat: Add comment to MongoDB query via `Parse.Query.comment` (parse-community#2088) chore(release): 5.0.0-alpha.2 [skip ci] feat: Add compatibility with Parse Server 7 (parse-community#2089) chore(release): 5.0.0-alpha.1 [skip ci] feat: Add support for Node 20, remove support for Node 14 and 16 (parse-community#2063) refactor: Upgrade ws from 8.15.1 to 8.16.0 (parse-community#2087) ci: Remove manual caching for `actions/setup-node` (parse-community#2064) chore(release): 4.3.1-alpha.2 [skip ci] fix: Calling `Parse.Object.relation.add` multiple times adds only the first object (parse-community#2078) refactor: Upgrade ws from 8.15.0 to 8.15.1 (parse-community#2074) chore(release): 4.3.1 [skip ci] release
SDK changes for : parse-community/parse-server#8799