Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[EPIC] Upgrade to jQuery latest, use jQuery migrate for retro compatibility #13829
We are currently using old or very old versions of jQuery. These versions have never been upgraded because of breaking changes introduced in later versions. Using jQuery Migrate we could upgrade them to the latest version without breaking backwards compatibility.
Here is the official migration guide:
For example we already use a jquery-migrate (version 1.2.1) in the back office, and it can't be used simultaneously with jquery-migrate 3.x.
So in a nutshell, the process should be as follow:
1/ Change jquery version from 1.11 to 1.12 (minimal version supported by the migration script)
2/ Check that nothing is broken, fix when it's broken
3/ Once bugs have been fixed, change jquery version to 3.0 and add the jquery-migrate v3
4/ Check that there is no bug, update jquery libraries if needed.