I think it'd be better for the project to just ship with a single version if possible.
There shouldn't be anything stopping the developer from using whatever version they like for the public site - if there is, then that's what should be addressed. On Wed, Dec 31, 2014 at 8:11 AM, Eduardo Rivas <[email protected]> wrote: > Sorry for the delay guys, I left for a short vacation. > > J, off the top of my head, the benefits of using newer versions of jQuery > are: > > - Support for the latest versions of Bootstrap (as mentioned in my > first email). On the CSS side, Bootstrap gives Mezzanine a theme, grid, > form styles, etc; but on the Javascript / jQuery side it provides a > complete UI kit, letting you build interactive interfaces with elements > such as tabs, accordions, dropdowns, affixes, modal dialogs, etc. More info > here: http://getbootstrap.com/javascript/. > - We can benefit from security fixes (I don't know of any problems > with 1.7.1, but they might exist). Also, general bug fixes and > enhancements. > - If we migrate to even more recent versions, such as the 2.x family, > we would get increased speed and reduced size, because these family drops > support for legacy browsers, among other things. > http://blog.jquery.com/2013/04/18/jquery-2-0-released/ (see "How 2.0 > changed"). > - On the same link you can see how you could create custom versions of > jQuery for the 2.x family to cater to the specific needs of your site due > to the new modular approach of building it, further reducing the size of > the final file. > > Steve, I also came up with an alternate approach: Stay with 1.7.1 for the > Admin, but ship more recent versions for the public site. Perhaps we can > create a couple of new settings to substitute JQUERY_FILENAME: for the > admin we could have JQUERY_ADMIN_FILENAME and for the general site > JQUERY_PUBLIC_FILENAME. This way frontend developers can experiment with > the cutting edge without worries of breaking the Admin interface, and we > still get the convenience of managing jQuery versions through settings. > What do you think? > > 2014-12-25 13:04 GMT-06:00 Stephen McDonald <[email protected]>: > >> Thanks Ed - sounds fine so long as we judiciously test all the third >> party libraries bundled, I know there have been rough edges around those in >> the past when upgrading jquery itself. The gallery image lightbox thing, >> the drag/drop interface within the admin, and there are probably others >> that don't come to mind. >> >> Thanks again. >> >> On Thu, Dec 25, 2014 at 10:37 AM, Eduardo Rivas <[email protected]> >> wrote: >> >>> Hello everyone! I've started upgrading Mezzanine to the latest version >>> of Bootstrap (v3.3.1) and this would require at least jQuery 1.9.1 [ >>> source >>> <https://github.com/twbs/bootstrap/blob/master/dist/js/bootstrap.js#L14>]. >>> I've encountered this problem before when using third party libraries that >>> don't play along with Mezzanine's three year old version of jQuery (1.7.1, >>> released >>> November 2011 <http://blog.jquery.com/2011/11/21/jquery-1-7-1-released/>). >>> I would like to ask everybody (and Steve specifically) if you are open to >>> upgrading the version of jQuery to at least 1.9.1. Cheers. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Mezzanine Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Stephen McDonald >> http://jupo.org >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Mezzanine Users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/mezzanine-users/jlcdcReUwdM/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
