hasmin v1.0.3 Release Notes

Release Date: 2019-01-02 // almost 4 years ago
  • ๐Ÿ›  Fixed

    • overflow: visible hidden minifying as overflow:hidden. Now it's left untouched. It's possible that there where other instances of this, which sould now be fixed.
    • quickcheck-instances upper bound not admitting version 0.3.19 (#5)
    • Incorrect description for two flags in the usage info (when running --help). The descriptions for [email protected] and -no-transform-function-min were swapped.

    โž• Added

    • 0๏ธโƒฃ Minification for properties with a pair of values whose second one defaults to the first when missing. For example: overflow: clip clip is minified to overflow: clip. This also properly interacts with property traits, i.e. overflow: visible visible is properly minified to overflow: unset (since visible visible is equivalent to visible, and visible is the initial value and overflow doesn't inherit, thus unset). Among the properties for which this is now done are:

      • border-bottom-left-radius
      • border-bottom-right-radius
      • border-top-left-radius
      • border-top-right-radius
      • overscroll-behavior
    • Property traits for overscroll-behavior and its longhands, overscroll-behavior-x and overscroll-behavior-y.

    • ๐Ÿ“œ Minification for object-position. This property's value is now parsed as a <position>, allowing to apply all the minifications a <position> allows.

    • Minification for text-emphasis-position. This property now correctly utilizes its traits, e.g. text-emphasis-position: right over minifies to text-emphasis-position: unset.


Previous changes from v1.0.2

  • โž• Added

    • caret-color and font-display to the property traits table, enabling their minification.
    • border-radius minification.
    • ๐Ÿ“œ Parsing and minification of <basic-shape>.

    ๐Ÿ‘Œ Improved

    • Position minification