NEWS.md in bourbon-5.0.0.beta.1 vs NEWS.md in bourbon-5.0.0.beta.2

- old
+ new

@@ -1,14 +1,34 @@ # News The noteworthy changes for each Bourbon version are included here. For a complete changelog, see the Git history for each version via the version links. -## `master` +## [5.0.0-beta.2] - March 3, 2016 ### Added +- Added global settings for the `contrast-switch` mixin: + `contrast-switch-dark-color` & `contrast-switch-light-color`. + +### Changed + +- Swapped argument names `contrast-switch`; what was `$dark-color` is now + `$light-color` and what was `$light-color` is now `$dark-color`. + +### Removed + +- Dropped support for Ruby on Rails versions older than 4.2. +- Dropped support for LibSass versions older than 3.3. +- The `is-light` function is now private. + +[5.0.0-beta.2]: https://github.com/thoughtbot/bourbon/compare/v5.0.0.beta.1...v5.0.0.beta.2 + +## [5.0.0-beta.1] - February 9, 2016 + +### Added + - Added a `contrast-switch` mixin that switches between two colors based on the lightness of a another color. Great for building button styles. - Added an `$all-text-inputs-invalid` variable to target the `:invalid` pseudo-class on all text-based inputs. - The `ellipsis` mixin now takes a `$display` argument. @@ -28,17 +48,18 @@ e.g. `$font-stack-helvetica`. - Global settings are now set via a `$bourbon` map, instead of variables. See [4e43c2d]. - The `clearfix` mixin now uses `block` display, instead of `table`. -### Deprecated +### Removed - The `$weight` and `$style` arguments in the `font-face` mixin have been - deprecated. Instead, you can now include these—along with other CSS + removed. Instead, you can now include these—along with other CSS properties—within the mixin block and they’ll be output as part of the `@font-face` declaration. +[5.0.0-beta.1]: https://github.com/thoughtbot/bourbon/compare/da4451e...v5.0.0.beta.1 [2356719]: https://github.com/thoughtbot/bourbon/commit/235671948ef3a9c343c4391d250082a0373c8d83 [4e43c2d]: https://github.com/thoughtbot/bourbon/commit/4e43c2d7507999b539771bdc1b3733b18b3c1883 ## [5.0.0.alpha.0] - August 21, 2015 @@ -54,18 +75,19 @@ - Font stacks have been modernized. - The `strip-units` function is now `strip-unit`. - The `size` mixin now requires a comma-separated argument list, e.g. `@include size(1em, 2em);`. -### Deprecated +### Removed -- All vendor prefixing mixins have been deprecated. We recommend using a more +- All vendor prefixing mixins have been removed. We recommend using a more robust and maintainable solution like [Autoprefixer](https://github.com/postcss/autoprefixer). -- The `$global-prefixes` setting has been deprecated and the `prefixer` mixin +- The `$global-prefixes` setting has been removed and the `prefixer` mixin has been refactored and no longer uses it. -- The `em` and `rem` mixins have been deprecated. -- The `$monospace` font stack variable has been deprecated in favor of new +- The `em` and `rem` mixins have been removed. +- The `$monospace` font stack variable has been removed in favor of new `$consolas`, `$courier-new` and `$monaco` variables. -- The `triangle` mixin has been deprecated. +- The `triangle` mixin has been removed. +- The `retina-image` mixin has been removed. [5.0.0.alpha.0]: https://github.com/thoughtbot/bourbon/compare/v4.2.6...v5.0.0.alpha.0