diff --git a/CHANGELOG.md b/CHANGELOG.md index d09e8f5d..8462d5e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,11 @@ -## next +## 5.0.0 (December 4, 2021) - Added support for [CSS Selectors Level 4](https://www.w3.org/TR/selectors-4/) and legacy pseudos in specificity calculation, i.e. `:has()`, `:not()`, `:is()`, `:matches()`, `:-moz-any()`, `:-webkit-any()`, `:where()`, `:nth-child(... of )` and `:nth-last-child(... of )` - Package - Changed supported versions of Node.js to `^12.20.0`, `^14.13.0` and `>=15.0.0` - Converted to ES modules. However, CommonJS is supported as well (dual module) - Changed bundle set to provide `dist/csso.js` (an IIFE version with `csso` as a global name) and `dist/csso.esm.js` (as ES module). Both are minified - - Bumped `css-tree` to `2.0.1` + - Bumped `css-tree` to [`2.0`](https://github.com/csstree/csstree/releases/tag/v2.0.0) ## 4.2.0 (November 26, 2020) diff --git a/package-lock.json b/package-lock.json index 1ef85db9..0866ba4f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "csso", - "version": "4.2.0", + "version": "5.0.0", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 2ff3d096..75313ba3 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,14 @@ { "name": "csso", - "version": "4.2.0", + "version": "5.0.0", "description": "CSS minifier with structural optimisations", "author": "Sergey Kryzhanovsky (https://github.com/afelix)", "maintainers": [ - "Roman Dvornov (https://github.com/lahmatiy)" + { + "name": "Roman Dvornov", + "email": "rdvornov@gmail.com", + "github-username": "lahmatiy" + } ], "repository": "css/csso", "license": "MIT",