From: GoalSmashers Date: Sun, 21 Oct 2012 10:41:23 +0000 (+0100) Subject: Version 0.8.0. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=08076cb0a228fe98b7b062a9f8b22d6d8e2bc471;p=clean-css.git Version 0.8.0. --- diff --git a/History.md b/History.md index 81f845c0..5349ca32 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,12 @@ +0.8.0 / 2012-10-21 +================== + + * Added removing url parentheses if possible. + * Rewrote breaks processing. + * Added (keepBreaks/-b) option to keep breaks in minimized file. + * Reformatted lib/clean.js so it's eaasier to follow the rules. + * Minimized test data is now kept with breaks so it's easier to compare the changes. + 0.7.0 / 2012-10-14 ================== diff --git a/README.md b/README.md index f206ec4a..28524d98 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Clean-css is a node.js library for minifying CSS files. It does the same job as ### How to use clean-css? ### -You can minify one file **public.css** into **public-min.css** via: +To minify a **public.css** file into **public-min.css** do: cleancss -o public-min.css public.css @@ -48,9 +48,9 @@ Or even gzip it at once: ### How to run clean-css tests? ### -You need vows testing framework (npm install vows) then simply run: +First clone the source, then run: - make test + npm test on *nix systems. If you are under Windows then run: @@ -61,6 +61,7 @@ on *nix systems. If you are under Windows then run: * Vincent Voyer (@vvo) for a patch with better empty element regex and for inspiring us to do many performance improvements in 0.4 release. * Isaac (@facelessuser) for pointing out a flaw in clean-css' stateless mode. * Jan Michael Alonzo (@jmalonzo) for a patch removing node's old 'sys' package. +* @XhmikosR for suggesting new features: option to remove special comments and strip out url's parentheses. ## License ## diff --git a/package.json b/package.json index c6f80266..ecdb3850 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "type" : "git", "url" : "http://github.com/GoalSmashers/clean-css.git" }, - "version": "0.7.0", + "version": "0.8.0", "main": "index.js", "bin": { "cleancss": "./bin/cleancss"