parse 5.0.0-alpha.1 → 5.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.
package/README.md CHANGED
@@ -29,8 +29,8 @@ A library that gives you access to the powerful Parse Server backend from your J
29
29
  - [Getting Started](#getting-started)
30
30
  - [Using Parse on Different Platforms](#using-parse-on-different-platforms)
31
31
  - [Compatibility](#compatibility)
32
+ - [Parse Server](#parse-server)
32
33
  - [Node.js](#nodejs)
33
- - [Upgrading to Parse SDK 2.0.0](#upgrading-to-parse-sdk-200)
34
34
  - [3rd Party Authentications](#3rd-party-authentications)
35
35
  - [Experimenting](#experimenting)
36
36
  - [Contributing](#contributing)
@@ -91,21 +91,23 @@ Types are updated manually after every release. If a definition doesn't exist, p
91
91
 
92
92
  ## Compatibility
93
93
 
94
+ ### Parse Server
95
+
96
+ Parse JS SDK is compatible with the following versions of Parse Server.
97
+
98
+ | Parse JS SDK | Parse Server |
99
+ |--------------|--------------|
100
+ | 4.x.x | <= 6.x.x |
101
+ | 5.x.x | >= 7.x.x |
102
+
94
103
  ### Node.js
95
104
 
96
105
  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.
97
106
 
98
107
  | Version | Latest Version | End-of-Life | Compatible |
99
108
  |------------|----------------|-------------|------------|
100
- | Node.js 18 | 18.19.0 | April 2025 | ✅ Yes |
101
- | Node.js 20 | 20.10.0 | April 2026 | ✅ Yes |
102
-
103
-
104
- ## Upgrading to Parse SDK 2.0.0
105
-
106
- With Parse SDK 2.0.0, gone are the backbone style callbacks and Parse.Promises.
107
-
108
- We have curated a [migration guide][migration] that should help you migrate your code.
109
+ | Node.js 18 | 18.19.0 | April 2025 | ✅ Yes |
110
+ | Node.js 20 | 20.10.0 | April 2026 | ✅ Yes |
109
111
 
110
112
  ## 3rd Party Authentications
111
113
 
@@ -130,6 +132,5 @@ We really want Parse to be yours, to see it grow and thrive in the open source c
130
132
  [contributing]: https://github.com/parse-community/Parse-SDK-JS/blob/master/CONTRIBUTING.md
131
133
  [custom-auth-module]: https://docs.parseplatform.org/js/guide/#custom-authentication-module
132
134
  [link-with]: https://docs.parseplatform.org/js/guide/#linking-users
133
- [migration]: https://github.com/parse-community/Parse-SDK-JS/blob/master/2.0.0.md
134
135
  [open-collective-link]: https://opencollective.com/parse-server
135
136
  [types-parse]: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse
package/dist/parse.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Parse JavaScript SDK v5.0.0-alpha.1
2
+ * Parse JavaScript SDK v5.0.0-alpha.2
3
3
  *
4
4
  * The source tree of this library can be found at
5
5
  * https://github.com/ParsePlatform/Parse-SDK-JS
@@ -557,7 +557,7 @@ var config /*: Config & { [key: string]: mixed }*/ = {
557
557
  SERVER_AUTH_TOKEN: null,
558
558
  LIVEQUERY_SERVER_URL: null,
559
559
  ENCRYPTED_KEY: null,
560
- VERSION: 'js' + "5.0.0-alpha.1",
560
+ VERSION: 'js' + "5.0.0-alpha.2",
561
561
  APPLICATION_ID: null,
562
562
  JAVASCRIPT_KEY: null,
563
563
  MASTER_KEY: null,
@@ -1941,7 +1941,7 @@ var LiveQueryClient = /*#__PURE__*/function () {
1941
1941
  var className = query.className;
1942
1942
  var queryJSON = query.toJSON();
1943
1943
  var where = queryJSON.where;
1944
- var fields = (_queryJSON$keys = (0, _keys.default)(queryJSON)) === null || _queryJSON$keys === void 0 ? void 0 : _queryJSON$keys.split(',');
1944
+ var keys = (_queryJSON$keys = (0, _keys.default)(queryJSON)) === null || _queryJSON$keys === void 0 ? void 0 : _queryJSON$keys.split(',');
1945
1945
  var watch = (_queryJSON$watch = queryJSON.watch) === null || _queryJSON$watch === void 0 ? void 0 : _queryJSON$watch.split(',');
1946
1946
  var subscribeRequest = {
1947
1947
  op: OP_TYPES.SUBSCRIBE,
@@ -1949,7 +1949,7 @@ var LiveQueryClient = /*#__PURE__*/function () {
1949
1949
  query: {
1950
1950
  className: className,
1951
1951
  where: where,
1952
- fields: fields,
1952
+ keys: keys,
1953
1953
  watch: watch
1954
1954
  }
1955
1955
  };