Update jQuery to current version (3.3.1 or later)
pfSense has jQuery 1.12.0 which is no longer receiving security updates. 2.x has also been deprecated by jQuery.
We need to move to the current supported version, which at the moment appears is 3.3.1.
There is an upgrade guide here: https://jquery.com/upgrade-guide/3.0/ which includes instructions on a migration program that can facilitate resolving any issues with code after the upgrade.
- Assignee set to Steve Beaver
Updating to version 3.4.1 is straightforward but we also use jQuery-UI which needs to be kept in step. Unfortunately the jQuery-UI download site has been broken (Cloudfare-502) for six weeks. I will revisit when it becomes available again.
- Status changed from New to Feedback
- % Done changed from 0 to 100
jQuery updated to 3.4.1
jQuery-ui updated to 1.12.1
www/vendor directory reorganized
Obsoleted files list updated
pfSense.js updated to accommodate jQuery deprecated aliases
- Target version changed from 2.5.0 to 2.4.5
I picked this back to 2.4.5, needs tested there, too. Move back to 2.5.0 after for good measure, though if it was going to be a problem there, I'm sure we'd have seen it by now.
- Status changed from Feedback to Resolved
3.4.1 is present on 2.4.5.a.20191218.2354, no problems observed so far. Can reopen or open new issues if JS problems are noticed.
Also available in: Atom