[Offline Apps] Version 1.2.0 Release Notes

[Offline Apps] Version 1.2.0 Release Notes

  
Forge Component
(25)
Published on 2015-11-19 by OutSystems Labs
25 votes
Published on 2015-11-19 by OutSystems Labs
* Breaking Change! In order to improve performance, elements that contain database values or offline-specific behavior need to have an offline Extended Property.
     Motivation: Tests showed that finding the DOM objects that contained offline behavior was very slow. Adding this property allows us to greatly limit the scope of the search.
 
* Breaking Change! The localForage JavaScript library is now used for client-side data persistence.
?    Local Storage needs to be cleared on upgrade.
    The cachedList.createOrUpdate function is now asynchronous!
 
? * Renamed the RestScreenName input to RestScreenURL on the OfflineForm, OfflineList and OfflineTableRecords web blocks. This reflects what the input was actually expected to receive.
 
 * The OfflineForm widget now receives an optional custom validation callback.
 
 * Improved the connectivity detection in all browsers.
 
 * When there are no "dirty" records stored locally, the server data will overwrite all the local data.
    With this change, apps should no longer have mashed up data after a bootstrap.
 
 * Added support for data synchronization in Master-Detail patterns.
    Created a new set of actions Response_Start, Response_AddItem and Response_GetJSON to the a REST API that creates records to return the mapping between the client generated IDs of those records and the server generated IDs.
    Added JavaScript to replace all instances of client generated IDs with server generated ones, after a successful synchronization.
 
 * Added an alert when inputs are marked as offline, but don’t have their name in the ENTITY_NAME format.
 
 * An OfflineComboBox widget was created. It allows a combo box to be filled with dynamic values.
 
 * Added support for Lists of entities to the CreateSampleRecord and JSONToRecordList actions. Before, only Lists of Records were supported.
 
 * The fallback URLs in @font-face statements are no longer ignored by the cache manifest generation script.
 
 * Created a new method cachedList.createOrUpdateFromRecord
    This method will to allow modifying data using only JavaScript.
    The only function for this effect that was previously available  - cachedList.createOrUpdate - always took data from a form.
 
 * Added sections about error handling in REST services and server-side redirects to the HOWTO documentation.
 
 * Added a section to the Javascript API documentation describing the variables that the Offline Web Blocks expose.