# frckl-base Changelog

## Version 4.0.0

### Major Changes

- This project now creates a shared.json file from some sass-files in your config-folder, this can and then will be used by JavaScript for font-loading (via fontfaceobserver) and a nifty useful breakpoint-module. Define your fonts and breakpoints only once!
- Full switch to rollup (instead of browserify/watchify) for smaller js-bundles and better build-times
- Refactor tasks and their names — see [Gulp & Tasks Overview](doc/tasks.md) for details

### Minor Changes

- Add updated favicons and touch-icons from [realfavicongenerator.net](http://realfavicongenerator.net)
- Dependencies (patch and minor levels)

## Version 3.0.0

### Major Changes

- The Sass-mixins spacing, spacing-inner and all position-mixins (absolute, relative etc.) now accept `a` as parameter, to set the corresponding values for all 4 sides. Have a look at */src/scss/tools/mixins/position.scss* and *spacing.scss*.
- The htmlhint-gulp-task now works properly and was completely rewritten. HTML files are now saved temporarily to check them with htmlhint. Those HTML-files will also be used to create the critical above-the-fold CSS.
- There now is a task to create the critical above-the-fold CSS `gulp critical`. loadCSS is used by default
- Rewritten font-workflow, introduce fontfaceobserver
- Added a basic serviceworker-script you can use on your website

### Minor Changes

- Update eslint to version 2.6 and update the rules in .eslintrc


## Version 2.0.0

- Update to eslint v2 — re-install gulp-eslint to use the new rules from .eslintrc. This project now inherits the default rules from eslint:recommended (and overwrites some), as opposed to defining everything. 
- Ditch gulp-imagemin: the image-task took a long time. Please use tools like  [imageoptim](https://imageoptim.com/) and [imagealpha](http://pngmini.com/) to once reduce the size of your images, those tools can optimize even a bit better. Ditching this task speeds up npm install and gulp build a lot. The copying of the images is now done via `gulp copy:images` instead of `gulp images`
- Update to babel v6 — we use the default es2015 preset, have a look at the newly introduced .babelrc-file
- New SVG-sprite workflow! We now use fragment-identifiers to create the SVG-sprite, for more information on usage, see [Images & Sprites](doc/images.md), installs polyfill svgxuse for IE by default
- Add clean task: we now (again) have a task that cleans the complete dest-folder and the generated sprite before a build. Do not just copy stuff in the dest-folder, everything will be deleted. Use the copy-tasks to copy any needed files
- Remove some unused default styles and no longer needed files, ditch conditional comment/old-IE box
- Ditch minifycss and use cssnano via postcss instead (faster)
- Add aliases for npm scripts — e.g. npm start runs gulp, npm test runs all linters, npm run build runs gulp build etc.
- Use autoprefixer directly via gulp-postcss (instead of the gulp-autoprefixer plugin)
- Update browsersupport for autoprefixer
- Update all other dependencies to current versions (as of February 18th, 2016)


## Version 1.2.0

- Update to eslint v1.3.0 — re-install gulp-eslint (`npm uninstall gulp-eslint && npm install gulp-eslint --save-dev`) to use the new rules from .eslintrc (no-useless-concat + changed lines-around-comment)


## Version 1.1.0

- Update to eslint v1.2.0 — re-install gulp-eslint (`npm uninstall gulp-eslint && npm install gulp-eslint --save-dev`) to use the new rules from .eslintrc if you get warnnigs.


## Version 1.0.1

- Fix center-mixin for 'horizontal'
- Add [node-notes](https://github.com/toihrk/node-notes) to recommended tools
- Update .htaccess to current version of [Apache Server Configs](https://github.com/h5bp/server-configs-apache) (v.2.14.0)


## Version 1.0.0

Initial, documented release.

Breaking changes compared to any releases before:

- Now using ES6 + Babel
- Eslint v1.0 (with a full fledged .eslintrc)
- Breaking Changes to mixins position, spacing and spacing-inner (simpler and unified)
