parse 3.5.1-beta.1 → 4.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +17 -4
  2. package/dist/parse.js +451 -364
  3. package/dist/parse.min.js +2 -2
  4. package/dist/parse.weapp.js +451 -364
  5. package/dist/parse.weapp.min.js +2 -2
  6. package/lib/browser/CoreManager.js +1 -1
  7. package/lib/browser/EventuallyQueue.js +31 -27
  8. package/lib/browser/LiveQueryClient.js +35 -18
  9. package/lib/browser/LocalDatastore.js +20 -20
  10. package/lib/browser/LocalDatastoreController.js +16 -14
  11. package/lib/browser/LocalDatastoreController.react-native.js +10 -10
  12. package/lib/browser/ParseCLP.js +32 -32
  13. package/lib/browser/ParseFile.js +26 -15
  14. package/lib/browser/ParseLiveQuery.js +6 -6
  15. package/lib/browser/ParseObject.js +84 -69
  16. package/lib/browser/ParseOp.js +3 -1
  17. package/lib/browser/ParseQuery.js +115 -88
  18. package/lib/browser/ParseUser.js +74 -64
  19. package/lib/browser/RESTController.js +6 -7
  20. package/lib/node/CoreManager.js +1 -1
  21. package/lib/node/LiveQueryClient.js +27 -14
  22. package/lib/node/ObjectStateMutations.js +14 -43
  23. package/lib/node/ParseCLP.js +12 -41
  24. package/lib/node/ParseFile.js +15 -41
  25. package/lib/node/ParseObject.js +13 -41
  26. package/lib/node/ParseQuery.js +3 -1
  27. package/lib/node/RESTController.js +2 -43
  28. package/lib/react-native/CoreManager.js +1 -1
  29. package/lib/react-native/LiveQueryClient.js +35 -18
  30. package/lib/react-native/LocalDatastore.js +3 -2
  31. package/lib/react-native/ParseCLP.js +32 -32
  32. package/lib/react-native/ParseFile.js +9 -3
  33. package/lib/react-native/ParseObject.js +14 -9
  34. package/lib/react-native/ParseOp.js +3 -1
  35. package/lib/react-native/ParseQuery.js +21 -7
  36. package/lib/react-native/RESTController.js +6 -7
  37. package/lib/weapp/CoreManager.js +1 -1
  38. package/lib/weapp/EventuallyQueue.js +31 -27
  39. package/lib/weapp/LiveQueryClient.js +35 -18
  40. package/lib/weapp/LocalDatastore.js +20 -20
  41. package/lib/weapp/LocalDatastoreController.js +16 -14
  42. package/lib/weapp/LocalDatastoreController.react-native.js +10 -10
  43. package/lib/weapp/ParseCLP.js +32 -32
  44. package/lib/weapp/ParseFile.js +26 -15
  45. package/lib/weapp/ParseLiveQuery.js +6 -6
  46. package/lib/weapp/ParseObject.js +84 -69
  47. package/lib/weapp/ParseOp.js +3 -1
  48. package/lib/weapp/ParseQuery.js +115 -88
  49. package/lib/weapp/ParseUser.js +74 -64
  50. package/lib/weapp/RESTController.js +6 -7
  51. package/package.json +6 -2
package/README.md CHANGED
@@ -2,12 +2,13 @@
2
2
 
3
3
  ---
4
4
 
5
- [![Build Status CI alpha](https://github.com/parse-community/Parse-SDK-JS/workflows/ci/badge.svg?branch=alpha)](https://github.com/parse-community/Parse-SDK-JS/actions?query=workflow%3Aci+branch%3Aalpha)
5
+ [![Build Status CI alpha](https://github.com/parse-community/Parse-SDK-JS/workflows/ci/badge.svg?branch=alpha&subject=alpha)](https://github.com/parse-community/Parse-SDK-JS/actions?query=workflow%3Aci+branch%3Aalpha)
6
+ [![Build Status CI beta](https://github.com/parse-community/Parse-SDK-JS/workflows/ci/badge.svg?branch=beta)](https://github.com/parse-community/Parse-SDK-JS/actions?query=workflow%3Aci+branch%3Abeta)
6
7
  [![Build Status CI release](https://github.com/parse-community/Parse-SDK-JS/workflows/ci/badge.svg?branch=release)](https://github.com/parse-community/Parse-SDK-JS/actions?query=workflow%3Aci+branch%3Arelease)
7
8
  [![Snyk Badge](https://snyk.io/test/github/parse-community/Parse-SDK-JS/badge.svg)](https://snyk.io/test/github/parse-community/Parse-SDK-JS)
8
9
  [![Coverage](http://codecov.io/github/parse-community/Parse-SDK-JS/coverage.svg?branch=alpha)](http://codecov.io/github/parse-community/Parse-SDK-JS?branch=alpha)
9
10
 
10
- [![Node Version](https://img.shields.io/badge/nodejs-12,_14,_15-green.svg?logo=node.js&style=flat)](https://nodejs.org/)
11
+ [![Node Version](https://img.shields.io/badge/nodejs-14-green.svg?logo=node.js&style=flat)](https://nodejs.org/)
11
12
  [![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-dashboard/releases)
12
13
 
13
14
  [![npm latest version](https://img.shields.io/npm/v/parse/latest.svg)](https://www.npmjs.com/package/parse)
@@ -28,6 +29,7 @@ A library that gives you access to the powerful Parse Server backend from your J
28
29
 
29
30
  - [Getting Started](#getting-started)
30
31
  - [Using Parse on Different Platforms](#using-parse-on-different-platforms)
32
+ - [Compatibility](#compatibility)
31
33
  - [Upgrading to Parse SDK 2.0.0](#upgrading-to-parse-sdk-200)
32
34
  - [3rd Party Authentications](#3rd-party-authentications)
33
35
  - [Want to ride the bleeding edge?](#want-to-ride-the-bleeding-edge)
@@ -88,6 +90,17 @@ $ npm install @types/parse
88
90
 
89
91
  Types are updated manually after every release. If a definition doesn't exist, please submit a pull request to [@types/parse][types-parse]
90
92
 
93
+ ## Compatibility
94
+
95
+ ### Node.js
96
+
97
+ Parse JS SDK is continuously tested with the most recent releases of Node.js to ensure compatibility. We follow the [Node.js Long Term Support plan](https://github.com/nodejs/Release) and only test against versions that are officially supported and have not reached their end-of-life date.
98
+
99
+ | Version | Latest Version | End-of-Life | Compatible |
100
+ |------------|----------------|-------------|------------|
101
+ | Node.js 14 | 14.19.1 | April 2023 | ✅ Yes |
102
+
103
+
91
104
  ## Upgrading to Parse SDK 2.0.0
92
105
 
93
106
  With Parse SDK 2.0.0, gone are the backbone style callbacks and Parse.Promises.
@@ -112,12 +125,12 @@ And don't forget, if you plan to deploy it remotely, you should run `npm install
112
125
 
113
126
  We really want Parse to be yours, to see it grow and thrive in the open source community. Please see the [Contributing to Parse Javascript SDK guide][contributing].
114
127
 
115
-
128
+
116
129
  [3rd-party-auth]: http://docs.parseplatform.org/parse-server/guide/#oauth-and-3rd-party-authentication
117
130
  [contributing]: https://github.com/parse-community/Parse-SDK-JS/blob/master/CONTRIBUTING.md
118
131
  [custom-auth-module]: https://docs.parseplatform.org/js/guide/#custom-authentication-module
119
132
  [link-with]: https://docs.parseplatform.org/js/guide/#linking-users
120
133
  [migration]: https://github.com/parse-community/Parse-SDK-JS/blob/master/2.0.0.md
121
134
  [open-collective-link]: https://opencollective.com/parse-server
122
- [types-parse]: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse
135
+ [types-parse]: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse
123
136
  [license-link]: LICENSE