On 01/01/2016 09:57 AM, Erik Huelsmann wrote:
So I actually have not even used 1.9 or 1.10, my experience is based on moving from 1.2 to 1.3, to 1.5, to 1.7... every time we upgraded our single-page app, stuff broke and needed to get rewritten.
The stuff that broke were largely custom widgets we wrote, using underlying Dojo classes for widgets and templates -- they kept refactoring these and changing the API in subtle ways that broke our custom code.
For LSMB this might not be much of an issue -- yet. At least not before LSMB 1.5. But 1.5 relies upon Dojo far more than any previous version (is it even in 1.3? And for 1.4, it's only used for simple form elements and some layout stuff in the Contacts area -- I don't think we've built any actual custom complex widgets).
It's certainly possible that things have shaken out and gotten more stable -- as it is the jump from Dojo 1.5 to 1.7 (which introduced AMD) was so great we still have not completely upgraded our internal app, and are still using 1.5.
And then also realize that there's no server-side testing that would reveal a problem with Dojo -- it's purely client-side. So testing it properly is largely visual regression testing, stuff on top of Selenium/PhantomJS or similar, or using writing tests for Dojo's own test runner, DOH (if that's still around... looks like they now promote "intern" which looks interesting...)
Dojo does have its own test suite. But the problem I've experienced with Dojo upgrades is in its base widget classes (dijit/_Templated, dijit/_Widget, etc) which have changed far more than you would think should be acceptable within a minor release. If we're not extending those, then we're not affected -- yet. But the ability to extend those to have smart widgets is the main reason I was advocating for Dojo in the first place, over simpler widget systems like jquery.ui and the like.
And as previously noted, I have not experienced any issues with updating a patch release within the same minor version (e.g. 1.5.1 to 1.5.3), only between the minor versions (1.5 to 1.7). And Dojo itself is still releasing patch releases for 1.5 -- if they expected everyone could upgrade easily, they would not still be issuing patches for 1.4....
_______________________________________________ Ledger-smb-devel mailing list ..hidden.. https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel