Skip to content

v2.11 - July 30, 2015

Compare
Choose a tag to compare
@andygup andygup released this 30 Jul 21:01
· 257 commits to master since this release

No breaking changes to the public API. This is a recommended update. This version is focused on improving the sync logic between the library and the feature service. Many internal-only breaking changes.

Enhancements

  • Closes #361 - Deletes each database record after a successful sync rather than a batch database delete.
  • Added additional properties to the goOnline() sync process callback object to better capture any errors.
  • Improved error handling when submitting edits during sync.

Breaking Changes Internal - Private

  • INTERNAL: editStore.editExists() - if an edit does not exist then the old error message "layer id is not a match" has been replaced with "objectId is not a match".
  • INTERNAL: editStore.deleteFeatureLayerJSON() - if the deletion was unsuccessful instead of returning null the method now returns a message string "object was not deleted".
  • INTERNAL: editsStore.resetLimitedPhantomGraphicsQueue() - Deprecated.
  • INTERNAL: offlineFeaturesManager._cleanSuccessfulEditsDatabaseRecords() - Deprecated and replaced by _cleanDatabase().
  • INTERNAL: offlineFeaturesManager._fieldSegment - Deprecated.
  • INTERNAL: offlineFeaturesManager._fileSegment - Deprecated.
  • INTERNAL: offlineFeaturesManager._internalApplyEdits() - Deprecated.
  • INTERNAL: offlineFeaturewsManager._internalApplyEditsFeaturecollection() - renamed to _internalApplyEditsAll().