[ALOY-1534] Add support for Backbone 1.3.3 and Underscore 1.8.3
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-01-08T18:35:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | CLI Release 7.0.2 |
Components | Builtins |
Labels | n/a |
Reporter | Rene Pot |
Assignee | Feon Sua Xin Miao |
Created | 2017-01-09T14:40:10.000+0000 |
Updated | 2018-01-19T16:56:23.000+0000 |
Description
Currently Alloy uses backbone 0.9.2 as default, and there is an ability to upgrade to 1.1.2 through the config.json as per documentation: [https://wiki.appcelerator.org/display/guides2/Alloy+Backbone+Migration].
However, the current release of backbone is 1.3.3. There should be support for this version in Alloy too.
And I assume it wouldn't hurt updating the default backbone version either, but I guess thats a breaking change and perhaps another ticket.
Increase priority please. The current build features Backbone@1.1.2 by setting a (nasty) property in app/config.json. It's release date is Feb 20 2014. Please update to 1.3.3 (currently the latest) in conjunction with the latest Underscore. P.S.: Personally I'm using Lodash in my whole project, however it might not play nicely with specific Backbone functionalities, so I have the original Underscore library running as well.
PR: https://github.com/appcelerator/alloy/pull/868 Note: Backbone@1.3.3 is not set as default.
Update PR: https://github.com/appcelerator/alloy/pull/870
Node Version: 8.9.1 NPM Version: 5.5.1 Mac OS: 10.13.1 Appc CLI: 7.0.2-master.6 Appc CLI NPM: 4.2.11 Titanium SDK version: 7.0.1.GA Verified fix with the above environment.