Newer Versions of Jquery
PermalinkI realize updating jquery to a newer version (such as 2 or 3) could break some things, including addons and other functionality.
Are there any plans to upgrade jquery? How "safe" is it to use a newer version of jquery?
Thanks for the solution. Once we made a change to `application/bootstrap/app.php`, will it be overridden if we update Concrete5 ? In other words, do we have to make that change again?
Sorry I'm new to Conrete5.
Thanks in Advance.
Changes made to files within the "application" folder will not be lost when updating concrete5 (an exception would be files in the "cache" folder). You should avoid making changes to files within the "concrete" and "updates" folders.
There are plans to update to jQuery 3 in the near future.
"Upgrade JQuery to 3.x #6466"
https://github.com/concrete5/concrete5/issues/6466...
Cheers!
I believe jQuery 1.x is being used because it supports older browsers like Internet Explorer 8 and the significant work to migrate and test a new version. For these reasons, I don't think there are any immediate plans to switch to jQuery 3.x.
This page describes breaking changes and migration:
https://jquery.com/upgrade-guide/3.0...
The most current version of jQuery 1.x is 1.12.4, so we should update to that.
Another option is to override the jQuery 1.x asset with another version. There are instructions for overriding assets in app.php.
https://github.com/concrete5/concrete5/blob/develop/application/boot...