Releases: twbs/bootstrap
v3.4.1
- Security: Fixed an XSS vulnerability (CVE-2019-8331) in our tooltip and popover plugins by implementing a new HTML sanitizer
- Handle bad selectors (
#
) indata-target
for Dropdowns - Clarified tooltip selector documentation
- Added support for NuGet contentFiles
v4.3.0
Highlights
- New: Added
.stretched-link
utility to make any anchor the size of it's nearestposition: relative
parent, perfect for entirely clickable cards! - New: Added
.text-break
utility for applyingword-break: break-word
- New: Added
.rounded-sm
and.rounded-lg
for small and largeborder-radius
. - New: Added
.modal-dialog-scrollable
modifier class for scrolling content within a modal. - New: Added responsive
.list-group-horizontal
modifier classes for displaying list groups as a horizontal row. - Improved: Reduced our compiled CSS by using
null
for variables that by default inherit their values from other elements (e.g.,$headings-color
wasinherit
and is nownull
until you modifier it in your custom CSS). - Improved: Badge focus styles now match their
background-color
like our buttons. - Fixed: Silenced bad selectors in our JS plugins for the
href
HTML attribute to avoid JavaScript errors. Please try to use valid selectors or thedata-target
HTML attribute/target
option 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: nowrap
to.dropdown-toggle
(before v4.2.1 it was on all.btn
s) so carets don't wrap to new lines. - Deprecated:
img-retina
,invisible
,float
, andsize
mixins 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.2.0
Here are the highlights of what's new and updated in v4.2.
- New: Added a new spinner loading component.
- New: Added new toast component for displaying notifications.
- New: Added a new iOS style switch (a modifier class to our custom checkboxes).
- New: Added touch support in our carousel component.
- New: Added
.font-weight-lighter
and.font-weight-bolder
utilities. - New: Added
.text-decoration-none
utility class. - New: Added
.modal-xl
modifier class for our modals. - New: Added new negative margin utility classes (e.g.,
.mb-n3
). These rad new classes not only allow you more control over your general spacing needs, but also allow you to create responsive grid gutters at each breakpoint. - New: Validated form fields now have feedback icons on
:invalid
and:valid
fields. Disable them with the$enable-validation-icons
boolean Sass variable (defaults totrue
). - New: Added a new versions page to our docs
- New: Tooltips/Popovers work with Shadow DOM
- Updated: Redesigned the custom checkboxes and radios for more obvious states.
- Updated:
bootstrap-grid.css
now includes ourmargin
andpadding
utilities for full control of our grid system. - Updated: Changed auto columns (e.g.,
.col-auto
) frommax-width: none
tomax-width: 100%
to prevent content from causing a column to overflow the parent. - Updated: Improved rendering of custom selects, ranges, file input, and more.
Checkout the full v4.2.0 ship list and GitHub project for the full details. Up next is v4.3 with some bugfixes, a few new modifier classes and variables, and some new utilities.
Head to to the v4.2.x docs to see the latest in action. The full release has been published to npm and will soon appear on the Bootstrap CDN and Rubygems.
v3.4.0
- New: Added a
.row-no-gutters
class. - New: Added docs searching via Algolia.
- Fixed: Resolved an XSS issue in Alert, Carousel, Collapse, Dropdown, Modal, and Tab components. See https://snyk.io/vuln/npm:bootstrap:20160627 for details.
- Fixed: Added padding to
.navbar-fixed-*
on modal open - Fixed: Removed the double border on
<abbr>
elements. - Removed Gist creation in web-based Customizer since anonymous gists were disabled long ago by GitHub.
- Removed drag and drop support from Customizer since it didn't work anymore.
- Added a dropdown to the docs nav for newer and previous versions.
- Update the docs to use a new
baseurl
,/docs/3.4/
, to version the v3.x documentation like we do with v4. - Reorganized the v3 docs CSS to use Less.
- Switched to BrowserStack for tests.
- Updated links to always use https and fix broken URLs.
- Replaced ZeroClipboard with clipboard.js
v4.1.3
- Fixed: Removed the
:not(:root)
selector from oursvg
Reboot styles, resolving an issue that caused all inline SVGs ignorevertical-align
styles via single class due to higher specificity. - Fixed: Moved the browserslist config from our
package.json
to 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-control
s now have a fixedheight
to compensate for differences in computed height across differenttype
s. This also fixes some IE alignment issues. - Improved: Added
Noto Color Emoji
to 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-hide
deprecation 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-fade
modifier to switch carousel from horizontal sliding to crossfade. - Added new
.dropdown-item-text
for plaintext dropdown items. - Added new
.flex-fill
,.flex-grow-*
, and.flex-shrink-*
utilities. - Added new
.table-borderless
variant for tables. - Added new
.text-monospace
utility. - 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-shadow
s. - 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-color
for them darkened from$gray-200
to$gray-300
. - Pagination focus styles now match button and input focus state.
- Added responsive
.order-0
classes 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 #25098.