1 | # Change Log
|
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 | <a name="1.2.7"></a>
|
6 | ## [1.2.7](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.2.6...v1.2.7) (2018-06-25)
|
7 |
|
8 |
|
9 | ### Bug Fixes
|
10 |
|
11 | * no warning when `warningsFilter` return false ([#317](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/317)) ([cabee6c](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/cabee6c))
|
12 |
|
13 |
|
14 |
|
15 | <a name="1.2.6"></a>
|
16 | ## [1.2.6](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.2.5...v1.2.6) (2018-06-20)
|
17 |
|
18 |
|
19 | ### Bug Fixes
|
20 |
|
21 | * disable inline optimization by default ([#308](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/308)) ([6ab0918](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/6ab0918))
|
22 | * don't use a worker farm unless more than one process is required ([#280](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/280)) ([3f0767b](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/3f0767b))
|
23 | * better handle invalid source map ([#284](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/284)) ([dbebb3b](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/dbebb3b))
|
24 | * perf regression with memory usage for source maps ([#305](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/305)) ([3ca5eaf](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/3ca5eaf))
|
25 | * return missing important information for uglify warnings ([#306](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/306)) ([4f50156](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/4f50156))
|
26 |
|
27 |
|
28 |
|
29 | <a name="1.2.5"></a>
|
30 | ## [1.2.5](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.2.4...v1.2.5) (2018-04-18)
|
31 |
|
32 |
|
33 | ### Bug Fixes
|
34 |
|
35 | * don't handle invalid source map ([#268](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/268)) ([693e45e](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/693e45e))
|
36 |
|
37 |
|
38 | ### Performance Improvements
|
39 |
|
40 | * **sourcemaps:** reduce memory usage ([#276](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/276)) ([0b11134](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/0b11134))
|
41 |
|
42 |
|
43 |
|
44 | <a name="1.2.4"></a>
|
45 | ## [1.2.4](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.2.3...v1.2.4) (2018-03-16)
|
46 |
|
47 |
|
48 | ### Bug Fixes
|
49 |
|
50 | * **index:** correct default asset name `{RegExp}` (`options.test`) ([#259](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/259)) ([f9e55fe](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/f9e55fe))
|
51 | * **index:** don't remove legal comments by default (`options.extractComments`) ([#250](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/250)) ([b31b574](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/b31b574))
|
52 |
|
53 |
|
54 |
|
55 | <a name="1.2.3"></a>
|
56 | ## [1.2.3](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.2.2...v1.2.3) (2018-03-10)
|
57 |
|
58 |
|
59 | ### Bug Fixes
|
60 |
|
61 | * **index:** correct `[name].js.LICENSE` file path (`options.extractComments`) ([#249](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/249)) ([430111c](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/430111c))
|
62 | * **index:** relax default asset name `{RegExp}` (`options.test`) ([#251](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/251)) ([d27e822](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/d27e822))
|
63 | * **package:** update `schema-utils` v0.4.3...0.4.5 (`dependencies`) ([#255](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/255)) ([4c0feb8](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/4c0feb8))
|
64 | * **package:** update`cacache` v10.0.1...10.0.4 (`dependencies`) ([#253](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/253)) ([8b0c0cd](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/8b0c0cd))
|
65 |
|
66 |
|
67 | ### Performance Improvements
|
68 |
|
69 | * **index:** switch to `md4` for content hashing ([#243](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/243)) ([14d2c4c](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/14d2c4c))
|
70 |
|
71 |
|
72 |
|
73 | <a name="1.2.2"></a>
|
74 | ## [1.2.2](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.2.1...v1.2.2) (2018-02-24)
|
75 |
|
76 |
|
77 | ### Bug Fixes
|
78 |
|
79 | * **index:** typo `buildMobule` => `buildModule` ([#242](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/242)) ([259adad](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/259adad))
|
80 | * **package:** add `webpack >= v4.0.0` (`peerDependencies`) ([#239](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/239)) ([4c7f80a](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/4c7f80a))
|
81 |
|
82 |
|
83 |
|
84 | <a name="1.2.1"></a>
|
85 | ## [1.2.1](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.2.0...v1.2.1) (2018-02-23)
|
86 |
|
87 |
|
88 | ### Bug Fixes
|
89 |
|
90 | * **index:** `tapable` deprecation warnings (`webpack >= v4.0.0`) ([#238](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/238)) ([23b1b38](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/23b1b38))
|
91 |
|
92 |
|
93 |
|
94 | <a name="1.2.0"></a>
|
95 | # [1.2.0](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.1.8...v1.2.0) (2018-02-16)
|
96 |
|
97 |
|
98 | ### Features
|
99 |
|
100 | * **uglify:** add missing `toplevel`, `nameCache`, `keep_classnames`, `keep_fnames` and `safari10` options (`uglifyOptions`) ([#229](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/229)) ([990de2a](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/990de2a))
|
101 |
|
102 |
|
103 |
|
104 | <a name="1.1.8"></a>
|
105 | ## [1.1.8](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.1.7...v1.1.8) (2018-01-29)
|
106 |
|
107 |
|
108 | ### Bug Fixes
|
109 |
|
110 | * **package:** use `prepare` instead of `prepublish` for release ([43ffa48](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/43ffa48))
|
111 |
|
112 |
|
113 | ### Reverts
|
114 |
|
115 | * **README:** `mangle.props` instead of `mangle.properties` ([44b77e3](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/44b77e3))
|
116 |
|
117 |
|
118 |
|
119 | <a name="1.1.7"></a>
|
120 | ## [1.1.7](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.1.6...v1.1.7) (2018-01-29)
|
121 |
|
122 |
|
123 | ### Bug Fixes
|
124 |
|
125 | * **index:** reduce memory consumption (`cacheKey.hash`) ([#215](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/215)) ([2343274](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/2343274))
|
126 |
|
127 |
|
128 | <a name="1.1.6"></a>
|
129 | ## [1.1.6](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.1.5...v1.1.6) (2018-01-05)
|
130 |
|
131 |
|
132 | ### Bug Fixes
|
133 |
|
134 | * **index:** don't pass `compilation` as an argument to `UglifyJsPlugin.buildError` ([#201](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/201)) ([339ca10](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/339ca10))
|
135 |
|
136 |
|
137 | ### Reverts
|
138 |
|
139 | * **package:** use exact `uglify-es` version (`dependencies`) ([#199](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/199)) ([#202](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/202)) ([426bafd](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/426bafd))
|
140 |
|
141 |
|
142 |
|
143 | <a name="1.1.5"></a>
|
144 | ## [1.1.5](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.1.4...v1.1.5) (2017-12-27)
|
145 |
|
146 |
|
147 | ### Bug Fixes
|
148 |
|
149 | * **package:** use exact `uglify-es` version (`dependencies`) ([#199](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/199)) ([2e2ed36](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/2e2ed36))
|
150 |
|
151 |
|
152 |
|
153 | <a name="1.1.4"></a>
|
154 | ## [1.1.4](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.1.3...v1.1.4) (2017-12-14)
|
155 |
|
156 |
|
157 | ### Chores
|
158 |
|
159 | * update `uglify-es` v3.2.0...v3.2.1 ([#190](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/190)) ([b356f74](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/b356f74))
|
160 |
|
161 |
|
162 |
|
163 | <a name="1.1.3"></a>
|
164 | ## [1.1.3](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.1.2...v1.1.3) (2017-12-14)
|
165 |
|
166 |
|
167 | ### Refactoring
|
168 |
|
169 | * use `serialize-javascript` package instead own implementatin ([#183](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/183)) ([8d7ebcd](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/8d7ebcd))
|
170 |
|
171 |
|
172 |
|
173 | <a name="1.1.2"></a>
|
174 | ## [1.1.2](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.1.1...v1.1.2) (2017-11-30)
|
175 |
|
176 |
|
177 | ### Chores
|
178 |
|
179 | * update `uglify-es` v3.1.3...3.2.0 ([#176](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/176)) ([3be7f62](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/3be7f62))
|
180 |
|
181 |
|
182 |
|
183 | <a name="1.1.1"></a>
|
184 | ## [1.1.1](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.1.0...v1.1.1) (2017-11-23)
|
185 |
|
186 |
|
187 | ### Bug Fixes
|
188 |
|
189 | * comments behavior (`options.uglifyOptions.comments/options.extractComments`) ([#174](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/174)) ([321c9f6](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/321c9f6))
|
190 | * **index:** ensure to nullify `inputSourceMap` if `sourcemap` is unavailable (`devtool`) ([#169](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/169)) ([062ec72](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/062ec72))
|
191 | * **index:** set `maxConcurrentCallsPerWorker` to 1 (`options.parallel`) ([#173](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/173)) ([07c57c1](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/07c57c1))
|
192 |
|
193 |
|
194 |
|
195 | <a name="1.1.0"></a>
|
196 | # [1.1.0](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.0.1...v1.1.0) (2017-11-19)
|
197 |
|
198 |
|
199 | ### Bug Fixes
|
200 |
|
201 | * **index:** `exclude` is ignored (`options.exclude`) ([#164](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/164)) ([ad17690](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/ad17690))
|
202 | * pass of `{Boolean|Function}` parameters being ignored (`options.extractComments`) ([#168](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/168)) ([2c06f46](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/2c06f46))
|
203 |
|
204 |
|
205 | ### Features
|
206 |
|
207 | * `include` option ([#167](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/167)) ([bbe0ef5](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/bbe0ef5))
|
208 |
|
209 |
|
210 |
|
211 | <a name="1.0.1"></a>
|
212 | ## [1.0.1](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.0.0...v1.0.1) (2017-10-24)
|
213 |
|
214 |
|
215 | ### Bug Fixes
|
216 |
|
217 | * **minify:** `nameCache` assignment (`uglifyOptions.nameCache`) ([#147](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/147)) ([af11e8e](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/af11e8e))
|
218 |
|
219 |
|
220 |
|
221 | <a name="1.0.0"></a>
|
222 | # [1.0.0](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.0.0-rc.0...v1.0.0) (2017-10-23)
|
223 |
|
224 |
|
225 | ### Features
|
226 |
|
227 | * update to `uglify-es` ([#63](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/63)) ([1d62560](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/1d62560))
|
228 |
|
229 | * add support for `parallelization` && `caching` (`options.parallel`) ([#77](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/77)) ([ee16639](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/ee16639))
|
230 | * **index:** add `options` validation (`schema-utils`) ([#80](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/80)) ([f19b2de](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/f19b2de))
|
231 |
|
232 |
|
233 | ### Bug Fixes
|
234 |
|
235 | * **deps:** cacache@10 with ISC licence ([#145](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/145)) ([9331034](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/9331034))
|
236 | * typo "filterd" -> "filtered" ([#37](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/37)) ([238c373](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/238c373))
|
237 | * **package:** mv uglify2 to `dependencies` && update `peerDependencies` ([#45](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/45)) ([93b0cd2](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/93b0cd2))
|
238 | * **uglify:** use Compress API not ast.transform ([990f2e2](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/990f2e2))
|
239 |
|
240 |
|
241 | ### Code Refactoring
|
242 |
|
243 | * apply `webpack-defaults` ([#35](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/35)) ([f6c5aa9](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/f6c5aa9))
|
244 |
|
245 |
|
246 | ### BREAKING CHANGES
|
247 |
|
248 | * Enforces `peerDependencies` of `"webpack": ">= 3.0.0-rc.0 || ^3.0.0"`.
|
249 | * Enforces `engines` of `"node": ">=4.3.0 < 5.0.0 || >= 5.10`
|
250 |
|
251 |
|
252 |
|
253 | <a name="1.0.0-rc.0"></a>
|
254 | # [1.0.0-rc.0](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.0.0-beta.2...v1.0.0-rc.0) (2017-10-23)
|
255 |
|
256 |
|
257 |
|
258 | <a name="1.0.0-beta.3"></a>
|
259 | # [1.0.0-beta.3](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2017-09-29)
|
260 |
|
261 |
|
262 |
|
263 | <a name="1.0.0-beta.2"></a>
|
264 | # [1.0.0-beta.2](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2017-07-21)
|
265 |
|
266 |
|
267 | ### Features
|
268 |
|
269 | * add support for `parallelization` && `caching` (`options.parallel`) ([#77](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/77)) ([ee16639](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/ee16639))
|
270 | * **index:** add `options` validation (`schema-utils`) ([#80](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/80)) ([f19b2de](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/f19b2de))
|
271 |
|
272 |
|
273 |
|
274 | <a name="1.0.0-beta.1"></a>
|
275 | # [1.0.0-beta.1](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v1.0.0-beta.0...v1.0.0-beta.1) (2017-07-06)
|
276 |
|
277 |
|
278 | ### Features
|
279 |
|
280 | * update to `uglify-es` ([#63](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/63)) ([1d62560](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/1d62560))
|
281 |
|
282 |
|
283 |
|
284 | <a name="1.0.0-beta.0"></a>
|
285 | # [1.0.0-beta.0](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v0.1.4...v1.0.0-beta.0) (2017-06-29)
|
286 |
|
287 |
|
288 | ### Bug Fixes
|
289 |
|
290 | * typo "filterd" -> "filtered" ([#37](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/37)) ([238c373](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/238c373))
|
291 | * **package:** mv uglify2 to `dependencies` && update `peerDependencies` ([#45](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/45)) ([93b0cd2](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/93b0cd2))
|
292 | * **uglify:** use Compress API not ast.transform ([990f2e2](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/990f2e2))
|
293 |
|
294 |
|
295 | ### Code Refactoring
|
296 |
|
297 | * apply `webpack-defaults` ([#35](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/35)) ([f6c5aa9](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/f6c5aa9))
|
298 |
|
299 |
|
300 | ### BREAKING CHANGES
|
301 |
|
302 | * Enforces `peerDependencies` of `"webpack": ">= 3.0.0-rc.0 || ^3.0.0"`.
|
303 | * Enforces `engines` of `"node": ">=4.3.0 < 5.0.0 || >= 5.10`
|
304 |
|
305 |
|
306 |
|
307 | <a name="0.4.6"></a>
|
308 | ## [0.4.6](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/compare/v0.1.4...v0.4.6) (2017-06-29)
|
309 |
|
310 |
|
311 | ### Bug Fixes
|
312 |
|
313 | * typo "filterd" -> "filtered" ([#37](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/37)) ([238c373](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/238c373))
|
314 | * **package:** mv uglify2 to `dependencies` && update `peerDependencies` ([#45](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/45)) ([93b0cd2](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/93b0cd2))
|
315 | * **uglify:** use Compress API not ast.transform ([990f2e2](https://github.com/webpack-contrib/uglifyjs-webpack-plugin/commit/990f2e2))
|