Skip to content

Commit 93e27c0

Browse files
committed
Update changelog
1 parent 9b87cba commit 93e27c0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,39 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## 2.0.0
6+
This release completely incompatible with the previous API. There is a lot new options. Please read the documentation.
7+
8+
[A migration guide](https://github.com/hudochenkov/postcss-sorting#migration-from-1x) is available.
9+
10+
### Added
11+
* `sort-order` split into `order` and `properties-order`.
12+
* Alphabetical order.
13+
* At-rules can be checked if they have a block. E.g., `@include icon;` has no block.
14+
* Custom properties and $-variables can be grouped separately.
15+
* Empty lines for different node types:
16+
* `rule-nested-empty-line-before`
17+
* `at-rule-nested-empty-line-before`
18+
* `declaration-empty-line-before`
19+
* `custom-property-empty-line-before`
20+
* `dollar-variable-empty-line-before`
21+
* `comment-empty-line-before`
22+
* `clean-empty-lines`: Remove all empty lines.
23+
24+
### Changed
25+
* By default all options are disabled, and the plugin does nothing.
26+
* Empty lines don't delete anymore if only “order” options are enabled.
27+
* Droped support for Node <4.
28+
29+
### Removed
30+
* Predefined configs.
31+
* Command comments `/* postcss-sorting: on/off */`
32+
* `preserve-empty-lines-between-children-rules`
33+
* `empty-lines-between-children-rules`
34+
* `empty-lines-between-media-rules`
35+
* `empty-lines-before-comment`
36+
* `empty-lines-after-comment`
37+
538
## 1.7.0
639
* Added `smacss` and `alphabetical` predefined configs.
740
* Under the hood refactoring.

0 commit comments

Comments
 (0)