From d0cdb53c23b03e494159d7e59bd3887719c1e37f Mon Sep 17 00:00:00 2001 From: Roman Dvornov Date: Thu, 14 Jan 2016 23:43:46 +0300 Subject: [PATCH] 1.5.0 --- HISTORY.md | 31 +++++++++++++++++++++++++++++++ package.json | 9 ++++++++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index 6ca77802..b5e685e9 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,34 @@ +## 1.5.0 (January 14, 2016) + +### Parser + +- attach minus to number + +### Compressor + +- split code base into small modules and related refactoring +- introduce internal AST format for compressor (`gonzales`→`internal` and `internal`→`gonzales` convertors, walkers, translator) +- various optimizations: no snapshots, using caches and indexes +- sort selectors, merge selectors in alphabet order +- compute selector's specificity +- better ruleset restructuring, improve compression of partially equal blocks +- better ruleset merge – not only closest but also disjoined by other rulesets when safe +- join `@media` with same query +- `outputAst` – new option to specify output AST format (`gonzales` by default for backward compatibility) +- remove quotes surrounding attribute values in attribute selectors when possible (issue #73) +- replace `from`→`0%` and `100%`→`to` at `@keyframes` (#205) +- prevent partial merge of rulesets at `@keyframes` (#80, #197) +- fix issue with wrong space removals (#258) + +### API + +- walker for `gonzales` AST was implemented + +### CLI + +- new option `--stat` (output stat in `stderr`) +- new optional parameter `level` for `--debug` option + ## 1.4.4 (December 10, 2015) - prevent removal of spaces after braces that before identifier that breaking at-rules expressions (#258) diff --git a/package.json b/package.json index e1319acc..19e65807 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,16 @@ { "name": "csso", "description": "CSSO — CSS optimizer", - "version": "1.4.4", + "version": "1.5.0", "homepage": "https://github.com/css/csso", "author": "Sergey Kryzhanovsky (https://github.com/afelix)", + "maintainers": [ + { + "name": "Roman Dvornov", + "email": "rdvornov@gmail.com", + "github-username": "lahmatiy" + } + ], "license": "MIT", "repository": "css/csso", "bugs": {