1 | # Changelog
|
---|
2 | All notable changes to this project will be documented in this file.
|
---|
3 | The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and follows [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
---|
4 |
|
---|
5 | ## [6.1.3] - 2021-09-06
|
---|
6 | ### Fixed
|
---|
7 | - Crash on missing node raws before content.
|
---|
8 |
|
---|
9 | ## [6.1.2] - 2021-09-06
|
---|
10 | ### Fixed
|
---|
11 | - Crash on two comments in the same line.
|
---|
12 |
|
---|
13 | ## [6.1.1] - 2021-07-24
|
---|
14 | ### Fixed
|
---|
15 | - Usage of built-in orders with CommonJS.
|
---|
16 |
|
---|
17 | ## [6.1.0] - 2021-07-24
|
---|
18 | ### Changed
|
---|
19 | - Internal code to load built-in orders using dynamic import instead of using Node.js `fs`. Enables usage in other environments such as the browser.
|
---|
20 | ### Added
|
---|
21 | - New properties regarding mask border, forced color adjustment & font styling overrides.
|
---|
22 |
|
---|
23 | ## [6.0.3] - 2021-05-11
|
---|
24 | ### Fixed
|
---|
25 | - Sorting padding and border shorthands with `keepOverrides` enabled.
|
---|
26 | - Property reset with `all`, the property is moved to the top.
|
---|
27 | ### Changed
|
---|
28 | - Add back Node.js 10 support.
|
---|
29 |
|
---|
30 | ## [6.0.2] - 2020-11-04
|
---|
31 | ### Fixed
|
---|
32 | - Loading built-in order using a relative path.
|
---|
33 |
|
---|
34 | ## [6.0.1] - 2020-10-26
|
---|
35 | ### Added
|
---|
36 | - ES module export type, both CommonJS and ES module importing are supported.
|
---|
37 | - Newer font and grid CSS properties like `row-gap` and `font-display`.
|
---|
38 | ### Changed
|
---|
39 | - Scraping of CSS properties now comes from MDN browser compatibility package.
|
---|
40 | - PostCSS upgraded to version eight which changes PostCSS to a peer dependency.
|
---|
41 | - Order declarations to be ordered in the precendece of their shorthand counterparts. Special thanks to @DiemenDesign.
|
---|
42 | ### Removed
|
---|
43 | - Node.js 10 support.
|
---|
44 |
|
---|
45 | ## [5.1.2] - 2020-02-21
|
---|
46 | ### Fixed
|
---|
47 | - Experimental Node.js warning from showing up on some versions.
|
---|
48 |
|
---|
49 | ## [5.1.1] - 2020-02-07
|
---|
50 | ### Fixed
|
---|
51 | - Handling vendor prefixed declarations such as `-moz-animation` when sorting with `keepOverrides` enabled.
|
---|
52 |
|
---|
53 | ## [5.1.0] - 2020-02-06
|
---|
54 | ### Changed
|
---|
55 | - Sorting of unknown properties when sorting alphabetically now works the same as the other orders. Instead of sorting all properties only known properties will be sorted and unknown properties will retain their respective order.
|
---|
56 |
|
---|
57 | ## [5.0.0] - 2019-12-16
|
---|
58 | ### Added
|
---|
59 | - Option `keepOverrides` to keep overrides in place, useful for legacy CSS where shorthand declarations override longhand declarations.
|
---|
60 |
|
---|
61 | ### Changed
|
---|
62 | - Default sorting order renamed to `alphabetical`.
|
---|
63 | - Custom sorting order as a JSON file replaced in favor of the option to pass a custom sorting function.
|
---|
64 |
|
---|
65 | ### Removed
|
---|
66 | - Node.js 6 and 8 support.
|
---|
67 |
|
---|
68 | ## [4.0.1] - 2018-07-30
|
---|
69 | ### Fixed
|
---|
70 | - Invalid package engines node version range.
|
---|
71 |
|
---|
72 | ## [4.0.0] - 2018-07-24
|
---|
73 | ### Added
|
---|
74 | - New flex box shorthand properties which can conflict with existing flex box properties.
|
---|
75 | - New ruby, transform and text related properties.
|
---|
76 |
|
---|
77 | ### Removed
|
---|
78 | - Node.js 4 support.
|
---|
79 | - Deprecated grid properties.
|
---|
80 |
|
---|
81 | ## [3.0.1] - 2018-01-11
|
---|
82 | ### Fixed
|
---|
83 | - Keep at-rules at the same position.
|
---|
84 |
|
---|
85 | ## [3.0.0] - 2017-12-14
|
---|
86 | ### Added
|
---|
87 | - Flexbox justify self properties.
|
---|
88 |
|
---|
89 | ### Changed
|
---|
90 | - SMACSS order so it is more in line with Stylelint.
|
---|
91 |
|
---|
92 | ### Removed
|
---|
93 | - Command line interface in favor of [postcss-cli](https://github.com/postcss/postcss-cli).
|
---|
94 |
|
---|
95 | ## [2.1.0] - 2017-08-25
|
---|
96 | ### Added
|
---|
97 | - New text style and interaction related properties.
|
---|
98 |
|
---|
99 | ## [2.0.1] - 2017-06-19
|
---|
100 | ### Fixed
|
---|
101 | - Prevent comments outside CSS selectors from being moved.
|
---|
102 |
|
---|
103 | ## [2.0.0] - 2017-03-16
|
---|
104 | ### Changed
|
---|
105 | - Put declarations before nested declarations.
|
---|
106 |
|
---|
107 | [6.1.3]: https://github.com/Siilwyn/css-declaration-sorter/compare/v6.1.2...v6.1.3
|
---|
108 | [6.1.2]: https://github.com/Siilwyn/css-declaration-sorter/compare/v6.1.1...v6.1.2
|
---|
109 | [6.1.1]: https://github.com/Siilwyn/css-declaration-sorter/compare/v6.1.0...v6.1.1
|
---|
110 | [6.1.0]: https://github.com/Siilwyn/css-declaration-sorter/compare/v6.0.3...v6.1.0
|
---|
111 | [6.0.3]: https://github.com/Siilwyn/css-declaration-sorter/compare/v6.0.2...v6.0.3
|
---|
112 | [6.0.2]: https://github.com/Siilwyn/css-declaration-sorter/compare/v6.0.1...v6.0.2
|
---|
113 | [6.0.1]: https://github.com/Siilwyn/css-declaration-sorter/compare/v5.1.2...v6.0.1
|
---|
114 | [5.1.2]: https://github.com/Siilwyn/css-declaration-sorter/compare/v5.1.1...v5.1.2
|
---|
115 | [5.1.1]: https://github.com/Siilwyn/css-declaration-sorter/compare/v5.1.0...v5.1.1
|
---|
116 | [5.1.0]: https://github.com/Siilwyn/css-declaration-sorter/compare/v5.0.0...v5.1.0
|
---|
117 | [5.0.0]: https://github.com/Siilwyn/css-declaration-sorter/compare/v4.0.1...v5.0.0
|
---|
118 | [4.0.1]: https://github.com/Siilwyn/css-declaration-sorter/compare/v4.0.0...v4.0.1
|
---|
119 | [4.0.0]: https://github.com/Siilwyn/css-declaration-sorter/compare/v3.0.1...v4.0.0
|
---|
120 | [3.0.1]: https://github.com/Siilwyn/css-declaration-sorter/compare/v3.0.0...v3.0.1
|
---|
121 | [3.0.0]: https://github.com/Siilwyn/css-declaration-sorter/compare/v2.1.0...v3.0.0
|
---|
122 | [2.1.0]: https://github.com/Siilwyn/css-declaration-sorter/compare/v2.0.1...v2.1.0
|
---|
123 | [2.0.1]: https://github.com/Siilwyn/css-declaration-sorter/compare/v2.0.1...v2.0.0
|
---|
124 | [2.0.0]: https://github.com/Siilwyn/css-declaration-sorter/compare/v1.7.1...v2.0.0
|
---|