Bootstrap

The Bootstrap Blog

News and announcements for all things Bootstrap, including new releases and Bootstrap Themes.

Bootstrap 2.2.2 released

Today we’re launching Bootstrap 2.2.2, another larger bugfix release that focuses mostly on CSS and documentation fixes, with a few key JS issues mixed in as well. Here’s the rundown on what’s new in this release:

  • Docs:
    • Assets (illustrations and examples) are now retina-ready.
    • Replaced Placehold.it with Holder.js, a client-side and retina-ready placeholder image tool.
  • Dropdowns: Temporary fix added for dropdowns on mobile to prevent them from closing early.
  • Popovers:
    • No longer inherits font-size: 0; when placed in button groups.
    • Arrows refactored to work in IE8, and use less code.
    • Plugin no longer inserts popover content into a <p>, but rather directly into .popover-content.
  • Labels and badges: Now automatically collapse if they have no content.
  • Tables: Nesting support with .table-bordered and .table-striped greatly improved.
  • Typeahead:
  • Print styles, from HTML5 Boilerplate, have been added.

Get a more complete list by viewing the 2.2.2 milestone on GitHub. Most of the issues not mentioned above are minor CSS tweaks and documentation typos.

Download Bootstrap 2.2.2 (latest master ZIP)


We have a 2.2.3 release slated for further bugs and improvements we couldn’t tackle in this version, but most of our ongoing efforts are going to transition to development on 3.0.0. More details on that will come next week.

Help test Bootstrap 2.2.2

In the next week or so, we plan on releasing v2.2.2. To date, there are over 50 CSS and documentation related issues already closed, and we want to get those out in your hands. We still have some significant JavaScript issues to work out, but those will be punted to 2.2.3 so we don’t hold up development. Our hope is to have that release out by end of year at the latest.

Key changes

  • Added retina assets in the docs.
  • Added HTML5 Boilerplate print styles.
  • Swapped placehold.it for Holder.js.
  • Fixed issues with popovers inheriting font-size: 0; in button groups.
  • Refactorered popover arrows to fix IE8 display bug and use less code.
  • Updated popover plugin to remove the <p> within .popover-content. Popover text and HTML now directly inserts into .popover-content.
  • Enabled badges and labels to automatically collapse when empty.

For a more complete set of changes, view the 2.2.2 milestone on GitHub. Most of the issues not mentioned above are minor CSS tweaks and documentation typos.

How to help

We would love to have folks help test these changes to prevent further regressions.

  • Checkout the 2.2.2-wip branch, or browse the release candidate docs so you can easily load it up on devices and such for testing. Note: downloads on the RC docs do not work.
  • Take a look at the docs and give ‘em a run on the docs, on your phone, your (least?) favorite browser, etc.
  • Open a new issue on GitHub to report bugs. Please include as much context and information as possible. If it’s a visual bug, please include a screenshot. If it pertains to JavaScript, consider including a jsfiddle.

If you’re submitting a pull request against 2.2.2-wip, be sure to read the Contributing to Bootstrap wiki page first.

Update on the Glyphicons font

Earlier this week, I was excited to announce that our next release, 2.2.2-wip, would include the new Glyphicons icon font. In hindsight I got a little carried away and forgot about something.

IE7 doesn’t really do icon fonts.

I could put together a hack to add IE7 support, duplicating tons of code, but that doesn’t feel right as we’re dropping IE7 support in BS3. Instead of spending time on something we’ll just remove later on, we’re going to focus on things that will be here in the next major version.

So, it’s with some sadness that I inform you we will not be including the Glyphicons font in 2.2.2-wip.

Backwards compatibility is always a pain in the ass, and to avoid huge headaches for folks, we sometimes have to bend over, well, backwards. I hope this doesn’t screw up your plans too much and that you understand we have the community’s best interests at heart.

There’s some good news though. For you nerds who live on the edge, I’ve been working on tons of BS3-esque changes in the 3.0.0-wip branch on GitHub. If you really cannot wait for the Glyphicons font (and don’t mind using unsupported code), do check it out. I plan on accelerating work on it in the coming weeks. (Please don’t submit issues for it though, but rather email me or ping me on Twitter for questions.)

Thanks for listening, and as always, <3<3<3.

@mdo

2.2.1 hotfix released

After the 2.2.0 release last night, a few bugs were reported, but only one major one: malfunctioning carousels. To address that, @fat just pushed out a 2.2.1 hotfix release that fixes the bug. Upgrading should be super simple given the scope of this release.

Download Bootstrap 2.2.1 (latest master ZIP)

Once more, apologies for any hiccups and happy Bootstrapping!

Bootstrap 2.2.0 released

Aww yeah, our first release since leaving Twitter is here with Bootstrap 2.2.0! We originally planned to release this as 2.1.2, but given the timing and scope we’re bumping the version. Included in this release are dozens of bug fixes, documentation enhancements, and a few new and improved features.

tl;dr

2.1.2 is now 2.2.0: four new example templates, added media component, new typographic scale, fixed that box-shadow mixin bug, fixed z-index issues, and more.

Highlights

  • Added four new example templates to the docs, including a narrow marketing page, sign in form, sticky footer, and a fancy carousel (created for an upcoming .net magazine article).
  • Added the media component, to create larger common components like comments, Tweets, etc.
  • New variable-driven typographic scale based on @baseFontSize and @baseLineHeight.
  • Revamped mini, small, and large padding via new variables for inputs and buttons so everything is the same size.
  • Reverted 2.1.1’s .box-shadow(); mixin change that caused compiler errors.
  • Improved dropdown submenus to support dropups and left-aligned submenus.
  • Fixed z-index issues with tooltips and popovers in modals.
  • Hero unit now sets basic type styles for the entire component, rather than on .hero-unit p { ... }.
  • Updated JavaScript plugins and docs to jQuery 1.8.1.
  • Added Contributing.md file.
  • Added support for installing Bootstrap via Bower.
  • Miscellaneous variable improvements across the board.
  • Miscellaneous documentation typos fixed.

For the full list of issues included in this release, visit the 2.2.0 milestone on GitHub. Otherwise, be sure to visit the docs or download the latest to get your hands on 2.2.0.

Download Bootstrap 2.2.0 (latest master ZIP)

Next steps

As a quick side note, we’re still working on moving Bootstrap to its own organization on GitHub. That will come with a couple other big changes, but more on that soon. We’ll be jumping on the next release shortly for more bugfixes, but until then enjoy the fixes and new hotness!

Lastly, thanks everyone again for submitting issues and contributing—you rock!

<3,

@mdo and @fat