[6a3a178] | 1 | # Changes to PostCSS Custom Properties
|
---|
| 2 |
|
---|
| 3 | ### 8.0.11 (June 20, 2019)
|
---|
| 4 |
|
---|
| 5 | - Added: Synchronous transforms when async is unnecessary (thank @eteeselink)
|
---|
| 6 | - Fixed: Unexpected mutations to imported Custom Properties (thank @EECOLOR)
|
---|
| 7 | - Fixed: Transforms throwing over unknown Custom Properties
|
---|
| 8 |
|
---|
| 9 | ### 8.0.10 (April 1, 2019)
|
---|
| 10 |
|
---|
| 11 | - Added: Support for ignoring lines and or blocks using
|
---|
| 12 | `postcss-custom-properties` comments.
|
---|
| 13 | - Updated: `postcss` to 7.0.14 (patch)
|
---|
| 14 | - Updated: `postcss-values-parser` to 2.0.1 (patch)
|
---|
| 15 |
|
---|
| 16 | ### 8.0.9 (November 5, 2018)
|
---|
| 17 |
|
---|
| 18 | - Fixed: Issue with duplicate custom property usage within a declaration
|
---|
| 19 |
|
---|
| 20 | ### 8.0.8 (October 2, 2018)
|
---|
| 21 |
|
---|
| 22 | - Fixed: Issue with nested fallbacks
|
---|
| 23 |
|
---|
| 24 | ### 8.0.7 (October 2, 2018)
|
---|
| 25 |
|
---|
| 26 | - Fixed: Issue with parsing custom properties that are not strings
|
---|
| 27 | - Updated: `postcss` to 7.0.5 (patch)
|
---|
| 28 |
|
---|
| 29 | ### 8.0.6 (September 21, 2018)
|
---|
| 30 |
|
---|
| 31 | - Fixed: Issue with regular `:root` and `html` properties not getting polyfilled
|
---|
| 32 | - Updated: `postcss` to 7.0.3 (patch)
|
---|
| 33 |
|
---|
| 34 | ### 8.0.5 (September 21, 2018)
|
---|
| 35 |
|
---|
| 36 | - Fixed: Issue with multiple `importFrom` not getting combined
|
---|
| 37 |
|
---|
| 38 | ### 8.0.4 (September 18, 2018)
|
---|
| 39 |
|
---|
| 40 | - Fixed: Do not break on an empty `importFrom` object
|
---|
| 41 |
|
---|
| 42 | ### 8.0.3 (September 18, 2018)
|
---|
| 43 |
|
---|
| 44 | - Updated: PostCSS Values Parser 2
|
---|
| 45 |
|
---|
| 46 | ### 8.0.2 (September 17, 2018)
|
---|
| 47 |
|
---|
| 48 | - Fixed: Spacing is preserved before replaced variables.
|
---|
| 49 |
|
---|
| 50 | ### 8.0.1 (September 17, 2018)
|
---|
| 51 |
|
---|
| 52 | - Fixed: Workaround issue in `postcss-values-parser` incorrectly cloning nodes.
|
---|
| 53 |
|
---|
| 54 | ### 8.0.0 (September 16, 2018)
|
---|
| 55 |
|
---|
| 56 | - Added: New `exportTo` function to specify where to export custom properties to.
|
---|
| 57 | - Added: New `importFrom` option to specify where to import custom properties from.
|
---|
| 58 | - Added: Support for variables written within `html`
|
---|
| 59 | - Added: Support for PostCSS v7.
|
---|
| 60 | - Added: Support for Node v6+.
|
---|
| 61 | - Removed: `strict` option, as using the fallback value isn’t necessarily more valid.
|
---|
| 62 | - Removed: `preserve: "computed"` option, as there seems to be little use in preserving custom property declarations while removing all usages of them.
|
---|
| 63 | - Removed: `warnings` and `noValueNotifications` options, as this should be the job of a linter tool.
|
---|
| 64 | - Removed: `variables` option, which is now replaced by `importFrom`
|
---|
| 65 | - Removed: `appendVariables` option, which is now replaced by `exportTo`
|
---|
| 66 | - Fixed: Custom Properties in `:root` are not also transformed.
|
---|
| 67 | - Fixed: Declarations that do not change are not duplicated during preserve.
|
---|
| 68 |
|
---|
| 69 | ### 7.0.0 (February 16, 2018)
|
---|
| 70 |
|
---|
| 71 | - Changed: `preserve` option defaults as `true` to reflect the browser climate
|
---|
| 72 | - Changed: `warnings` option defaults to `false` to reflect the browser climate
|
---|
| 73 |
|
---|
| 74 | ### 6.3.1 (February 16, 2018)
|
---|
| 75 |
|
---|
| 76 | - Reverted: `preserve` and `warnings` option to be added in major release
|
---|
| 77 |
|
---|
| 78 | ### 6.3.0 (February 15, 2018)
|
---|
| 79 |
|
---|
| 80 | - Fixed: `var()` captures strictly `var()` functions and not `xvar()`, etc
|
---|
| 81 | - Fixed: `var()` better captures whitespace within the function
|
---|
| 82 | - Fixed: comments within declarations using `var()` are now preserved
|
---|
| 83 | - Changed: `preserve` option defaults as `true` to reflect the browser climate
|
---|
| 84 | - Changed: `warnings` option defaults to `false` to reflect the browser climate
|
---|
| 85 | - Updated documentation
|
---|
| 86 |
|
---|
| 87 | ### 6.2.0 (October 6, 2017)
|
---|
| 88 |
|
---|
| 89 | - Added: `noValueNotifications` option (#71)
|
---|
| 90 | - Fixed: Typo in `prefixedVariables` variable name (#77)
|
---|
| 91 |
|
---|
| 92 | ### 6.1.0 (June 28, 2017)
|
---|
| 93 |
|
---|
| 94 | - Added: Let "warnings" option silence all warnings
|
---|
| 95 | ([#67](https://github.com/postcss/postcss-custom-properties/pull/67))
|
---|
| 96 | - Dependencies update (postcss, balanced-match)
|
---|
| 97 |
|
---|
| 98 | ### 6.0.1 (May 15, 2017)
|
---|
| 99 |
|
---|
| 100 | - Fixed: incorrect export ([#69](https://github.com/postcss/postcss-custom-properties/issues/69))
|
---|
| 101 |
|
---|
| 102 | ### 6.0.0 (May 12, 2017)
|
---|
| 103 |
|
---|
| 104 | - Added: compatibility with postcss v6.x
|
---|
| 105 |
|
---|
| 106 | ### 5.0.2 (February 1, 2017)
|
---|
| 107 |
|
---|
| 108 | - Minor dependency update
|
---|
| 109 | ([#57](https://github.com/postcss/postcss-custom-properties/pull/57))
|
---|
| 110 |
|
---|
| 111 | ### 5.0.1 (April 22, 2016)
|
---|
| 112 |
|
---|
| 113 | - Fixed: trailing space after custom property name causes duplicate empty
|
---|
| 114 | property
|
---|
| 115 | ([#43](https://github.com/postcss/postcss-custom-properties/pull/43))
|
---|
| 116 |
|
---|
| 117 | ### 5.0.0 (August 25, 2015)
|
---|
| 118 |
|
---|
| 119 | - Removed: compatibility with postcss v4.x
|
---|
| 120 | - Added: compatibility with postcss v5.x
|
---|
| 121 |
|
---|
| 122 | ### 4.2.0 (July 21, 2015)
|
---|
| 123 |
|
---|
| 124 | - Added: `warnings` option allows you to disable warnings.
|
---|
| 125 | ([cssnext#186](https://github.com/cssnext/cssnext/issues/186))
|
---|
| 126 |
|
---|
| 127 | ### 4.1.0 (July 14, 2015)
|
---|
| 128 |
|
---|
| 129 | - Added: plugin now returns itself in order to expose a `setVariables` function
|
---|
| 130 | that allow you to programmatically change the variables.
|
---|
| 131 | ([#35](https://github.com/postcss/postcss-custom-properties/pull/35))
|
---|
| 132 |
|
---|
| 133 | ### 4.0.0 (June 17, 2015)
|
---|
| 134 |
|
---|
| 135 | - Changed: messages and exceptions are now sent using postcss message API.
|
---|
| 136 |
|
---|
| 137 | ### 3.3.0 (April 8, 2015)
|
---|
| 138 |
|
---|
| 139 | - Added: `preserve` now support `"computed"` so only preserve resolved custom properties (see new option below)
|
---|
| 140 | - Added: `appendVariables` allows you (when `preserve` is truthy) to append your variables as custom properties
|
---|
| 141 | - Added: `strict: false` allows your to avoid too many fallbacks added in your CSS.
|
---|
| 142 |
|
---|
| 143 | ### 3.2.0 (03 31, 2015)
|
---|
| 144 |
|
---|
| 145 | - Added: JS defined variables are now resolved too ([#22](https://github.com/postcss/postcss-custom-properties/issues/22))
|
---|
| 146 |
|
---|
| 147 | ### 3.1.0 (03 16, 2015)
|
---|
| 148 |
|
---|
| 149 | - Added: variables defined in JS are now automatically prefixed with `--`
|
---|
| 150 | ([0691784](https://github.com/postcss/postcss-custom-properties/commit/0691784ed2218d7e6b16da8c4df03e2ca0c4798c))
|
---|
| 151 |
|
---|
| 152 | ### 3.0.1 (February 6, 2015)
|
---|
| 153 |
|
---|
| 154 | - Fixed: logs now have filename back ([#19](https://github.com/postcss/postcss-custom-properties/issues/19))
|
---|
| 155 |
|
---|
| 156 | ### 3.0.0 (January 20, 2015)
|
---|
| 157 |
|
---|
| 158 | - Changed: upgrade to postcss 4 ([#18](https://github.com/postcss/postcss-custom-properties/pull/18))
|
---|
| 159 | - Removed: some code that seems to be useless ([16ff3c2](https://github.com/postcss/postcss-custom-properties/commit/16ff3c22fe0563a1283411d7866791966fff4c58))
|
---|
| 160 |
|
---|
| 161 | ### 2.1.1 (December 2, 2014)
|
---|
| 162 |
|
---|
| 163 | - Fixed: issue when multiples undefined custom properties are referenced ([#16](https://github.com/postcss/postcss-custom-properties/issues/16))
|
---|
| 164 |
|
---|
| 165 | ### 2.1.0 (November 25, 2014)
|
---|
| 166 |
|
---|
| 167 | - Added: enhanced exceptions & messages
|
---|
| 168 |
|
---|
| 169 | ### 2.0.0 (November 12, 2014)
|
---|
| 170 |
|
---|
| 171 | - Changed: upgrade to postcss 3
|
---|
| 172 |
|
---|
| 173 | ### 1.0.2 (November 4, 2014)
|
---|
| 174 |
|
---|
| 175 | - Fixed: more clear message for warning about custom prop used in non top-level :root
|
---|
| 176 |
|
---|
| 177 | ### 1.0.1 (November 3, 2014)
|
---|
| 178 |
|
---|
| 179 | - Fixed: warning about custom prop used in non :root
|
---|
| 180 |
|
---|
| 181 | ### 1.0.0 (November 2, 2014)
|
---|
| 182 |
|
---|
| 183 | - Added: warning when a custom prop is used in another place than :root
|
---|
| 184 | - Added: handle !important
|
---|
| 185 |
|
---|
| 186 | ### 0.4.0 (September 30, 2014)
|
---|
| 187 |
|
---|
| 188 | - Added: JS-defined properties override CSS-defined
|
---|
| 189 |
|
---|
| 190 | ### 0.3.1 (August 27, 2014)
|
---|
| 191 |
|
---|
| 192 | - Added: nested custom properties usages are now correctly resolved
|
---|
| 193 | - Changed: undefined var doesn't throw error anymore (just a console warning) & are kept as is in the output
|
---|
| 194 |
|
---|
| 195 | ### 0.3.0 (August 26, 2014)
|
---|
| 196 |
|
---|
| 197 | - Changed: fallback now are always added by default ([see why](http://www.w3.org/TR/css-variables/#invalid-variables))
|
---|
| 198 | - Changed: `map` option renamed to `variables`
|
---|
| 199 |
|
---|
| 200 | ### 0.2.0 (August 22, 2014)
|
---|
| 201 |
|
---|
| 202 | - Added: `map` option
|
---|
| 203 | - Changed: GNU style error message
|
---|
| 204 |
|
---|
| 205 | ### 0.1.0 (August 1, 2014)
|
---|
| 206 |
|
---|
| 207 | ✨ First release based on [rework-vars](https://github.com/reworkcss/rework-vars) v3.1.1
|
---|