All Versions
30
Latest Version
Avg Release Cycle
33 days
Latest Release
-
Changelog History
Page 3
Changelog History
Page 3
-
v6.3.0 Changes
- โ Added an update notifier
-
v6.2.0 Changes
- ๐ New plugin "custom-selector"
-
v6.1.0 Changes
- ๐ New plugin "custom-media"
-
v6.0.0 Changes
- ๐ New version of stylecow-parser (2.0) with a lot of fixes and speed improvements
-
v5.0.0 Changes
- โ Removed
--input
,--output
,--code
and--map
configuration - ๐
Simplified api. The command
stylecow execute
is now simplystylecow
- ๐
On create new configuration file with
stylecow init
, all plugins are selected by default - โ Added support for convert various files. From now, the stylecow.json structure has the following format:
{ "files": [ { "input": "styles.css", "output": "styles.min.css", "map": "styles.min.map", },{ "input": "styles2.css", "output": "styles2.min.css", "map": "styles2.min.map", } ] }
- โ Removed
-
v4.2.0 Changes
- ๐ Included the command line interface (and deprecate stylecow-cli package)
- ๐ Separate the parser in an external package: stylecow-parser
-
v4.1.0 Changes
- ๐ The plugin "initial" is deprecated. Now it's included in "fixes"
-
v4.0.0 Changes
- ๐ Rewritten the parser to be more consitent
- ๐ Changed some API methods to create and traverse through the elements
- ๐ The standard plugins are included as dependencies, so they are installed with stylecow
-
v3.1.0 Changes
- Implemented source maps
- ๐ Improved error handling. Now on error, a
stylecow.Error()
class is throwed - ๐
Changed the way the code is generated. Now there is the
stylecow.Code
class. For example:
var stylecow = require('stylecow'); //Get some code var css = stylecow.createFromFile('my-styles.css'); //Configure the code var code = new stylecow.Code(css, { output: 'styles.min.css', //output filename style: 'minify', //minify the code sourceMap: 'styles.min.map', //The source map file previousSourceMap: 'styles.map' //Set this value if there is the file has a source map created by other preprocessor, such less/sass and it's not defined in the code. }); //Save the output css file and source map code.save(); //Get the code as string: console.log(code.code); //Get the source map console.log(code.map)
- ๐ New
stylecow.merge()
function to merge two files: ```js var main_css = stylecow.createFromFile('styles1.css'); var other_css = stylecow.createFromFile('styles2.css');
//Merges "other_css" into "main_css" stylecow.merge(main_css, other_css);
-
v3.0.0 Changes
- ๐ The parser has been completely rewriten.
- ๐ Performance improved x2
- ๐ Support for any type of at-rule
- ๐ Better API
- ๐ The plugin "linear-gradient" was merged with "prefixes"