Skip to content

Latest commit

 

History

History
117 lines (94 loc) · 2.36 KB

File metadata and controls

117 lines (94 loc) · 2.36 KB

Changelog

All notable changes to this project will be documented in this file.

[Unreleased Change]

None as of 2017-11-21.

[3.1.1] - 2017-11-21

Added

  • CHANGELOG.md

[3.1.0] - 2017-11-11

Added

  • support for shortcuts options

    • example:
    /* with shortcuts: true; as option */
    @b block {
      @e element {
        @m modifier {
        }
      }
    }
    
    /* generates */
    .block {}
    .block__element {}
    .block__element--modifier {}
    
  • support for separators

    • default: { element: '_', modifier: '-' }
    • example:
    /* with element set to `_` and modifier set to `-` */
    @b block {
      @e element {
        @m modifier {
        }
      }
    }
    
    /* generates */
    .block {}
    .block_element {}
    .block_element-modifier {}
    

Changed

  • Added Travis test for Node 8
  • updated packages
  • minor optimizations
  • package.json description updates

[3.0.1] - 2017-08-04

Changed

[3.0.0] - 2017-08-04

Added

  • Build step for CommonJS output

Changed

  • Update dependencies
  • Fix long standing CommonJS require
    • To upgrade change const atRuleBem = require('postcss-atrule-bem').default; to const atRuleBem = require('postcss-atrule-bem');

[2.1.3] - 2017-03-23

Changed

  • update .npmignore … again 👌

[2.1.2] - 2017-03-23

Changed

  • update .npmignore

[2.1.1] - 2017-03-23

Changed

  • Module entry for CommonJS requires

[2.1.0] - 2017-03-23

Added

  • Allow multiple selectors per rule
    • example:
      @block one, two {
        prop: value;
      }
    
      /* generates */
      .one, .two {
        prop: value;
      }
    

[2.0.1] - 2016-10-25

Changed

  • Update package.json description
  • Update README badges to point to right repo 🐣

[2.0.0] - 2016-10-24

Added

  • strict rule which disallows improperly formed components
  • warn turns on warnings for said invalid components
  • child node invalidation
  • child node rule checking

[1.0.1] - 2016-10-17

Changed

  • update package.json with proper description

[1.0.0] - 2016-10-17

  • First published!

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.