Skip to content

v1.7.0 RC1

Pre-release
Pre-release
Compare
Choose a tag to compare
@andrewimm andrewimm released this 13 Jan 04:21

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.