-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Upgrading jQuery to 3.6.0 #4891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Very nice, thank you for the amazing work! |
Is OpenRefine 3.6 going to be released soon? In the OpenRefine UI code, I only found 10 actual issues which broke either the code or the cypress tests, which resulted in 53 tests failing. In some cases, one bug broke multiple tests. A lot of the changes were migrating deprecated functions, but of course that isn't required. JQuery has deprecated many functions, but they have been very slow to remove them. If you look at the list, they have only removed functions in early jQuery 1.3-1.10. (Ref: https://api.jquery.com/category/removed/). There were only a handful of places OpenRefine was using removed jQuery functions. For extensions, I would expect there would be few issues. If there are popular extensions outside of this repo, link them here and I can try them out with OpenRefine 3.6 and jQuery 3.6.00 to see if they work. And yes, the upgrade does resolve four security issues. Not sure how critical that is if OpenRefine is mainly used locally or within a private network. I've added info to the PR for that. |
Yes I would like to release 3.6 soon. |
I looked at the list of extensions but most were not active and haven't been updated to work with OpenRefine 3.5.x. If we postpone upgrading jQuery, that means any new extensions on 3.6.x will be using jQuery 1.12.4, and may break when jQuery gets upgraded in the next OpenRefine version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging and adding to 3.6 since no concerns have been raised.
Changes proposed in this pull request:
The jQuery migration from 1.12.4 to the latest (3.6.0) version required many fixes due to deprecated and removed methods, and also some behavior changes.
Luckily, all the work was able to be done incrementally since all of the fixes were compatible with the old version (1.12.4).
All of the Cypress tests are passing, and I have done some additional manual testing.
Summary of Changes:
Pending:
Associated PRs: