Click here to Skip to main content
15,900,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I got a task where either I need to use jQuery latest version and change every single page for any obsolete function which might not be supporting after using the latest version jQuery.
Otherwise, I will have to migrate the existing jquery version to the upgraded version.

I don't know if migrating to upgraded version will still create compatibility and supporting issues or migration script will automatically handle those issues?

Which process will be easier and faster, as the application is huge.

What I have tried:

Well, I was going through few internet sites where they mentioned to migrate to 1.12 version first and then to migrate to 3.0 or above.
But, nowhere its mentioned whether it will sort out all the compatibility issues or we have to handle that manually?
Posted
Updated 13-Nov-19 21:40pm
Comments
F-ES Sitecore 14-Nov-19 4:41am    
There is a high chance your code won't work if you go from 1 to the latest version. You'll just have to test each function and tackle issues as you find them. Welcome to the world of open-source frameworks :)

1 solution

It depends entirely on your existing code. Generally speaking, jquery has a pretty good track record of being backward-compatibls with old versions, but any dev worth his paycheck will check STILL regression test his code when updating libraries to newer versions. Look at the supporting docs for a list of changes, as well as deprecated functions.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900