UNPKG

2.25 kBMarkdownView Raw
1# 2.3.3
2
3* Updates postcss-value-parser to version 3 (thanks to @TrySound).
4
5# 2.3.2
6
7* Fixed a regression where `0%` in color functions was being transformed to `0`
8 (thanks to @TrySound).
9
10# 2.3.1
11
12* Fixed a behaviour where `0deg` was being converted to `0`.
13
14# 2.3.0
15
16* Added an option to convert between `turn` & `deg` (thanks to @TrySound).
17
18# 2.2.1
19
20* Fixes a behaviour where the module would remove units from zero values inside
21 calc functions (thanks to @marek-saji & @TrySound).
22
23# 2.2.0
24
25* Renames `opts.convertLength` & `opts.convertTime` to
26 `opts.length` & `opts.time`; the old options will now print deprecation
27 warnings (thanks to @TrySound).
28
29# 2.1.0
30
31* Adds options to enable/disable unit conversion for time & length values.
32
33# 2.0.1
34
35* Bump postcss-value-parser to `2.0.2`.
36
37# 2.0.0
38
39* Upgraded to PostCSS 5.
40
41# 1.3.1
42
43* Fixes an issue where the module would convert values in gradient/url functions
44 since 1.3.0.
45
46# 1.3.0
47
48* Converted the module to use ES6.
49* balanced-match, css-list & some integrated code has been replaced with
50 postcss-value-parser; reducing the number of moving parts in this module, and
51 providing a more futureproof way of parsing CSS numeric values.
52
53# 1.2.5
54
55* Fixes an issue where uppercase units (such as PX) were being deleted.
56
57# 1.2.4
58
59* Fixes convert not px or ms
60
61# 1.2.3
62
63* Adds support for `ch` units; previously they were removed.
64* Upgrades css-list to `0.1.0`, code tidied up.
65
66# 1.2.2
67
68* Added support for viewport units (thanks to @TrySound).
69
70# 1.2.1
71
72* Fixes regressions introduced by the previous patch. Better support for
73 negative value transforms.
74
75# 1.2.0
76
77* Adds support for slash/comma separated values (thanks to @TrySound).
78
79# 1.1.1
80
81* Fixes an issue where trailing zeroes were not being removed in
82 values that were not `0` (thanks to @TrySound).
83
84# 1.1.0
85
86* Adds support for removing leading zeroes from `rem` values
87 (thanks to @tunnckoCore).
88
89# 1.0.3
90
91* Fixed a bug where filenames were being incorrectly transformed.
92
93# 1.0.2
94
95* Fixed a bug where `1.` and `.0` were not being optimised to `1` and `0`,
96 respectively.
97
98# 1.0.1
99
100* Fixed a bug where `undefined` would be stringified as the unit value, if the
101 value did not have a unit.
102
103# 1.0.0
104
105* Initial release.