Skip to content

6.0.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@parseplatformorg parseplatformorg released this 16 Feb 01:27
· 11 commits to alpha since this release

6.0.0-alpha.1 (2025-02-16)

Bug Fixes

  • Remove validation error handler option error from various methods of Parse.Object (#2445) (52ddaee)

BREAKING CHANGES

  • Removes the error handler option error from Parse.Object.set, Parse.Object.setACL, Parse.Object.unset, Parse.Role.setName and instead throws on validation error. Previously, if the error option was set, the handler was invoked if a validation error occurred on Parse.Object.set, and if no handler was set, an error was thrown on Parse.Object.save. The new behavior is that an error is thrown at Parse.Object.set. For example, instead of using Parse.Object.set(key, value, { error: ... }) wrap Parse.Object.set(key, value) into a try/catch block. (52ddaee)