Skip to content
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

Merged
merged 4 commits into from
Apr 17, 2020
Merged

Update jQuery to v3.5.0. #30559

merged 4 commits into from
Apr 17, 2020

Conversation

XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Apr 11, 2020

@XhmikosR XhmikosR force-pushed the v4-dev-xmr-jquery-340 branch 2 times, most recently from 8e4c77d to 1f3137f Compare April 11, 2020 15:28
@XhmikosR XhmikosR added the js label Apr 11, 2020
@XhmikosR XhmikosR marked this pull request as ready for review April 11, 2020 18:09
@XhmikosR XhmikosR requested a review from a team as a code owner April 11, 2020 18:09
@XhmikosR
Copy link
Member Author

I wonder if we should add the patch in master too even though it's not affected? It does make the intention clearer.

@Johann-S
Copy link
Member

We can make that change in v5, it make sense to me 👍

@XhmikosR XhmikosR requested a review from Johann-S April 13, 2020 19:02
@PascalPixel
Copy link
Contributor

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?

@XhmikosR XhmikosR merged commit f5ec0db into v4-dev Apr 17, 2020
@XhmikosR XhmikosR deleted the v4-dev-xmr-jquery-340 branch April 17, 2020 08:41
quietly-turning added a commit to quietly-turning/Lua-For-SM5 that referenced this pull request Apr 19, 2020
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.
5p4k added a commit to 5p4k/superscheda that referenced this pull request Apr 19, 2020
frnktrgr added a commit to frnktrgr/iptables2web that referenced this pull request Apr 26, 2020
@DanFTRX
Copy link

DanFTRX commented Apr 28, 2020

@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

@XhmikosR
Copy link
Member Author

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.

@DanFTRX
Copy link

DanFTRX commented Apr 28, 2020

@XhmikosR Yeah I just read that in the original ticket, the comments were "off-topic" so not originally viewable. Thanks for the response though!

@peon501
Copy link

peon501 commented May 1, 2020

I use jquery v3.5.0 and Bootstrap v4.4.1 and it doesn't work with it.

@JamesQMurphy
Copy link

jQuery 3.5.1 is out and it fixed my UI issues.

@daraaleja
Copy link

jQuery 3.5.1 está fuera y solucionó mis problemas de IU.

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

spovich added a commit to AFI-Inc/bootstrap-sass that referenced this pull request May 21, 2020
* Bootstrap 4 issue: twbs/bootstrap#30553
* Bootstrap 4 fix: twbs/bootstrap#30559

Signed-off-by: John Dell <john@mutations.ltd>
@JamesQMurphy
Copy link

jQuery 3.5.1 está fuera y solucionó mis problemas de IU.

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

In your package.json file, look for a line that says "jquery": "^3.5.0" and change the version number there.

@PascalPixel
Copy link
Contributor

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?

Unclear on why Bootstrap doesn't define its version in dependencies, but could you at least list the jQuery version as a peerDependency? That way there is at least a warning to use a certain version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bootstrap v4.4.1 collapse doesn't work with jQuery v3.5.0
7 participants