Last month, one of the main contributors of Bootstrap has announced that
the 3.x.x branch will no longer be developed [1].
It means that they are currently putting all their efforts to Bootstrap
4.x, and now they are releasing Alphas so the version 4.0 should be
available soon.
In Flamingo, we use Bootstrap 3.3.7. If we decide to upgrade to Bootstrap
4, we will have the following problems:
1. Bootstrap 4 is not retro-compatible with Bootstrap 3. There are new
components, and some have been removed. We know that some extensions are
using Bootstrap elements so there is a risk they're gonna be broken.
2. Bootstrap 4 no longer uses the LESS language. Instead, they use SASS [2]
(the SCSS variant). Which means we should integrate SASS in XWiki, as we
did for LESS. Some work could be re-used, but there are still work to do,
and it increases the number of CSS preprocessor to support. For the record,
the team has mentioned that Bootstrap might use PostCSS in the future!
I've already spoken about this problem in a previous thread last year [3],
but the problem will probably hits us in the following months. It may be a
strong topic for XWiki 9.x or 10.x.
Note: I haven't mentioned the Bootstrap alternative called "Foundation"
[4], since it would be a bigger breaking change :)
Thanks,
Guillaume
[1]
https://github.com/twbs/bootstrap/issues/20631#issuecomment-244844932
[2]
http://sass-lang.com/guide
[3]
http://markmail.org/message/7sbviier23wzfadf
[4]
http://foundation.zurb.com/
--
Guillaume Delhumeau (guillaume.delhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the
XWiki.org project