|
1 |
| -# 2.1.6 - 2019-01-11 |
| 1 | +# Changelog of `reduce-css-call` |
| 2 | + |
| 3 | +## 2.1.7 - 2019-10-22 |
| 4 | + |
| 5 | +- Switch to a maintained jison fork ([#57](https://github.com/MoOx/reduce-css-calc/pull/57)) - @davidgovea) |
| 6 | + |
| 7 | +## 2.1.6 - 2019-01-11 |
2 | 8 |
|
3 | 9 | - Fixed: Incorrect calculation when subtracting (e.g. `calc(100% - calc(120px + 1em + 2em + 100px))`) ([#52](https://github.com/MoOx/reduce-css-calc/pull/53) - @sylvainpolletvillard)
|
4 | 10 |
|
5 |
| -# 2.1.5 - 2018-09-20 |
| 11 | +## 2.1.5 - 2018-09-20 |
6 | 12 |
|
7 | 13 | - [Avoid breaking when seeing ` constant()`` or `env()`](https://github.com/MoOx/reduce-css-calc/commit/409c9ba2cd5e06e7f8f679f7f0c3c3a14ff3e673) by @dlee
|
8 | 14 |
|
9 |
| -# 2.1.4 - 2018-01-22 |
| 15 | +## 2.1.4 - 2018-01-22 |
10 | 16 |
|
11 | 17 | - Prevent webpack parsing issue
|
12 | 18 | (see https://github.com/zaach/jison/pull/352)
|
13 | 19 |
|
14 |
| -# 2.1.3 - 2017-11-27 |
| 20 | +## 2.1.3 - 2017-11-27 |
15 | 21 |
|
16 | 22 | - Fixed: Incorrect reduction for a specific case (e.g. `calc(1em + (1em - 5px))`) ([#43](https://github.com/MoOx/reduce-css-calc/pull/43) - @Justineo)
|
17 | 23 |
|
18 |
| -# 2.1.2 - 2017-11-26 |
| 24 | +## 2.1.2 - 2017-11-26 |
19 | 25 |
|
20 | 26 | - Fixed: Incorrect reduction of division with custom property (e.g. `calc(var(--foo) / 2)`) ([#41](https://github.com/MoOx/reduce-css-calc/issues/41) - @Semigradsky)
|
21 | 27 |
|
22 |
| -# 2.1.1 - 2017-10-12 |
| 28 | +## 2.1.1 - 2017-10-12 |
23 | 29 |
|
24 | 30 | - Fixed: Incorrect reduction of nested expression (e.g. `calc( (1em - calc( 10px + 1em)) / 2)`) ([#39](https://github.com/MoOx/reduce-css-calc/pull/39) - @gyoshev)
|
25 | 31 |
|
26 |
| -# 2.1.0 - 2017-10-10 |
| 32 | +## 2.1.0 - 2017-10-10 |
27 | 33 |
|
28 | 34 | - Added: Support for working in browsers without transpiling ([#36](https://github.com/MoOx/reduce-css-calc/pull/36) - @Semigradsky)
|
29 | 35 | - Fixed: `calc(100vw - (100vw - 100%))` does not evaluate to `100%` ([#35](https://github.com/MoOx/reduce-css-calc/pull/35) - @Semigradsky)
|
30 | 36 |
|
31 |
| -# 2.0.5 - 2017-05-12 |
| 37 | +## 2.0.5 - 2017-05-12 |
32 | 38 |
|
33 | 39 | - Fixed: Support division with a CSS variable.
|
34 | 40 |
|
35 |
| -# 2.0.4 - 2017-05-09 |
| 41 | +## 2.0.4 - 2017-05-09 |
36 | 42 |
|
37 | 43 | - Fixed: CSS variable regex was overly greedy and caused a crash in some
|
38 | 44 | cases. ([#27](https://github.com/MoOx/reduce-css-calc/pull/27) - @andyjansson)
|
39 | 45 |
|
40 |
| -# 2.0.3 - 2017-05-09 |
| 46 | +## 2.0.3 - 2017-05-09 |
41 | 47 |
|
42 | 48 | - Fixed: Regression in handling decimals without having any numbers after
|
43 | 49 | the decimal place (e.g. `10.px`).
|
44 | 50 |
|
45 |
| -# 2.0.2 - 2017-05-08 |
| 51 | +## 2.0.2 - 2017-05-08 |
46 | 52 |
|
47 | 53 | - Fixed: Regression in consecutive subtraction handling
|
48 | 54 | ([#25](https://github.com/MoOx/reduce-css-calc/pull/25) - @andyjansson)
|
49 | 55 |
|
50 |
| -# 2.0.1 - 2017-05-08 |
| 56 | +## 2.0.1 - 2017-05-08 |
51 | 57 |
|
52 | 58 | - Fixed: Support for nested calc e.g. `calc(100% - calc(50px - 25px))`.
|
53 | 59 | - Fixed: Support for CSS variables e.g. `calc(var(--mouseX) * 1px)`.
|
54 | 60 |
|
55 |
| -# 2.0.0 - 2017-05-08 |
| 61 | +## 2.0.0 - 2017-05-08 |
56 | 62 |
|
57 | 63 | - Rewritten with a jison parser for more accurate value parsing.
|
58 | 64 | - Breaking: reduce-css-calc will now throw when trying to multiply or divide
|
|
69 | 75 |
|
70 | 76 | ([#22](https://github.com/MoOx/reduce-css-calc/pull/22) - @andyjansson)
|
71 | 77 |
|
72 |
| -# 1.3.0 - 2016-08-26 |
| 78 | +## 1.3.0 - 2016-08-26 |
73 | 79 |
|
74 | 80 | - Added: calc identifier from unresolved nested expressions are removed for
|
75 | 81 | better browser support
|
76 | 82 | ([#19](https://github.com/MoOx/reduce-css-calc/pull/19) - @ben-eb)
|
77 | 83 |
|
78 |
| -# 1.2.8 - 2016-08-26 |
| 84 | +## 1.2.8 - 2016-08-26 |
79 | 85 |
|
80 | 86 | - Fixed: regression from 1.2.5 on calc() with value without leading 0
|
81 | 87 | ([#17](https://github.com/MoOx/reduce-css-calc/pull/17) - @ben-eb)
|
82 | 88 |
|
83 |
| -# 1.2.7 - 2016-08-22 |
| 89 | +## 1.2.7 - 2016-08-22 |
84 | 90 |
|
85 | 91 | - Fixed: regression from 1.2.5 on calc() with value without leading 0
|
86 | 92 | (@MoOx)
|
87 | 93 |
|
88 |
| -# 1.2.6 - 2016-08-22 |
| 94 | +## 1.2.6 - 2016-08-22 |
89 | 95 |
|
90 | 96 | - Fixed: regression from 1.2.5 on calc() on multiple lines
|
91 | 97 | (@MoOx)
|
92 | 98 |
|
93 |
| -# 1.2.5 - 2016-08-22 |
| 99 | +## 1.2.5 - 2016-08-22 |
94 | 100 |
|
95 | 101 | - Fixed: security issue due to the usage of `eval()`.
|
96 | 102 | This is to avoid an arbitrary code execution.
|
97 | 103 | Now operations are resolved using
|
98 | 104 | [`math-expression-evaluator`](https://github.com/redhivesoftware/math-expression-evaluator)
|
99 | 105 |
|
100 |
| -# 1.2.4 - 2016-06-09 |
| 106 | +## 1.2.4 - 2016-06-09 |
101 | 107 |
|
102 | 108 | - Fixed: zero values are not unitless anymore.
|
103 | 109 | Browsers do not calculate calc() with 0 unitless values.
|
104 | 110 | http://jsbin.com/punivivipo/edit?html,css,output
|
105 | 111 | ([#11](https://github.com/MoOx/reduce-css-calc/pull/11))
|
106 | 112 |
|
107 |
| -# 1.2.3 - 2016-04-28 |
| 113 | +## 1.2.3 - 2016-04-28 |
108 | 114 |
|
109 | 115 | - Fixed: wrong rouding in some edge cases
|
110 | 116 | ([#10](https://github.com/MoOx/reduce-css-calc/pull/10))
|
111 | 117 |
|
112 |
| -# 1.2.2 - 2016-04-19 |
| 118 | +## 1.2.2 - 2016-04-19 |
113 | 119 |
|
114 | 120 | - Fixed: Don't reduce expression containing CSS variables.
|
115 | 121 | ([#9](https://github.com/MoOx/reduce-css-calc/pull/9))
|
116 | 122 |
|
117 |
| -# 1.2.1 - 2016-02-22 |
| 123 | +## 1.2.1 - 2016-02-22 |
118 | 124 |
|
119 | 125 | - Fixed: uppercase letters in units are now supported
|
120 | 126 | ([#8](https://github.com/MoOx/reduce-css-calc/pull/8))
|
121 | 127 |
|
122 |
| -# 1.2.0 - 2014-11-24 |
| 128 | +## 1.2.0 - 2014-11-24 |
123 | 129 |
|
124 | 130 | - Decimal precision is now customisable as the `precision` option
|
125 | 131 |
|
126 |
| -# 1.1.4 - 2014-11-12 |
| 132 | +## 1.1.4 - 2014-11-12 |
127 | 133 |
|
128 | 134 | - 5 decimals rounding for everything
|
129 | 135 |
|
130 |
| -# 1.1.3 - 2014-08-13 |
| 136 | +## 1.1.3 - 2014-08-13 |
131 | 137 |
|
132 | 138 | - 5 decimals rounding for percentage
|
133 | 139 |
|
134 |
| -# 1.1.2 - 2014-08-10 |
| 140 | +## 1.1.2 - 2014-08-10 |
135 | 141 |
|
136 | 142 | - Prevent infinite loop by adding a `Call stack overflow`
|
137 | 143 | - Correctly ignore unrecognized values (safer evaluation for nested expressions,
|
138 | 144 | see [postcss/postcss-calc#2](https://github.com/postcss/postcss-calc/issues/2))
|
139 | 145 | - Handle rounding issues (eg: 10% \* 20% now give 2%, not 2.0000000000000004%)
|
140 | 146 |
|
141 |
| -# 1.1.1 - 2014-08-06 |
| 147 | +## 1.1.1 - 2014-08-06 |
142 | 148 |
|
143 | 149 | - Fix issue when using mutiples differents prefixes in the same function
|
144 | 150 |
|
145 |
| -# 1.1.0 - 2014-08-06 |
| 151 | +## 1.1.0 - 2014-08-06 |
146 | 152 |
|
147 | 153 | - support more complex formulas
|
148 | 154 | - use `reduce-function-call`
|
149 | 155 | - better error message
|
150 | 156 |
|
151 |
| -# 1.0.0 - 2014-08-04 |
| 157 | +## 1.0.0 - 2014-08-04 |
152 | 158 |
|
153 | 159 | First release
|
154 | 160 |
|
|
0 commit comments