Skip to content

Releases: blakeembrey/free-style

Do Not Sort Nested Styles

24 Feb 18:57
Compare
Choose a tag to compare

Fixed

  • Corrected the behavior of sorting nested CSS styles (rules are still sorted to dedupe, #19)

Cache Insertion Values Ordering

07 Jan 22:46
Compare
Choose a tag to compare

Fixed

  • Values are consistently ordered by latest insertion time - fixes case where later @-rules do not take precedence
  • The number zero will be output as 0 in CSS (saves 2 characters)

User @-rule

23 Dec 11:50
Compare
Choose a tag to compare

Fixed

  • Hash user @-rule with the direct styles, avoids rule merging when it would be invalid (E.g. multiple @font-face usages)

Big Bang

23 Dec 01:57
Compare
Choose a tag to compare

Changed:

  • Different hash algorithm (and .toString(36))
  • Registering styles only returns the hash, instead of instances, from now on
  • Style de-duplication is improved - instead of just root styles, it'll de-dupe multiple selectors and @-rules infinitely
  • Better performance which hashes incrementally and doesn't require copying styles or maintaining secondary style structures
  • Expose generic rule support (helpful for those odd-tasks, like registering font faces)
  • Dropped Bower file support
  • Delete tsd.json usage

Tab Size Typo

27 Aug 07:02
Compare
Choose a tag to compare

Changed

  • Fixed tab-size typo
  • Added more information in README

Nested Object Keys

25 Aug 20:45
Compare
Choose a tag to compare

Changed

  • Do not transform nested object keys (E.g. dasherizing)