Today we released Bootstrap version 3.1.0. It added several new features, many fixes and improvements, and updated the tools to build the project. Major changes include documentation, Sass support, and some other improvements. More under the cut.
New Documentation
The most noticeable changes were made to our documentation. In the current version, we have completely updated the help system, focusing on the documentation, and not on its wrapper. The new design of the main returns a brief overview of key functions and shows some interesting examples of use. ')
SASS Official Support
The main innovation of version 3.1.0 is official support for Sass. A few weeks ago we turned to the most popular port on GitHub and made it official - Bootstrap is now available on Sass. Instead of inflating the main branch of the project with the support of both Less and Sass, for the time being we will continue to conduct them as separate projects. Links to both versions are on the main, enjoy!
New use cases
We have added three new examples: Blog, Cover and Toolbar. Each example is a separate page that will help you quickly and easily understand Bootstrap. All of them are adaptive and ready for immediate use.
Improvements
Several existing Bootstrap modules have received updates:
Modal windows have size settings.
Drop-down lists have their own classes for aligning their contents along the edges.
Added icons to validation classes for clarity.
In general, these changes make the framework components more focused, reliable, and easy to use. A list of all changes can be viewed in the release on GitHub .
Remote content of modal windows
One of the most important improvements is to modal windows. If you are currently using the remote function on your modal windows, be careful because this release may break them. Yes, this change breaks backward compatibility, but we had to make it, because it fixes an even more long-standing missed error. We apologize for the inconvenience this may cause you, but we have missed this fix in the last few patch releases.
You can read about the changes made by this fix here .
New license
We were constantly discussing the possibility of changing the license with the Apache License 2.0, and thanks to all the participants of this project and the core team, we finally decided! Bootstrap 3.1.0 is under the MIT license , which will allow the maximum number of people to use Bootstrap in their projects. Thanks to everyone who made this happen.
Improved build tools
We are constantly trying to improve our Bootstrap development tools, and version 3.1.0 brings a lot of updates to this process.
We switched from Recess (support for Less 1.3.x) to the preprocessor LESS (1.6.x)
Compiled CSS is almost identical to the source in formatting and structure thanks to CSScomb and some other Grunt-plugins.
Tests are also performed slightly faster with caching and parallelization.
The web configurator is now generated using Grunt-task, so you will never miss an update or the addition of a new variable. Having made changes, just run grunt .
Attention! If you are working with Bootstrap locally, do not forget to delete the node_modules/ directory and run npm install before starting with 3.1.0.