Blame view

node_modules/postcss-merge-rules/CHANGELOG.md 3.46 KB
aaac7fed   liuqimichale   add
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
  # 2.1.2
  
  * Performance improvements; no compatibility checking for simple selectors,
    cached compatibility lookups, and early exit on compatibility mismatches
    (thanks to @akx).
  
  # 2.1.1
  
  * Resolves an issue with `2.1.0` where `browserslist` was not being installed
    correctly on older Node versions.
  
  # 2.1.0
  
  * Rules are now merged based on supported browsers, which uses `browserslist`
    & `caniuse-api`. The browsers should be supplied by the standard means of
    [configuring `browserslist`][browserslist], either using config files or
    via environment variables.
  
  [browserslist]: https://github.com/ai/browserslist#config-file
  
  # 2.0.11
  
  * Resolves an issue where partially identical properties would be removed from
    a rule erroneously; for example `color: #fff` would be removed if the other
    rule contained `background-color: #fff`.
  
  # 2.0.10
  
  * Replaces the internal list of vendor prefixes with the `vendors` module
    (now, some less widely used prefixes are supported).
  
  # 2.0.9
  
  * Resolves an issue where the module would merge rules that had colliding
    vendor prefixed properties and specification properties.
  
  # 2.0.8
  
  * Resolves an issue where selectors inside `@keyframes` would be merged,
    causing a break in Safari.
  
  # 2.0.7
  
  * Resolves an issue where merging was not respecting property order, in cases
    where both shorthand definitions and longhand definitions existed. Now,
    these cases will not be merged (thanks to @11bit).
  
  # 2.0.6
  
  * Fixes an issue where forward merging was not checking that the merge candidate
    was safe to merge (either contains no vendor prefixes,
    or the same vendor prefixes).
  
  # 2.0.5
  
  * Replaced PostCSS' `cloneBefore` with custom clone method to handle `null`
    values properly.
  
  # 2.0.4
  
  * Fixes a crash when cloning a `null` object property (thanks to @JMoxey).
  
  # 2.0.3
  
  * Fixed an issue where the module was incorrectly merging across `@font-face`
    at-rules.
  
  # 2.0.2
  
  * Fixed an issue where keyframes with the same name were being merged together
    incorrectly.
  
  # 2.0.1
  
  * Fixed a crash when `rule.nodes` was not defined.
  
  # 2.0.0
  
  * Upgraded to PostCSS 5.
  
  # 1.3.6
  
  * Minor boost in performance with reduced stringify passes.
  
  # 1.3.5
  
  * Improves merging of adjacent rules with identical selectors.
  
  # 1.3.4
  
  * Fixes an issue where in some cases, non-adjacent rule merging was being
    performed.
  
  # 1.3.3
  
  * Fixes an issue where the wildcard hack (`*zoom: 1`) was being propagated to
    other properties erroneously.
  * Better merging logic in some cases.
  
  # 1.3.2
  
  * Fixes a behaviour in which comment nodes were being processed by the
    partial declaration merging logic.
  
  # 1.3.1
  
  * Fixes a behaviour in which rule adjacent forward nodes were not being type
    checked before they were merged.
  * Compatibility fixes for the PostCSS plugin guidelines.
  
  # 1.3.0
  
  * Better support for merging properties without the existance of a shorthand
    override.
  * Can now 'merge forward' adjacent rules as well as the previous 'merge behind'
    behaviour, leading to better compression.
  
  # 1.2.2
  
  * Fixed an issue where the plugin crashed if node.parent was undefined.
  
  # 1.2.1
  
  * Fixed a bug where media queries were being merged when their parameters were
    different.
  
  # 1.2.0
  
  * Now uses the PostCSS `4.1` plugin API.
  
  # 1.1.1
  
  * Bugfix of last release, now difference is calculated in both directions.
  
  # 1.1.0
  
  * Less eager moving of properties, to avoid cases where moving a longhand
    property would allow a shorthand property to override it.
  
  # 1.0.0
  
  * Initial release.