Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Is Onsen v 2.10.8 backwards compatible with onsen v 2.7.0?
-
I want to make sure there won’t be any css conflicts between the two.
So far it seems that v 2.7 had ons-split-view component where the newer version does not have such a component.Is there anything else that I should be concerned with if I were to migrate from 2.7 to 2.10.8?
Thank you!
-
ons-split-view
was a component in Onsen UI v1. v1 was coupled with AngularJS, but with the release of Onsen UI v2, you could use just plain JS or another framework without needing to use AngularJS. So as of Onsen UI v2,ons-split-view
was deprecated in the AngularJS version and not available in any other version. This also means v2.7 did not includeons-split-view
. Now you should useons-splitter
instead ofons-split-view
.There are some other breaking changes between minor versions. For a full list of changes, please see the CHANGELOG:
https://github.com/OnsenUI/OnsenUI/blob/2.10.10/CHANGELOG.mdRealistically there shouldn’t be too many difficulties in moving from v2.7 to the latest version, but there may be a couple of minor things that don’t work as expected.
One problem that other people have run into is that the syntax for ionicons changed in v2.10.9. If your icons are suddenly not showing, check here for the correct syntax:
https://ionicons.com/v4/Also, the latest version is 2.10.10, not 2.10.8, so you may as well upgrade to that.
If you need any help upgrading, please let me know.