Releases: css/csso
Releases · css/csso
4.0.2
4.0.1
- Bumped CSSTree to
1.0.0-alpha.37
to avoid source map generation inconsistency across Node.js versions
4.0.0
3.5.0
3.4.0
3.3.1
3.3.0
3.2.0
- Fixed named color compression to apply only when an identifier is guaranteed to be a color. Used CSSTree's feature to determine the meaning of a part of a value based on W3C specs. No more false positive matches like
Arial Black
, and with no hacks ;) - Added lifting of
@keyframes
to the beginning of style sheet - Added removal of
@keyframes
,@media
and@supports
with no prelude - Added removal of duplicate
@keyframes
(#202) - Added new option
forceMediaMerge
to force media rules merging. It's unsafe in general, but works fine in many cases. Use it on your own risk (#350) - Bumped
CSSTree
to1.0.0-alpha23
3.1.1
3.1.0
- Implemented optimisation for
none
keyword inborder
andoutline
properties (@zoobestik, #41) - Implemented replacing
rgba(x, x, x, 0)
totransparent
- Fixed plus sign omitting for numbers following identifier, hex color, number or unicode range, since it can change the meaning of CSS (e.g.
calc(1px+2px)
has been optimized tocalc(1px2px)
before, now it stays the same) - Improved usage filtering for nested selectors (i.e. for
:nth-*()
,:has()
,:matches
and other pseudos) - Implemented
blacklist
filtering in usage (#334, see Black list filtering) - Improved white space removing, now white spaces are removing in the beginning and at the ending of sequences, and between stylesheet and block nodes
- Bumped
css-tree
to1.0.0-alpha19