1 | # Changelog
|
2 |
|
3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4 |
|
5 | ### [4.2.4](https://github.com/vuejs/vue-component-compiler/compare/v4.2.3...v4.2.4) (2021-05-05)
|
6 |
|
7 | <a name="4.2.3"></a>
|
8 | ## [4.2.3](https://github.com/vuejs/vue-component-compiler/compare/v4.2.2...v4.2.3) (2020-05-22)
|
9 |
|
10 |
|
11 | ### Bug Fixes
|
12 |
|
13 | * set correct clean-css import ([#103](https://github.com/vuejs/vue-component-compiler/issues/103)) ([b1aff3f](https://github.com/vuejs/vue-component-compiler/commit/b1aff3f))
|
14 |
|
15 |
|
16 |
|
17 | <a name="4.2.2"></a>
|
18 | ## [4.2.2](https://github.com/vuejs/vue-component-compiler/compare/v4.2.1...v4.2.2) (2020-05-22)
|
19 |
|
20 |
|
21 | ### Bug Fixes
|
22 |
|
23 | * produce deterministic css class names for css modules ([#101](https://github.com/vuejs/vue-component-compiler/issues/101)) ([b8bfc58](https://github.com/vuejs/vue-component-compiler/commit/b8bfc58))
|
24 |
|
25 |
|
26 |
|
27 | <a name="4.2.1"></a>
|
28 | ## [4.2.1](https://github.com/vuejs/vue-component-compiler/compare/v4.2.0...v4.2.1) (2020-05-11)
|
29 |
|
30 |
|
31 | ### Bug Fixes
|
32 |
|
33 | * add pure annotation for tree shaking support ([#96](https://github.com/vuejs/vue-component-compiler/issues/96)) ([7b4dceb](https://github.com/vuejs/vue-component-compiler/commit/7b4dceb))
|
34 |
|
35 |
|
36 |
|
37 | <a name="4.2.0"></a>
|
38 | # [4.2.0](https://github.com/vuejs/vue-component-compiler/compare/v4.1.0...v4.2.0) (2019-11-21)
|
39 |
|
40 |
|
41 | ### Features
|
42 |
|
43 | * use __vue_component__ identifier for normalized component and default export ([#91](https://github.com/vuejs/vue-component-compiler/issues/91)) ([fb1ab41](https://github.com/vuejs/vue-component-compiler/commit/fb1ab41))
|
44 |
|
45 |
|
46 |
|
47 | <a name="4.1.0"></a>
|
48 | # [4.1.0](https://github.com/vuejs/vue-component-compiler/compare/v4.0.0...v4.1.0) (2019-10-26)
|
49 |
|
50 |
|
51 | ### Features
|
52 |
|
53 | * inject styles to shadow DOM ([#89](https://github.com/vuejs/vue-component-compiler/issues/89)) ([714f08d](https://github.com/vuejs/vue-component-compiler/commit/714f08d))
|
54 |
|
55 |
|
56 |
|
57 | <a name="4.0.0"></a>
|
58 | # [4.0.0](https://github.com/vuejs/vue-component-compiler/compare/v3.4.5...v4.0.0) (2019-04-11)
|
59 |
|
60 |
|
61 | ### Bug Fixes
|
62 |
|
63 | * **#84:** Move postcss-modules plugins to last ([#86](https://github.com/vuejs/vue-component-compiler/issues/86)) ([d4ae5be](https://github.com/vuejs/vue-component-compiler/commit/d4ae5be)), closes [#84](https://github.com/vuejs/vue-component-compiler/issues/84)
|
64 | * normalize source map file path on windows ([#83](https://github.com/vuejs/vue-component-compiler/issues/83)) ([c4bcd40](https://github.com/vuejs/vue-component-compiler/commit/c4bcd40)), closes [vuejs/component-compiler-utils#51](https://github.com/vuejs/component-compiler-utils/issues/51)
|
65 |
|
66 |
|
67 | ### Chores
|
68 |
|
69 | * Upgrade [@vue](https://github.com/vue)/component-compiler-utils ([12f4878](https://github.com/vuejs/vue-component-compiler/commit/12f4878))
|
70 |
|
71 |
|
72 | ### Features
|
73 |
|
74 | * Add compileToDescriptorAsync and compileStyleAsync methods ([ccf7d84](https://github.com/vuejs/vue-component-compiler/commit/ccf7d84))
|
75 | * Allow disabling clean CSS ([9d43b80](https://github.com/vuejs/vue-component-compiler/commit/9d43b80))
|
76 |
|
77 |
|
78 | ### BREAKING CHANGES
|
79 |
|
80 | * Update to @vue/component-compiler-utils@3.0.0 which
|
81 | uses `sass` instead of `node-sass`
|
82 |
|
83 |
|
84 |
|
85 | <a name="3.6.0"></a>
|
86 | # [3.6.0](https://github.com/vuejs/vue-component-compiler/compare/v3.5.0...v3.6.0) (2018-08-28)
|
87 |
|
88 |
|
89 | ### Features
|
90 |
|
91 | * Add compileToDescriptorAsync and compileStyleAsync methods ([ccf7d84](https://github.com/vuejs/vue-component-compiler/commit/ccf7d84))
|
92 |
|
93 |
|
94 |
|
95 | <a name="3.5.0"></a>
|
96 | # [3.5.0](https://github.com/vuejs/vue-component-compiler/compare/v3.4.5...v3.5.0) (2018-08-28)
|
97 |
|
98 |
|
99 | ### Features
|
100 |
|
101 | * Allow disabling clean CSS ([9d43b80](https://github.com/vuejs/vue-component-compiler/commit/9d43b80))
|
102 |
|
103 |
|
104 |
|
105 | <a name="3.4.5"></a>
|
106 | ## [3.4.5](https://github.com/vuejs/vue-component-compiler/compare/v3.4.4...v3.4.5) (2018-08-28)
|
107 |
|
108 |
|
109 | ### Bug Fixes
|
110 |
|
111 | * Do not generate style injector code if component has no style ([78a2da3](https://github.com/vuejs/vue-component-compiler/commit/78a2da3))
|
112 |
|
113 |
|
114 |
|
115 | <a name="3.4.4"></a>
|
116 | ## [3.4.4](https://github.com/vuejs/vue-component-compiler/compare/v3.4.3...v3.4.4) (2018-07-31)
|
117 |
|
118 |
|
119 |
|
120 | <a name="3.4.3"></a>
|
121 | ## [3.4.3](https://github.com/vuejs/vue-component-compiler/compare/v3.4.2...v3.4.3) (2018-07-31)
|
122 |
|
123 |
|
124 | ### Bug Fixes
|
125 |
|
126 | * Use basename for __file in production mode ([541a824](https://github.com/vuejs/vue-component-compiler/commit/541a824))
|
127 |
|
128 |
|
129 |
|
130 | <a name="3.4.2"></a>
|
131 | ## [3.4.2](https://github.com/vuejs/vue-component-compiler/compare/v3.4.1...v3.4.2) (2018-07-13)
|
132 |
|
133 |
|
134 |
|
135 | <a name="3.4.1"></a>
|
136 | ## [3.4.1](https://github.com/vuejs/vue-component-compiler/compare/v3.4.0...v3.4.1) (2018-06-27)
|
137 |
|
138 |
|
139 | ### Bug Fixes
|
140 |
|
141 | * Add scope ID only if scoped style is present ([1a42be3](https://github.com/vuejs/vue-component-compiler/commit/1a42be3)), closes [#75](https://github.com/vuejs/vue-component-compiler/issues/75)
|
142 |
|
143 |
|
144 |
|
145 | <a name="3.4.0"></a>
|
146 | # [3.4.0](https://github.com/vuejs/vue-component-compiler/compare/v3.3.3...v3.4.0) (2018-06-24)
|
147 |
|
148 |
|
149 | ### Features
|
150 |
|
151 | * preprocessor `data` option to prepend shared styles ([#73](https://github.com/vuejs/vue-component-compiler/issues/73)) ([5a81749](https://github.com/vuejs/vue-component-compiler/commit/5a81749))
|
152 | * Script source map support in assemble ([#74](https://github.com/vuejs/vue-component-compiler/issues/74)) ([13cd119](https://github.com/vuejs/vue-component-compiler/commit/13cd119))
|
153 |
|
154 |
|
155 |
|
156 | <a name="3.3.3"></a>
|
157 | ## [3.3.3](https://github.com/vuejs/vue-component-compiler/compare/v3.3.2...v3.3.3) (2018-05-25)
|
158 |
|
159 |
|
160 | ### Bug Fixes
|
161 |
|
162 | * Resolve src values on style blocks with require.resolve ([#70](https://github.com/vuejs/vue-component-compiler/issues/70)) ([0e8e005](https://github.com/vuejs/vue-component-compiler/commit/0e8e005))
|
163 | * Use options from `Vue.extend` constructor export from script block ([#69](https://github.com/vuejs/vue-component-compiler/issues/69)) ([4280da0](https://github.com/vuejs/vue-component-compiler/commit/4280da0))
|
164 |
|
165 |
|
166 |
|
167 | <a name="3.3.2"></a>
|
168 | ## [3.3.2](https://github.com/vuejs/vue-component-compiler/compare/v3.3.1...v3.3.2) (2018-05-13)
|
169 |
|
170 |
|
171 | ### Bug Fixes
|
172 |
|
173 | * Prevent duplicate style injection ([#68](https://github.com/vuejs/vue-component-compiler/issues/68)) ([58247ce](https://github.com/vuejs/vue-component-compiler/commit/58247ce))
|
174 |
|
175 |
|
176 |
|
177 | <a name="3.3.1"></a>
|
178 | ## [3.3.1](https://github.com/vuejs/vue-component-compiler/compare/v3.3.0...v3.3.1) (2018-05-09)
|
179 |
|
180 |
|
181 | ### Bug Fixes
|
182 |
|
183 | * Inject CSS module tokens even when css is not present ([#67](https://github.com/vuejs/vue-component-compiler/issues/67)) ([05c5210](https://github.com/vuejs/vue-component-compiler/commit/05c5210))
|
184 |
|
185 |
|
186 |
|
187 | <a name="3.3.0"></a>
|
188 | # [3.3.0](https://github.com/vuejs/vue-component-compiler/compare/v3.2.0...v3.3.0) (2018-05-07)
|
189 |
|
190 |
|
191 | ### Features
|
192 |
|
193 | * Change visibilty of compileStyle and compileTemplate methods to public ([#66](https://github.com/vuejs/vue-component-compiler/issues/66)) ([c505f94](https://github.com/vuejs/vue-component-compiler/commit/c505f94))
|
194 |
|
195 |
|
196 |
|
197 | <a name="3.3.0"></a>
|
198 | # [3.3.0](https://github.com/vuejs/vue-component-compiler/compare/v3.2.0...v3.3.0) (2018-05-07)
|
199 |
|
200 |
|
201 | ### Features
|
202 |
|
203 | * Change visibilty of compileStyle and compileTemplate methods to public ([#66](https://github.com/vuejs/vue-component-compiler/issues/66)) ([c505f94](https://github.com/vuejs/vue-component-compiler/commit/c505f94))
|
204 |
|
205 |
|
206 |
|
207 | <a name="3.2.0"></a>
|
208 | # [3.2.0](https://github.com/vuejs/vue-component-compiler/compare/v3.1.1...v3.2.0) (2018-05-06)
|
209 |
|
210 |
|
211 | ### Features
|
212 |
|
213 | * Skip style injection when style soure is empty ([#65](https://github.com/vuejs/vue-component-compiler/issues/65)) ([5726a24](https://github.com/vuejs/vue-component-compiler/commit/5726a24))
|
214 |
|
215 |
|
216 |
|
217 | <a name="3.2.0"></a>
|
218 | # [3.2.0](https://github.com/vuejs/vue-component-compiler/compare/v3.1.1...v3.2.0) (2018-05-06)
|
219 |
|
220 |
|
221 | ### Features
|
222 |
|
223 | * Skip style injection when style soure is empty ([#65](https://github.com/vuejs/vue-component-compiler/issues/65)) ([5726a24](https://github.com/vuejs/vue-component-compiler/commit/5726a24))
|
224 |
|
225 |
|
226 |
|
227 | <a name="3.1.1"></a>
|
228 | ## [3.1.1](https://github.com/vuejs/vue-component-compiler/compare/v3.1.0...v3.1.1) (2018-05-02)
|
229 |
|
230 |
|
231 | ### Features
|
232 |
|
233 | * Use global variables as style source ([#64](https://github.com/vuejs/vue-component-compiler/issues/64)) ([14c6a3d](https://github.com/vuejs/vue-component-compiler/commit/14c6a3d))
|
234 |
|
235 |
|
236 |
|
237 | <a name="3.1.1"></a>
|
238 | ## [3.1.1](https://github.com/vuejs/vue-component-compiler/compare/v3.1.0...v3.1.1) (2018-05-02)
|
239 |
|
240 |
|
241 | ### Features
|
242 |
|
243 | * Use global variables as style source ([#64](https://github.com/vuejs/vue-component-compiler/issues/64)) ([14c6a3d](https://github.com/vuejs/vue-component-compiler/commit/14c6a3d))
|
244 |
|
245 |
|
246 |
|
247 | <a name="3.1.0"></a>
|
248 | # [3.1.0](https://github.com/vuejs/vue-component-compiler/compare/076d414...v3.1.0) (2018-05-01)
|
249 |
|
250 |
|
251 | ### Bug Fixes
|
252 |
|
253 | * add main and typings in package.json ([5d5790a](https://github.com/vuejs/vue-component-compiler/commit/5d5790a))
|
254 | * circleci build yarn installation script ([8d54b92](https://github.com/vuejs/vue-component-compiler/commit/8d54b92))
|
255 | * ensure split for files generated on windows ([dfc0ec2](https://github.com/vuejs/vue-component-compiler/commit/dfc0ec2))
|
256 | * expect moduleIdentifier in assemble step ([0ba6e8b](https://github.com/vuejs/vue-component-compiler/commit/0ba6e8b))
|
257 | * generate sourcemaps even if previous maps are provided ([0bee641](https://github.com/vuejs/vue-component-compiler/commit/0bee641))
|
258 | * inject style for non-modules too ([9a30f9e](https://github.com/vuejs/vue-component-compiler/commit/9a30f9e))
|
259 | * remove postcss config loader ([f4ccc7c](https://github.com/vuejs/vue-component-compiler/commit/f4ccc7c))
|
260 | * remove unnecessary extension ([043f54b](https://github.com/vuejs/vue-component-compiler/commit/043f54b))
|
261 | * style-compiler source maps & use vue-component-compiler instead of vue-loader in logs ([fef6fdd](https://github.com/vuejs/vue-component-compiler/commit/fef6fdd))
|
262 | * update gen-id implementation ([#43](https://github.com/vuejs/vue-component-compiler/issues/43)) ([72ff0bb](https://github.com/vuejs/vue-component-compiler/commit/72ff0bb)), closes [#42](https://github.com/vuejs/vue-component-compiler/issues/42)
|
263 | * use configure vueHotReloadAPI when available ([19be9bf](https://github.com/vuejs/vue-component-compiler/commit/19be9bf))
|
264 | * use import statements for style when assembling in esModule mode ([513fe46](https://github.com/vuejs/vue-component-compiler/commit/513fe46))
|
265 |
|
266 |
|
267 | ### Features
|
268 |
|
269 | * add css modules capability to style-compiler ([d413d22](https://github.com/vuejs/vue-component-compiler/commit/d413d22))
|
270 | * add runtime component helpers ([5f7d136](https://github.com/vuejs/vue-component-compiler/commit/5f7d136))
|
271 | * add synchronous compilers ([f136528](https://github.com/vuejs/vue-component-compiler/commit/f136528))
|
272 | * add ts typings ([8cc4f5f](https://github.com/vuejs/vue-component-compiler/commit/8cc4f5f))
|
273 | * allow additional properties in options ([#56](https://github.com/vuejs/vue-component-compiler/issues/56)) ([a23740f](https://github.com/vuejs/vue-component-compiler/commit/a23740f))
|
274 | * assemble inline when content is provided ([#35](https://github.com/vuejs/vue-component-compiler/issues/35)) ([da252a7](https://github.com/vuejs/vue-component-compiler/commit/da252a7)), closes [#31](https://github.com/vuejs/vue-component-compiler/issues/31) [#38](https://github.com/vuejs/vue-component-compiler/issues/38) [#39](https://github.com/vuejs/vue-component-compiler/issues/39)
|
275 | * component parts assembler ([5deae78](https://github.com/vuejs/vue-component-compiler/commit/5deae78))
|
276 | * export component compilers ([cf11514](https://github.com/vuejs/vue-component-compiler/commit/cf11514))
|
277 | * SFC to descriptors parser ([076d414](https://github.com/vuejs/vue-component-compiler/commit/076d414))
|
278 | * source map cache busting option ([#48](https://github.com/vuejs/vue-component-compiler/issues/48)) ([93b6847](https://github.com/vuejs/vue-component-compiler/commit/93b6847)), closes [#46](https://github.com/vuejs/vue-component-compiler/issues/46)
|
279 | * style compiler to add scope-id ([6b9dc62](https://github.com/vuejs/vue-component-compiler/commit/6b9dc62))
|
280 | * style-compiler should process one style block at a time ([e6fa1ba](https://github.com/vuejs/vue-component-compiler/commit/e6fa1ba))
|
281 | * support for functional template compilation ([#45](https://github.com/vuejs/vue-component-compiler/issues/45)) ([63b91f7](https://github.com/vuejs/vue-component-compiler/commit/63b91f7)), closes [#44](https://github.com/vuejs/vue-component-compiler/issues/44) [#37](https://github.com/vuejs/vue-component-compiler/issues/37)
|
282 | * support wildcard tag in transformToRequire ([#41](https://github.com/vuejs/vue-component-compiler/issues/41)) ([f8a36c7](https://github.com/vuejs/vue-component-compiler/commit/f8a36c7)), closes [#40](https://github.com/vuejs/vue-component-compiler/issues/40)
|
283 | * template to render function compiler ([c4fc825](https://github.com/vuejs/vue-component-compiler/commit/c4fc825))
|
284 | * transform require to import statements in esModule ([#54](https://github.com/vuejs/vue-component-compiler/issues/54)) ([833605d](https://github.com/vuejs/vue-component-compiler/commit/833605d))
|
285 | * use [@vue](https://github.com/vue)/component-compiler-utils to provide high level component compilation API ([#59](https://github.com/vuejs/vue-component-compiler/issues/59)) ([976d4f1](https://github.com/vuejs/vue-component-compiler/commit/976d4f1))
|
286 | * Use custom implementation of normalizer if provided ([#61](https://github.com/vuejs/vue-component-compiler/issues/61)) ([18cb7c1](https://github.com/vuejs/vue-component-compiler/commit/18cb7c1))
|
287 |
|
288 |
|
289 |
|
290 | <a name="3.1.0"></a>
|
291 | # 3.1.0 (2018-05-01)
|
292 |
|
293 | ### Features
|
294 |
|
295 | * Use custom implementation of normalizer if provided ([37f6cd8](https://github.com/vuejs/vue-component-compiler/commit/37f6cd8))
|