Skip to content

Releases: parse-community/Parse-SDK-JS

3.2.0

09 Apr 14:34
4a75d97

Choose a tag to compare

Breaking Changes

Improvements

  • Allow multiple classNames for Parse.Object.registerSubclass (#1315)
const classNames = ['ClassOne', 'ClassTwo', 'ClassThree'];
for (const className of classNames) {
  Parse.Object.registerSubclass(className, CustomClass);
}

Fixes

  • Fixes build for WeChat WeApp, to reduce package size, see issue/#1331

3.1.0

24 Feb 02:23
7cfc6fb

Choose a tag to compare

Breaking Changes
Parse.Push.send will now return the pushStatusId instead of { result: true }

Features

  • Add Server Health Check Parse.getServerHealth() (#1307)
  • Allow saving with custom objectId Parse.allowCustomObjectId = true (#1309)
  • Parse.Push.send now returns pushStatusId (#1302)
  • Add Parse.Push.getPushStatus (#1302)

Improvements

  • Add modifiers to query.startsWith (#1306)
  • Add modifiers to query.endsWith (#1306)

Fixes

  • EventuallyQueue now polls against /health endpoint, caused 403 forbidden side effect (#1305)
  • Allow nested increment on undefined fields (#1303)
  • Handle increment on nested fields any level deep (#1301)

3.0.0

17 Feb 21:12
e0a4da2

Choose a tag to compare

Breaking Changes
For security purposes, logIn will default to POST instead of GET method. (#1284)

If you need to use GET set the usePost option to false.
Parse.User.logIn('username', 'password', { usePost: false })

Features

  • Add EventuallyQueue API, object.saveEventually, object.destroyEventually (#1291)
  • Add Parse.CLP Object to control ClassLevelPermissions (#1145)
  • Add option { json: true } on queries (#1294)
  • Add IndexedDB Storage Controller (#1297)
  • Add Parse.User.isCurrentAsync() for async storage (#1298)

Improvements

  • Add useMasterKey option to Parse.File.destroy() (#1285)
  • User management on React-Native (#1298)
  • Parse.Schema.addField accepts Pointer and Relation types (#1281)

Fixes

  • Allow connect to LiveQuery with null fields (#1282)
  • fromJSON: Return date if value is type Date (#1293)
  • fromJSON: Allow keys to dirty, allows save fromJSON (#1295)

2.19.0

10 Dec 20:52
897007e

Choose a tag to compare

Features

  • New error code 210 (MFA_ERROR) (#1268)
  • New error code 211 (MFA_TOKEN_REQUIRED) (#1268)
  • New error code 161 (FILE_DELETE_UNNAMED_ERROR) (#1257)

Improvements

  • Parse.File.destroy without name error message (#1257)

Fixes

  • Remove unnecessary object reference and comment from AddUniqueOp (#1253)
  • Internal Referencing for Increment Dot Notation (#1255)
  • Saving for Increment Dot Notation (#1219)

2.18.0

10 Nov 14:24
75d0efa

Choose a tag to compare

Features

  • Support query.findAll() (#1233)

Improvements

  • Pass objects into query.equalTo / query.notEqualTo (#1235)
  • Improving legacy initialization setters/getters (#1237)
  • Remove deprecated backbone options from Parse.Push (#1238)
  • Code Coverage and Unit Tests (#1241)

Fixes

  • Prevent crashing LiveQueryClient if emitter error is not set (#1241)
  • Handle LiveQuery subscription socket error (#1241)
  • Set WeChat socket handlers before connecting (#1241)
  • Parse.Installation validating attribute error (#1241)

2.17.0

07 Oct 21:52
f2673a7

Choose a tag to compare

Improvements

  • User LogIn with usePost option (#1229)

2.16.0

17 Sep 20:57
90191ca

Choose a tag to compare

Idempotency enforcement for client requests. This deduplicates requests where the client intends to send one request to Parse Server but due to network issues the server receives the request multiple times.
(Parse-Server 4.3.0+)
Caution, this is an experimental feature that may not be appropriate for production.

To enable use either of the following:

  • Parse.CoreManager.set('IDEMPOTENCY', true)
  • Parse.idempotency = true

Features

Improvements

  • Allow Pin of unsaved objects in LocalDatastore (#1225)

Fixes

  • crypto-js crashing React Native (#1218)
  • Schema mismatch error on add / remove empty array on Relation (#1222)
  • query.select error on null fields (#1223)

2.15.0

16 Jul 16:29
3536615

Choose a tag to compare

Features

  • New Parse.Error 159 DUPLICATE_REQUEST (#1189)

Fixes

  • Live Query Subscription Error Event (#1193)

2.14.0

01 Jul 23:21
d432259

Choose a tag to compare

New Features

  • Passing context in destroy, saveAll, get, find hooks. (#1159)
  • Support using aggregate on top of constructed query (#1170)

Improvements

  • Performance improvement for Query.eachBatch (#1179)

Fixes

  • Fix context for cascade saving (#1186)

2.13.0

27 Apr 17:51
6c68067

Choose a tag to compare

New Features

  • Add Email Verification to Parse.User (#1144)
  • Add Verify Password to Parse.User (#1144)

Improvements

  • Add read preference for aggregate query (#1143)
  • Add file progress type (upload/download) (#1140)
  • Add context to Parse.Object.save (#1150)

Fixes

  • File upload progress (#1133)
  • Live Query Subscription Open Event (#1151)