1 | # Change Log
|
2 | All notable changes to this project will be documented in this file.
|
3 | This project adheres to [Semantic Versioning](https://semver.org/).
|
4 |
|
5 | ## 2.0.0
|
6 |
|
7 | This is a major release, because this plugin requires stylelint@9.8.0+ to work correctly with Less files.
|
8 |
|
9 | * Add optional groupName property for properties-order.
|
10 | * Adopted `postcss-less@3` parser changes, which is dependency of `stylelint@9.7.0+`.
|
11 | * Fixed incorrect fixing when properties order and empty lines should be changed at the same time.
|
12 |
|
13 | ## 1.0.0
|
14 |
|
15 | * Removed `stylelint@8` as a peer dependency.
|
16 |
|
17 | ## 0.8.1
|
18 |
|
19 | * Add `stylelint@9.0.0` as a peer dependency.
|
20 |
|
21 | ## 0.8.0
|
22 |
|
23 | * Breaking change: Dropped Node.js 4 support. Use Node.js 6 or newer.
|
24 | * Changed: `order` and `properties-order` will no longer autofix proactively. If there no violations would be reported with autofix disabled, then nothing will be changed with autofix enabled. Previously, there were changes to `flexible` properties order ([#49](https://github.com/hudochenkov/stylelint-order/issues/49)) or to the order of content within declaration blocks ([#51](https://github.com/hudochenkov/stylelint-order/issues/51)).
|
25 |
|
26 | ## 0.7.0
|
27 |
|
28 | * Specified `stylelint` in `peerDependencies` rather in `dependencies`. Following [stylelint's plugin guide](https://github.com/stylelint/stylelint/blob/master/docs/developer-guide/plugins.md#peer-dependencies).
|
29 |
|
30 | ## 0.6.0
|
31 |
|
32 | * Migrated to `stylelint@8.0.0`.
|
33 |
|
34 | ## 0.5.0
|
35 | * Added autofixing for every rule! Please read docs before using this feature, because each rule has some caveats. stylelint 7.11+ is required for this feature.
|
36 | * Removed SCSS nested properties support.
|
37 | * Removed property shortcuts in `properties-order`. Before this version it was possible to define only e.g. `padding` and it would define position for all undefined `padding-*` properties. Now every property should be explicitly defined in a config.
|
38 | * Removed deprecation warnings:
|
39 | * `declaration-block-order`
|
40 | * `declaration-block-properties-order`
|
41 | * `declaration-block-properties-alphabetical-order`
|
42 | * `declaration-block-properties-specified-order`
|
43 | * `declaration-block-property-groups-structure`
|
44 |
|
45 | ## 0.4.4
|
46 | * Fixed false negative for blockless at-rules in `order`.
|
47 |
|
48 | ## 0.4.3
|
49 | * Fixed regression in `properties-order` introduced in 0.4.2.
|
50 |
|
51 | ## 0.4.2
|
52 | * Fixed: `order` and `properties-order` weren't recognize SCSS nested properties as declarations.
|
53 |
|
54 | ## 0.4.1
|
55 | * Fixed `properties-order` bug, when non-standard declaration is following after a standard one
|
56 |
|
57 | ## 0.4.0
|
58 | * Removed `declaration-block-properties-specified-order`. Instead use `properties-order` rule.
|
59 | * Removed `declaration-block-property-groups-structure`. Instead use `properties-order` rule.
|
60 | * Renamed `declaration-block-order` to `order`
|
61 | * Renamed `declaration-block-properties-alphabetical-order` to `properties-alphabetical-order`
|
62 | * Added `properties-order` rule. It combines removed `declaration-block-properties-specified-order`, `declaration-block-property-groups-structure`, and now support flexible order. Basically it's like [`declaration-block-properties-order` in stylelint 6.5.0](https://github.com/stylelint/stylelint/tree/6.5.0/src/rules/declaration-block-properties-order), but better :)
|
63 |
|
64 | ## 0.3.0
|
65 | * Changed: Breaking! `declaration-block-property-groups-structure` now uses `declaration-block-properties-specified-order` rather stylelint's deprecated `declaration-block-properties-order`. Flexible group order isn't supported anymore
|
66 | * Added: `declaration-block-order` support new `rule` extended object, which have new `selector` option. Rules in order can be specified by their selector
|
67 | * Added: New keyword `at-variables` in `declaration-block-order`
|
68 | * Added: New keyword `less-mixins` in `declaration-block-order`
|
69 |
|
70 | ## 0.2.2
|
71 | * Fixed tests for `declaration-block-property-groups-structure` which were broken by previous fix ¯\_(ツ)_/¯
|
72 |
|
73 | ## 0.2.1
|
74 | * Fixed incorrect severity level for `declaration-block-properties-order` which is called from `declaration-block-property-groups-structure`
|
75 |
|
76 | ## 0.2.0
|
77 | * Breaking: Renamed `property-groups-structure` to `declaration-block-property-groups-structure`
|
78 | * Added `declaration-block-properties-specified-order` rule
|
79 | * Fixed unavailability of `declaration-block-properties-alphabetical-order` rule
|
80 |
|
81 | ## 0.1.0
|
82 | * Initial release.
|