Skip to content

Commit 8f51a54

Browse files
authored
Merge branch 'alpha' into remove-dtslint
2 parents b7a7297 + fa34827 commit 8f51a54

27 files changed

+640
-653
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ jobs:
9494
node-version: ${{ matrix.NODE_VERSION }}
9595
cache: npm
9696
- run: npm ci
97-
- run: npm test -- --maxWorkers=4
97+
# Run unit tests
98+
- run: npm test -- --maxWorkers=4
99+
# Run integration tests
98100
- run: npm run test:mongodb
99101
env:
100102
CI: true

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
---
44

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)
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)
5+
[![Build Status CI alpha](https://github.com/parse-community/Parse-SDK-JS/actions/workflows/ci.yml/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/actions/workflows/ci.yml/badge.svg?branch=beta)](https://github.com/parse-community/Parse-SDK-JS/actions?query=workflow%3Aci+branch%3Abeta)
7+
[![Build Status CI release](https://github.com/parse-community/Parse-SDK-JS/actions/workflows/ci.yml/badge.svg?branch=release)](https://github.com/parse-community/Parse-SDK-JS/actions?query=workflow%3Aci+branch%3Arelease)
88
[![Snyk Badge](https://snyk.io/test/github/parse-community/Parse-SDK-JS/badge.svg)](https://snyk.io/test/github/parse-community/Parse-SDK-JS)
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+
[![Coverage](https://codecov.io/gh/parse-community/Parse-SDK-JS/branch/alpha/graph/badge.svg)](https://codecov.io/gh/parse-community/Parse-SDK-JS)
1010

1111
[![Node Version](https://img.shields.io/badge/nodejs-18,_20,_22-green.svg?logo=node.js&style=flat)](https://nodejs.org/)
1212
[![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-dashboard/releases)
@@ -113,7 +113,7 @@ Types are updated manually after every release. If a definition doesn't exist, p
113113

114114
#### Core Manager
115115

116-
The SDK has a [Core Manager](src/CoreManager.ts) that handles all configurations and controllers. These modules can be swapped out for customization before you initialize the SDK. For full list of all available modules take a look at the [Core Manager Documentation](src/CoreManager.ts).
116+
The SDK has a [Core Manager][core-manager] that handles all configurations and controllers. These modules can be swapped out for customization before you initialize the SDK. For full list of all available modules take a look at the [Core Manager Documentation][core-manager].
117117

118118
```js
119119
// Configuration example
@@ -144,6 +144,7 @@ We really want Parse to be yours, to see it grow and thrive in the open source c
144144

145145
[3rd-party-auth]: http://docs.parseplatform.org/parse-server/guide/#oauth-and-3rd-party-authentication
146146
[contributing]: https://github.com/parse-community/Parse-SDK-JS/blob/master/CONTRIBUTING.md
147+
[core-manager]: https://github.com/parse-community/Parse-SDK-JS/blob/alpha/src/CoreManager.ts
147148
[custom-auth-module]: https://docs.parseplatform.org/js/guide/#custom-authentication-module
148149
[link-with]: https://docs.parseplatform.org/js/guide/#linking-users
149150
[open-collective-link]: https://opencollective.com/parse-server

changelogs/CHANGELOG_alpha.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# [5.3.0-alpha.6](https://github.com/parse-community/Parse-SDK-JS/compare/5.3.0-alpha.5...5.3.0-alpha.6) (2025-02-14)
2+
3+
4+
### Bug Fixes
5+
6+
* `Parse.Query.findAll` not returning all objects with option `json: true` ([#2449](https://github.com/parse-community/Parse-SDK-JS/issues/2449)) ([f160b8c](https://github.com/parse-community/Parse-SDK-JS/commit/f160b8c9a14ef26b850bebd0a65e84a1e96ef327))
7+
8+
# [5.3.0-alpha.5](https://github.com/parse-community/Parse-SDK-JS/compare/5.3.0-alpha.4...5.3.0-alpha.5) (2025-02-11)
9+
10+
11+
### Bug Fixes
12+
13+
* Cannot pass `useMasterKey: false` to `Parse.Cloud.run` ([#2431](https://github.com/parse-community/Parse-SDK-JS/issues/2431)) ([abadac9](https://github.com/parse-community/Parse-SDK-JS/commit/abadac947d8453afdf86f4a008aee189b4a6bfd2))
14+
115
# [5.3.0-alpha.4](https://github.com/parse-community/Parse-SDK-JS/compare/5.3.0-alpha.3...5.3.0-alpha.4) (2024-10-14)
216

317

eslint.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ module.exports = tseslint.config({
2424
"no-useless-escape": "off",
2525
"no-var": "error",
2626
"no-console": 0,
27-
"no-prototype-builtins": "off",
2827
"require-atomic-updates": "off",
2928
"prefer-spread": "off",
3029
"prefer-rest-params": "off",

integration/test/ParseQueryTest.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,13 +1493,17 @@ describe('Parse Query', () => {
14931493

14941494
it('can return all objects with findAll', async () => {
14951495
const objs = [...Array(101)].map(() => new Parse.Object('Container'));
1496-
14971496
await Parse.Object.saveAll(objs);
1498-
14991497
const query = new Parse.Query('Container');
1500-
15011498
const result = await query.findAll();
1499+
assert.equal(result.length, 101);
1500+
});
15021501

1502+
it('can return all objects with findAll json option', async () => {
1503+
const objs = [...Array(101)].map(() => new Parse.Object('Container'));
1504+
await Parse.Object.saveAll(objs);
1505+
const query = new Parse.Query('Container');
1506+
const result = await query.findAll({ json: true, batchSize: 100 });
15031507
assert.equal(result.length, 101);
15041508
});
15051509

integration/test/ParseUserTest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,8 @@ describe('Parse User', () => {
598598
})
599599
.then(() => {
600600
assert.equal(Object.keys(user.attributes).length, 5);
601-
assert(user.attributes.hasOwnProperty('username'));
602-
assert(user.attributes.hasOwnProperty('email'));
601+
assert(Object.hasOwn(user.attributes, 'username'));
602+
assert(Object.hasOwn(user.attributes, 'email'));
603603
return user.destroy();
604604
})
605605
.then(() => {

0 commit comments

Comments
 (0)