1 | # Changes to PostCSS Custom Selectors
|
---|
2 |
|
---|
3 | ### 5.1.2 (September 20, 2018)
|
---|
4 |
|
---|
5 | - Fixed: Do not break on an empty `importFrom` object
|
---|
6 |
|
---|
7 | ### 5.1.1 (September 18, 2018)
|
---|
8 |
|
---|
9 | - Fixed: Selectors like `.foo:--h1` become `h1.foo` instead of `.fooh1`
|
---|
10 |
|
---|
11 | ### 5.1.0 (September 12, 2018)
|
---|
12 |
|
---|
13 | - Added: New `exportTo` function to specify where to export custom selectors
|
---|
14 | - Updated: `importFrom` option to support passing it a function
|
---|
15 |
|
---|
16 | ### 5.0.0 (September 7, 2018)
|
---|
17 |
|
---|
18 | - Added: New `preserve` option to preserve custom selectors and rules using them
|
---|
19 | - Added: New `importFrom` option to specify where to import custom selectors
|
---|
20 | - Added: Support for PostCSS v7
|
---|
21 | - Added: Support for Node v6+
|
---|
22 |
|
---|
23 | ### 4.0.1 (May 15, 2017)
|
---|
24 |
|
---|
25 | - Fixed: incorrect export
|
---|
26 |
|
---|
27 | ### 4.0.0 (May 12, 2017)
|
---|
28 |
|
---|
29 | - Added: compatibility with postcss v6.x
|
---|
30 |
|
---|
31 | ### 3.0.0 (August 25, 2015)
|
---|
32 |
|
---|
33 | - Removed: compatibility with postcss v4.x
|
---|
34 | - Added: compatibility with postcss v5.x
|
---|
35 |
|
---|
36 | ### 2.3.0 (July 14, 2015)
|
---|
37 |
|
---|
38 | * Fixed: Nested/mixed selectors now works correctly
|
---|
39 | ([#19](https://github.com/postcss/postcss-custom-selectors/issues/19))
|
---|
40 | * Added: `transformMatches` option to limit transformation to :matches()
|
---|
41 | replacements.
|
---|
42 |
|
---|
43 | ### 2.2.0 (June 30, 2015)
|
---|
44 |
|
---|
45 | * Fixed: No more useless warnings for undefined non custom selectors
|
---|
46 | ([#22](https://github.com/postcss/postcss-custom-selectors/issues/22))
|
---|
47 | * Changed: warnings now use PostCSS message API
|
---|
48 |
|
---|
49 | ### 2.1.1 (June 30, 2015)
|
---|
50 |
|
---|
51 | * Fixed: the lineBreak option keeping the selectors indent
|
---|
52 | ([#18](https://github.com/postcss/postcss-custom-selectors/issues/18))
|
---|
53 | * Fixed: the tip of an undefined selector
|
---|
54 | ([#20](https://github.com/postcss/postcss-custom-selectors/issues/20))
|
---|
55 |
|
---|
56 | ### 2.1.0 (June 4, 2015)
|
---|
57 |
|
---|
58 | * Changed: use PostCSS 4.1 plugin API
|
---|
59 | ([#13](https://github.com/postcss/postcss-custom-selectors/issues/13))
|
---|
60 |
|
---|
61 | ### 2.0.1 (June 3, 2015)
|
---|
62 |
|
---|
63 | * Fixed: `(foo, bar)` conversion error exists in the selector
|
---|
64 | (See also [:matches() test](test/fixtures/matches/input.css))
|
---|
65 |
|
---|
66 | ### 2.0.0 (May 29, 2015)
|
---|
67 |
|
---|
68 | * Removed: no longer support `::` or `--` to defined a custom selectors,
|
---|
69 | you must use the syntax `:--` to define it.
|
---|
70 | ([#6](https://github.com/postcss/postcss-custom-selectors/issues/6))
|
---|
71 | * Fixed: two or more consecutive hyphens in selector don't output `undefined`
|
---|
72 | ([#14](https://github.com/postcss/postcss-custom-selectors/issues/14))
|
---|
73 |
|
---|
74 |
|
---|
75 | ### 1.1.1 (April 6, 2015)
|
---|
76 |
|
---|
77 | * Fixed: add support for multilines definition
|
---|
78 |
|
---|
79 | ### 1.1.0 (December 6, 2014)
|
---|
80 |
|
---|
81 | * Added: "lineBreak" option
|
---|
82 |
|
---|
83 | ### 1.0.0 (December 6, 2014)
|
---|
84 |
|
---|
85 | * First release
|
---|