Skip to content

v1.7.0

Compare
Choose a tag to compare
@andrewimm andrewimm released this 25 Jan 18:15

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