Skip to content

Conversation

rosier
Copy link
Contributor

@rosier rosier commented Aug 30, 2025

When the bootstrap sass files were upgraded to v5, the javascript / importmap files were overlooked and are still at v4.6.2

This PR:

  • Upgraded Bootstrap from 4.6.2 to 5.3.7
  • Upgraded from Popper v1.x to Popper v2.x.

Also the data attributes for all JavaScript plugins are now namespaced to help distinguish Bootstrap functionality from third parties and your own code. For example, use data-bs-toggle instead of data-toggle.

@rosier rosier changed the title Upgrade bootstrap javascript files from 4.6.2 to 5.3.7 [Bootstrap v5] Upgrade the bootstrap javascript files from 4.6.2 to 5.3.7 Aug 31, 2025
Also upgrade popper from popper.js to @popperjs/core 2.11
@javiereguiluz
Copy link
Member

I wasn't aware this was so bad 😔 Jan, thanks for updating and fixing all this!

@javiereguiluz javiereguiluz merged commit d36ba89 into symfony:main Sep 5, 2025
8 checks passed
@rosier rosier deleted the bootstrap-js branch September 12, 2025 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants