Skip to content

Releases: parse-community/Parse-SDK-JS

v1.8.2

11 Apr 20:44
Compare
Choose a tag to compare
  • Fix React Native support for Live Queries.
  • Ensure traverse is only called on objects
  • Ensure current user's token is not lost on refetch
  • Tests added for session preservation and array of string

v1.8.1

19 Mar 07:32
Compare
Choose a tag to compare

Fixes an issue with explicit dependencies on React Native.

v1.8.0

18 Mar 23:16
Compare
Choose a tag to compare

New Features:

  • Live Queries, allowing clients to subscribe to live updates from a parse-server instance
  • Parse.Object now has a newInstance() method, which creates a duplicate copy of any object
  • Complete compatibility with ES6 promises, adding .all(), .race(), and .catch()
  • Custom Installation Ids can be passed to User.signUp() with the installationId option, for servers that process signup requests from clients
  • Destroying the current user will also log you out

Also, test coverage of Promises was significantly increased, and a large suite of integration tests against parse-server were introduced as part of the TravisCI build process.

v1.7.1

18 Feb 02:30
Compare
Choose a tag to compare

Changes:

  • Force strings as inputs for username and password at login
  • Adds an option to force https when retrieving the url for a Parse File: file.url({ forceSecure: true })
  • Run in browser compatibility mode in Electron

Fixes:

  • Make sure old, deleted fields are removed when fetching from the server
  • Ensure clone() works with readonly properties

v1.7.0

25 Jan 18:15
Compare
Choose a tag to compare

Full release of 1.7.0. Includes the changes from the RC, plus an additional fix for relations.

New and modified APIs:

  • Parse.Object.revert() removes any unsaved changes from an object
  • Parse.Promise supports ES6-style construction (new Parse.Promise((resolve, reject) => { ... }))
  • Parse.Promise.when() is resolved with arguments that match its own arguments. If the conditions are passed as an argument list, they are resolved as an argument list; if the conditions are passed as an array, they are resolved as an array.

Behavior changes:

  • Parse.Promise is A+ Compliant by default
  • Avoid memory leaks when single instance mode is disabled
  • Under the hood, ObjectState has been replaced with interchangeable controller implementations: SingleInstanceStateController and UniqueInstanceStateController. Other compatible implementations can be swapped in at runtime.
  • Applies the correct class name to the results of unfetched relations

v1.7.0 RC1

13 Jan 04:21
Compare
Choose a tag to compare
v1.7.0 RC1 Pre-release
Pre-release

Pre-release version of 1.7.0, available on npm as 1.7.0-rc1

New and modified APIs:

  • Parse.Object.revert() removes any unsaved changes from an object
  • Parse.Promise supports ES6-style construction (new Parse.Promise((resolve, reject) => { ... }))
  • Parse.Promise.when() is resolved with arguments that match its own arguments. If the conditions are passed as an argument list, they are resolved as an argument list; if the conditions are passed as an array, they are resolved as an array.

Behavior changes:

  • Parse.Promise is A+ Compliant by default
  • Avoid memory leaks when single instance mode is disabled
  • Under the hood, ObjectState has been replaced with interchangeable controller implementations: SingleInstanceStateController and UniqueInstanceStateController. Other compatible implementations can be swapped in at runtime.

v1.6.14

05 Jan 19:06
Compare
Choose a tag to compare

Fixes:

  • Catch quota exceptions on Safari Private Browsing, so that the SDK does not break
  • Fix non-inherited static methods in IE10
  • Avoid exceptions when encountering unsaved objects in dirty mutable containers
  • Fix an inheritance issue with ParseObject.prototype.clone()
  • Move legacy initialization to the top of the ParseObject constructor
  • Avoid a potential "resolved after rejected" error in IE9
  • Use stored server url's path for batch requests

v1.6.13

23 Dec 19:46
Compare
Choose a tag to compare

No changes, other than fixing an npm problem due to a network issue during publishing.

v1.6.12

17 Dec 19:11
Compare
Choose a tag to compare

Changes:

  • Fix a case where ACLs set in beforeSave calls would become null on the client
  • Ensure that query results do not override the className of returned objects for rare cases when it is provided by the server

v1.6.11

16 Dec 23:00
Compare
Choose a tag to compare

Changes:

  • Fixed a false detection of a Promise in Promise.is
  • Modified FacebookUtils to work better with React Native
  • CoreManager.get('VERSION') now appends 'js' to the package.json version
  • RestController no longer automatically prepends '/1/' to SDK paths