-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Update jQuery to v3.5.0. #30559
Update jQuery to v3.5.0. #30559
Conversation
5594908
to
b5a5759
Compare
8e4c77d
to
1f3137f
Compare
I wonder if we should add the patch in master too even though it's not affected? It does make the intention clearer. |
We can make that change in v5, it make sense to me 👍 |
1f3137f
to
d7a71f3
Compare
Did not check if we included it here, but could we also list jQuery and the specific version number as a dependency on our npm package? |
jQuery recently released v3.5.0 with a security patch for the internal handling of closing tags. See: https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/ Allowing npm to upgrade jQuery to 3.5.0 revealed a bug with the current version of bootstrap that would cause this SPA to crash when a user clicked to collapse something, e.g. a sidebar section. Bootstrap addressed this in twbs/bootstrap#30559 but there is not yet a Bootstrap release that includes this. I'd previously configured package.json to use release versions of Bootstrap (and all dependencies). To get the new Bootstrap fixes, I changed the package.json to use twbs's GitHub repo for Bootstrap as outlined here: https://docs.npmjs.com/files/package.json#github-urls The update to Bootstrap has resulted in some minor oddities with this app, but I'll address those in a separate commit.
See also twbs/bootstrap#30553. Waiting for twbs/bootstrap#30559.
@XhmikosR Is this patch going into the 3.x series as well? I hit this bug running bootstrap 3.4.1 with jQuery 3.5.0 |
No. v3 is EOL. But either way, the jQuery developers have already merged a fix on their side, they just need to release a patch version. |
@XhmikosR Yeah I just read that in the original ticket, the comments were "off-topic" so not originally viewable. Thanks for the response though! |
I use jquery v3.5.0 and Bootstrap v4.4.1 and it doesn't work with it. |
jQuery 3.5.1 is out and it fixed my UI issues. |
Hello, sorry to bother you, I'm new to this topic but since you updated to 3.5.1, could you tell me the steps? thanks |
* Bootstrap 4 issue: twbs/bootstrap#30553 * Bootstrap 4 fix: twbs/bootstrap#30559 Signed-off-by: John Dell <john@mutations.ltd>
In your |
Unclear on why Bootstrap doesn't define its version in dependencies, but could you at least list the jQuery version as a |
Preview: https://deploy-preview-30559--twbs-bootstrap.netlify.com/
Fixes #30553