Releases: Esri/offline-editor-js
Releases · Esri/offline-editor-js
v2.14.0 - Aug. 14, 2015
Merge pull request #401 from andygup/v2.14 v2.14
v2.13.1 - Aug 12, 2015
Merge pull request #398 from andygup/v2.13.1 v2.13.1
v2.11 - July 30, 2015
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 returningnull
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()
.
v2.10 - July 27, 2015
No breaking changes.
Enhancements
- Closes #288. Adds the ability to modify
offlineTilesEnabler
andofflineTilesEnablerLayer
database name and data store name. - Updates to API and How-to Docs
v2.9.5 - July 14, 2015
No breaking changes.
Enhancements
- In reference to #288, added tileLayer.showBlankTiles boolean property to both offlineTilesEnabler
and OfflineTilesEnablerLayer.
v2.9.3 - July 1, 2015
No breaking changes.
Enhancements
- Closes #319. Make TPK support more universal between Chrome and WebView on Android.
v2.9.2 - June 17, 2015
No breaking changes.
Enhancements
- OfflineFeaturesManager now overrides layer.hasAttachments property. The override is available after a feature layer
has been extended. This fixes an existing bug in the ArcGIS JS API when you create a feature layer from a featureCollectionObject
the hasAttachments property does not get correctly repopulated.
Bug fix
- Fixes issue in offlineFeaturesManager's featureCollection data store when using it with multiple feature layers.
Subsequent featureLayerCollections were being stored as arrays instead of objects. - Minor tweak to appcache-tiles.appcache. It was broken.
v2.9 - May 27, 2015
v2.8.2 - May 19, 2015
No breaking changes. Recommended update.
Enhancements
- Fixes sync error when returning online after updating a new edit offline. Related to objectid =
undefined
v2.8 - May 5, 2015
This release focused on updating full offline editing capabilities. Recommended update. No breaking changes.
Enhancements
- Added functionality to
offlineFeaturesManager.js
to detect and handle when a feature layer is created using a feature collection. - Addresses browser changes in Chrome 42.x and Firefox 37.x with respect to how they handle HTML/JS apps when going offline and
then transitioning back online. - Updated
appcache-features.html
sample.
Bug Fix
- Closes #336 - problem with appcache-features sample. The application now correctly syncs when going back online after
a full offline restart. It also contains improvements in how the app life-cycle is handled.