fix(deps): update dependency bootstrap to v5 - autoclosed
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| bootstrap (source) | 3.4.1 -> 5.3.8 |
Release Notes
twbs/bootstrap (bootstrap)
v5.3.8
What's Changed
- Streamline release prep script by @mdo in https://github.com/twbs/bootstrap/pull/41539
- Docs: restore local dev port to 9001 by @chalin in https://github.com/twbs/bootstrap/pull/41545
- Docs: use Example shortcode instead of divs with only
.bd-exampleclass by @julien-deramond in https://github.com/twbs/bootstrap/pull/41556 - Docs: fix scss autorecompile in dev mode by @MaxLardenois in https://github.com/twbs/bootstrap/pull/41574
- Fix
color-contrast()function for WCAG 2.1 compliance by @julien-deramond in https://github.com/twbs/bootstrap/pull/41585 - OSSF Scorecard by @mdo in https://github.com/twbs/bootstrap/pull/41571
- Workflows: Use SHA-1 for third-party actions by @julien-deramond in https://github.com/twbs/bootstrap/pull/41595
- Docs: unminify downloadable example HTML files by @julien-deramond in https://github.com/twbs/bootstrap/pull/41637
- Docs: Add tooltips to buttons when
<Example>is used, not just<Code>by @louismaximepiton in https://github.com/twbs/bootstrap/pull/41582 - Set cursor pointer on input search cancel button by @mdo in https://github.com/twbs/bootstrap/pull/41639
- CSS: Prevent spinner distortion in flex containers with multiline content by @julien-deramond in https://github.com/twbs/bootstrap/pull/41654
- Migrate MyGet script to GH actions by @supergibbs in https://github.com/twbs/bootstrap/pull/41583
- Revert "Attempt to return focus explicitly to dropdown trigger" by @mdo in https://github.com/twbs/bootstrap/pull/41668
- docs: Minor range example code optimization by @coliff in https://github.com/twbs/bootstrap/pull/41665
- Remove Themes from docs by @mdo in https://github.com/twbs/bootstrap/pull/41671
- Release v5.3.8 by @mdo in https://github.com/twbs/bootstrap/pull/41669
Dependencies
- Build(deps-dev): Bump the development-dependencies group with 3 updates by @julien-deramond in https://github.com/twbs/bootstrap/pull/41540
- Build(deps-dev): Bump the development-dependencies group with 2 updates by @julien-deramond in https://github.com/twbs/bootstrap/pull/41544
- Build(deps-dev): Bump stylelint-config-twbs-bootstrap from 16.0.0 to 16.1.0 by @julien-deramond in https://github.com/twbs/bootstrap/pull/41546
- Build(deps-dev): Bump the development-dependencies group with 5 updates by @julien-deramond in https://github.com/twbs/bootstrap/pull/41552
- Build(deps-dev): Bump the development-dependencies group with 4 updates by @julien-deramond in https://github.com/twbs/bootstrap/pull/41560
- Build(deps-dev): Bump the development-dependencies group with 3 updates by @julien-deramond in https://github.com/twbs/bootstrap/pull/41566
- Build(deps): Bump actions/upload-artifact from 4.6.1 to 4.6.2 by @dependabot[bot] in https://github.com/twbs/bootstrap/pull/41594
- Build(deps-dev): Bump the development-dependencies group with 4 updates by @julien-deramond in https://github.com/twbs/bootstrap/pull/41599
- Build(deps-dev): Bump the development-dependencies group with 2 updates by @julien-deramond in https://github.com/twbs/bootstrap/pull/41609
- Build(deps): Bump github/codeql-action from 3.29.2 to 3.29.3 by @dependabot[bot] in https://github.com/twbs/bootstrap/pull/41611
- Build(deps): Bump streetsidesoftware/cspell-action from 7.1.1 to 7.1.2 by @dependabot[bot] in https://github.com/twbs/bootstrap/pull/41610
- Build(deps-dev): Bump the development-dependencies group with 4 updates by @julien-deramond in https://github.com/twbs/bootstrap/pull/41621
- Build(deps): Bump streetsidesoftware/cspell-action from 7.1.2 to 7.2.0 by @dependabot[bot] in https://github.com/twbs/bootstrap/pull/41625
- Build(deps): Bump actions-cool/issues-helper from 3.6.0 to 3.6.2 by @dependabot[bot] in https://github.com/twbs/bootstrap/pull/41623
- Build(deps): Bump github/codeql-action from 3.29.3 to 3.29.4 by @dependabot[bot] in https://github.com/twbs/bootstrap/pull/41624
- Build(deps-dev): Bump the development-dependencies group across 1 directory with 3 updates by @dependabot[bot] in https://github.com/twbs/bootstrap/pull/41626
- Build(deps): Bump github/codeql-action from 3.29.4 to 3.29.5 by @dependabot[bot] in https://github.com/twbs/bootstrap/pull/41640
- Build(deps): Bump tmp from 0.2.3 to 0.2.4 by @dependabot[bot] in https://github.com/twbs/bootstrap/pull/41649
- Build(deps): Bump github/codeql-action from 3.29.7 to 3.29.8 by @dependabot[bot] in https://github.com/twbs/bootstrap/pull/41657
- Build(deps): Bump actions/checkout from 4.2.2 to 5.0.0 by @dependabot[bot] in https://github.com/twbs/bootstrap/pull/41655
- Build(deps): Bump github/codeql-action from 3.29.8 to 3.29.10 by @dependabot[bot] in https://github.com/twbs/bootstrap/pull/41664
New Contributors
- @chalin made their first contribution in https://github.com/twbs/bootstrap/pull/41545
Full Changelog: https://github.com/twbs/bootstrap/compare/v5.3.7...v5.3.8
v5.3.7
📚 Documentation
- Fixed broken "View on GitHub" URLs
- Corrected HTML
<head>content generated by the "Download examples" button - Refined sanitizer documentation for clarity and completeness
- Improved accessibility in the "On this page" table of contents and section heading anchor links
- Relocated ads to the right sidebar to minimize content reflow
- Added a new section on the Download page for the Intelissence extension
- Clarified the "Via JavaScript" usage example for Accordion Collapse
- Made internal documentation improvements to support future maintenance (no visible user impact)
- Mention CDN
integrityandcrossoriginattributes in introduction page - Enhance floating labels
placeholderusage description - Add example of showing dynamic range value with output
🎨 Sass
- Consolidated multiple
'none'values in thebox-shadowSass mixin for cleaner output
🤖 JavaScript
- Fixed popover and tooltip behavior with a
trigger: "hover click"configuration
🤝 Contributions
- Added recommended VSCode extensions and settings configuration to the repository
v5.3.6
Highlights
- Ported the docs from Hugo to Astro for our own sanity!
- Added usage docs for Accordion JavaScript
- Prevent
.visually-hiddenoverflowing children to become focusable - Limit
.card-groupselectors to immediate children to fix some inheritance issues
Changes
- docs: update readme to include bun install by @Electroid in https://github.com/twbs/bootstrap/pull/41277
- Docs: fix specification for getInstance by @fulldecent in https://github.com/twbs/bootstrap/pull/41297
- Mention
npm installandnpm run distin CONTRIBUTING.md by @mdo in https://github.com/twbs/bootstrap/pull/41340 - docs: add Sass deprecations notice in docs by @MaxLardenois in https://github.com/twbs/bootstrap/pull/41283
- docs: Better indicate include options in sass setup. by @Kelketek in https://github.com/twbs/bootstrap/pull/41143
- docs: add 'skeleton loaders' to loading placeholders description by @MohamadSalman11 in https://github.com/twbs/bootstrap/pull/41177
- Update offcanvas.md To Mention Adding data-bs-target for Close Buttons in Offcanvas Components by @ASchoe311 in https://github.com/twbs/bootstrap/pull/41325
- Limit selectors in
.card-groupto immediate children to fixborder-radiusbug by @mscdex in https://github.com/twbs/bootstrap/pull/41298 - Docs: add Border radius section for Input group by @TommasoAllegretti in https://github.com/twbs/bootstrap/pull/40776
- Docs: use 'i.e.' instead of 'e.g.' in Floating Labels example description by @julien-deramond in https://github.com/twbs/bootstrap/pull/41364
- Docs: move Cheatsheet RTL example to the RTL category by @julien-deramond in https://github.com/twbs/bootstrap/pull/41282
- Doc: fix blockquote mismatch by @viniciusvts in https://github.com/twbs/bootstrap/pull/41295
- Removed broken translation links by @MasterPuffin in https://github.com/twbs/bootstrap/pull/41359
- Docs: migration from Hugo to Astro by @julien-deramond in https://github.com/twbs/bootstrap/pull/41251
- Update
devDependenciesby @julien-deramond in https://github.com/twbs/bootstrap/pull/41383 - Bump
image-sizefrom 1.0.2 to 2.0.2 by @julien-deramond in https://github.com/twbs/bootstrap/pull/41384 - Add switch attribute to docs for switch checkbox by @mdo in https://github.com/twbs/bootstrap/pull/41396
- Add private comment to BaseComponent Class by @MohamadSalman11 in https://github.com/twbs/bootstrap/pull/41254
- Alternate for #41142, disabled list group items by @mdo in https://github.com/twbs/bootstrap/pull/41397
- Docs: add Usage section with JavaScript guide for Accordion component by @TommasoAllegretti in https://github.com/twbs/bootstrap/pull/40768
- Attempt to return focus explicitly to dropdown trigger by @mdo in https://github.com/twbs/bootstrap/pull/41365
- Fix typos and code indentation in Forms > Checks and radios by @julien-deramond in https://github.com/twbs/bootstrap/pull/41399
- chore: Spell check
.mdand.mdxfiles. by @Jason3S in https://github.com/twbs/bootstrap/pull/41398 - Remove
filesconfiguration from.cspell.jsonby @julien-deramond in https://github.com/twbs/bootstrap/pull/41400 - Docs: Remove unneeded Twitter/X metatags (as it uses Open Graph for title/description and image) by @coliff in https://github.com/twbs/bootstrap/pull/41408
- Move _isShown() method to private section by @MohamadSalman11 in https://github.com/twbs/bootstrap/pull/41220
- Removed line break between
// Privatecomment and method by @MohamadSalman11 in https://github.com/twbs/bootstrap/pull/41218 - remove link to sunset resource on accessibility.mdx by @crgrafton in https://github.com/twbs/bootstrap/pull/41418
- docs(pagination): put current page on link element for a11y by @MarkoOleksiyenko in https://github.com/twbs/bootstrap/pull/41154
- Update devDependencies and regenerate package-lock.json by @julien-deramond in https://github.com/twbs/bootstrap/pull/41425
- Prevent .visually-hidden overflowing children to become focusable by @ffoodd in https://github.com/twbs/bootstrap/pull/41286
- Add docs release prep script by @mdo in https://github.com/twbs/bootstrap/pull/41435
- Release v5.3.6 by @mdo in https://github.com/twbs/bootstrap/pull/41406
New Contributors
- @Electroid made their first contribution in https://github.com/twbs/bootstrap/pull/41277
- @MaxLardenois made their first contribution in https://github.com/twbs/bootstrap/pull/41283
- @Kelketek made their first contribution in https://github.com/twbs/bootstrap/pull/41143
- @ASchoe311 made their first contribution in https://github.com/twbs/bootstrap/pull/41325
- @mscdex made their first contribution in https://github.com/twbs/bootstrap/pull/41298
- @viniciusvts made their first contribution in https://github.com/twbs/bootstrap/pull/41295
- @MasterPuffin made their first contribution in https://github.com/twbs/bootstrap/pull/41359
- @Jason3S made their first contribution in https://github.com/twbs/bootstrap/pull/41398
- @crgrafton made their first contribution in https://github.com/twbs/bootstrap/pull/41418
Full Changelog: https://github.com/twbs/bootstrap/compare/v5.3.5...v5.3.6
v5.3.5
Hot fix for a regression from upstream in Autoprefixer.
What's Changed
- Fix floating labels rendering on Firefox by @julien-deramond in https://github.com/twbs/bootstrap/pull/41347
- Bump to v5.3.5 by @mdo in https://github.com/twbs/bootstrap/pull/41348
Full Changelog: https://github.com/twbs/bootstrap/compare/v5.3.4...v5.3.5
v5.3.4
Changes
- #40888: Dependabot: switch to grouped updates
🚀 Features
- #41299: Typo fixed
-
#41187: Docs: mention removal of
util.jsin migration guide - #41228: Docs: Simplify ids for checks, radios and switches
- #41150: Update fixtureId to FIXTURE_ID for consistency
-
#40965: Docs: Use
<article>element for example cards - #40932: Docs: add ngx-bootstrap to JavaScript frameworks list
-
#40790: Docs: Drop
.gridwhere it shouldn't be used -
#40821: Docs: precise how to add new
.order-*classes in 'Layout > Columns' -
#40914: Docs: drop useless
.justify-content-startclass in homepage - #40876: Remove unneeded flexbug workaround
- #40870: Docs: Update modal min-height inline style
- #40844: Docs: Remove mention about Safari's limited support flexbox gap
- #40620: Docs: minor accessibility improvements for Examples
- #40619: Docs: Fix a minor accessibility issue (checkout example missing h1)
- #40577: Docs: Add main element to Cheatsheet Examples
-
#39815: Docs: drop unused
.bi-exclamation-triangle-fillclass - #40507: Docs: HTTPS link to ikons iconset
- #39777: Docs: fix Reddit URL to avoid redirection
-
#39697: refactor(accordion): merge selectors for
border-radiusrule
🎨 CSS
- #41336: Fix modal and offcanvas header collapse
- #41126: Fix display issues of close button in contextual light and dark modes
- #40695: Fix light mode carousel in dark mode
- #41004: Add workarounds for postcss-values-parser error (negative values in calc())
- #41013: Align floating labels with form-select sizes
- #40931: Fix: correct typo in background-blend-mode value
- #40900: Remove unnecessary duplicated CSS class name
- #40876: Remove unneeded flexbug workaround
- #40844: Docs: Remove mention about Safari's limited support flexbox gap
- #40623: Fix use of declarations after nested rules (deprecated in Sass 1.77.7)
-
#39720: Floating labels: Fix
max-widthandbackground-color -
#40488: button-group: Fix
btn-group-verticalby using same rules asbtn-group - #39804: Optimize Sass SVG files
- #39494: Change floating label placeholder's color
-
#39697: refactor(accordion): merge selectors for
border-radiusrule
☕ JavaScript
- #38411: Add note about cancelling modal events to modal.md
- #41150: Update fixtureId to FIXTURE_ID for consistency
- #40803: Fix popover toggle twice to close
- #38725: Fix this reference for functions
- #39791: Fix broken comment link for reflow hack
📖 Docs
- #39364: Docs: improve progress bar labels markup and explanations for accessibility
- #41308: Fix typo in Navbar docs
- #41299: Typo fixed
- #41281: Fixed minor typo in Sass documentation
-
#41187: Docs: mention removal of
util.jsin migration guide - #41228: Docs: Simplify ids for checks, radios and switches
- #38411: Add note about cancelling modal events to modal.md
- #40917: Fix: clipboard icon not showing after multiple press
- #40714: Docs: add descriptions for Webpack, Parcel and Vite
- #40928: Update css-grid.md
- #41098: Update a point in the RTL documentation
-
#40965: Docs: Use
<article>element for example cards - #40756: Docs: missing aria-hidden on some decorative SVGs
- #41036: Docs: add warning callout for Yarn Berry
- #41052: Doc: Fix link endpoint in dropdown documentation
-
#41030: Docs: fix
.ordervalues in the migration guide - #40973: Docs: correct example formatting in 'Utilities > API' for linting compliance
- #40911: fix transparent navbar in windows high contrast mode
- #40932: Docs: add ngx-bootstrap to JavaScript frameworks list
- #40951: Docs: fix example hiding element except on medium and large devices in 'Utilities > Display > Hiding elements'
- #40931: Fix: correct typo in background-blend-mode value
-
#40790: Docs: Drop
.gridwhere it shouldn't be used -
#40821: Docs: precise how to add new
.order-*classes in 'Layout > Columns' - #40799: Fix Cheatsheet examples horizontal scrolling
-
#40914: Docs: drop useless
.justify-content-startclass in homepage - #40900: Remove unnecessary duplicated CSS class name
- #40766: Docs: Make "Edit in Stackblitz" links explicit
- #40767: Docs: Indicate links in foreign language
-
#40818: Docs: fix
$enable-css-grid→$enable-cssgridin 'Customize > Options' - #40870: Docs: Update modal min-height inline style
- #40844: Docs: Remove mention about Safari's limited support flexbox gap
-
#40797: Docs: missing
$enable-css-gridin options.md - #40762: Docs: clarify the subject of the About page
- #40703: Docs: Update WCAG links and references
- #40689: Docs: change wording of single/split danger buttons
-
#40691: Docs: add
aria-hidden="true"to decorative SVGs -
#40686: docs: add
aria-hidden='true'to decorative SVGs - #40672: Update masthead wording
- #40639: Further image compression improvements
- #40620: Docs: minor accessibility improvements for Examples
- #40619: Docs: Fix a minor accessibility issue (checkout example missing h1)
- #39846: Fix Default values and Description content in options table
-
#39815: Docs: drop unused
.bi-exclamation-triangle-fillclass - #40522: docs: fix typo in the getting started introduction
- #40507: Docs: HTTPS link to ikons iconset
-
#40504: docs: add missing
data-bs-theme="light"in navbars color schemes markup - #39980: Docs: add missing Accordion component in the list of JS components
- #39951: docs: migrate to the built-in sitemap template
- #39863: Add PostCSS-RTLCSS approach to the documentation
- #39829: docs: move examples inline shortcode to a partial
- #39824: docs: resize docs bundler images and fix dimensions
-
#39779: docs: add a new partial for responsive images and use
imageConfig - #39768: docs: add a render image hook
- #39819: docs: update sitemap template
-
#39778: docs: use
urls.JoinPathin more places - #39807: Move theme toggler to a partial
-
#39805: masthead.html: add
rel="noopener" target="_blank" - #39808: docs: move examples icons to a partial
- #39773: Further improve PNG compression
- #38993: docs: bundle assets with Hugo
- #39782: docs: mention text transform classes
- #39749: Update masthead to HeroDevs EOL
- #39781: docs: move fathom site to hugo config
- #39777: Docs: fix Reddit URL to avoid redirection
- #39772: examples: assorted tweaks
-
#39766: Docs: drop
data-bs-scroll="true"from navbar -
#39763: Switch to using
hugo.IsProduction - #39739: Search: Fix modal on mobile chromium based browsers
- #39757: footer: remove unneeded trailing slash
- #39724: Docs: minor tweaks
- #39745: docs: use a responsive image for bootstrap-logo-shadow.png
- #39741: More docs fixes
- #39740: Doc fixes
- #39738: Fix docs-versions.html
- #39725: docs: remove Google Analytics
🛠️ Examples
- #40799: Fix Cheatsheet examples horizontal scrolling
- #40620: Docs: minor accessibility improvements for Examples
- #40619: Docs: Fix a minor accessibility issue (checkout example missing h1)
- #40577: Docs: Add main element to Cheatsheet Examples
🌎 Accessibility
-
#40965: Docs: Use
<article>element for example cards - #40756: Docs: missing aria-hidden on some decorative SVGs
- #40911: fix transparent navbar in windows high contrast mode
- #40766: Docs: Make "Edit in Stackblitz" links explicit
- #40767: Docs: Indicate links in foreign language
- #40808: Docs: add aria-label to SVG with tooltip
- #40762: Docs: clarify the subject of the About page
- #40703: Docs: Update WCAG links and references
-
#40691: Docs: add
aria-hidden="true"to decorative SVGs -
#40686: docs: add
aria-hidden='true'to decorative SVGs - #40620: Docs: minor accessibility improvements for Examples
- #40619: Docs: Fix a minor accessibility issue (checkout example missing h1)
- #40577: Docs: Add main element to Cheatsheet Examples
📦 Dependencies
- #41305: Build(deps-dev): Bump the development-dependencies group across 1 directory with 9 updates
- #41265: Build(deps-dev): Bump the development-dependencies group across 1 directory with 5 updates
- #41234: Build(deps-dev): Bump the development-dependencies group across 1 directory with 7 updates
- #41171: Build(deps-dev): Bump the development-dependencies group across 1 directory with 3 updates
- #41155: Build(deps-dev): Bump the development-dependencies group across 1 directory with 4 updates
- #41109: Build(deps-dev): Bump the development-dependencies group across 1 directory with 8 updates
- #41082: Build(deps-dev): Bump the development-dependencies group across 1 directory with 7 updates
- #41010: Build(deps-dev): Bump the development-dependencies group across 1 directory with 5 updates
- #40978: Build(deps-dev): Bump the development-dependencies group across 1 directory with 6 updates
- #40953: Build(deps-dev): Bump the development-dependencies group across 1 directory with 6 updates
- #40929: Build(deps): Bump the npm_and_yarn group with 2 updates
- #40920: Build(deps-dev): Bump the development-dependencies group across 1 directory with 6 updates
- #40895: Build(deps-dev): Bump the development-dependencies group across 1 directory with 9 updates
- #40883: Build(deps-dev): Bump terser from 5.31.6 to 5.34.1
- #40842: Build(deps-dev): Bump npm-run-all2 from 6.2.2 to 6.2.3
- #40882: Build(deps-dev): Bump hugo-bin from 0.130.1 to 0.132.0
- #40843: Build(deps-dev): Bump eslint from 8.57.0 to 8.57.1
- #40886: Build(deps-dev): Bump rollup from 4.21.2 to 4.23.0 in the npm_and_yarn group
- #40862: Build(deps): Bump body-parser from 1.20.2 to 1.20.3 in the npm_and_yarn group
- #40806: Build(deps-dev): Bump postcss from 8.4.44 to 8.4.45
- #40784: Build(deps-dev): Bump postcss from 8.4.41 to 8.4.44
- #40788: Build(deps-dev): Bump @babel/cli from 7.24.8 to 7.25.6
- #40782: Build(deps-dev): Bump rtlcss from 4.2.0 to 4.3.0
- #40783: Build(deps-dev): Bump eslint-plugin-import from 2.29.1 to 2.30.0
- #40785: Build(deps-dev): Bump rollup from 4.21.1 to 4.21.2
- #40786: Build(deps-dev): Bump stylelint-config-twbs-bootstrap from 14.2.0 to 15.0.0
- #40774: Build(deps-dev): Bump hugo-bin from 0.129.1 to 0.130.1
- #40773: Build(deps-dev): Bump @babel/preset-env from 7.25.3 to 7.25.4
- #40775: Build(deps-dev): Bump rollup from 4.20.0 to 4.21.1
- #40723: Build(deps-dev): Bump hugo-bin from 0.127.0 to 0.129.1
- #40721: Build(deps-dev): Bump terser from 5.31.3 to 5.31.6
- #40722: Build(deps-dev): Bump @babel/preset-env from 7.25.2 to 7.25.3
- #40720: Build(deps-dev): Bump postcss from 8.4.40 to 8.4.41
- #40697: Build(deps-dev): Bump autoprefixer from 10.4.19 to 10.4.20
- #40696: Build(deps-dev): Bump rollup from 4.19.1 to 4.20.0
- #40698: Build(deps-dev): Bump stylelint from 16.7.0 to 16.8.1
- #40678: Build(deps-dev): Bump @babel/core from 7.24.9 to 7.25.2
- #40680: Build(deps-dev): Bump karma from 6.4.3 to 6.4.4
- #40679: Build(deps-dev): Bump @babel/preset-env from 7.25.0 to 7.25.2
- #40673: Update devDependencies and regenerate package-lock.json
- #40662: Build(deps-dev): Bump bundlewatch from 0.3.3 to 0.4.0
- #40655: Update devDependencies
- #40638: Build(deps-dev): Bump @babel/core from 7.24.7 to 7.24.9
- #40637: Build(deps-dev): Bump @babel/preset-env from 7.24.7 to 7.24.8
- #40636: Build(deps-dev): Bump stylelint from 16.6.1 to 16.7.0
- #40633: Build(deps-dev): Bump @babel/cli from 7.24.7 to 7.24.8
- #40634: Build(deps-dev): Bump eslint-plugin-markdown from 5.0.0 to 5.1.0
- #40632: Build(deps-dev): Bump terser from 5.31.1 to 5.31.2
- #40635: Build(deps-dev): Bump sass from 1.77.6 to 1.77.8
- #40617: Build(deps-dev): Bump rollup from 4.18.0 to 4.18.1
- #40616: Build(deps-dev): Bump npm-run-all2 from 6.2.0 to 6.2.2
- #40615: Build(deps-dev): Bump hugo-bin from 0.125.0 to 0.125.2
- #40618: Build(deps-dev): Bump @stackblitz/sdk from 1.10.0 to 1.11.0
- #40601: Build(deps-dev): Bump terser from 5.31.0 to 5.31.1
- #40604: Build(deps-dev): Bump stylelint-config-twbs-bootstrap from 14.1.0 to 14.2.0
- #40603: Build(deps-dev): Bump @rollup/plugin-commonjs from 25.0.8 to 26.0.1
- #40602: Build(deps-dev): Bump postcss from 8.4.38 to 8.4.39
- #40600: Build(deps-dev): Bump npm-run-all2 from 6.1.2 to 6.2.0
- #40598: Build(deps-dev): Bump nodemon from 3.1.3 to 3.1.4
- #40599: Build(deps-dev): Bump hugo-bin from 0.123.3 to 0.125.0
- #40597: Build(deps-dev): Bump sass from 1.77.4 to 1.77.6
- #40596: Build(deps-dev): Bump lockfile-lint from 4.13.2 to 4.14.0
- #40595: Build(deps-dev): Bump @rollup/plugin-replace from 5.0.5 to 5.0.7
- #40565: Build(deps-dev): Bump eslint-plugin-unicorn from 52.0.0 to 54.0.0
- #40548: Build(deps-dev): Bump @babel/core from 7.24.5 to 7.24.7
- #40547: Build(deps-dev): Bump @babel/preset-env from 7.24.5 to 7.24.7
- #40594: Build(deps): Bump the npm_and_yarn group with 3 updates
- #40545: Build(deps-dev): Bump @babel/cli from 7.24.5 to 7.24.7
- #40546: Build(deps-dev): Bump @stackblitz/sdk from 1.9.0 to 1.10.0
- #39967: Build(deps-dev): Bump eslint-config-xo from 0.44.0 to 0.45.0
- #40530: Build(deps-dev): Bump nodemon from 3.1.0 to 3.1.3
- #40528: Build(deps-dev): Bump rollup from 4.17.2 to 4.18.0
- #40527: Build(deps-dev): Bump @rollup/plugin-commonjs from 25.0.7 to 25.0.8
- #39964: Build(deps-dev): Bump eslint-plugin-markdown from 4.0.1 to 5.0.0
- #40519: Build(deps-dev): Bump sass from 1.76.0 to 1.77.4
- #40520: Build(deps-dev): Bump stylelint from 16.4.0 to 16.6.1
- #40521: Build(deps-dev): Bump hugo-bin from 0.122.5 to 0.123.3
- #39950: package.json: ignore eslint for now and regenerate package-lock.json
- #39939: Build(deps-dev): Bump terser from 5.30.4 to 5.31.0
- #39949: Build(deps-dev): Bump hugo-bin from 0.122.3 to 0.122.5
- #39942: Build(deps-dev): Bump sass from 1.75.0 to 1.76.0
- #39943: Build(deps-dev): Bump @babel/preset-env from 7.24.4 to 7.24.5
- #39937: Build(deps-dev): Bump @babel/core from 7.24.4 to 7.24.5
- #39940: Build(deps-dev): Bump rollup from 4.16.3 to 4.17.2
- #39938: Build(deps-dev): Bump @babel/cli from 7.24.1 to 7.24.5
- #39936: Build(deps-dev): Bump stylelint from 16.3.1 to 16.4.0
- #39921: Build(deps-dev): Bump hugo-bin from 0.121.1 to 0.122.3
- #39922: Build(deps-dev): Bump eslint-plugin-html from 8.1.0 to 8.1.1
- #39919: Build(deps-dev): Bump terser from 5.30.3 to 5.30.4
- #39920: Build(deps-dev): Bump rollup from 4.14.3 to 4.16.3
- #39904: Build(deps-dev): Bump sass from 1.74.1 to 1.75.0
- #39903: Build(deps-dev): Bump rollup from 4.14.1 to 4.14.3
- #39902: Build(deps-dev): Bump eslint-plugin-html from 8.0.0 to 8.1.0
- #39890: Build(deps-dev): Bump @babel/preset-env from 7.24.3 to 7.24.4
- #39891: Build(deps-dev): Bump @babel/core from 7.24.3 to 7.24.4
- #39887: Build(deps-dev): Bump rollup from 4.13.2 to 4.14.1
- #39886: Build(deps-dev): Bump terser from 5.29.2 to 5.30.3
- #39884: Build(deps-dev): Bump sass from 1.72.0 to 1.74.1
- #39883: Build(deps-dev): Bump eslint-plugin-unicorn from 51.0.1 to 52.0.0
- #39859: Build(deps-dev): Bump stylelint-config-twbs-bootstrap from 14.0.0 to 14.1.0
- #39858: Build(deps-dev): Bump find-unused-sass-variables from 5.0.0 to 6.0.0
- #39857: Build(deps-dev): Bump stylelint from 16.3.0 to 16.3.1
- #39855: Build(deps-dev): Bump rollup from 4.13.0 to 4.13.2
- #39818: Update devDependencies
- #39806: package.json: stop ignoring jasmine
- #39802: Build(deps-dev): Bump @babel/preset-env from 7.24.0 to 7.24.1
- #39803: Build(deps-dev): Bump @babel/cli from 7.23.9 to 7.24.1
- #39801: Build(deps-dev): Bump @babel/core from 7.24.0 to 7.24.1
- #39800: Update dependencies
- #39792: Build(deps-dev): Bump follow-redirects from 1.15.5 to 1.15.6
- #39775: Update devDependencies and regenerate package-lock.json
- #39730: Build(deps): Bump streetsidesoftware/cspell-action from 5 to 6
- #39736: Build(deps-dev): Bump karma-firefox-launcher from 2.1.2 to 2.1.3
- #39734: Build(deps-dev): Bump @babel/preset-env from 7.23.9 to 7.24.0
- #39735: Build(deps-dev): Bump @babel/core from 7.23.9 to 7.24.0
- #39733: Build(deps-dev): Bump karma from 6.4.2 to 6.4.3
- #39732: Build(deps-dev): Bump autoprefixer from 10.4.17 to 10.4.18
- #39731: Build(deps-dev): Bump hugo-bin from 0.120.4 to 0.120.7
- #39714: Build(deps-dev): Bump sass-true from 7.0.1 to 8.0.0
- #39711: Build(deps-dev): Bump eslint from 8.56.0 to 8.57.0
- #39713: Build(deps-dev): Bump nodemon from 3.0.3 to 3.1.0
- #39715: Build(deps-dev): Bump hugo-bin from 0.120.2 to 0.120.4
- #39704: Build(deps-dev): Bump hugo-bin from 0.119.0 to 0.120.2
- #39703: Build(deps-dev): Bump lockfile-lint from 4.13.1 to 4.13.2
- #39699: Build(deps-dev): Bump sass from 1.71.0 to 1.71.1
v5.3.3
Highlights
- Fixed a breaking change introduced with color modes where it was required to manually import
variables-dark.scsswhen building Bootstrap with Sass. Now,_variables.scsswill automatically import_variables-dark.scss. If you were already importing_variables-dark.scssmanually, you should keep doing it as it won't break anything and will be the way to go in v6. - Fixed a regression in the selector engine that wasn't able to handle multiple IDs anymore.
Color modes
- Badges now use the
.text-bg-*text utilities to be certain that the text is always readable (especially when the customized colors are different in light and dark modes). - Fixed our
color-modes.jsscript to handle the case where the OS is set to light mode and the auto color mode is used on the website. If you copied the script from our docs, you should apply this change to your own script. - Fixed color schemes description in the color modes documentation to show that
color-scheme()only acceptlightanddarkvalues as parameters.
Miscellaneous
- Allowed
<dl>,<dt>and<dd>in the sanitizer. - Dropped evenly items distribution for modal and offcanvas headers.
- Fixed the accordion CSS selectors to avoid inheritance issues when nesting accordions.
- Fixed the focus box-shadow for the validation stated form controls.
- Fixed the focus ring on focused checked buttons.
- Fixed the product example mobile navbar toggler.
- Changed the RTL processing of carousel control icons.
🎨 CSS
- #37508: Use child combinators to avoid inheriting parent accordion's flush styles
- #38719: Fix focus box-shadow for validation stated form-controls
- #38884: fix border-radius on radio-switch
- #39294: Tests: update navbar in visual modal test
- #39373: refactor css: modal and offcanvas header spacing
- #39380: Fix Sass compilation breaking change in v5.3
- #39387: docs: fix typo
- #39411: Optimize the accordion icon
- #39497: Fix a typo
- #39536: Changed RTL processing of carousel control icons
-
#39560: Drop
--bs-accordion-btn-focus-border-colorand deprecate$accordion-button-focus-border-color - #39595: CSS: Fix the focus ring on focused checked buttons
☕ JavaScript
- #39201: Selector Engine: fix multiple IDs
-
#39224: Fix edge case in
color-mode.js -
#39376: Allow
dl,dtandddin sanitizer
📖 Docs
- #39200: Typo Fix
-
#39214: Doc: use
.text-bg-{color}for all badges - #39246: Docs: fix for example code blocks have unnecessary 30px right-margin
- #39249: Doc: consistent rendering of 'Heads up!' callouts
-
#39281: Fix
getOrCreateInstance()doc example - #39293: Update background.md
- #39304: Doc: add expanded accordion explanation
-
#39320: Drop
.table-lightfrom table foot example -
#39340: Doc: add
dispose()to Offcanvas methods - #39378: Docs: fix sentence in modal
- #39417: Fix color schemes description in Sass customization documentation
- #39418: Docs: change vite config path import in vite guide
-
#39435: Docs: add
shift-color()usage example in sass customization page -
#39458: Docs: enhance
.card-img-*description - #39503: Minor image compression improvements
- #39519: Docs: use consistent HTML elements in Utilities -> Background page
-
#39520: Docs: drop unused
.theme-iconclass - #39528: docs: clean up example.html
- #39537: Docs: fix desc around deprecated Sass mixins for alerts and list groups
- #39539: Update links on get-started page
- #39592: Update vite.md
- #39604: Fix typo in 'media-breakpoint-between' in migration docs
- #39617: Docs: add missing comma in native font stack code source in Content -> Reboot
- #39663: updated table to be responsive
🛠️ Examples
- #39657: Fix product example mobile navbar toggler
- #39585: Docs: Add missing type="button" to Cheatsheet nav buttons
🏭 Tests
- #39294: Tests: update navbar in visual modal test
🧰 Misc
📦 Dependencies
- Updated numerous devDependencies
v5.3.2
Highlights
- Passing a percentage unit to the global
abs()is deprecated since Dart Sass v1.65.0. It resulted in a deprecation warning when compiling Bootstrap with Dart Sass. This has been fixed internally by changing the values passed to thedivide()function. Thedivide()function has not been fixed itself so that we can keep supporting node-sass cross-compatibility. In v6, this won't be an issue as we plan to drop support for node-sass. - Using multiple
ids in a collapse target wasn't working anymore and has been fixed.
Color modes
- Increased color contrast of form range track background in light and dark modes.
- Fixed table state rendering for color modes with a focus on the striped table in dark mode to increase color contrast.
- Allow
<mark>color customization for color modes.
Docs
- Added alternative CDNs section in Getting started -> Download.
- Added Discord and Bootstrap subreddit links in README and Getting started -> Introduction:
- Discord maintained by the community
- Bootstrap subreddit
🎨 CSS
-
#38816: Use
box-shadowCSS variables shadow utilities - #38955: Fix radios looking like ellipse on responsive mode
- #38976: Use box-shadow CSS vars instead of Sass vars in assets and variables
- #39030: Fix dart-sass deprecation warning
- #39033: Color mode: fix table state rendering
- #39095: Make form range track background more contrasted
-
#39119: New Sass var
$btn-link-focus-shadow-rgbto allow customization -
#39141: New Sass variable to handle
<mark>dark mode bg color
☕ JavaScript
📖 Docs
- #38873: Discord reddit bootstrap
- #38970: docs: add BootstrapVueNext to docs
- #38977: Docs: Add missing form elements in focusable elements
- #38978: Docs: Fix popover template role error
-
#38995: introduction: drop
detailselement - #39037: Further improve image compression with oxipng and the latest jpegoptim
-
#39054: Docs: Remove incorrect mention of
.left-and.right-utilities from migration guide - #39060: Migration: add back v5.0.0 heading
- #39145: Docs: add warning callout to add a workaround when jsDelivr is not available
- #39177: Fix: make theme selector tick icon visible when active in examples layout
- #39179: download: Reword CDN paragraph
🛠️ Examples
- #38994: examples: update 3rd-party packages
- #39086: Correct grammar error in examples/starter-template
🌎 Accessibility
- #38978: Docs: Fix popover template role error
- #39095: Make form range track background more contrasted
🧰 Misc
- #38983: Improve change-version script
- #38984: Convert build scripts to ESM
- #39021: CI: update permissions for calibreapp-image-actions.yml
📦 Dependencies
- Updated numerous devDependencies
v5.3.1
Highlights
-
Color modes:
- Increased color contrast for dark mode by replacing
$gray-500with$gray-300for the body color - Added our color mode switcher JavaScript to our examples ZIP download
- Increased color contrast for dark mode by replacing
-
Components:
- Improved disabled styling for all
.nav-links, providing.disabledand:disabledfor use with anchors and buttons - Add support for
HomeandEndkeys for navigating tabs by keyboard - Added some basic styling to toggle buttons when no modifier class is present
- Fixed carousel colors in dark mode
- Improved disabled styling for all
-
Forms:
- Fixed floating label disabled text color
-
Utilities:
-
.text-bg-*utilities now use CSS variables
-
-
Sass:
- Add new
$navbar-dark-icon-colorSass variable - Removed duplicate
$alertSass variables - Added a new variable for
$vr-border-widthto customize the vertical rule helper width
- Add new
-
Documentation:
- Added search to our homepage
- Improved responsive behavior on Dashboard example
- Improved dark mode rendering of Cheatsheet examples
🎨 CSS
- #38913: Floating labels: fix disabled with text inside
-
#38772:
.text-bg-*helpers now use theme CSS variables - #38886: New Sass variable to change vertical rule width
- #38851: Fix Sass properties order for newer stylelint-config-recess-order
- #38815: Increase contrast in dark-mode (#38525)
- #38774: Generalize disabled nav links CSS rules
-
#38673: Add
$navbar-dark-icon-color -
#38674: Remove duplicate
$alert-*-scaleSass vars
☕ JavaScript
-
#38498: Support
HomeandEndkeys in tabs
📖 Docs
- #38958: Examples: improve spinner buttons accessibility
- #38947: Fix postcss plugin options
- #38885: Docs: Update float responsive examples
- #38946: Docs: remove v4 reference on homepage
- #38948: Fix some typos in Customize > Sass doc
- #38840: Docs: fix carousel carousel colors of carousel examples in dark mode
- #38604: Add dropdown alignment options to button group example
-
#38894: Docs: add blank target and
noopenerrel to footer external links - #38902: Fix tooltip generated markup documentation
- #38883: Docs: Fix incorrect class name on migration guide
- #38708: add a base class style display for toggle buttons
-
#38827: Docs: add missing
aria-disabled='true'to disabled anchors - #38844: Fix for text-reset example class name
- #38838: JS/SCSS shortcodes: Add new feature to remove nested calls inside.
- #38850: Add docs search to homepage
- #38872: Docs: Improve Text Alignment Example
- #38865: Fix custom-radio class name on migration guide
- #38786: Explicitly add missing opacity-0 helper class example for clarity.
- #38707: Update bottom border on dark navbar example
- #38726: Update flex utilities link in navs docs
- #38734: Minor fixes for Docs Versions page
- #38745: Fix stack examples
- #38751: Docs (tooltips): Fix "them" typo in markup section
- #38688: Fix missing word issue on nav-tabs page
- #38681: Docs: consistency between custom buttons, popovers and tooltips
- #38600: collate distribution interval
- #38632: docs(spinners): improve buttons examples accessibility
- #38583: Docs: add more details on accessibility tips
- #38554: Doc: fix 'Events' JS example
-
#38592: docs(forms): switch to
aria-describedby -
#38542: Use
.d-noneinstead of inline styling - #38616: Add 'Issues assignment' section to the Contributing Guidelines
-
#38528: Adding a link to
clearfix - #38538: Update Sass docs to mention compiling and including
- #38623: Fix disabled element tooltip StackBlitz
🛠️ Examples
- #38958: Examples: improve spinner buttons accessibility
- #38952: dashboard: fix offcanvas md display
- #38840: Docs: fix carousel carousel colors of carousel examples in dark mode
- #38905: Fix dark mode rendering of Cheatsheet examples
- #38711: Fix link colors in Sidebars example
🌎 Accessibility
- #38958: Examples: improve spinner buttons accessibility
-
#38498: Support
HomeandEndkeys in tabs -
#38827: Docs: add missing
aria-disabled='true'to disabled anchors - #38850: Add docs search to homepage
- #38774: Generalize disabled nav links CSS rules
- #38632: docs(spinners): improve buttons examples accessibility
- #38583: Docs: add more details on accessibility tips
- #38592: docs(forms): switch to aria-describedby
🧰 Misc
-
#38747: Add
color-modes.jstobootstrap-x.y.z-examples.zip
📦 Dependencies
- Updated numerous devDependencies
v5.3.0
v5.2.3
Fixes
🎨 CSS
- #37377: Import root in bootstrap-utilities
- #37425: Fix deprecation warning with sass 1.56.0
-
#37266: Carousel: Fix RTL
translate()direction
☕ JavaScript
- #37235: fix tooltip/popper disposal inconsistencies
v5.2.2
Highlights
-
Accordion
- Use Sass variable for the accordion color instead of an invalid CSS variable
-
Buttons
- Undo changes to
.btn:hoverfrom v5.2.1. We now explicitly target.btn-checkstyles instead.
- Undo changes to
-
Dropdowns
- Restore the ability for dropdowns to work without an explicit
dataattribute (will be removed again in v6)
- Restore the ability for dropdowns to work without an explicit
-
Modals
- Improve modal event listeners
- Use
<h1>for all.modal-titleinstances in our docs
-
Tables
- Don't redefine
$border-colorintable-variant()mixin
- Don't redefine
-
Tabs
- Tabs no longer autofocus and cause pages to jump on
tab.show() - Fix
.activeclass toggling of tabs within dropdowns
- Tabs no longer autofocus and cause pages to jump on
-
Toasts
- Properly set toast
z-indexon.toast-containeras opposed to individual.toasts that don't receive any other positioning
- Properly set toast
-
Tooltips
- Fix tooltip selectors with
titleattribute on dynamically created elements
- Fix tooltip selectors with
🎨 CSS
- #37118: Set toast z-index variable in the correct spot
-
#37165: Explicitly target
.btn-checkand undo:hover - #37182: Use Sass variable for accordion color
-
#37239: Don't redefine
$border-colorintable-variantmixin
☕ JavaScript
- #36914: Fix tooltip selector usage
- #37128: Fix modal event listeners
- #37146: Drop tabs auto-focus
- #37151: Fix active class toggling of tabs within dropdown
- #37189: Enrich Tab Test for keyboard handler
- #37190: Dropdown: fix case with invalid markup
- #37200: Ensure Tab keyboard functionality after #37146
📖 Docs
- #36899: Slightly improve image compression
- #37142: Add informative note for Tooltip/Popover selector option
- #37145: Docs: minor fix for Navbar > Offcanvas examples
- #37153: Fix typo in docs - Configure Vite section
- #37199: Replace Webpack and Vite PNGs by SVGs
-
#37210: Use
<h1>for allmodal-titleexamples/uses -
#37214: Docs: Change
view in GitHublinks insidemain
🌎 Accessibility
- #37200: Ensure Tab keyboard functionality after #37146
-
#37210: Use
<h1>for allmodal-titleexamples/uses
🏭 Tests
🧰 Misc
- #35079: Add MR template
- #36421: NuGet: Use license expression
- #37186: Add eslint-plugin-html to lint JS in HTML files
📦 Dependencies
- Updated numerous devDependencies: https://github.com/twbs/bootstrap/pulls?q=is%3Apr+label%3Adependencies+project%3Atwbs%2F10+is%3Aclosed
v5.2.1
🚀 Highlights
-
Accordion
- Update
colorvalue to use the$accordion-button-colorSass variable instead of our color contrast function
- Update
-
Buttons
- Added a
transparentdefault hover border color CSS variable for buttons to fix a visual regression -
.btn-linkno longer has a gradient when$enable-gradientsis set totrue
- Added a
-
Forms
- Input groups have updated
z-indexvalues to ensure proper rendering of validated form fields - Floating labels now reset their
text-alignto ensure consistent styling
- Input groups have updated
-
List Groups
- Horizontal list groups with only one child now render the correct
border-radius - Modified the
list-group-itemselectors to better support nested imports of Bootstrap's CSS
- Horizontal list groups with only one child now render the correct
-
Modals
- Fixed modal event listeners during dismiss click, allowing you to once again click scrollbars without dismissing the modal
-
Pagination
- Fixed incorrect
border-radiusvalues inside pagination components
- Fixed incorrect
-
Scrollspy
- Scrollspy threshold option is now configurable
-
Tooltips
- Reverted some tooltip plugin updates to prevent issues with
selector, dynamic content, and disposed tooltips usingtitle
- Reverted some tooltip plugin updates to prevent issues with
🚀 Features
- #36750: ScrollSpy: make the threshold option configurable
🎨 CSS
-
#36507: v5/docs: reintroduce
outlinefor docs code samples, buttons when:not(:focus-visible) - #36593: flush variant of accordion border radius
- #36663: fix #36662 List-group-item margin-top is offset when importing sass in a nested class
- #36694: Docs: add grid-row-columns variable
- #36791: Remove a unused sass parameter from banner mixin
- #36828: Fix pagination page items border radius
-
#36849: Define correctly
$popover-header-color -
#36873: Fix floating labels under
.text-center - #36874: Floating labels in input group: Border fix
- #36921: Accordion color should use $accordion-color
- #36986: bugfix undefined border color variable for btn #36938
- #37017: List group: Fix horizontal when only one child
-
#37021: Scss: Adding missing
z-indexCSS variables. - #37026: Rework button focus/active styling, with extra changes for checks/radios
- #37027: Search modal: Set cursor on auto
- #37034: More consistency for CSS/Sass vars doc for components with dark variants
- #37059: Fix input group z-index focus + validation
-
#37078: Remove gradient from
.btn-link - #37079: Add workarounds for postcss values parser error
- #37080: btn-group draws first input margin #36794
- #37093: Fix accordion button color
☕ JavaScript
- #36750: ScrollSpy: make the threshold option configurable
- #36751: Re-set tooltip title on disposal
- #36863: Fix modal event-listeners during dismiss click
- #37011: Multiple dropdowns: Fix when inside same tag
- #37019: Docs: Fix js options to what is really inside js
- #37072: Docs: Put methods in table
- #37086: Fix tooltip manual toggling
📖 Docs
- #36493: Docs: Replace wrong mobile OS Windows with iOS
- #36587: Document how to extract CSS, SVG for strict CSP
- #36694: Docs: add grid-row-columns variable
- #36771: Fix typos after #36762
- #36804: Simplify social images and add ability to set per-page images
- #36812: Fix broken url
- #36819: Rename scrollspy to toast in toasts.md
- #36824: Move DocSearch out of offcanvas to always show it on mobile
- #36825: Remove Slack from site and repo docs
- #36827: Redirect users to different templates of issues rather than an empty one
- #36829: Docs: correct heading levels in features example
- #36836: Docs: use added-in shortcode in Offcanvas
- #36838: Docs: Missing added-in shortcode
- #36839: Docs: Fix markdown link error
- #36850: Add navbar image alt text
- #36867: Docs: expand popover custom container explanation
-
#36871: Fix docs typo of
.form-checkbox->.form-check - #36877: Add default select example in cheatsheet
- #37019: Docs: Fix js options to what is really inside js
- #37027: Search modal: Set cursor on auto
- #37034: More consistency for CSS/Sass vars doc for components with dark variants
- #37047: Docs: Minor fixes in tables.
- #37048: Docs: improve cards image overlays markup
- #37056: Docs: Manage the dark offcanvas slightly differently
- #37064: Fix padding on starter template
- #37067: Make docs clearer by dropping precompiled for compiled
- #37070: Improve language around vertical grid gutters
- #37072: Docs: Put methods in table
🛠️ Examples
-
#36660: Added new example in
examples/featurespage. - #36829: Docs: correct heading levels in features example
- #36877: Add default select example in cheatsheet
- #37064: Fix padding on starter template
🌎 Accessibility
-
#36507: v5/docs: reintroduce
outlinefor docs code samples, buttons when:not(:focus-visible) - #36829: Docs: correct heading levels in features example
- #37026: Rework button focus/active styling, with extra changes for checks/radios
📦 Dependencies
- Updated numerous devDependencies: https://github.com/twbs/bootstrap/pulls?q=is%3Apr+label%3Adependencies+project%3Atwbs%2F8+is%3Aclosed
v5.2.0
🚀 Highlights
- #36168: Manually set hover and active backgrounds and borders for dark and light buttons
- #36327: Truncate text to prevent multiline floating label
- #36382: Rewrite Webpack guide
- #36411: Rewrite Parcel guide
- #36412: Docs: Add a Vite Getting Started guide
- #36500: Generate local CSS variables on utilities when using state option
-
#36528: Scrollspy: enable
smooth-scrollbehavior
🚀 Features
- #36352: Fix StackBlitz examples by embedding snippets.js when needed
-
#36528: Scrollspy: enable
smooth-scrollbehavior - #36759: Support input groups in floating forms
🎨 CSS
-
#36156: Update
.form-control-colorsizing and styles - #36168: Manually set hover and active backgrounds and borders for dark and light buttons
- #36178: Add a banner mixin, helping future releases and maintenance
- #36327: Truncate text to prevent multiline floating label
-
#36353: Fix offcanvas not showing with
.showing -
#36366: add back focus box shadow to
btn-link - #36406: CSS: few proposals
-
#36423: Stylelint: Disable
custom-property-empty-line-before -
#36446: Update Sass for computing
.table-group-dividerborder -
#36447: Fix
.dropdown-itemborder-radiuswhen$dropdown-padding-yis0 - #36461: Fix alert border radius
- #36476: Docs: fix Reboot Horizontal rules using border utilities
- #36477: Docs: remove unused _algolia.scss
-
#36499: Don't style
readonlyinputs asdisabled - #36500: Generate local CSS variables on utilities when using state option
-
#36509: Remove
--bs-headings-colorCSS variable due to backward compatibility issues - #36535: Fix 'Remove from map' Sass description
- #36608: dashboard example: minor fix
- #36627: Fix search modal z-index to be on top of all docs showcased components
- #36646: Fix tooltip/badge border radius when rounded disabled
-
#36680: Revert
db61cf3for$text-muteddefault value -
#36689: Add missing CSS vars for
.navbar-nav -
#36704: Fix missing
--bs-btn-disabled-border-colorinbutton-outline-variantmixin -
#36711: Add
$display-font-familyand$display-font-style - #36740: Fixing pagination compile issue
- #36747: Fix active/focused button link text color
- #36759: Support input groups in floating forms
☕ JavaScript
- #35679: Force tooltip and popover to recreate content every time it opens
- #36171: Assorted Event handler patches
- #36386: Fix interoperability issue regarding Event properties
- #36398: JS: tests fixes & standardization of spies usage
- #36401: Change Modal dismiss handler, listening to key down, instead of click
- #36440: Re-ordering js default objects
- #36449: Fix StackBlitz Popovers and Tooltips examples
-
#36528: Scrollspy: enable
smooth-scrollbehavior - #36561: Fix possible bug on event handler
- #36588: Handle non-empty whitespace textContent in Tooltip trigger
-
#36622: Remove
.showfrom panels dependent-less on the existence of.fadeclass - #36668: Fix on #35679
- #36717: Offcanvas: activate focustrap when backdrop is enabled
- #36758: Docs: Fix typos in snippets.js
- #36772: Fix event handler test
📖 Docs
- #36345: docs: add the version in npm/yarn commands
- #36346: Docs: improve image compression
- #36352: Fix StackBlitz examples by embedding snippets.js when needed
- #36362: Update search box styling and position
- #36363: Add some details on "javascript" page
- #36367: Docs: Correct rounded sizes number
- #36376: Fix missing Swag Store URL
- #36382: Rewrite Webpack guide
- #36395: Docs: quick fixes for HTML
- #36406: CSS: few proposals
- #36410: Update introduction.md
- #36411: Rewrite Parcel guide
- #36412: Docs: Add a Vite Getting Started guide
- #36414: Add docs info for using JS w/ ESM shim
-
#36417: Docs: Remove
.is-invalidfrom textarea validation example - #36425: CSS: doc fixes
- #36444: Update import order for utilities API docs
- #36449: Fix StackBlitz Popovers and Tooltips examples
- #36450: Docs: Use example shortcode for all Button groups
- #36476: Docs: fix Reboot Horizontal rules using border utilities
- #36477: Docs: remove unused _algolia.scss
- #36487: Remove confusing unnecessary id/aria-labelledby for dropdown menus
- #36488: Docs: fix some ARIA Authoring Practices Guides broken links
- #36489: Docs: Update some WCAG links, expand sass.md contrast explanation
- #36495: Improve accessible name of version dropdown in docs navbar
- #36503: [docs] Document BootstrapVue being outdated
- #36510: Add example of dark navbar and offcanvas to docs
- #36516: Add .active navbar breaking change to 5.0 docs
- #36535: Fix 'Remove from map' Sass description
-
#36545: Carousel: Remove redundant reference to
interval=falsefrom docs & tests - #36553: Make table responsive on Grid page
-
#36613: Fix popover live demo to use
data-bs-titleinstead oftitle - #36625: Add some details for non visible scrollspy elements
- #36627: Fix search modal z-index to be on top of all docs showcased components
- #36630: Docs: update clipboard.js to v2.0.11
- #36637: Fix StackBlitz examples needing docs CSS
- #36644: Added examples for Radios in List Group
- #36650: update Lighthouse URL
- #36658: Fix a typo in the documentation masthead
- #36669: Docs: alphabetical reorder of some events/methods in tables
- #36672: Docs: fix some ScrollSpy HTML copyable codes
- #36674: Docs: add indeterminate disabled checkbox example
- #36679: Remove dead link from translations
-
#36696: add
type="button"to Bootstrap versions dropdown - #36706: Docs: Add 'Icons' link in footer
- #36712: Docs: fix description on how to alter display values
- #36717: Offcanvas: activate focustrap when backdrop is enabled
- #36732: Add accNames to all progress bar examples
- #36734: Docs: Capitalize Unicode
- #36741: Docs: same text for disabled ranges and disabled form controls
- #36757: Fix indentation in code sample
- #36760: Add links to Webpack, Parcel, and Vite guides on homepage
- #36762: Fix various small typos in documentation
- #36763: Fix typos in code
🛠️ Examples
🌎 Accessibility
- #36487: Remove confusing unnecessary id/aria-labelledby for dropdown menus
- #36488: Docs: fix some ARIA Authoring Practices Guides broken links
- #36588: Handle non-empty whitespace textContent in Tooltip trigger
-
#36696: add
type="button"to Bootstrap versions dropdown - #36717: Offcanvas: activate focustrap when backdrop is enabled
- #36732: Add accNames to all progress bar examples
🏭 Tests
- #36530: Fix typo in dropdown unit test
- #36667: Minor fix to use self-closing input HTML tag
-
#36742: Standardization of
spyOnusage - #36772: Fix event handler test
🧰 Misc
- #36548: Update Code of Conduct with Contributor Covenant 2.1
- #36624: Use 'needs-example' label to trigger live demo bot message
- #36700: Replace JS Bin refs by CodePen or StackBlitz references
📦 Dependencies
- Updated numerous devDependencies: https://github.com/twbs/bootstrap/pulls?q=is%3Apr+is%3Aclosed+label%3Adependencies+project%3Atwbs%2Fbootstrap%2F45
v5.1.3
Fixes
🎨 CSS
-
#35143: Revert "Add
align-self: centerto buttons for improved rendering in flex containers"
v5.1.2
Highlights
- Temporarily patched a postcss-values-parser issue by rearranging our
calc()functions that use negative numbers. This should restore the ability to import and compile Bootstrap's Sass increate-react-app. - Added
border-radiussizes to small and large.form-selects - Added
align-self: centerto buttons for improved rendering in flex containers - Fixed Collapse regression that prevented toggling between sibling children
- Updated JS Sanitizer to add
smsin theSAFE_URL_PATTERN - Improved docs around
.img-fluid - Added
role="switch"to our form switches in our docs - Implemented GitHub Issue forms to replace our previous issue templates.
Changes
🎨 CSS
- #34799: fix custom property values of row overrides individual cell
-
#34834: Add
align-self: centerto buttons for improved rendering in flex containers -
#34853: Add
border-radiussizes to small and large.form-selects - #34861: Separator for table direct children
- #35017: Use Sass variable instead of RGB components
- #35033: Add workaround for dart sass compile error
☕ JavaScript
- #34951: Fix Collapse regression of handling toggling between sibling chilldren
- #34980: Minor refactoring
-
#35074: sanitizer: add
smsin theSAFE_URL_PATTERN
📖 Docs
-
#34824: docs: Add
role="switch"to switches - #34918: docs: Update RFS version & move "v" prefix to config.yml
- #34920: Fix Backdroped typo
- #34921: Fix JavaScript typo
- #34922: fix predefined typo
- #34923: fix utilities typo
-
#34926: Improve description of
.img-fluidin docs - #34935: Non-blocking typo fix
- #34936: replace dummy text with English for Text truncation page
- #34946: Changes some latin/dummy text to English
- #35013: Add offcanvas to the components requiring JavaScript
-
#35111: Fix capitalization after period in
contents.md
🛠️ Examples
-
#35022: examples: Add
role="switch"to switches
🧰 Misc
- #34626: Implement issue forms
- #34940: Add cSpell custom dictionary and docs-spellcheck script
-
#35070: rollup: specify
generatedCode: 'es2015' - #35086: README.md: fix capitalization after period
📦 Dependencies
- Updated numerous devDependencies: https://github.com/twbs/bootstrap/pulls?q=is%3Apr+is%3Aclosed+label%3Adependencies+project%3Atwbs%2Fbootstrap%2F43
v5.1.1
Highlights
🎨 CSS
- #34679: Fix font size variable name
-
#34699: Add check to
rgba-css-varfunction for body or bg - #34773: Include root.scss in all dist builds
-
#34779: Fix
$dropdown-link-hover-colorvariable color value in _variable.scss file
☕ JavaScript
- #34621: carousel: move common checks to a function
-
#34701: Fix modal when is triggered by
bs-toggle, to hide other open instances - #34835: Collapse on toggle, should not hide descendant tabpanels
-
#34842: Fix tooltip
data-bs-original-titleissue
📖 Docs
- #32781: docs: shortcodes tweaks and consistency changes
- #34686: docs: Fix placeholders typo
- #34752: Fix typo in placeholder docs
- #34769: Enhance Alerts > Live Example section
- #34781: docs: fix typos in approach and placeholders
- #34787: Progress page: remove toggle animation button
- #34840: clarify importing all vs specific plugins
-
#34842: Fix tooltip
data-bs-original-titleissue -
#34877: docs: add
$enable-smooth-scrollto Sass options page - #34886: Disabled link cleanup
-
#34892: Fix a11y issues in
.hstackexample and placeholder 'How it works' example - #34910: Docs: Add Callout to Stacks Helper page about limited flexbox gap support
-
#34913: docs: make use of the
.Site.Params.docs_versionvariable - #34914: Typo/US locale fixes
🛠️ Examples
- #34766: dashboard-rtl: use the same scripts as the dashboard example
🌎 Accessibility
- #34886: Disabled link cleanup
🏭 Tests
- #34077: Add GitHub SHA in BrowserStack build ID.
- #34912: BrowserStack: add Firefox 60 and Chrome 60
📦 Dependencies
- Updated numerous devDependencies: https://github.com/twbs/bootstrap/pulls?q=is%3Apr+is%3Aclosed+label%3Adependencies+project%3Atwbs%2Fbootstrap%2F42
v5.1.0
Highlights
- Added experimental, opt-in CSS Grid support
- Added support for responsive offcanvas components in navbars
- Added new placeholders component for skeleton loading screens
- Added support for horizontal collapsing in the collapse component
- Added new stack and vertical rule helpers
- Added tons of new CSS variables for body styles, colors, RGB colors, and more
- Updated
.bg-*and.text-*utilities to use CSS variables and new RGB CSS variables for real-time customization - Added four new component examples for dropdowns, footers, list groups, and modals
- Updated modal and offcanvas backdrops to make them unique to each component
- Reverted ability for
.col-*classes to override.row-cols-*classes for now until we can fix some critical bugs
🚀 Features
- #31813: Add optional CSS grid
- #31859: Add a "skeletons" component
- #32319: Add maps for all colors, document how to extend color utilities
-
#33403: modal: change
data-dismissso that it can be outside of a modal usingbs-target - #33781: Add utility classes for opacity
-
#33986: New helpers:
.hstack,.vstack, and.vr - #34253: Add horizontal collapse support
- #34273: Offcanvas navbar
-
#34333: Accept argument of different types in the
getInstancemethod
🎨 CSS
- #31813: Add optional CSS grid
- #32319: Add maps for all colors, document how to extend color utilities
- #33781: Add utility classes for opacity
-
#33986: New helpers:
.hstack,.vstack, and.vr - #34100: Updated utility API (css-vars utils and new bg/color utils), plus new root CSS variables
- #34253: Add horizontal collapse support
- #34273: Offcanvas navbar
-
#34432: More concise improvements for
add()andsubtract() -
#34440: Add null
$card-box-shadowvariable - #34445: fix(forms): prevent color control from shrinking
- #34475: Make text decoration consistent with other anchors
-
#34481: Make the
$accordion-icon-colordefault value consistent with the$accordion-button-color - #34572: Clean up a couple CSS Grid issues
-
#34612: Revert "Allow individual grid classes to override
.row-cols" -
#34651: Update
$input-bgto use$body-bg
☕ JavaScript
- #33402: Changes to Alert component to match the others
-
#33403: modal: change
data-dismissso that it can be outside of a modal usingbs-target -
#33603: Fix
Manipulator.offset() -
#33610: Toasts: Change showing timings and classes to keep toast
display:noneby default - #33865: Add shift-tab keyboard support for dialogs (modal & Offcanvas components)
- #33866: Add dynamic, live alerts example to docs
- #34170: Use a streamlined way to trigger component dismiss
- #34205: Cleanup tooltip & popover components
- #34207: Make proper use of the SelectorEngine in ScrollSpy
-
#34215: Use the
switchstatement instead ofif - #34220: Do a major cleanup in Collapse.js
-
#34333: Accept argument of different types in the
getInstancemethod -
#34441: util.js: remove
Selector.findOne()dependency - #34458: Dropdown cleanups
-
#34543: Fix
Util.reflowfunction and add documentation - #34619: tooltip: move repeated strings to constants
- #34620: Enable a few eslint-config-xo rules
- #34628: Regression on tooltip template creation process.
📖 Docs
- #32319: Add maps for all colors, document how to extend color utilities
- #33866: Add dynamic, live alerts example to docs
- #34100: Updated utility API (css-vars utils and new bg/color utils), plus new root CSS variables
- #34406: Fix site params variable on themes section
- #34472: Added new Offcanvas file to import example
- #34517: Update nav-tab.md
- #34526: Add: GitHub Octicons to the list
- #34557: docs: minor image compression improvements
- #34573: Update the custom Sass import docs
-
#34574: Document change to
hrin v5 -
#34577: Make note of
_root.scssbeing required - #34578: Rename Build Tools page to Contribute
- #34605: Collapse page: add a link to the accordion page
-
#34637: Improved docs describing
media-breakpoint-downbreakpoints
🛠️ Examples
- #33882: Add four new snippet examples
- #34273: Offcanvas navbar
-
#34336: Remove unneeded
.text-white-50CSS rule from Offcanvas Example
🌎 Accessibility
- #33865: Add shift-tab keyboard support for dialogs (modal & Offcanvas components)
🔧 Utility API
- #34100: Updated utility API (css-vars utils and new bg/color utils), plus new root CSS variables
🧰 Misc
-
#32907: npm scripts: add
aggregate-output - #34389: CONTRIBUTING.md: fix broken link to README.md
-
#34453: CI: make use of the
actions/setup-node'scacheoption
📦 Dependencies
- Updated numerous devDependencies: https://github.com/twbs/bootstrap/pulls?q=is%3Apr+is%3Aclosed+label%3Adependencies+project%3Atwbs%2Fbootstrap%2F31
v5.0.2
🚀 Features
- #34052: Automatically select an item in the dropdown when using arrow keys
🎨 CSS
-
#33621: Allow individual grid classes to override
.row-cols - #34008: Fix x-paddings for select (with floating label, and in Firefox)
- #34026: Set the correct color for popover header bottom border
-
#34034: Add missing transition to
.form-select - #34044: Fix wrong comment text for tooltip
-
#34047: Handle complex expressions in
add()&subtract() -
#34048: Decouple
--bs-table-bgand--bs-table-accent-bg - #34062: Document how to make utilities responsive using the API
-
#34124: fix(dropdowns): RTL for
.dropdown-menu-* -
#34161: fix(forms): unitless
line-heightfor floating labels -
#34223: docs(style): fix display of nested
<ul><li> -
#34245: Replace
/division with multiplication and customdivide()function - #34255: Don't set auto margin on offcanvas close
- #34281: Fix lingering Sass math
-
#34283: Update the
divide()function and RFS - #34332: Fix another Sass division
☕ JavaScript
-
#33276: Add
getOrCreateInstancemethod in base-component -
#33371: Popover & Tooltip: Allow
dispose/hidemethods usage throughjQueryIntreface -
#33608: Utils: add
getNextActiveElementhelper function - #33845: Fix handling of transitionend events dispatched by nested elements
-
#33928: Reset inside a Dialog does not work if
data-dismiss="modal"is set - #33947: Refactor scrollbar.js to be used as a Class
- #33948: Add tests for scrollbar.js & better handling if a style property doesn't exist
-
#33960: fix
isVisiblefalse positives from deep nesting or alternate means - #33982: Don't add empty content holder when there is no content available
- #34014: Fix backdrop "Cannot read property 'removeChild' of null" when removed from body
- #34052: Automatically select an item in the dropdown when using arrow keys
- #34070: Fix test of #34014
-
#34071: Change
element.parentNode.removeChild(element)toelement.remove() - #34085: Fix prevented show event disables modals with fade class from being displayed again
- #34092: Backdrop: Fix stale body by removing unnecessary default
-
#34158: Register only one
DOMContentLoadedevent listener inonDOMContentLoaded - #34266: Fix carousel buttons
- #34307: fix(carousel): arrow keys break animation if carousel sliding
📖 Docs
-
#33724: Nav-tabs documentation example: Adjust example to
querySelectorAll - #33749: add Bootstrap 5 Simplified Chinese translation
-
#34009: Drop
BlinkMacSystemFontin docs - #34018: Adjusted z-index to cover "copy" buttons
- #34040: Placeholder changes to input value in readonly input.
- #34044: Fix wrong comment text for tooltip
- #34050: Replace Freenode with Libera IRC server
- #34062: Document how to make utilities responsive using the API
- #34074: Update Hugo config and sitemap.xml
- #34090: Change HTTP to HTTPS
- #34143: Add positioned badges example to docs
- #34160: img in horizontal card
- #34175: Fix typo in sass.md ("theses"→ "these")
- #34179: Missed explanations for variables override
- #34180: docs: update dropdowns.md to reflect the correct version
- #34183: docs: update migration.md to fix a typo
- #34199: docs: update overview.md to fix typo
-
#34223: docs(style): fix display of nested
<ul><li> - #34239: fix(docs): update docs to match the newest modal-open removal
- #34251: Document the change to breakpoint mixins
- #34256: Add important to utilities, mention it's usage and global variable
- #34263: Fix error in JavaScript doc example
-
#34280: Remove a leftover
sass:mathmodule call
🛠️ Examples
- #34007: Dashboard example improvements
-
#34011: Cheatsheet: fix JS errors in
setActiveItem() - #34214: fix accessibility issue on sidebars example
🌎 Accessibility
- #34052: Automatically select an item in the dropdown when using arrow keys
- #34214: fix accessibility issue on sidebars example
🔧 Utility API
- #34062: Document how to make utilities responsive using the API
- #34256: Add important to utilities, mention it's usage and global variable
🏭 Tests
- #33948: Add tests for scrollbar.js & better handling if a style property doesn't exist
🧰 Misc
- #34075: Improve vnu-jar.js
- #34250: Replace Freenode with Libera.Chat in the remaining files
- #34279: build/vnu-jar.js: clean up ignores
📦 Dependencies
- Updated numerous devDependencies: https://github.com/twbs/bootstrap/pulls?q=is%3Apr+is%3Aclosed+label%3Adependencies+project%3Atwbs%2Fbootstrap%2F41
v5.0.1
🎨 CSS
-
#33551: Modals no longer use
.modal-opento affect the<body>scroll -
#33644: Validated inputs in
.input-groupshouldn't be behind sibling element -
#33825: Prevent
accent-bgfrom leaking in nested table -
#33870: Don't redefine
$list-group-colorin loop -
#33961: Revert
:read-onlyselector back to[readonly]
☕ JavaScript
- #33221: Prevent toast autohiding if focusing or hovering
- #33288: Remove potential false positive assertions
- #33327: Move get element functionality to a helper
-
#33381: Popover/Tooltip: streamline
configproperty to start with underscore -
#33609: Merge js-components
transitionendlistener callbacks into one method -
#33635: Extract static
DATA_KEY&EVENT_KEYto base-component - #33740: Refactor: move disposing properties into the base class
-
#33853: Fix backdrop
rootElementnot initialized in Modal - #33920: Fix: Click on input outside of dropdown-menu prevents dropdown from closing
- #33938: Fix dropdown test warning "without expectations"
📖 Docs
- #33709: Add Arabic translation
- #33837: update About text now that Bootstrap 5 is live
- #33841: Fix typo in scrollspy docs
- #33842: Fix browser support versions in migration doc
- #33843: Fix typo in migration.md
- #33855: Remove extra t in Close button heading in Migration guide
- #33868: Fix value
- #33879: Fix "no long require" to "no longer require" typo
- #33893: Add accessible names to SVG icons in alerts
- #33896: Fix accordion link
- #33901: docs: make tooltip anchor properly wrap the svg
- #33904: Add Fathom Analytics to v5 docs
- #33915: docs: fix rtlcss stringmap configuration
- #33916: Remove unneeded "Edge Legacy" mention in Range docs
- #33924: Fix "directoinal" typo in v5 migration docs
🛠️ Examples
- #33850: Fix unnecessary classes
- #33859: Update Sidebars example to fix dividers and rendering on Chrome
- #33926: Fix offcanvas example, using a custom trigger selector
🌎 Accessibility
- #33893: Add accessible names to SVG icons in alerts
🏭 Tests
- #33288: Remove potential false positive assertions
-
#33635: Extract static
DATA_KEY&EVENT_KEYto base-component -
#33927: Fix offcanvas test to expect the initial body
overflowvalue - #33938: Fix dropdown test warning "without expectations"
🧰 Misc
- #33923: CI: remove Node.js 10
📦 Dependencies
- Updated numerous devDependencies: https://github.com/twbs/bootstrap/pulls?q=is%3Apr+is%3Aclosed+label%3Adependencies+project%3Atwbs%2Fbootstrap%2F38
v5.0.0
Highlights
#32155: Updated make-col() mixin to generate equal columns when no size is specified
#32763: Added new color-scheme() mixin
#33389: Dropdown menus now have option become clickable
#33453: Added new docs footer
#33548: Offcanvas header components are now vertically aligned
#33549: Added offcanvas-top modifier
#33634: Added support for .dropdown-items wrapped in <li>s
#33626: Fix v5 regressions in tab dropdown functionality
🚀 Features
-
#32763: Add
color-schememixin - #33389: Dropdown — Add option to make the dropdown menu clickable
- #33549: Add offcanvas-top modifier
🎨 CSS
- #32155: Add equal column mixin
-
#32763: Add
color-schememixin - #33292: Make accordion icon rotation more natural
- #33411: Fix validation feedback icon in select multiple
-
#33478: Make
.nav-linkcolor consistent when using buttons - #33482: Dropdown — Apply positioning only when Popper is not used
- #33548: Vertically align offcanvas header components
- #33549: Add offcanvas-top modifier
- #33550: Spinner alignment changes
- #33598: Hide validation icons from multiple selects
- #33600: Have $form-check-input-border's default derive from $black
- #33607: Reduce color-scheme complexity
-
#33642: use
:read-onlycss selector instead[readonly]for consistency - #33658: fix: use list-group variable instead of alert
-
#33736: accordion: fix
border-topon Firefox
☕ JavaScript
- #32439: Decouple BackDrop from modal
- #33245: Decouple Modal's scrollbar functionality
- #33249: Simplify Modal Config
- #33250: Simplify ScrollSpy config
- #33310: fix: make EventHandler better handle mouseenter/mouseleave events
- #33389: Dropdown — Add option to make the dropdown menu clickable
- #33429: Remove element event listeners through base component
-
#33451: Add missing things in
hidemethod of dropdown -
#33456: Use our
isDisabledutil on dropdown - #33466: Refactor dropdown's hide functionality
- #33479: Fix dropdown escape propagation
-
#33496: Use cached
noopfunction - #33497: Use template literals instead of concatenation
- #33499: Fix wrong carousel transformation, direction to order
- #33545: Use the backdrop util in offcanvas, enforcing consistency
- #33586: Tab.js: Fixes on click handling
-
#33589: refactor: make static
selectMenuItemmethod private - #33612: tests: fix random BrowserStack failures in scrollbar
- #33626: Fix v5 regressions in tab dropdown functionality
-
#33634: Dropdown: support
.dropdown-itemwrapped in<li>tags - #33638: Fix toggle between modals example
- #33643: fix: clicking an item in navbar dropdown should not collapse the dropdown in firefox
- #33666: Modal.js: fix test for scrollbar
- #33677: Offcanvas.js: If scroll is allowed, should allow focus on other elements
-
#33684: Don't change the value for
altBoundaryoption - #33706: Scrollbar: respect the initial body overflow value
📖 Docs
- #33446: Make offcanvas example fully static
- #33453: Add new docs footer
- #33521: The spacing margin side identifiers 's' and 'e' may be intuitive for …
- #33522: Clarify docs accordion example
- #33543: Update parcel.md
- #33553: Add example: Panels stay open
- #33567: Fixed wrong method name _getInstance
-
#33571: footer: fix
rel=noopenerattribute - #33583: docs: update clipboard.js to v2.0.8
- #33597: Docs: Fix wrong dark attribute in Table - Vertical Alignment
- #33632: Correct the heading for the States section
- #33638: Fix toggle between modals example
- #33664: Docs: fix W3C validation errors in list-group example
- #33668: Update anchor.js to v4.3.1.
-
#33669: Change from preventOverflow to detectOverflow in
boundaryoption - #33675: Fix typo
- #33676: Fix Grid System docs
-
#33685: docs: fix the default value of Popper's
boundaryoption - #33687: Fixes #33686 typo in RTL docs
- #33690: Add Bootstrap Icons to alerts docs
- #33726: Replace modal and scrollspy placeholder content
- #33733: Tooltip/Popover — Minor doc updates
-
#33735: Clarify
boundaryoption description - #33772: Improve overall new examples' accessibility
- #33782: Add new team members to the Teams page
- #33786: Docs: adding intro about web accessibility
- #33797: Update links to CCA, MQ5 prefers-reduced-motion, evergreen WCAG urls
- #33810: Tweak toast docs
- #33829: Update migration guide for some v5 changes
- #33832: Fix doc typo and Bootstrap Icons link
- #33833: refactor(docs): Added form file input variables
- #33834: Rewrite migration guide
Examples
- #33097: Update RTL examples
- #33759: fix: change margin breakpoints for bootstrap logo on double header
- #33681: Fixes signup form in Heroes example
- #33569: Improve responsiveness of Features examples
🌎 Accessibility
🏭 Tests
-
#33578: Remove unnecessary
data-bs-backdrop="static"from modal tests - #33612: tests: fix random BrowserStack failures in scrollbar
- #33666: Modal.js: fix test for scrollbar
- #33734: Add missing test for clicking select option in a dropdown
🧰 Misc
- #33720: JS tests: add Node.js 16
📦 Dependencies
- Updated numerous devDependencies https://github.com/twbs/bootstrap/pulls?q=is%3Apr+is%3Aclosed+label%3Adependencies+project%3Atwbs%2Fbootstrap%2F27
v4.6.2
Highlights
- Added an example to our Collapse plugin docs to show how to use horizontal collapsing. This has long been possible via our JS, but we never had an official class to utilize it.
- We've replaced the deprecated
color-adjustwithprint-color-adjustin our Sass files as part of the Autoprefixer v10.4.6 issues. This should quiet the issues folks have seen from that dependency change. If you're using our distribution CSS files, likebootstrap.min.css, you may still see the warning. - Tweaked the size of
smalland.smallto compute to a whole pixel value (was12.8pxand now is14px). - Improved accessibility around our dropdowns, color contrast, and
roleattributes. - Fixed some broken links to supporting documentation.
- Updated dependencies across the board.
What's Changed
- Removed blurred background reference from the Toast Docs. by @pricop in https://github.com/twbs/bootstrap/pull/35190
- Update links to CCA, MQ5 prefers-reduced-motion, evergreen WCAG urls, more resources by @patrickhlauke in https://github.com/twbs/bootstrap/pull/35427
- v4-dev backports and updates by @XhmikosR in https://github.com/twbs/bootstrap/pull/35482
- Backport #35556 by @julien-deramond in https://github.com/twbs/bootstrap/pull/35558
- Tweak toast docs by @patrickhlauke in https://github.com/twbs/bootstrap/pull/35633
- v4-dev backports and updates by @XhmikosR in https://github.com/twbs/bootstrap/pull/35642
- Doc: Reorder alphabetically lists of components by @julien-deramond in https://github.com/twbs/bootstrap/pull/36128
- Updated the small-font-size to use a round value by @pricop in https://github.com/twbs/bootstrap/pull/36172
- v4 dev backports and updates by @XhmikosR in https://github.com/twbs/bootstrap/pull/35767
- _custom-forms.scss: fix order of attributes by @twin-elements in https://github.com/twbs/bootstrap/pull/36231
- Replace the deprecated
color-adjustwithprint-color-adjustby @AdrianCurtin in https://github.com/twbs/bootstrap/pull/36283 - [v4] Doc: remove
role="group"from some split drop* buttons by @julien-deramond in https://github.com/twbs/bootstrap/pull/36254 - Dynamic tabs: use buttons rather than links (backport to v4) by @patrickhlauke in https://github.com/twbs/bootstrap/pull/33163
- v4 dev updates by @XhmikosR in https://github.com/twbs/bootstrap/pull/36430
- Fix closing HTML tag in navs docs by @julien-deramond in https://github.com/twbs/bootstrap/pull/36466
- v4: Horizontal collapse by @mdo in https://github.com/twbs/bootstrap/pull/36434
- Fixing tabs' tests v4 by @louismaximepiton in https://github.com/twbs/bootstrap/pull/36485
- Docs: fix some ARIA Authoring Practices Guides broken links by @julien-deramond in https://github.com/twbs/bootstrap/pull/36490
- v4 - Remove confusing unnecessary id/aria-labelledby for dropdown menus by @patrickhlauke in https://github.com/twbs/bootstrap/pull/36491
- v4 Docs: outdated ARIA/PF link, expand contrast explanation in
accessibility.mdby @patrickhlauke in https://github.com/twbs/bootstrap/pull/36492 - v4: Improve accessible name of version dropdown in docs navbar by @patrickhlauke in https://github.com/twbs/bootstrap/pull/36504
- Update devDependencies by @XhmikosR in https://github.com/twbs/bootstrap/pull/36522
- Docs: update clipboard.js to v2.0.11 by @julien-deramond in https://github.com/twbs/bootstrap/pull/36631
- Update devDependencies by @XhmikosR in https://github.com/twbs/bootstrap/pull/36724
- v4: Add Fathom by @mdo in https://github.com/twbs/bootstrap/pull/36727
- Docs: Capitalize Unicode by @julien-deramond in https://github.com/twbs/bootstrap/pull/36735
- Release v4.6.2 by @XhmikosR in https://github.com/twbs/bootstrap/pull/36725
New Contributors
- @twin-elements made their first contribution in https://github.com/twbs/bootstrap/pull/36231
- @AdrianCurtin made their first contribution in https://github.com/twbs/bootstrap/pull/36283
Full Changelog: https://github.com/twbs/bootstrap/compare/v4.6.1...v4.6.2
v4.6.1: 4.6.1
What's changed
- Replace Sass division with multiplication and custom
divide()function by @mdo in https://github.com/twbs/bootstrap/pull/34571 - Update RFS to v8.1.0 by @XhmikosR in https://github.com/twbs/bootstrap/pull/34571
- fix(forms): input-group and validation icons by @ffoodd in https://github.com/twbs/bootstrap/pull/32968
- Fix minor visual bug in Firefox caused by
moz-focusringby @kremit in https://github.com/twbs/bootstrap/pull/32821 - Adjust
SAFE_URL_PATTERNregex for use with test method of regexes by @nikonthethird in https://github.com/twbs/bootstrap/pull/33153 - Add
smsin theSAFE_URL_PATTERNfor sanitizer by @XhmikosR in https://github.com/twbs/bootstrap/pull/35074 - Adjust feedback icon position and padding for
select.form-controlby @mdo in https://github.com/twbs/bootstrap/pull/33206 - Carousel: use buttons, not links, for prev/next controls by @patrickhlauke in https://github.com/twbs/bootstrap/pull/33165
- v4: Sass docs for default variables by @mdo in https://github.com/twbs/bootstrap/pull/33392
- Handle complex expressions in
add()&subtract()by @ffoodd in https://github.com/twbs/bootstrap/pull/34047 - More concise improvements for
add()andsubtract()by @ffoodd in https://github.com/twbs/bootstrap/pull/34432 - Remove
aria-haspopupfrom dropdowns by @patrickhlauke in https://github.com/twbs/bootstrap/pull/33624 - Dropdown: support
.dropdown-itemwrapped in<li>tags by @cpsievert in https://github.com/twbs/bootstrap/pull/33649 - Update Node versions in JS tests (drop Node 10, add Node 16), update docs JS assets and add variables for
vertical-alignin spinners by @XhmikosR in https://github.com/twbs/bootstrap/pull/33807 - Replace Freenode with Libera IRC server by @midzer https://github.com/twbs/bootstrap/pull/34050
- Fix repetition in the Navbar docs description by @coliff in https://github.com/twbs/bootstrap/pull/34208
- Enable
0.xwith negative margins in utilities by @k-utsumi in https://github.com/twbs/bootstrap/pull/33593 - Remove print
theadrule by @coliff in https://github.com/twbs/bootstrap/pull/34426 - Fix prevented
showevent disabling modals with fade class from being displayed again by @alpadev in https://github.com/twbs/bootstrap/pull/34087 - Input group validation with custom-file input by @ffoodd in https://github.com/twbs/bootstrap/pull/33239
- Add eslint-plugin-qunit and tighten JS tests by @XhmikosR in https://github.com/twbs/bootstrap/pull/32270
- Update our tests to Node 16 and npm 8 by @XhmikosR in https://github.com/twbs/bootstrap/pull/35142
- Disabled link cleanup by @patrickhlauke in https://github.com/twbs/bootstrap/pull/34924
- Updated our devDependencies including terser; also enabled two passes for terser by @XhmikosR
Full changelog
https://github.com/twbs/bootstrap/compare/v4.6.0...v4.6.1
v4.6.0
Highlights
- Tooltips and popovers can have custom clases via
customClassoption. - Added new
.navbar-nav-scrollclass for scrolling expanded navbar contents on mobile devices. - For improved accessibiliy, spinners now slow down when
prefers-reduced-motionis enabled. - v4.x docs are now built on Hugo for easier maintenance and backports from v5.x.
- Darkened
background-colorof.dropdown-itemfor improved hover state contrast, and ligthened the disabled.dropdown-itemcolor. - Improved alignment of form validation tooltips.
- File inputs no longer extend beyond their containers.
CSS
- #31557: Fix form validation tooltip alignment
- #31657: Handle the Ubuntu sans-serif case
- #31700: Suppress flexbox side effects in breadcrumb
- #31882: Slow down spinners when prefers-reduced-motion
- #31886: Fixed: Undefined mixin "deprecate" when importing "bootstrap-grid-scss"
- #32141: Use correct value order
- #32145: Avoid invisible real file input "spilling" out of container
- #32160: Add overflow suppression to custom file label
- #32211: Move negative margin-bottom from .nav-item to .nav-link
- #32212: Remove needless Stylelint disables
-
#32833: Add
.navbar-nav-scrollfor vertical scrolling of navbar content - Add two new variables for pagination border-radius values; backport of #32423
- Remove old/unnecessary reboot bug fix; backport of #32631
- Suppress focus outline for buttons when it shouldn't be visible in Chromium; backport of #32689
- Consistently use
outline:0rather thanoutline:none; backport of #32751 - Darken dropdown item hover style; backport of #32754
- Lighten disabled dropdown text to
$gray-500
JS
- #31820: Check for data-interval on the first slide of carousel
-
#31834/#32225: tooltip/popover: add a
customClassoption -
#32001: Move
js/src/index.jsone folder up - #32045: tests: fix sanitizer test
-
#32220: Don't hide modal when
config.keyboardis false - #32312: build-plugins: switch to "bundled" for babel helpers
Docs
- #31861: Split up dropdown sizing docs to improve rendering
- #31892: Remove redundant visually hidden "(current)" from pagination controls
- #31893: manifest.json: Switch to relative URLs so that we don't need to change the path with every major/minor release
- #31898: switch to suggesting jsDelivr as a CDN
-
#31904:
- docs(forms): use a legend for fieldset instead of aria-label
- docs(forms): fix incorrect legend nesting in fieldset
- #31936: forms: change inline custom radio name
- #31951: Update anchor-js to v4.3.0
- #31960: Explicitly mention emoji fonts, tweak sentence in typography
- #31981: list-group.md: fix snippet
-
#32005: Remove
bugreport.apple.comsince it doesn't work - #32015: Fix redirects
- #32050: Make docs anchorjs links darker on keyboard focus
- #32054: Add callouts about using light colors ideally on a dark background
- #32077: Switch to Hugo
- #32083: mention "Liberation Sans"
- #32087: download.md: link to JS files comparison too
- #32094: Changes to navbar documentation/explanation
- #32106: Clarify JS bundle docs once more for v4
-
#32137: input-group.md: fix wrong class
.visually-hidden -
#32138: navbar.md: remove
loading=lazyfrom snippets - #32147: Fix caniuse.com redirects
- #32151: Mention user-select-all support in docs
- #32196: homepage: split snippets and show copy buttons
- #32203: Switch to jsDelivr for the remaining docs assets
- #32223: introduction: split comments
- #32247: Fix typos in tooltip/popover docs
- #32253: Add Russian translation
-
#32363: Remove useless
.text-leftin Layout / Overview - #32399: Remove duplicated "follow Bootstrap on Twitter" link in Community section
- #32457: Add mention of the bs-custom-file-input plugin needed for the custom file input
-
#32461: style clipboard button on
:focus, not just:hover - #32462: Replace Lorem Ipsum placeholder text with more representative (or at least english language) text
- #32634: Remove incorrect mention of dropdowns for dynamic tab behavior
-
#32639: v4: Add an actual
data-touch="false"example in the carousel docs - #32728: add v5.0 in versions
- #32761: Mention stretched-link constraints with table elements
-
#32789: Remove
role="button"from CTA links in carousel example - #32791: Docs v4: Sass implementation and rounding precision
-
#32809:
- Clarify Sass import and customize docs for how to modify variable defaults
- Add an npm starter project callout to a few pages
- #32827: Add a live toast example to the docs
- #32759: Mention CSP and embedded SVGs in v4 docs
- docs(dropdowns): clarify where is
.showapplied - Require
.has-validationfor input groups with validation - Fix mobile menu jump & double border
- Remove double spaces from homepage SVGs
- browserconfig.xml: switch to relative image path
- Tweak the wording for collapse to indicate button is preferred/more semantic; backport of #32632
- Clarify the
$enable-shadowsoption in our docs; backport of #32685
Examples
- #31979: v4 Examples/Floating-labels: fix bad behavior with autofill
-
#32198: examples: add the version number in
title
Misc
- #29753: Improve build/generate-sri.js regex
- #32003: CI: switch to Node.js 14
- #32008: Update Edge's Rendering Engine on CONTRIBUTING.md
- #32486: BrowserStack: test on macOS Catalina instead of High Sierra
- #32756: Stylelint: disallow some property values
-
Fix for npm 7.x package.json: move
version_shortvariable under theconfigobject; backport of #32737 - Update build-examples script so that the resulting examples zip file includes only the needed files
- Various CI tweaks
- Updated devDependencies
v4.5.3
CSS
-
#31653: Add a comment to our
escape-svgfunction to note that data URIs must be quoted. -
#31693: Use the
custom-controlshadow variable instead of the genericinput-focus-box-shadow. -
#31793: Backport some v5 changes (improved
thstyling in Reboot, custom form field styling when printing, and improvements to.text-break).- #29714: Keep custom check, radio, and switch theme when printing.
-
#30781: Reboot's
thupdates: Inheritfont-weight: boldthat comes from user agent stylesheets. -
#30932:
.text-breakchanges to dropoverflow-wrapand useword-wraponce again - #31754: Improve versions page rendering (also reversed the order while I was here)
-
#31846: Backports the z-index change to
.closebuttons in dismissible.alerts.
JS
- #31000: Avoid multiple change event trigger in buttons plugin. Not applicable to v5 since our button JS plugin has been mostly replaced with pure CSS.
- #31673: Fix dropdown variable always evaluating to true.
-
#31696: Ensure
hidePrevented.bs.modalcan be prevented. -
#31718: Backports new
$dropdown-padding-xvariable from v5.
Docs
- #30811: Mention GPU acceleration fix in docs callout for popovers. Doesn't apply to v5 since we're updating to Popper v2.
-
#30838: Explain the
disposemethod more appropriately. - #31706: Backports updated margins for code snippets for improved readability.
- #31769: Backports JS bundle guidance from v5.
-
#31851: Backports mention of missing
toandnextwhenvisiblemethods.
Misc
- #31297: Switch to xo ESLint config
- Updated devDependencies versions
v4.5.2
This release addresses the following two issues:
-
#31438 restores the
make-container-max-widthsmixin. We won't be using the mixin ourselves, but it will remain in the codebase for the rest of v4 with today's release. We've added a deprecation notice as well. -
#31439 removes
flex: 1 0 100%from.rows. This was added to address shrinking rows inside the navbar component after our responsive containers were added in v4.4.0. Removing this rolls us back to the expected grid and flex behavior—your row will shrink unfortunately without further changes. We could add extra custom CSS to address this, but it seems shortsighted to rush into that. Instead, apply.flex-fillto the.rowand your row will behave as usual.
v4.5.1
CSS
-
#30808: Simplify
list-groupborders in cards -
#30810: Add
z-indexto.custom-checkto fix their rendering in CSS columns -
#30817: Add
border-radiusto.card-img-overlay - #30830: Prevent conflicts with components with classes
- #30922: Fix color on disabled checked state for custom controls
-
#30932: Restore
word-break: break-word;on.text-breakutility. -
#30940: Prevent
.rowfrom shrinking in flex containers -
#30957: Nullify custom form states'
box-shadow - #30959: Toasts in IE11
- #30960: Fix IE11 validation tooltip alignment in input groups
- #30965: Improve floating labels example in IE
- #30966: Improve floating labels with Edge and a general refactor
- #30969: Remove duplicated container breakpoints in compiled CSS
-
#30999: Revert
min-width: 0on.coldue to unforeseen side effects - #31148: Remove duplicate properties on custom controls
-
#31165: Remove
backdrop-filterfrom docs subnav and toasts - #31339: Add link to view docs pages on GitHub
- #31347: Turn off scroll anchoring for accordions
-
#31381: Remove
overflow: hiddenfrom toasts
JavaScript
- #30326: Prevent overflowing static backdrop modal animation
-
#30936: Add
role="dialog"in modals via JavaScript - #30992: Avoid preventing input event onclick
- #31155: Clear timeout before showing the toast
Build
- #30797: Fix release script docs
- #31011: Updated Babel config
- #31296: Update to Ruby 2.7 and Bundler 2.x
Docs
- #30809: Update docs callout for responsive SVG images
-
#30813: Mention Bootstrap Icons in
extend/icons.mdpage - #30896: Improve wording on Downloads page
- #30897: Prevent skip links from overlapping header in docs
-
#30973: Update some nav examples by removing
.nav-itemfrom.nav-linkto be more consistent - #31070: Fix some broken examples and typos
- #31135: Move color utility callouts to start of page
- #31234: Clean up docs forms for accessibility
- #31344: Mention toasts in the components requiring JavaScript page
v4.5.0
Highlights
-
New interaction utilities. Quickly set
user-selectwith the new utilities and Sass map. -
New Reboot style for pointer cursors. We now include a
role="button"selector in Reboot to setcursor: pointeron non-<button>element buttons. - Examples are now downloadable. We've added a script to zip up and offer all our Examples as their own download from the docs.
- Saved ~5% from the compressed minified JS builds.
- Added guidance to our docs for how to work around our longstanding input group rounded corner bug.
- Redesigned docs homepage and navbar to increment us towards v5's new docs design.
- Deprecated
bg-gradient-variantmixin as it's being removed in v5. - Updated to jQuery v3.5.1, Jekyll v4, and dropped Node.js < 10 for development.
CSS
- #29413: Prevent vertical offset on progress bar in IE11
-
#29745: Add
display: flexon.breadcrumb-item - #29819: Allow percentages in container widths
- #29857: Escape brackets
- #29946: Added new variable for padding on dropdown header
-
#30004: Fixes disabled
.btncursor -
#30036: Added focus state to
.btn-link - #30043: Fix IE auto-size input-group to column
-
#30049: Prevent grid with default cols from breaking when large
preis present by settingmin-width: 0 -
#30074: Use
word-wrapin.text-breakfor IE and Edge compatibility -
#30166: Avoid
border-radiusfunctions returning negative values -
#30183: Remove unnecessary reduce motion when
$enable-transition: false - #30244: Fix centered modal scrolling issue
- #30262: Prevent link underline change from affecting some components
- #30361: Remove appearance from date inputs
-
#30391: Prevent redundant
transition: none intransition()` mixin - #30497: Fix card list group borders & radii
-
#30504: Fix
spinner-growanimation in Safari -
#30515: Add
.card-footercolor -
#30555, #30512, #30480: Use
box-shadowmixin for.form-select,.btn, and other form controls -
#30562: Added new interaction utilities for
user-selectand a new -role="button"in Reboot to setcursor: pointer. -
#30582: Delete unnecessary
appearance: nonefrombutton.close -
#30594: Deprecate
bg-gradient-variantmixin -
#30605, #30606: Grid now checks for for
$grid-columns > 0 -
#30609: Checks for an empty
$grid-breakpointsmap list to remove all breakpoints - #30660: Prevent list group style leaks
- #30685: Disable auto-hiding scrollbar in IE and legacy Edge
JavaScript
-
#29986: Close modal with
keyboard=true&backdrop=static -
#29968: sanitizer.js: Add
srcsetin the allowed attributes - #30381: Updated tab.js to address accessibility issue when using ul/li semantic
-
#30383: ensure
totypealways return stringified null when null passed - #30388: enable button toggle on label when checkbox is inside
- #30490: Switch to string constants to save ~5% on compressed file size
- #30510, #30511: Fix event propagation from inactive and disabled dropdowns
- #30744: ensure build plugins can exit in error
- #30772: Prevent scrollbar replacement on non-integer width
- 22f75c: scrollspy: only accept valid Elements as input for target
Docs
- Redesigned docs homepage
- Improved tap target sizing in our navigation
- Added examples for our input group border-radius workaround
- Added warning to browser bugs page that it's no longer maintained
- Added
loading="lazy"for images - #29782: Improve wrapping and hit area of accordion example titles
-
#29820: move width after
make-container()mixin - #29937: Add missing Noto Sans font to font stack
- #29956: Add Microsoft Edge for macOS to supported browsers
- #30130: Added ability to zip and download our Examples
- #30175: Add version number in page titles
- #30180: Changed input group validation examples to reflect issues with input group
- #30207: Headings hierarchy in theming.md
-
#30325: Updated modal docs to simplify
data-targetusage and more - #30416: Clarify card group behavior
- #30469: Remove holder.js leftovers
- #30505: Use existing position utility in navbar example
- #30695: make the check for URL stricter in our docs search
-
#30755: Removed
role="document"from the modal dialog
Examples
Dependencies
- Updated jQuery to v3.5.1
- Replaced bundlesize with bundlewatch
- Updated to Jekyll v4
- Drop Node.js < 10
- Misc devDependencies updates
v4.4.1
v4.4.0
Highlights
Here's what you need to know about v4.4.0. Remember that with every minor and major release of Bootstrap, we ship a new URL for our hosted docs to ensure URLs continue to work.- New responsive containers! Over a year in the making, fluid up to a particular breakpoint, available for all responsive tiers.
-
New responsive
.row-colsclasses for quickly specifying the number of columns across breakpoints. This one is huge for those of you who have asked for responsive card decks. -
New
escape-svg()function for simplifying our embeddedbackground-imageSVGs for forms and more. -
New
add()andsubtract()functions for avoiding errors and zero values from CSS's built incalcfeature. -
New
make-col-auto()mixin to make our.col-autoclass available with custom HTML. - Fixed an issue with Microsoft Edge not picking up
:disabledstyles by moving selectors to[disabled]. -
Deprecated:
bg-variant(),nav-divider(), andform-control-focus()mixins are now deprecated as they're going away in v5. - Updated our spacing and alignment for modal footer elements like buttons to automatically wrap when space is constrained.
- More flexible form control validation styles thanks to fewer chained selectors. Also updated the
:invalidvalidation icon to be an alert instead of an×to avoid confusion with browser functionality for clearing the form field value. - Fixed a couple dozen CSS and JS bugs.
- Moved to GitHub Actions for CI/CD! Expect more updates to our CI setup over time here while Actions evolves.
- Updated documentation to fix links and typos, improved landmarks for secondary navigation, and a new security doc for guidelines on reporting potential vulnerabilities.
Links
v4.3.1
- Security: Fixed an XSS vulnerability (CVE-2019-8331) in our tooltip and popover plugins by implementing a new HTML sanitizer
- Fixed a small issue with our RFS (responsive font sizes) mixins
v4.3.0
Highlights
-
New: Added
.stretched-linkutility to make any anchor the size of it's nearestposition: relativeparent, perfect for entirely clickable cards! -
New: Added
.text-breakutility for applyingword-break: break-word -
New: Added
.rounded-smand.rounded-lgfor small and largeborder-radius. -
New: Added
.modal-dialog-scrollablemodifier class for scrolling content within a modal. -
New: Added responsive
.list-group-horizontalmodifier classes for displaying list groups as a horizontal row. -
Improved: Reduced our compiled CSS by using
nullfor variables that by default inherit their values from other elements (e.g.,$headings-colorwasinheritand is nownulluntil you modifier it in your custom CSS). -
Improved: Badge focus styles now match their
background-colorlike our buttons. -
Fixed: Silenced bad selectors in our JS plugins for the
hrefHTML attribute to avoid JavaScript errors. Please try to use valid selectors or thedata-targetHTML attribute/targetoption where available. - Fixed: Reverted v4.2.1's change to the breakpoint and grid container Sass maps that blocked folks from upgrading when modifying those default variables.
-
Fixed: Restored
white-space: nowrapto.dropdown-toggle(before v4.2.1 it was on all.btns) so carets don't wrap to new lines. -
Deprecated:
img-retina,invisible,float, andsizemixins are now deprecated and will be removed in v5.
Links
v4.2.1
Bump to v4.2.1 to republish package on npm. See v4.2.0 release notes for changes introduced in v4.2.
v4.1.3
-
Fixed: Removed the
:not(:root)selector from oursvgReboot styles, resolving an issue that caused all inline SVGs ignorevertical-alignstyles via single class due to higher specificity. -
Fixed: Moved the browserslist config from our
package.jsonto a separate file to avoid unintended inherited browser settings across npm projects. - Fixed: Buttons in custom file inputs are once again clickable when focused.
- Improved: Bootstrap's plugins can now be imported separately in any contexts because they are now UMD ready.
-
Improved:
.form-controls now have a fixedheightto compensate for differences in computed height across differenttypes. This also fixes some IE alignment issues. -
Improved: Added
Noto Color Emojito our system font stack for better rendering in Linux OSes.
v4.1.2
- Fixed an XSS vulnerability in tooltip, collapse, and scrollspy plugins
- Improved how we query elements in our JavaScript plugins
- Inline SVGs now have the same vertical alignment as images
- Fixed issues with double transitions on carousels
- Added Edge and IE10-11 fallbacks to our floating labels example
- Various improvements to form controls, including disabled states on file inputs and unified focus styles for selects
Checkout the v4.1.2 ship list and GitHub project for the full details.
v4.1.1
Our first patch release for Bootstrap 4! Here's a quick rundown of some of the changes:
- Added validation styles for file inputs
- Improved printing of dark tables
- Suppressed that
text-hidedeprecation notice by default - Cleaned up some JS globals and improve coverage
- Bumped dependencies, namely Jekyll
- Fixed docs issue with incorrect name for our monospace font utility
Checkout the v4.1.1 ship list and GitHub project for the full details.
v4.1.0
- Added new custom range form control.
- Added new
.carousel-fademodifier to switch carousel from horizontal sliding to crossfade. - Added new
.dropdown-item-textfor plaintext dropdown items. - Added new
.flex-fill,.flex-grow-*, and.flex-shrink-*utilities. - Added new
.table-borderlessvariant for tables. - Added new
.text-monospaceutility. - Added new
.text-body(default body color),.text-black-50(50% opacity black), and.text-white-50(50% opacity white) utilities. - Added new
.shadow-*utilities for quickly addingbox-shadows. - Added ability to disable Popper's positioning in dropdowns.
- Fixed longstanding issue with Chrome incorrectly rendering cards across CSS columns.
- Deprecated
.text-hide—you'll see a warning during compilation—as it's a dated and undocumented feature. - Fixed up Dashboard and Offcanvas examples across Firefox and IE.
- Breadcrumbs can now use non-string values as dividers.
- Updated our Theming docs to confirm you cannot use CSS variables in media queries (sorry folks!).
Be sure to look at the ship list and project board for more details on all our fixes.
v4.0.0
Our first stable v4 release!
Highlights:
- Brand new examples and overhauls for existing ones.
- Additional border utilities have been added and the default
border-colorfor them darkened from$gray-200to$gray-300. - Pagination focus styles now match button and input focus state.
- Added responsive
.order-0classes to reset column order. - Improved examples of form validation documentation by adding tooltip examples and more.
- New documentation added for using our CSS variables to the Theming page.
- Improved consistent across browsers when printing.
- Sass map extends and docs
- New and improved print display utilities
Project board
For more details, visit https://github.com/twbs/bootstrap/issues/25098.
Configuration
- If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.