Skip to content

v7.0.0 - ES2015, Eslint, Dropped IE8 support and much more!

Compare
Choose a tag to compare
@mrmartineau mrmartineau released this 09 Jun 06:40
· 160 commits to master since this release

Javascript

  • Updated js to use ES6/ES2015 syntax to be transpiled using Babel (babelify Browserify transform)
  • Switched from jshint & jscs to ESLint. ESLint config is custom but heavily based on Airbnb's ESLint style guides.
  • Trak.js and Swiftclick not installed by default anymore
  • Included double-dollar to make life a little easier when looping over DOM elements
  • Polyfill.io now used instead of shimly for all browser shims [9eb6a83]

Scss

  • Type vars are now in $type Sass map and reduced the number of items in the list.
  • Replaced the existing grid with a flexbox-based grid with fallbacks for browsers that do not support flexbox. Learn about the grid here
  • Removed $bp-single-col and moved all other breakpoint variables into a Sass map. The respond-* mixins were also improved to allow for different types of arguments, e.g. @include respond-min(mid) {...} or @include respond-min(500) {...} or @include respond-min(400px) {...}
  • Updated to [email protected]
  • Fixed an IE Print bug [111c0ce]
  • Add hypehenate helper class [c09b3d2]

Tooling

  • Added Commitizen to help enforce consistent git commits.
  • Run npm run info to show information about all our npm run scripts. [413b191]
  • grunt checks task renamed to grunt test
  • Updated to latest version of all npm dependencies that comply with our browser support requirements
  • Updated to [email protected]
  • Removed Grunticon. Currently there is no icon replacement but we will provide instructions on how to add a better system soon
  • Update .editorconfig, .gitattributes & .gitignore

HTML

  • Changed #mainContent ID to be #main
  • Styleguide had some minor updates

Browser Support

  • Dropped support for Internet Explorer 8. Expect Kickoff to drop support for IE 9-11 within 6-12 months. [e70ab08]

Misc

  • Added a code of conduct [0a276de]