Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.58 KB

CHANGELOG.md

File metadata and controls

50 lines (36 loc) · 1.58 KB

Changelog

0.7.1 (07-07-2017)

Added safe parser support for async

0.2.0 (01-07-2017)

  • ✨ Added dependency postcss-safe-parser which creates a more fault tolerant CSS parser. So now when postcss parsers a CSS syntax error, it will try to fix it before throwing an error.

0.1.2

  • 🚀 Added id attribute selector support, e.g. div[id="foobar"]
  • 🚀 Added asteriskName to options which will allow ability to customize the wildcard scoped name
  • 🐛 We have to convert all class attribute selectors [class="someClass"] into [class~="someClass"] because we are almost always adding more classes to the element which breaks the class= rule. Most of the time the CSS works with class~= which is the same as .someClass {} it's just that people are confused about the syntax.
  • 🐛 h1, h2, h3, etc. were not getting recognized by the type selector algorithm
  • 🐛 Passing nothing into the api would crash the library
  • 🐛 Mixing both attribute selectors and normal element selectors would cause the library to ignore the element selectors

0.1.1

  • 🚀 Added asterisk * selector support, which will convert an asterisk into a class
  • 🐛 Some attribute class selectors with hyphen were not being scopeified properly

0.1.0

  • 🚀 Added font-face scopeify support
  • 🐛 Now properly scopeifing class selectors div[class="selector"]

0.0.2

  • BUGFIX: strict mode for let and const on older versions of node

0.0.1

  • Initial release