| 1 | # Changes to PostCSS Custom Selectors
|
|---|
| 2 |
|
|---|
| 3 | ### 6.0.3 (June 4, 2022)
|
|---|
| 4 |
|
|---|
| 5 | - Fixed: allow any valid ident in custom media (`@custom-selector :--🧑🏾🎤 .singer`)
|
|---|
| 6 |
|
|---|
| 7 | ### 6.0.2 (June 3, 2022)
|
|---|
| 8 |
|
|---|
| 9 | - Fixed: prevent duplicate rules when custom selectors are not defined
|
|---|
| 10 | - Fixed: selectors not resolving when using with other features like nesting
|
|---|
| 11 |
|
|---|
| 12 | ### 6.0.1 (June 3, 2022)
|
|---|
| 13 |
|
|---|
| 14 | - Fixed: invalid whitespace (https://github.com/csstools/postcss-custom-selectors/pull/55)
|
|---|
| 15 |
|
|---|
| 16 | ### 6.0.0 (January 12, 2021)
|
|---|
| 17 |
|
|---|
| 18 | - Added: Support for PostCSS v8
|
|---|
| 19 | - Added: Support for Node v10+
|
|---|
| 20 | - Fixed: importing from multiple sources (https://github.com/postcss/postcss-custom-selectors/pull/42)
|
|---|
| 21 |
|
|---|
| 22 | ### 5.1.2 (September 20, 2018)
|
|---|
| 23 |
|
|---|
| 24 | - Fixed: Do not break on an empty `importFrom` object
|
|---|
| 25 |
|
|---|
| 26 | ### 5.1.1 (September 18, 2018)
|
|---|
| 27 |
|
|---|
| 28 | - Fixed: Selectors like `.foo:--h1` become `h1.foo` instead of `.fooh1`
|
|---|
| 29 |
|
|---|
| 30 | ### 5.1.0 (September 12, 2018)
|
|---|
| 31 |
|
|---|
| 32 | - Added: New `exportTo` function to specify where to export custom selectors
|
|---|
| 33 | - Updated: `importFrom` option to support passing it a function
|
|---|
| 34 |
|
|---|
| 35 | ### 5.0.0 (September 7, 2018)
|
|---|
| 36 |
|
|---|
| 37 | - Added: New `preserve` option to preserve custom selectors and rules using them
|
|---|
| 38 | - Added: New `importFrom` option to specify where to import custom selectors
|
|---|
| 39 | - Added: Support for PostCSS v7
|
|---|
| 40 | - Added: Support for Node v6+
|
|---|
| 41 |
|
|---|
| 42 | ### 4.0.1 (May 15, 2017)
|
|---|
| 43 |
|
|---|
| 44 | - Fixed: incorrect export
|
|---|
| 45 |
|
|---|
| 46 | ### 4.0.0 (May 12, 2017)
|
|---|
| 47 |
|
|---|
| 48 | - Added: compatibility with postcss v6.x
|
|---|
| 49 |
|
|---|
| 50 | ### 3.0.0 (August 25, 2015)
|
|---|
| 51 |
|
|---|
| 52 | - Removed: compatibility with postcss v4.x
|
|---|
| 53 | - Added: compatibility with postcss v5.x
|
|---|
| 54 |
|
|---|
| 55 | ### 2.3.0 (July 14, 2015)
|
|---|
| 56 |
|
|---|
| 57 | * Fixed: Nested/mixed selectors now works correctly
|
|---|
| 58 | (https://github.com/postcss/postcss-custom-selectors/issues/19)
|
|---|
| 59 | * Added: `transformMatches` option to limit transformation to :matches()
|
|---|
| 60 | replacements.
|
|---|
| 61 |
|
|---|
| 62 | ### 2.2.0 (June 30, 2015)
|
|---|
| 63 |
|
|---|
| 64 | * Fixed: No more useless warnings for undefined non custom selectors
|
|---|
| 65 | (https://github.com/postcss/postcss-custom-selectors/issues/22)
|
|---|
| 66 | * Changed: warnings now use PostCSS message API
|
|---|
| 67 |
|
|---|
| 68 | ### 2.1.1 (June 30, 2015)
|
|---|
| 69 |
|
|---|
| 70 | * Fixed: the lineBreak option keeping the selectors indent
|
|---|
| 71 | (https://github.com/postcss/postcss-custom-selectors/issues/18)
|
|---|
| 72 | * Fixed: the tip of an undefined selector
|
|---|
| 73 | (https://github.com/postcss/postcss-custom-selectors/issues/20)
|
|---|
| 74 |
|
|---|
| 75 | ### 2.1.0 (June 4, 2015)
|
|---|
| 76 |
|
|---|
| 77 | * Changed: use PostCSS 4.1 plugin API
|
|---|
| 78 | (https://github.com/postcss/postcss-custom-selectors/issues/13)
|
|---|
| 79 |
|
|---|
| 80 | ### 2.0.1 (June 3, 2015)
|
|---|
| 81 |
|
|---|
| 82 | * Fixed: `(foo, bar)` conversion error exists in the selector
|
|---|
| 83 |
|
|---|
| 84 | ### 2.0.0 (May 29, 2015)
|
|---|
| 85 |
|
|---|
| 86 | * Removed: no longer support `::` or `--` to defined a custom selectors,
|
|---|
| 87 | you must use the syntax `:--` to define it.
|
|---|
| 88 | (https://github.com/postcss/postcss-custom-selectors/issues/6)
|
|---|
| 89 | * Fixed: two or more consecutive hyphens in selector don't output `undefined`
|
|---|
| 90 | (https://github.com/postcss/postcss-custom-selectors/issues/14)
|
|---|
| 91 |
|
|---|
| 92 |
|
|---|
| 93 | ### 1.1.1 (April 6, 2015)
|
|---|
| 94 |
|
|---|
| 95 | * Fixed: add support for multilines definition
|
|---|
| 96 |
|
|---|
| 97 | ### 1.1.0 (December 6, 2014)
|
|---|
| 98 |
|
|---|
| 99 | * Added: "lineBreak" option
|
|---|
| 100 |
|
|---|
| 101 | ### 1.0.0 (December 6, 2014)
|
|---|
| 102 |
|
|---|
| 103 | * First release
|
|---|