Uh oh!
There was an error while loading. Please reload this page.
Bump jquery from 3.3.1 to 3.5.1 - #27266
Conversation
One of your CI runs failed on this pull request, so Dependabot won't merge it. Dependabot will still automatically merge this pull request if you amend it and your tests pass. |
92ce213 to
e36b835Comparee36b835 to
bb613d1Comparebb613d1 to
951a2dcCompare951a2dc to
a291a7aCompare
juliusknorr
left a comment
There was a problem hiding this comment.
Needs some further careful testing as this showed some issues in #24107
This comment has been minimized.
This comment has been minimized.
a291a7a to
8efc70bCompare8efc70b to
415e1b3Compare
nextcloud-command
left a comment
There was a problem hiding this comment.
@dependabot merge
415e1b3 to
70bda72Compare440cd2d to
30d72cbComparePVince81
commented
Oct 27, 2021
fix for the share button is here: 30d72cb let's see if more tests pass now... |
PVince81
commented
Oct 27, 2021
cool, only one failing JS test remains: |
PVince81
commented
Oct 27, 2021
I wasn't able to find this view in the UI so couldn't test. |
PVince81
commented
Oct 28, 2021
regardless, I tried to debug the failing test and noticed that the "thumbnail" div is getting rendered twice, somehow it again seems like a problem with Handlebars like with the previous issues. I'm wondering if jquery is causing side effects with Handlebars or if Handlebars is using jquery internally... |
PVince81
commented
Oct 28, 2021
alright, I managed to fix it... once again there was an HTML element |
PVince81
commented
Oct 28, 2021
alright, so this is a jquery 3.5 thing: https://jquery.com/upgrade-guide/3.5/ it is said that for all which means this update is likely not safely backportable @skjnldsv FYI |
MichaIng
commented
Oct 29, 2021
Great debugging, many thanks! That this may break apps, including custom ones, is an issue I guess, not only for backports. I'd personally still vote for merging it with NC24, also since the global jQuery is deprecated for a long time, in favour of shipping an own one for apps, but I guess that Nextcloud practice enforces a conservative approach. |
Bumps [jquery](https://github.com/jquery/jquery) from 3.3.1 to 3.6.0. - [Release notes](https://github.com/jquery/jquery/releases) - [Commits](jquery/jquery@3.3.1...3.6.0) Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Expanded the empty span tag to resolve issue with wrong appending done by either handlebars or jquery. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
22c87d8 to
ec9ea7bComparePVince81
commented
Nov 19, 2021
restarted build due to weird failure |
MichaIng
commented
Nov 19, 2021
Ah sorry, when rebaseing and resolving conflicts, I removed the compiled JS changes but didn't do |
MichaIng
commented
Nov 19, 2021
/compile amend / |
Since the jquery update to 3.5.0, it seems Handlebars doesn't correctly render self-closed elements. This fixes mainfileinfodetailsview template to not use self-closed elements and fixes the JS unit tests. Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
ec9ea7b to
49e35ffComparePVince81
commented
Nov 19, 2021
approved by three bots but only one human, haha I agree with moving forward with this early in NC 24 so that apps can adjust when needed |
Good argument to merge it as early as possible into a new major NC version. I won't approve simply because I cannot estimate how many apps may be affected by this and whether it's better to have the need for removing the self-closing tags removed somehow announced to (app) developers earlier. So better if a second person with more insights does this. But otherwise the global jQuery has been deprecated a long time ago: https://github.com/nextcloud/server/blob/4322aab/core/src/globals.js#L105 There are so many more deprecation messages with a removal announced for NC 20 already. Probably it makes sense to be stricter with such announcements, else developers won't take them serious anymore and we're in a vicious cycle or not being able to get rid of deprecated code. Of course this means that migrating related code in core can be assured until the deadline, which is by far not the case currently 😉. |
PVince81
commented
Nov 19, 2021
@MichaIng I just came here to approve but our robots overlord already overruled |
Ah of course the bots merge autonomously when CI passes, sometimes I forget about that. Should be fine, and as last resort it can be easily reverted before NC24 enters RC stage. |
PVince81
commented
Nov 19, 2021
ok, so this only updated to 3.5.1 according to package.lock. now either we need to wait for the bot to make the proposal for 3.6.0 or do it manually? |
MichaIng
commented
Nov 19, 2021
Probably we can wait for the weekly dependabot check tomorrow (at Saturdays). |
Bumps jquery from 3.3.1 to
3.6.03.5.1.Release notes
Sourced from jquery's releases.
Commits
0cc1ad63.6.0aed59daRelease: remove the need to install grunt globally8606ce4Release: update version to 3.6.0-pre8b50fbeRelease: drop the need for npm as a local dependencya21a4b2Release: upgrade release dependenciesc208debRelease: update AUTHORS.txt1654874Selector: Update Sizzle from 2.3.5 to 2.3.6f8bdb12Support: ensure display is set to block for the support div (#4844)627c573Build: Rename master to main across the repository15b62a2Deferred: Rename master to primaryDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot will merge this PR once CI passes on it, as requested by @nextcloud-command.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)