v1.7.0
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 objectParse.Promisesupports 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.Promiseis A+ Compliant by default- Avoid memory leaks when single instance mode is disabled
- Under the hood, ObjectState has been replaced with interchangeable controller implementations:
SingleInstanceStateControllerandUniqueInstanceStateController. Other compatible implementations can be swapped in at runtime. - Applies the correct class name to the results of unfetched relations