clean-css v3.0.0 Release Notes

Release Date: 2014-12-18 // over 9 years ago
    • ➕ Adds more granular control over compatibility settings.
    • ➕ Adds support for @counter-style at-rule.
    • ➕ Adds --source-map/sourceMap switch for building input's source map.
    • ➕ Adds --skip-shorthand-compacting/shorthandComacting option for disabling shorthand compacting.
    • 👍 Allows target option to be a path to a folder instead of a file.
    • 👍 Allows disabling rounding precision. By @superlukas.
    • Breaks 2.x compatibility for using CleanCSS as a function.
    • 🔄 Changes minify method output to handle multiple outputs.
    • Reworks minification to tokenize first then minify. See changes.
    • ✂ Removes support for node.js 0.8.x.
    • 📇 Renames noAdvanced option into advanced.
    • 📇 Renames noAggressiveMerging option into aggressiveMerging.
    • 📇 Renames noRebase option into rebase.
    • ⚡️ Speeds up advanced processing by shortening optimize loop.
    • 🛠 Fixed issue #125 - source maps!
    • 🛠 Fixed issue #344 - merging background-size into shorthand.
    • 🛠 Fixed issue #352 - honors rebasing in imported stylesheets.
    • 🛠 Fixed issue #360 - adds 7 extra CSS colors.
    • 🛠 Fixed issue #363 - rem units overriding px.
    • 🛠 Fixed issue #373 - proper background shorthand merging.
    • 🛠 Fixed issue #395 - unescaped brackets in data URIs.
    • 🛠 Fixed issue #398 - restoring important comments.
    • 🛠 Fixed issue #400 - API to accept an array of filenames.
    • 🛠 Fixed issue #403 - tracking input files in source maps.
    • 🛠 Fixed issue #404 - no state sharing in API.
    • 🛠 Fixed issue #405 - disables default background-size merging.
    • 🔀 Refixed issue #304 - background-position merging.