-
-
Couldn't load subscription status.
- Fork 4.6k
Bump jQuery to v2.2 #20949
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
Bump jQuery to v2.2 #20949
Conversation
|
👀 @blizzz as our friend the ldap 🧙 might cause trouble |
Fully tested one LDAP wizard go from first to last page. Adding credentials, login details, users and groups worked just fine and there were no JS errors in the console (just a lot of deprecation warnings). |
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.
Tested and still works 👍
|
Do you have some kind of list of apps that still use JQuery and could potentially be affected by this? |
No, this information is hard to acquire. Rule of thumb is the apps that still don't use webpack but have some UI to render |
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4ceea3b to
4ed6284
Compare
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.
🎉 Seems to work still fine
The JQuery warning comes up on pretty much every app at the moment, even the Files or Calendar etc., so it is not that helpful currently. |
|
I know. This is something we have to work on. For Files it's probably the most complex task to get this app into shape. But others should be easier. |
|
You can, for example, add https://github.com/nextcloud/eslint-config and it will automatically tell you which of the deprecated/removed globals are still used. |
|
There actually seems to be a regression with this that causes the files app to fail loading (sometimes on firefox but more often in chromium) It seems to be somehow related to the order how things are executed since the issue is mainly that the OCA.Files.FileList is not ready when the Any idea @ChristophWurst ? I couldn't find anything helpful in the 2.2 changelog. 😞 |
ah yeah. I do remember that this loading order issue arose when I attempted to upgrade to v2.2 in the past. Now it seemed resolved when I tested and I just assume the bundled scripts helped. IIRC removing the |
|
Still an issue for me 🤷 |
|
Documented at nextcloud/documentation#5160 |


As announced in the deprecation warning we will slowly upgrade jquery. This time to v2.2. A quick smoke test showed me a working files list and some basic settings, so the breakage might be minimal.
I would suggest to get this in as early as possible. So we notice the breaking changes in various apps and fix them before the 20 release.
👀 @nextcloud/javascript