Updating an Existing App
- In your project directory update the mobilecaddy-utils dependency with the following command;
123npm update mobilecaddy-utils - Update the package.json so that “mc_utils_resource” value now matches that specified against the release below. Note that this MC_Resource_vX_Y_Z needs to be in places prior to a further deploy to Salesforce.com
For more information please read Upgrading to a new Version of MobileCaddy Utilities.
Release Notes
1.9.3
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.80
mc_utils_resource setting – “MC_Resource_v1_9_3”
Bug Fixes
- None.
Improvements
- None.
Breaking Changes
- None
1.9.2
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.80
mc_utils_resource setting – “MC_Resource_v1_9_2”
Bug Fixes
- None.
Improvements
- Info on failed syncs (insert/update) recorded and available via the devUtils.
Breaking Changes
- None
1.9.1
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.80
mc_utils_resource setting – “MC_Resource_v1_9_1”
Bug Fixes
- Skipping sync-too-soon check, if we’re in an initialSync call.
- Corrected handling of initialSync failures in scenario where any non-first table fails and there are more than 2 more tables in the queue.
Improvements
- Data passed to insertRecord/insertRecords and updateRecord/updateRecords is now immutable.
Breaking Changes
- None
1.8.2
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.80
mc_utils_resource setting – “MC_Resource_v1_8_2”
Bug Fixes
- initialSync now retries failed tables and if failed then rejects the promise. There are a total of three retries across all tables, before the initialSync is deemed to have failed. See API doc for details of promise rejection.
Improvements
- Allow dev to spec localStorage to persist through upgrades. The following command can be used set the keys for which localStorage items will persist. It is recommended that this line be run in the same branch of code in the app.js that calls the initialSync().
123localStorage.setItem( 'lsItemsToPersist', JSON.stringify( [ "itemName1", "itemName2" ] ) );
Breaking Changes
- None
1.8.0
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.80
mc_utils_resource setting – “MC_Resource_v1_8_0”
Bug Fixes
- Older browser support (Android 4.4 / 5.1) added for Prototype.find().
- Fix for scenario where records failing update calls to platform due to “Update Failure Match Failure” were not being handled correctly.
Improvements
- Support for null date in insertRecord and updateRecord
- Support for SOQL syntax supplying fields to return
Breaking Changes
- None
1.7.5
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.80
mc_utils_resource setting – “MC_Resource_v1_5_0”
Bug Fixes
- Support for older Android devices (String.includes polyfill)
- Fix scenario where Status Check calls were timing out and causing JavaScript errors.
Improvements
- Additional new skipP2M argument in syncMobileTable call.
- Support for recTypeDevName for record types, providing correct support for Orgs with translations on record type names.
- Removing localStorage items upon use logout.
Breaking Changes
- getRecordTypes() now returns an of object specifying a 2-way map of names to.from Ids. See API docs for details.
1.6.0
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.80
mc_utils_resource setting – “MC_Resource_v1_6_0”
Bug Fixes
- None
Improvements
- Optimisations in Sync calls. Expected 40% drop in required transactions.
Breaking Changes
- None
1.5.1
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.80
mc_utils_resource setting – “MC_Resource_v1_5_0”
Bug Fixes
- Handle response to Sync calls when primary record has already been removed
Improvements
- Better handling of exceptions when contacting Salesforce
Breaking Changes
- None
1.4.2
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.80
mc_utils_resource setting – “MC_Resource_v1_4_2”
Bug Fixes
- Fixed issue with “Insert Failure Match Failure” scenarios causing errors in some conditions
- Removed “cache skip” functionality as this was causing upgrade issues on some Android devices
Improvements
- dirtyFlag support in smartRead calls
- isWon and isClosed mandatory support as per metadata
- Analytics support (non-beta)
- Analytics “window” moved from hourly to daily
- Container and OS versions passed up to platform upon sync
- Use of platAuthUrl for endpoint during upgrades/resets
Breaking Changes
- None
1.2.1
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.49
mc_utils_resource setting – “MC_Resource_v1_2_1”
Bug Fixes
- As per v.1.14 – Issue with SQLite duplicate records being created in some “partial connectivity” instances. Manifested with error messages such as “SQL CONSTRAINT: Unique constraint failed…” and/or “There are more than one soup elements where MC_Proxy_ID__c is…”. This has been resolved.
- Removed limiting of field size (32k) on Rich Text input
Improvements
- None
Breaking Changes
- None
1.2.0
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.49
mc_utils_resource setting – “MC_Resource_v1_2_0”
Bug Fixes
- None
Improvements
- Support for MobileCaddy “Sync4” platform behaviour
Breaking Changes
- None
1.1.5
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.49
mc_utils_resource setting – “MC_Resource_v1_1_5”
Bug Fixes
- Race condition found for updated records in-flight to platform. Manifested through Mobile Log entries containing errors such as “Unknown CRUD: UpdateUpdate”
Improvements
- None
Breaking Changes
- None
1.1.4
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.49
mc_utils_resource setting – “MC_Resource_v1_1_4”
Bug Fixes
- Issue with SQLite duplicate records being created in some “partial connectivity” instances. Manifested with error messages such as “SQL CONSTRAINT: Unique constraint failed…” and/or “There are more than one soup elements where MC_Proxy_ID__c is…”. This has been resolved.
- Removed limiting of field size (32k) on Rich Text input
Improvements
- None
Breaking Changes
- None
1.1.3
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.49
mc_utils_resource setting – “MC_Resource_v1_1_3”
Bug Fixes
- Race conditioning hardening for updates to records already in-flight.
- Wrapped startup calls in heartbeats to protect against loss of access token when upgrade takes place on cold start
- Dekstop DV upgrade bugfix – UUID was not being set.
Improvements
- None
Breaking Changes
- None
1.1.1
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.49
mc_utils_resource setting – “MC_Resource_v1_1_1”
Bug Fixes
- None
Improvements
- Updated identifier for Desktop environment. Allows for multiple apps to run on the same device without conflict during install, running and uninstallation.
Breaking Changes
- None
1.1.0
See API Documentation for further details.
Min. MobileCaddy Package Version: 1.49
mc_utils_resource setting – “MC_Resource_v1_1_0”
Bug Fixes
- None
Improvements
- devUtils.getCurrentUserName()
- devUtils.getUserLocale()
- devUtils.getCachedAppSoupValue(key)
Breaking Changes
- None
1.0.0
See API Documentation for further details.
Min.MobileCaddy Package Version: 1.49
mc_utils_resource setting – “MC_Resource_v1_0_0”
Bug Fixes
- None
Improvements
- Electron / Desktop Support
- New dirtyFlag support in readRecords and smartSql results
Breaking Changes
- None