-
Notifications
You must be signed in to change notification settings - Fork 66
Bump bootstrap from 4.6.2 to 5.0.0 #244
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
Conversation
This is a breaking change, IIRC known not to be compatible with the codebase. (Trying an update in the past for abs() or calc() changes/deprecations seemed like a lot of manual work to make the forms and layout all work with this version. TBC.) Will need a more thorough investigation, and perhaps some refactoring:( The security content is not relevant to our usage: (no carousel component)
|
Dependabot is adding dependency on "node_modules/@popperjs/core" https://github.com/floating-ui/floating-ui Popper is now Floating UI! For Popper v2, visit its dedicated branch and its documentation. For help on migrating, check out the Migration Guide. @janbrasna: ackn and agreed. |
The effort to migrate to v5 might as well be spent on something like https://github.com/thednp/bootstrap.native to drop the jQuery and Popper dependency. FWIW PopperJS is only ever used on the "copy to clipboard" affordance so that should be easy to replace/remove. FYI: The Mozilla brand is going to be refreshed soon, with a new typography and general guidelines too, so any updates to the layout can be made along with some framework bumps when that time comes… |
This comment was marked as outdated.
This comment was marked as outdated.
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.6.2 to 5.0.0. - [Release notes](https://github.com/twbs/bootstrap/releases) - [Commits](twbs/bootstrap@v4.6.2...v5.0.0) --- updated-dependencies: - dependency-name: bootstrap dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
dc4d3df
to
a24dee4
Compare
Applying this patch in a test environment worked for me (Firefox on Linux), but I did not test on other platforms/browsers. Do we know of specific platform/browser combinations that have issues when bootstrap is updated?
|
(Both this update and the audit fix esp. around postcss loader versions/deps moved node support beyond what was otherwise compatible last year; should not be an issue these days with uptodate webpack etc.) This still breaks for me, webkit & gecko, both stable and nightly. (Haven't looked into why, changelog doesn't hint at why this should be an issue, but I see the grids/columns not working, and even basic form and anchor styling not reliably applied, with JS also broken.) @gstrauss Make sure to This is how a clean build looks like: 5.0.0 still triggers deprecation warnings, even more so than 4.x — FYI this also increases the entrypoint bundle (both on JS and CSS sides — may need some tree shaking esp. of unused bootstrap components…) |
Yes, the (full) CSS is heavier in bootstrap 5. There are a number of changes which change the look of the ssl-config-generator, and I have not tracked them all down. There must be missing or different font use, font size, button styling, and more in the main page, as well as link underlining in the footer. Regarding the layout difference in the post above: that is due to missing
An alternative solution -- which I have successfully tested -- might be to snapshot and prune the bootstrap 4.6.2 CSS to preserve existing behavior, and include it locally in the ssl-config-generator repo. |
ssl-config-generator uses bootstrap CSS, which is not provided by bootstrap.native, so the CSS dependency will have to be addressed if bootstrap.native is considered. Similarly, besides the bootstrap CSS, ssl-config-generator could use basic JS to replace bootstrap, jquery, and popperjs. |
retain css from bootstrap, generated and pruned as src/css/bs-4.6.2.css x-ref: mozilla#244
I submitted #283 to use basic javascript to replace bootstrap, jquery, and popper, keeping only a pruned version of CSS from bootstrap 4.6.2. |
local copy of CSS from bootstrap 4, generated and pruned as src/css/bs-4.6.2.css x-ref: mozilla#244
#283 was reverted. #288 uses bootstrap.native for tooltip for Copy button. @dependabot rebase |
Looks like bootstrap is no longer a dependency, so this is no longer needed. |
bugfix: avoid repeated calls to state() for single change x-ref: mozilla#244 mozilla#283 mozilla#288
bugfix: avoid repeated calls to state() for single change x-ref: mozilla#244 mozilla#283 mozilla#288 mozilla#289 mozilla#290
Bumps bootstrap from 4.6.2 to 5.0.0.
Release notes
Sourced from bootstrap's releases.
... (truncated)
Commits
bf09367
Release v5.0.0 (#33647)48ae5a7
Rewrite migration guide (#33834)f086572
refactor(docs): Added form file input variables (#33833)1a54286
Fix doc typo and Bootstrap Icons link (#33832)e2df73f
Update migration guide for some v5 changes (#33829)1e6356a
Neutralise more words from placeholder text (#33731)6633845
Bump eslint-config-xo from 0.35.0 to 0.36.0 (#33646)cb38744
Tweak toast docs (#33810)c2ff225
Bump rollup from 2.46.0 to 2.47.0 (#33818)c090ea2
Bump@babel/preset-env
from 7.14.0 to 7.14.1 (#33819)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.