Releases: blakeembrey/free-style
Releases · blakeembrey/free-style
Do Not Sort Nested Styles
Fixed
- Corrected the behavior of sorting nested CSS styles (rules are still sorted to dedupe, #19)
Cache Insertion Values Ordering
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
Fixed
- Hash user
@-rule
with the direct styles, avoids rule merging when it would be invalid (E.g. multiple@font-face
usages)
Big Bang
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
Changed
- Fixed
tab-size
typo - Added more information in README
Nested Object Keys
Changed
- Do not transform nested object keys (E.g. dasherizing)