Skip to content

Commit

Permalink
Closes #361
Browse files Browse the repository at this point in the history
  • Loading branch information
andygup committed Jul 30, 2015
1 parent cb3e2bb commit 71af75d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@

## Version 2.11

Minor breaking changes to the public editing 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.
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 Public APIs**
* `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".
* `editStore.deleteFeatureLayerJSON()` - if the deletion was unsuccessful instead of returning `null` the method now returns a message string "object was not deleted".

**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.
Expand Down

0 comments on commit 71af75d

Please sign in to comment.