File: CHANGELOG.md

package info (click to toggle)
node-postcss-convert-values 2.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 124 kB
  • sloc: makefile: 7; sh: 2
file content (146 lines) | stat: -rw-r--r-- 3,319 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# 2.6.1

* Resolves an issue where IE hacks were being removed from `0` values
  (thanks to @Justineo).

# 2.6.0

* Added clamping of the values for the `shape-image-threshold` property, using
  the same logic as introduced in version `2.5.0`.

# 2.5.0

* Added clamping of the values for the `opacity` property to the `0-1` range.
  For example, this will convert `opacity: 1.1` to `opacity: 1`.

# 2.4.1

* Resolves an issue where the units would be stripped from zero values in
  custom properties (thanks to @jgerigmeyer).

# 2.4.0

* Added a `precision` option to enable rounding of decimal places for
  `px` values.

# 2.3.6

* Resolves an issue with the last patch where `height: 0em` was not being
  converted to `height: 0`.

# 2.3.5

* Resolves an issue where certain properties inside `@keyframes` rules would
  break animation in IE due to the percentage being stripped. Now, the
  percentage is preserved for these properties.

# 2.3.4

* Does not convert `height:0%` to `height:0` (and the same for `max-height`), as
  they produce different results.

# 2.3.3

* Updates postcss-value-parser to version 3 (thanks to @TrySound).

# 2.3.2

* Fixed a regression where `0%` in color functions was being transformed to `0`
  (thanks to @TrySound).

# 2.3.1

* Fixed a behaviour where `0deg` was being converted to `0`.

# 2.3.0

* Added an option to convert between `turn` & `deg` (thanks to @TrySound).

# 2.2.1

* Fixes a behaviour where the module would remove units from zero values inside
  calc functions (thanks to @marek-saji & @TrySound).

# 2.2.0

* Renames `opts.convertLength` & `opts.convertTime` to
  `opts.length` & `opts.time`; the old options will now print deprecation
  warnings (thanks to @TrySound).

# 2.1.0

* Adds options to enable/disable unit conversion for time & length values.

# 2.0.1

* Bump postcss-value-parser to `2.0.2`.

# 2.0.0

* Upgraded to PostCSS 5.

# 1.3.1

* Fixes an issue where the module would convert values in gradient/url functions
  since 1.3.0.

# 1.3.0

* Converted the module to use ES6.
* balanced-match, css-list & some integrated code has been replaced with
  postcss-value-parser; reducing the number of moving parts in this module, and
  providing a more futureproof way of parsing CSS numeric values.

# 1.2.5

* Fixes an issue where uppercase units (such as PX) were being deleted.

# 1.2.4

* Fixes convert not px or ms

# 1.2.3

* Adds support for `ch` units; previously they were removed.
* Upgrades css-list to `0.1.0`, code tidied up.

# 1.2.2

* Added support for viewport units (thanks to @TrySound).

# 1.2.1

* Fixes regressions introduced by the previous patch. Better support for
  negative value transforms.

# 1.2.0

* Adds support for slash/comma separated values (thanks to @TrySound).

# 1.1.1

* Fixes an issue where trailing zeroes were not being removed in
  values that were not `0` (thanks to @TrySound).

# 1.1.0

* Adds support for removing leading zeroes from `rem` values
  (thanks to @tunnckoCore).

# 1.0.3

* Fixed a bug where filenames were being incorrectly transformed.

# 1.0.2

* Fixed a bug where `1.` and `.0` were not being optimised to `1` and `0`,
  respectively.

# 1.0.1

* Fixed a bug where `undefined` would be stringified as the unit value, if the
  value did not have a unit.

# 1.0.0

* Initial release.