UNPKG

107 kBMarkdownView Raw
1# rollup changelog
2
3## 1.11.2
4*2019-05-04*
5
6### Bug Fixes
7* Prevent a crash when handling circular namespace exports (#2836)
8
9### Pull Requests
10* [#2836](https://github.com/rollup/rollup/pull/2836): Make sure circular `export * from X` does not stack overflow (@Swatinem)
11
12## 1.11.1
13*2019-05-04*
14
15### Bug Fixes
16* Fix an issue where rendered exports were reported as "removed" in the bundle information (#2835)
17
18### Pull Requests
19* [#2835](https://github.com/rollup/rollup/pull/2835): Fix `removedExports` to correctly track the exported item (@Swatinem)
20
21## 1.11.0
22*2019-05-03*
23
24### Features
25* Add `emitChunk` plugin context function to emit additional entry chunks that can be referenced from the code (#2809)
26* Allow `manualChunks` to be a function (#2831)
27* Omit `.js` extensions in AMD imports to make sure an AMD `baseUrl` would work (#2809)
28* Automatically use the name of the imported module as a base for dynamically imported chunks (#2809)
29* Add `resolveFileUrl` plugin hook to replace `resolveAssetUrl` and handle emitted chunks as well (#2809)
30* Add `resolve` plugin hook to replace `resolveId` and `isExternal` that returns an object (#2829)
31* Allow `resolveDynamicImport` to return an `{id, external}` object to also resolve unresolvable dynamic imports to a module (#2829)
32
33### Bug Fixes
34* Do not create invalid code if a dynamic import contains nothing but reexports (#2809)
35* Do not fail if modules that define a manual chunk depend on each other (#2809)
36* Do not fail if a module that defines a manual chunk is the dependency of a module defining a different manual chunk (#2809)
37* No longer fail for unnamed duplicate entry points but combine them (#2809)
38* Always return `string | null` from `this.resolveId` even if some `resolveId` hooks return objects (#2829)
39* Show proper warnings when `resolveDynamicImport` resolves to a non-external module that does not exist (#2829)
40
41### Pull Requests
42* [#2809](https://github.com/rollup/rollup/pull/2809): Add hook for dynamic entry chunk emission (@lukastaegert)
43* [#2821](https://github.com/rollup/rollup/pull/2821): Fix syntax error in documentation (@FFxSquall)
44* [#2829](https://github.com/rollup/rollup/pull/2829): Improve id resolution (@lukastaegert)
45* [#2831](https://github.com/rollup/rollup/pull/2831): Allow manualChunks to be a function (@lukastaegert)
46* [#2832](https://github.com/rollup/rollup/pull/2832): Improve `generateBundle` documentation (@lukastaegert)
47* [#2833](https://github.com/rollup/rollup/pull/2833): Update dependencies (@lukastaegert)
48
49## 1.10.1
50*2019-04-19*
51
52### Bug Fixes
53* Invalid options.format values will now trigger a helpful error (#2813)
54
55### Pull Requests
56* [#2812](https://github.com/rollup/rollup/pull/2812): Minor documentation update (@dnalborczyk)
57* [#2813](https://github.com/rollup/rollup/pull/2813): Catch invalid options.format values (@marijnh)
58* [#2816](https://github.com/rollup/rollup/pull/2816): Update all dependencies to fix security issues (@lukastaegert)
59
60## 1.10.0
61*2019-04-11*
62
63### Features
64* Improve generated code to polyfill `import.meta.url` (#2785)
65* Add plugin hook to configure handling of `import.meta` (#2785)
66* Improve generated code when accessing URLs of emitted assets (#2796)
67* Add plugin hook to configure the generated code when accessing URLs of emitted assets (#2796)
68
69### Bug Fixes
70* No longer resolve assets to their parent URL in some cases (#2796)
71
72### Pull Requests
73* [#2785](https://github.com/rollup/rollup/pull/2785): Refactor handling of import.meta.url and add option to configure behaviour (@lukastaegert)
74* [#2796](https://github.com/rollup/rollup/pull/2796): Improve and fix asset emission (@lukastaegert)
75
76## 1.9.3
77*2019-04-10*
78
79### Bug Fixes
80* Simplify return expressions that are evaluated before the surrounding function is bound (#2803)
81
82### Pull Requests
83* [#2803](https://github.com/rollup/rollup/pull/2803): Handle out-of-order binding of identifiers to improve tree-shaking (@lukastaegert)
84
85## 1.9.2
86*2019-04-10*
87
88### Bug Fixes
89* Allowing replacing `output.file` with `output.dir` in the `outputOptions` hook (#2802)
90
91### Pull Requests
92* [#2802](https://github.com/rollup/rollup/pull/2802): Observe modified output options in bundle.write (@lukastaegert)
93
94## 1.9.1
95*2019-04-10*
96
97### Bug Fixes
98* Make sure inline comments in dynamic imports are preserved (#2797)
99
100### Pull Requests
101* [#2797](https://github.com/rollup/rollup/pull/2797): Emit inline comments inside dynamic import (@manucorporat)
102
103## 1.9.0
104*2019-04-05*
105
106### Features
107* Add built-in support for bigint (#2789)
108
109### Pull Requests
110* [#2789](https://github.com/rollup/rollup/pull/2789): Ship with bigint support built-in (@danielgindi)
111* [#2791](https://github.com/rollup/rollup/pull/2791): Use shared extractAssignedNames from rollup-pluginutils (@lukastaegert)
112* [#2792](https://github.com/rollup/rollup/pull/2792): Test that rollup-plugin-commonjs works with preserveModules (@lukastaegert)
113
114## 1.8.0
115*2019-04-02*
116
117### Features
118* Support `module` as alias for `esm` and `commonjs` for `cjs` to match Node (#2783)
119
120### Pull Requests
121* [#2782](https://github.com/rollup/rollup/pull/2782): Inline interopDefault in config loading (@guybedford)
122* [#2783](https://github.com/rollup/rollup/pull/2783): Support Node-style format aliases (@guybedford)
123
124## 1.7.4
125*2019-03-28*
126
127### Bug Fixes
128* Improve TypeScript type of the treeshaking options (#2779)
129
130### Pull Requests
131* [#2779](https://github.com/rollup/rollup/pull/2779): Make all properties in TreeshakingOptions optional (@ndelangen)
132
133## 1.7.3
134*2019-03-24*
135
136### Bug Fixes
137* Use getters when re-exporting live-bindings (#2765)
138
139### Pull Requests
140* [#2765](https://github.com/rollup/rollup/pull/2765): Support exporting live-bindings from other chunks or external dependencies (@lukastaegert)
141
142## 1.7.2
143*2019-03-24*
144
145### Bug Fixes
146* Make sure relative external ids are resolved correctly (#2774)
147
148### Pull Requests
149* [#2774](https://github.com/rollup/rollup/pull/2774): Resolve relative external ids (@lukastaegert)
150
151## 1.7.1
152*2019-03-24*
153
154### Bug Fixes
155* Prevent invalid code when exporting several hundred identifiers from a chunk (#2768)
156* Do not wrongly deconflict labels (#2776)
157
158### Pull Requests
159* [#2768](https://github.com/rollup/rollup/pull/2768): Sanitize shortened internal export names (@lukastaegert)
160* [#2769](https://github.com/rollup/rollup/pull/2769): Update dependencies and fix security issue (@lukastaegert)
161* [#2776](https://github.com/rollup/rollup/pull/2776): Do not treat break labels as identifiers (@lukastaegert)
162
163## 1.7.0
164*2019-03-20*
165
166### Features
167* Sort chunk exports by name for greater consistency (#2757)
168
169### Bug Fixes
170* Fix a situation where tree-shakeable code would not be removed in an indeterminate manner (#2757)
171
172### Pull Requests
173* [#2757](https://github.com/rollup/rollup/pull/2757): Sort modules before binding, sort exports (@lukastaegert)
174
175## 1.6.1
176*2019-03-20*
177
178### Bug Fixes
179* Avoid name clashes of unused default exports when tree-shaking is false (#2758)
180* Do not crash when generating SystemJS bundles containing array patterns with member expressions (#2760)
181
182### Pull Requests
183* [#2758](https://github.com/rollup/rollup/pull/2758): Make sure unused default exports are deconflicted when tree-shaking is false (@lukastaegert)
184* [#2760](https://github.com/rollup/rollup/pull/2760): Handle member expressions in array patterns (@lukastaegert)
185
186## 1.6.0
187*2019-03-08*
188
189### Features
190* Add plugin hook to modify output options (#2736)
191
192### Pull Requests
193* [#2736](https://github.com/rollup/rollup/pull/2736): Add hook for modifying OutputOptions (@Comandeer)
194
195## 1.5.0
196*2019-03-07*
197
198### Features
199* Allow resolving to a different id while marking it as external at the same time (#2734)
200
201### Pull Requests
202* [#2734](https://github.com/rollup/rollup/pull/2734): Allow resolveId to return an object (@lukastaegert)
203
204## 1.4.2
205*2019-03-07*
206
207### Bug Fixes
208* Respect variable identity of exports when hashing (#2741)
209* Resolve a situations where a variable was imported twice with the same name (#2737)
210
211### Pull Requests
212* [#2741](https://github.com/rollup/rollup/pull/2741): Fix hashing when different variable are exported using the same name (@lukastaegert)
213* [#2737](https://github.com/rollup/rollup/pull/2737): Fix duplicate imports with conflicting names (@lukastaegert)
214
215## 1.4.1
216*2019-03-04*
217
218### Bug Fixes
219* Do not treat the import target "" as external by default (#2733)
220
221### Pull Requests
222* [#2733](https://github.com/rollup/rollup/pull/2733): Do not treat the import target "" as external by default (@LongTengDao)
223
224## 1.4.0
225*2019-03-01*
226
227### Features
228* Add option to change the name of the dynamic import function to allow polyfilling it (#2723)
229
230### Pull Requests
231* [#2723](https://github.com/rollup/rollup/pull/2723): Add dynamicImportFunction option (@keithamus)
232
233## 1.3.3
234*2019-03-01*
235
236### Bug Fixes
237* Fix performance regression when handling long chains of calls to property methods (#2732)
238
239### Pull Requests
240* [#2730](https://github.com/rollup/rollup/pull/2730): Order types, interfaces, classes, and object members (@lukastaegert)
241* [#2732](https://github.com/rollup/rollup/pull/2732): Take chunk export mode into account when reexporting default (@lukastaegert)
242
243## 1.3.2
244*2019-02-27*
245
246### Bug Fixes
247* Allow ids of default exported classes to be exported separately (#2728)
248
249### Pull Requests
250* [#2728](https://github.com/rollup/rollup/pull/2728): Update dependencies (@lukastaegert)
251
252## 1.3.1
253*2019-02-27*
254
255### Bug Fixes
256* Correctly reexport the default export from entry chunks (#2727)
257
258### Pull Requests
259* [#2727](https://github.com/rollup/rollup/pull/2727): Take chunk export mode into account when reexporting default (@lukastaegert)
260
261## 1.3.0
262*2019-02-26*
263
264### Features
265* Treeshake call expressions prefixed with UglifyJS style `@__PURE__` annotations (#2429)
266
267### Pull Requests
268* [#2429](https://github.com/rollup/rollup/pull/2429): Add support for /*#__PURE__*/ comments (@conartist6 and @lukastaegert)
269
270## 1.2.5
271*2019-02-26*
272
273### Bug Fixes
274* Store external ids reported by plugins in watch mode (#2718)
275
276### Pull Requests
277* [#2718](https://github.com/rollup/rollup/pull/2718): Incremental external (@andreas-karlsson)
278
279## 1.2.4
280*2019-02-26*
281
282### Bug Fixes
283* Fix an issue where a variable was imported twice under the same name (#2715)
284
285### Pull Requests
286* [#2715](https://github.com/rollup/rollup/pull/2715): Deduplicate imports referencing default exports and their original variables (@lukastaegert)
287
288## 1.2.3
289*2019-02-23*
290
291### Bug Fixes
292* Use correct path when rendering dynamic imports where the entry module is empty (#2714)
293
294### Pull Requests
295* [#2714](https://github.com/rollup/rollup/pull/2714): Properly render dynamic imports when imported module is empty (@lukastaegert)
296
297## 1.2.2
298*2019-02-19*
299
300### Bug Fixes
301* Fix wrong external imports when using the `paths` options only for some outputs (#2706)
302
303### Pull Requests
304* [#2706](https://github.com/rollup/rollup/pull/2706): Always recreate paths for external modules (@lukastaegert)
305
306## 1.2.1
307*2019-02-17*
308
309### Bug Fixes
310* Fix ESM version of Rollup (#2705)
311
312### Pull Requests
313* [#2705](https://github.com/rollup/rollup/pull/2705): Fix ESM version of Rollup (@lukastaegert)
314
315## 1.2.0
316*2019-02-17*
317
318### Features
319* Fewer renamed variables due to a completely reimplemented deconflicting logic (#2689)
320
321### Bug Fixes
322* Respect rendered and tree-shaken exports when determining chunk hashes (#2695)
323* Fix an error when dynamic imports end up in the same chunk as one of their importees (#2677)
324* Do not generate invalid code when expressions containing IIFEs are simplified (#2696)
325* Do not throw an error when more than ten bundles are watched (#2700)
326* Treat re-exported globals in a spec-compliant way (#2691)
327* Fix issues related to wrongly renamed variables (#2689)
328* Do not throw an error if config files contain non-default exports (#2673)
329* Improve type of `RollupOutput.output` to guarantee at least one chunk (#2679)
330
331### Pull Requests
332* [#2673](https://github.com/rollup/rollup/pull/2673): Allow config files to have non-default exports (@swansontec)
333* [#2677](https://github.com/rollup/rollup/pull/2677): Prevent final resolution and facade creation for inlined dynamic imports (@Rich-Harris and @lukastaegert)
334* [#2679](https://github.com/rollup/rollup/pull/2679): Improve type of `RollupOutput.output` (@MattiasBuelens)
335* [#2689](https://github.com/rollup/rollup/pull/2689): Reimplement variable deconflicting logic (@lukastaegert)
336* [#2691](https://github.com/rollup/rollup/pull/2691): Fix CI issues and update acorn dependency (@lukastaegert)
337* [#2693](https://github.com/rollup/rollup/pull/2693): Fix typo in export-globals test (@MattiasBuelens)
338* [#2695](https://github.com/rollup/rollup/pull/2695): Respect rendered exports when generating chunk hashes (@lukastaegert)
339* [#2696](https://github.com/rollup/rollup/pull/2696): Correctly render function expression inside simplified expression statements (@lukastaegert)
340* [#2700](https://github.com/rollup/rollup/pull/2700): Add a fix for MaxListenersExceededWarning (@luwes)
341* [#2703](https://github.com/rollup/rollup/pull/2703): Update rollup-pluginutils (@lukastaegert)
342
343## 1.1.2
344*2019-01-21*
345
346### Bug Fixes
347* Tree-shaken dynamic imports no longer leave behind `undefined` entries in the bundle information (#2663)
348* Dynamic imports in dynamically imported files could lead to crashes and would not always create new chunks (#2664)
349
350### Pull Requests
351* [#2663](https://github.com/rollup/rollup/pull/2663): Do not include tree-shaken dynamic imports in bundle information (@lukastaegert)
352* [#2664](https://github.com/rollup/rollup/pull/2664): Properly handle dynamic imports declared in dynamically imported files (@everdimension)
353
354## 1.1.1
355*2019-01-19*
356
357### Bug Fixes
358* Make sure object prototype methods are not considered to be falsy when tree-shaking (#2652)
359
360### Pull Requests
361* [#2652](https://github.com/rollup/rollup/pull/2652): Make sure object prototype methods are not considered to be falsy (@lukastaegert)
362* [#2654](https://github.com/rollup/rollup/pull/2654): Use correct signature for `this.setAssetSource` in docs (@everdimension)
363* [#2656](https://github.com/rollup/rollup/pull/2656): Swap descriptions for `[extname]` and `[ext]` in docs (@tivac)
364
365## 1.1.0
366*2019-01-09*
367
368### Features
369* Make `this.meta` available from the `options` plugin hook (#2642)
370* Add a new `writeBundle` plugin hook that is called *after* all files have been written (#2643)
371
372### Bug Fixes
373* Make sure the `acorn` import of the bundled non-ESM acorn plugins is correctly translated to ESM (#2636)
374* Make sure input options are actually passed to the `buildStart` hook (#2642)
375
376### Pull Requests
377* [#2636](https://github.com/rollup/rollup/pull/2636): Improve how acorn is imported, update dependencies (@lukastaegert)
378* [#2642](https://github.com/rollup/rollup/pull/2642): Make this.meta available in options hook, pass input options to buildStart (@lukastaegert)
379* [#2643](https://github.com/rollup/rollup/pull/2643): Implement writeBundle hook (@lukastaegert)
380
381## 1.0.2
382*2019-01-05*
383
384### Bug Fixes
385* Make sure the transform hook is always reevaluated when a file watched by the hook changes (#2633)
386* Fix a crash when generating hashes for tree-shaken dynamic imports (#2638)
387* Fix a crash and some inconsistencies when using the acorn-bigint plugin (#2640)
388
389### Pull Requests
390* [#2633](https://github.com/rollup/rollup/pull/2633): Document `this.addWatchFile` and make sure it also declares transform dependencies (@lukastaegert)
391* [#2635](https://github.com/rollup/rollup/pull/2635): Make sure `code` is optional in warning type (@lukastaegert)
392* [#2638](https://github.com/rollup/rollup/pull/2638): Do not fail when generating hashes for tree-shaken dynamic imports (@lukastaegert)
393* [#2640](https://github.com/rollup/rollup/pull/2640): Always treat bigints as unknown (@lukastaegert)
394* [#2641](https://github.com/rollup/rollup/pull/2641): Make sure all CLI options are listed in the summary (@lukastaegert)
395
396## 1.0.1
397*2019-01-03*
398
399### Bug Fixes
400* Properly handle reexporting an external default export for non-ESM targets when using named exports mode (#2620)
401* Do not (wrongly) re-declare input options in the merged `RollupOptions` type (#2622)
402
403### Pull Requests
404* [#2620](https://github.com/rollup/rollup/pull/2620): Fixed issue with reexporting default as default with `{exports: named, interop: true}` options (@Andarist)
405* [#2622](https://github.com/rollup/rollup/pull/2622): Simplify RollupOptions (@Kinrany)
406* [#2627](https://github.com/rollup/rollup/pull/2627): Show how to skip imports for optional plugins (@chris-morgan)
407
408## 1.0.0
409*2018-12-28*
410
411### Breaking Changes
412* Several (mostly deprecated) options have been removed or renamed (#2293, #2409):
413 - banner -> output.banner
414 - dest -> output.file
415 - entry -> input
416 - experimentalCodeSplitting -> now always active
417 - experimentalDynamicImport -> now always active
418 - experimentalPreserveModules -> preserveModules
419 - exports -> output.exports
420 - extend -> output.extend
421 - footer -> output.footer
422 - format -> output.format
423 - freeze -> output.freeze
424 - globals -> output.globals
425 - indent -> output.indent
426 - interop -> output.interop
427 - intro -> output.intro
428 - load -> use plugin API
429 - moduleName -> output.name
430 - name -> output.name
431 - noConflict -> output.noConflict
432 - output.moduleId -> output.amd.id
433 - outro -> output.outro
434 - paths -> output.paths
435 - preferConst -> output.preferConst
436 - pureExternalModules -> treeshake.pureExternalModules
437 - resolveExternal -> use plugin API
438 - resolveId -> use plugin API
439 - sourcemap -> output.sourcemap
440 - sourceMap -> output.sourcemap
441 - sourceMapFile -> output.sourcemapFile
442 - strict -> output.strict
443 - targets -> use output as an array
444 - transform -> use plugin API
445 - useStrict -> output.strict
446* In general, output options can no longer be used as input options (#2409)
447* `bundle.generate` and `bundle.write` now return a new format (#2293)
448* Several plugin hooks have become deprecated and will display warnings when used (#2409):
449 - transformBundle
450 - transformChunk
451 - ongenerate
452 - onwrite
453* Plugin transform dependencies are deprecated in favour of using the `this.addWatchFile` plugin context function (#2409)
454* Accessing `this.watcher` in plugin hooks is deprecated in favour of the `watchChange` plugin hook and the `this.addWatchFile` plugin context function (#2409)
455* Using dynamic import statements will by default create a new chunk unless `inlineDynamicImports` is used (#2293)
456* Rollup now uses acorn@6 which means that acorn plugins must be compatible with this version; acorn is now external for non-browser builds to make plugins work (#2293)
457
458### Features
459* The `--dir` ClI option can now be aliased as `-d` (#2293)
460* The `--input` option now supports named entry points via `=` (#2293)
461
462### Bug Fixes
463* Both the `--input` option as well as the default CLI option now support named inputs (#2293)
464
465### Pull Requests
466* [#2293](https://github.com/rollup/rollup/pull/2293): Unify code paths for 1.0 relase and update documentation (@guybedford and @lukastaegert)
467* [#2409](https://github.com/rollup/rollup/pull/2409): Remove old deprecated features and add new deprecation warnings (@guybedford)
468* [#2486](https://github.com/rollup/rollup/pull/2486): Upgrade to acorn 6 (@marijnh)
469* [#2611](https://github.com/rollup/rollup/pull/2611): Fix hook's name in test description (@Andarist)
470* [#2612](https://github.com/rollup/rollup/pull/2612): Fix a self-contradicting comment in the docs (@LongTengDao)
471
472## 0.68.2
473*2018-12-23*
474
475### Bug Fixes
476* Do not assume hoisted variables to have been initialized (#2607)
477
478### Pull Requests
479* [#2607](https://github.com/rollup/rollup/pull/2607): Fix an issues where hoisted variables were assumed to have been initialized (@lye)
480
481## 0.68.1
482*2018-12-19*
483
484### Bug Fixes
485* Fix an issue with UMD wrappers where a variable is used without being defined (#2600)
486
487### Pull Requests
488* [#2600](https://github.com/rollup/rollup/pull/2600): Fix UMD and IIFE wrapper issues and add comprehensive functional wrapper tests (@lukastaegert)
489
490## 0.68.0
491*2018-12-16*
492
493### Breaking Changes
494* `optimizeChunks` is renamed to `experimentalOptimizeChunks` to reflect this feature is not production-ready yet (#2575)
495
496### Features
497* Plugins can iterate all module ids via `this.moduleIds` (#2565)
498* Plugins can get graph information about a module via `this.getModuleInfo(id)` (#2565)
499* Plugins and JS API users get more information about the generated chunks: `dynamicImports`, `facadeModuleId`, `isDynamicEntry`, `name` (#2575)
500* Tree-shaken dynamic imports will no longer create chunks or influence chunking in any way (#2575)
501* Dynamic imports will no longer follow the `entryFileNames` but the `chunkFileNames` property reflecting those are solely internally used (#2575)
502* If there are chunk naming conflicts, entry chunks will always take precedence (#2575)
503* If an entry facade is created, only the facade chunk is marked as `isEntry` (#2575)
504* Dynamic chunks will only be marked as `isEntry` if they are actually entry chunks as well; thus there is now a 1-to-1 correspondence between modules listed in `input` and chunks marked as `isEntry` (#2575)
505* Chunks no longer contain imports for variables that are tree-shaken in the chunk but used in other chunks (#2584)
506* Chunks will always import re-exported variables directly from the chunk where they are originally exported from (#2584)
507* Null characters will be pruned from chunk ids to allow for virtually created chunks and make `rollup-plugin-multi-entry` compatible with code-splitting and thus the upcoming 1.0 version (#2590)
508* Simplify the UMD wrapper code as much as possible, especially if there are no exports (#2594)
509* The UMD wrapper will now work in strict mode by checking for `self` before `this` when determining the global variable (#2594)
510
511### Bug Fixes
512* If a facade is created for a dynamic entry point, this facade will be imported instead of the facaded chunk (#2575)
513* Manual chunks that include multiple entry points will have proper facades created for all entry points if necessary (#2575)
514* If missing exports are shimmed, the shim variable will not be global but created on a per-module basis and is deconflicted with variables having the same name (#2584)
515* Missing export shims work properly in SystemJS (#2584)
516* `preserveModules` now handles dynamic namespace imports (#2584)
517* Fix chunk execution order in certain scenarios (#2584)
518* Exports and assignments using destructuring syntax will properly update the exported variables when generating SystemJS output (#2587)
519* Hashes in chunk names will now also take dynamic imports into account (#2596)
520
521### Pull Requests
522* [#2565](https://github.com/rollup/rollup/pull/2565): Provide module graph information on the plugin context (@samccone)
523* [#2575](https://github.com/rollup/rollup/pull/2575): Extend bundle information, tree-shake dynamic imports, fix dynamic import facade creation, support manual chunks with multiple entry points, make `optimizeChunks` experimental (@lukastaegert)
524* [#2577](https://github.com/rollup/rollup/pull/2577): Update dependencies (@lukastaegert)
525* [#2584](https://github.com/rollup/rollup/pull/2584): Prune tree-shaken chunk imports, fix missing export shimming, support dynamic namespaces when preserving modules, improve chunk execution order (@lukastaegert)
526* [#2587](https://github.com/rollup/rollup/pull/2587): Support exports using destructuring declarations and assignments in SystemJS (@lukastaegert)
527* [#2590](https://github.com/rollup/rollup/pull/2590): Make sure chunk ids do not contain invalid characters to allow for chunks to correspond to virtual modules (@lukastaegert)
528* [#2594](https://github.com/rollup/rollup/pull/2594): Simplify UMD wrapper code and make sure it works in strict mode (@lukastaegert)
529* [#2596](https://github.com/rollup/rollup/pull/2596): Take both static and dynamic dependencies into account when calculating hashes (@lukastaegert)
530
531## 0.67.4
532*2018-12-03*
533
534### Bug Fixes
535* Prevent corrupt source maps for files with very long lines (#2571)
536
537### Pull Requests
538* [#2571](https://github.com/rollup/rollup/pull/2571): Fix an issue with long lines in sourcemaps (@mislav)
539
540## 0.67.3
541*2018-11-17*
542
543### Bug Fixes
544* Make sure the ESM browser build is actually published to npm (#2560)
545* Throw proper error when using `inlineDynamicImports` with `experimentalPreserveModules` (#2560)
546
547### Pull Requests
548* [#2552](https://github.com/rollup/rollup/pull/2552): Properly include ESM browser build in package (@lukastaegert)
549* [#2560](https://github.com/rollup/rollup/pull/2560): Show proper error when using `inlineDynamicImports` with `experimentalPreserveModules` (@clarkdo)
550
551## 0.67.2
552*2018-11-17*
553
554### Bug Fixes
555* Prevent crash when not returning sourcemaps from `renderChunk` plugin hook (#2558)
556
557### Pull Requests
558* [#2558](https://github.com/rollup/rollup/pull/2558): Prevent crash when not returning sourcemaps from `renderChunk` (@kyle1320)
559
560## 0.67.1
561*2018-11-11*
562
563### Bug Fixes
564* Deconflict CLI entry points with same name but on different paths if no explicit naming is used (#2548)
565
566### Pull Requests
567* [#2548](https://github.com/rollup/rollup/pull/2548): Deconflict CLI entry points with same name but on different paths if no explicit naming is used (@lukastaegert)
568
569## 0.67.0
570*2018-11-04*
571
572### Breaking Changes
573none
574
575### Features
576* Do not resolve external dynamic imports via plugins to match the logic for static external imports again (#2505)
577* Support virtual modules created by plugins when preserving modules (#2511)
578* Add new `output.sourcemapExcludeSources` option to exclude the actual sources from sourcemaps (#2531)
579
580### Bug Fixes
581* Fix TypeScript type for sourcemaps (#2507)
582* Fix order of external and inter-chunk imports to match the proper execution order (#2508)
583* Do not tree-shake children of unknown nodes to e.g. properly handle do-expressions via acorn plugin (#2510)
584* Prevent memory leak when using the bundle as cache (#2522)
585* Fix mis-placed semicolons for certain SystemJS exports (#2529)
586
587### Pull Requests
588* [#2505](https://github.com/rollup/rollup/pull/2505): Do not resolve external dynamic imports via plugins (@lukastaegert)
589* [#2507](https://github.com/rollup/rollup/pull/2507): Fix public sourcemap type (@aMarCruz)
590* [#2508](https://github.com/rollup/rollup/pull/2508): Improve execution order of chunks and externals (@lukastaegert)
591* [#2510](https://github.com/rollup/rollup/pull/2510): Do not tree-shake children of unknown nodes to e.g. properly handle do-expressions via acorn plugin (@devsnek)
592* [#2511](https://github.com/rollup/rollup/pull/2511): Create chunks for virtual modules when preserving modules (@lukastaegert)
593* [#2522](https://github.com/rollup/rollup/pull/2522): Prevent memory leak when using the bundle as cache (@kyle1320)
594* [#2529](https://github.com/rollup/rollup/pull/2529): Fix mis-placed semicolons for certain SystemJS exports (@kyle1320)
595* [#2531](https://github.com/rollup/rollup/pull/2531): add `sourcemapExcludeSources` option to exclude the source content from sourcemaps (@kitsonk)
596
597## 0.66.6
598*2018-10-10*
599* Properly deconflict function and class declaration ids of reassigned default exports ([#2502](https://github.com/rollup/rollup/pull/2502))
600
601## 0.66.5
602*2018-10-09*
603* Remove cache from memory once no longer needed ([#2496](https://github.com/rollup/rollup/pull/2496))
604* Provide better error message when reexporting external namespace reexports ([#2499](https://github.com/rollup/rollup/pull/2499))
605
606## 0.66.4
607*2018-10-04*
608* Fix links in warnings and errors ([#2471](https://github.com/rollup/rollup/pull/2471))
609
610## 0.66.3
611*2018-10-03*
612* Detect side-effects in string.replace function arguments ([#2476](https://github.com/rollup/rollup/pull/2476))
613* Make sure chunk ids are assigned before creating output bundle ([#2483](https://github.com/rollup/rollup/pull/2483))
614* Use proper plugin name in error ([#2470](https://github.com/rollup/rollup/pull/2470))
615* Update TypeScript version and fix type errors ([#2488](https://github.com/rollup/rollup/pull/2488))
616
617## 0.66.2
618*2018-09-21*
619* Add additional information to parse errors messages in JSON and other non-JS files ([#2466](https://github.com/rollup/rollup/pull/2466))
620
621## 0.66.1
622*2018-09-19*
623* Ignore falsy plugins ([#2464](https://github.com/rollup/rollup/pull/2464))
624* Switch back to official TypeScript plugin ([#2465](https://github.com/rollup/rollup/pull/2465))
625
626## 0.66.0
627*2018-09-16*
628* Support ES2019 optional catch bindings ([#2455](https://github.com/rollup/rollup/pull/2455))
629* Add option to transform paths within sourcemaps ([#2430](https://github.com/rollup/rollup/pull/2430))
630* Add renderStart and renderEnd plugin hooks ([#2438](https://github.com/rollup/rollup/pull/2438))
631* Expose ESM browser build and minify browser builds ([#2437](https://github.com/rollup/rollup/pull/2437)
632* Associate hoisted variables in function bodys with function parameters ([#2456](https://github.com/rollup/rollup/pull/2456))
633* Fix issue when deconflicting variables used as pattern defaults ([#2446](https://github.com/rollup/rollup/pull/2446))
634* Properly deconflict default exported class and function expressions with ids ([#2458](https://github.com/rollup/rollup/pull/2458))
635* Faster internal test builds ([#2457](https://github.com/rollup/rollup/pull/2457))
636* Switch to rollup-plugin-typescript2 ([#2460](https://github.com/rollup/rollup/pull/2460))
637* Fix internal "perf" script ([#2433](https://github.com/rollup/rollup/pull/2433))
638* Test that errors are passed to the buildEnd hook ([#2450](https://github.com/rollup/rollup/pull/2450))
639
640## 0.65.2
641*2018-09-05*
642* Prevent watch mode memory leak ([#2441](https://github.com/rollup/rollup/pull/2441))
643
644## 0.65.1
645*2018-09-05*
646* Prevent globbing when using chokidar ([#2432](https://github.com/rollup/rollup/pull/2432))
647
648## 0.65.0
649*2018-08-25*
650* Refactor and unify plugin system ([#2382](https://github.com/rollup/rollup/pull/2382))
651* Implement plugin cache API ([#2389](https://github.com/rollup/rollup/pull/2389))
652* Add watchChange plugin hook to watch changed files, deprecate asset dependencies ([#2405](https://github.com/rollup/rollup/pull/2405))
653* Refine asset handling ([#2369](https://github.com/rollup/rollup/pull/2369))
654* Implement `renderChunk` hook to replace `transformChunk` and `transformBundle` hooks ([#2406](https://github.com/rollup/rollup/pull/2406))
655* Add rollup version to plugin context ([#2394](https://github.com/rollup/rollup/pull/2394))
656* Do not resume stdin in watch mode to fix it for Lerna users ([#2410](https://github.com/rollup/rollup/pull/2410))
657* Allow `[format]` placeholder for id generation ([#2387](https://github.com/rollup/rollup/pull/2387))
658* Always log error stacks even when a code frame is given ([#2417](https://github.com/rollup/rollup/pull/2417))
659* Do not test module ids starting with `\0` as external ([#2400](https://github.com/rollup/rollup/pull/2400))
660* Fix tracing of namespace variables ([#2408](https://github.com/rollup/rollup/pull/2408))
661* Fix re-tracing of namespace variables ([#2420](https://github.com/rollup/rollup/pull/2420))
662* Properly wrap comment annotations in SystemJS exports ([#2408](https://github.com/rollup/rollup/pull/2408))
663* Fix renaming of destructured parameters ([#2419](https://github.com/rollup/rollup/pull/2419))
664* Do not display version in watch mode when using `--silent` ([#2392](https://github.com/rollup/rollup/pull/2392))
665* Make `cacheExpiry` an experimental option for now ([#2401](https://github.com/rollup/rollup/pull/2401))
666* Lint test configs on commit ([#2402](https://github.com/rollup/rollup/pull/2402))
667* Add code of conduct ([#2388](https://github.com/rollup/rollup/pull/2388))
668* Move to CircleCI ([#2390](https://github.com/rollup/rollup/pull/2390))
669* Update pull request template ([#2404](https://github.com/rollup/rollup/pull/2404))
670
671## 0.64.1
672*2018-08-07*
673* Do not render initializers of hoisted variables in dead branches ([#2384](https://github.com/rollup/rollup/pull/2384))
674
675## 0.64.0
676*2018-08-07*
677* Print memory consumption together with performance timings ([#2370](https://github.com/rollup/rollup/pull/2370))
678* Enable plugins to mark imports as external by returning false for resolveId ([#2351](https://github.com/rollup/rollup/pull/2351))
679* Always retain empty manual chunks ([#2362](https://github.com/rollup/rollup/pull/2362))
680* Ensure CLI warnings are shown on errors and add error for external id collisions ([#2334](https://github.com/rollup/rollup/pull/2334))
681* Remove unnecessary dependency, update dependencies, fix linting of test config ([#2376](https://github.com/rollup/rollup/pull/2376))
682* Add targeted Github issue templates ([#2356](https://github.com/rollup/rollup/pull/2356))
683
684## 0.63.5
685*2018-08-01*
686* Ensure onwrite plugin hooks execute in sequence ([#2364](https://github.com/rollup/rollup/pull/2364))
687* Always warn when no name is provided for a global module ([#2359](https://github.com/rollup/rollup/pull/2359))
688* Add utility type for user created plugins ([#2355](https://github.com/rollup/rollup/pull/2355))
689* Remove deprecated es6 format from types ([#2349](https://github.com/rollup/rollup/pull/2349))
690* Mark inlineDynamicImports as optional in types ([#2348](https://github.com/rollup/rollup/pull/2348))
691
692## 0.63.4
693*2018-07-20*
694* Use turbocolor instead of chalk ([#2339](https://github.com/rollup/rollup/pull/2339))
695
696## 0.63.3
697*2018-07-20*
698* Handle expressions where "in" and "instanceof" are applied to primitive values ([#2344](https://github.com/rollup/rollup/pull/2344))
699
700## 0.63.2
701*2018-07-18*
702* Fix bind order in for-of loops ([#2338](https://github.com/rollup/rollup/pull/2338))
703
704## 0.63.1
705*2018-07-18*
706
707## 0.63.0
708*2018-07-17*
709* Fix many tree-shaking related issues ([#2315](https://github.com/rollup/rollup/pull/2315))
710* Add experimental support for top-level await ([#2235](https://github.com/rollup/rollup/pull/2235))
711* Prevent duplicate version printout in watch mode ([#2325](https://github.com/rollup/rollup/pull/2325))
712* Respect error frames provided by plugins ([#2309](https://github.com/rollup/rollup/pull/2309))
713* Add `esm` format alias to types ([#2327](https://github.com/rollup/rollup/pull/2327))
714* Further unify internal test setup ([#2329](https://github.com/rollup/rollup/pull/2329))
715
716## 0.62.0
717*2018-06-27*
718* Add option to automatically shim missing exports ([#2118](https://github.com/rollup/rollup/pull/2118))
719* Inline dynamic imports that are also imported statically and only used in a single chunk ([#2295](https://github.com/rollup/rollup/pull/2295))
720* Handle caching and invalidation of assets ([#2267](https://github.com/rollup/rollup/pull/2267))
721* Fix plugin related types ([#2299](https://github.com/rollup/rollup/pull/2299))
722
723## 0.61.2
724*2018-06-23*
725* Improve watcher error handling, only rebuild invalidated outputs ([#2296](https://github.com/rollup/rollup/pull/2296))
726* Update dependencies, make watcher more stable ([#2297](https://github.com/rollup/rollup/pull/2297))
727
728## 0.61.1
729*2018-06-21*
730* Do not try to deconflict "undefined" ([#2291](https://github.com/rollup/rollup/pull/2291))
731* Properly track values for loop interator declarations and reassigned namespaces, add smoke test ([#2292](https://github.com/rollup/rollup/pull/2292))
732
733## 0.61.0
734*2018-06-20*
735* Declare file dependencies via transform plugin hooks ([#2259](https://github.com/rollup/rollup/pull/2259))
736* Handle undefined values when evaluating conditionals ([#2264](https://github.com/rollup/rollup/pull/2264))
737* Handle known undefined properties when evaluating conditionals ([#2265](https://github.com/rollup/rollup/pull/2265))
738* Access watch events via the plugin context ([#2261](https://github.com/rollup/rollup/pull/2261))
739* Add option to suppress `__esModule` flag in output ([#2287](https://github.com/rollup/rollup/pull/2287))
740* Fix issue when re-declaring variables, track reassignments in more cases ([#2279](https://github.com/rollup/rollup/pull/2279))
741* Add VSCode debug settings ([#2276](https://github.com/rollup/rollup/pull/2276))
742
743## 0.60.7
744*2018-06-14*
745* Fix typing issue ([#2269](https://github.com/rollup/rollup/pull/2269))
746
747## 0.60.6
748*2018-06-14*
749* Track mutations of included virtual arrays ([#2263](https://github.com/rollup/rollup/pull/2263))
750* Update readme ([#2266](https://github.com/rollup/rollup/pull/2266))
751
752## 0.60.5
753*2018-06-14*
754* Track deep reassignments of global and exported variables and improve performance ([#2254](https://github.com/rollup/rollup/pull/2254))
755
756## 0.60.4
757*2018-06-13*
758* Properly handle initially uninitialized exports and exports of globals in SystemJS output ([#2258](https://github.com/rollup/rollup/pull/2258))
759
760## 0.60.3
761*2018-06-13*
762* Fix types to allow watching an array of outputs ([#2262](https://github.com/rollup/rollup/pull/2262))
763
764## 0.60.2
765*2018-06-11*
766* Permit setting an asset's source in `generateBundle` ([#2256](https://github.com/rollup/rollup/pull/2256))
767* Add automatic linting ([#2242](https://github.com/rollup/rollup/pull/2242))
768
769## 0.60.1
770*2018-06-07*
771* Fix plugin regressions ([#2246](https://github.com/rollup/rollup/pull/2246))
772* Avoid conflicts for large numbers of variables ([#2244](https://github.com/rollup/rollup/pull/2244))
773
774## 0.60.0
775*2018-06-06*
776* New plugin hooks: transformChunk, buildStart, buildEnd; extended plugin context with warn, error, resolveId, isExternal, emitAsset, setAssetSource and getAssetFileName available to any hook ([#2208](https://github.com/rollup/rollup/pull/2208))
777* [BREAKING] Deprecate the `legacy` option and thus IE8 support ([#2141](https://github.com/rollup/rollup/pull/2141))
778* Detect more known extensions and load .mjs without extension ([#2211](https://github.com/rollup/rollup/pull/2211))
779* Add compact output mode ([#2151](https://github.com/rollup/rollup/pull/2151))
780* Significantly improve sourcemap generation performance ([#2228](https://github.com/rollup/rollup/pull/2228))
781* Enable naming SystemJS modules ([#2028](https://github.com/rollup/rollup/pull/2028))
782* Do not use alternate screen if clearScreen is set in watch mode ([#2125](https://github.com/rollup/rollup/pull/2125))
783* Allow object input form for code-splitting in watch mode ([#2217](https://github.com/rollup/rollup/pull/2217))
784* Track reassignments of methods of exports from outside ([#2240](https://github.com/rollup/rollup/pull/2240))
785* Preserve id of default exported functions and classes ([#2234](https://github.com/rollup/rollup/pull/2234))
786* Add semicolons after default exports ([#2209](https://github.com/rollup/rollup/pull/2209))
787* Fix build problems on Windows ([#2232](https://github.com/rollup/rollup/pull/2232))
788* Display install size in readme ([#2196](https://github.com/rollup/rollup/pull/2196))
789* Improve preserve modules test ([#2236](https://github.com/rollup/rollup/pull/2236))
790
791## 0.59.4
792*2018-05-28*
793* Fix performance regression when many return statements are used ([#2218](https://github.com/rollup/rollup/pull/2218))
794
795## 0.59.3
796*2018-05-24*
797* Fix reassignment tracking for constructor parameters ([#2214](https://github.com/rollup/rollup/pull/2214))
798
799## 0.59.2
800*2018-05-21*
801* Fix reassignment tracking in for-in loops ([#2205](https://github.com/rollup/rollup/pull/2205))
802
803## 0.59.1
804*2018-05-16*
805* Fix infinite recursion when determining literal values of circular structures ([#2193](https://github.com/rollup/rollup/pull/2193))
806* Fix invalid code when simplifying expressions without spaces ([#2194](https://github.com/rollup/rollup/pull/2194))
807
808## 0.59.0
809*2018-05-15*
810* Tree-shake statically analysable dynamic conditionals ([#2167](https://github.com/rollup/rollup/pull/2167))
811* Do not emit empty chunks when code-splitting or empty files when preserving modules ([#2128](https://github.com/rollup/rollup/pull/2128))
812* Support `import.meta.url` ([#2164](https://github.com/rollup/rollup/pull/2164))
813* Add `esm` format alias ([#2102](https://github.com/rollup/rollup/pull/2102))
814* Use alphanumeric base64 characters when deconflicting variables ([#2188](https://github.com/rollup/rollup/pull/2188))
815* Improve handling of external modules imported as both default and named imports ([#2136](https://github.com/rollup/rollup/pull/2136))
816* Properly deconflict named imports from other chunks ([#2177](https://github.com/rollup/rollup/pull/2177))
817* Fix an issue with namespaces containing reexports ([#2157](https://github.com/rollup/rollup/pull/2157))
818* Fix an issue with with incorrectly mapped default exports when code-splitting CJS or AMD modules ([#2178](https://github.com/rollup/rollup/pull/2178))
819* Fix an issue with wrong paths of relative external imports ([#2160](https://github.com/rollup/rollup/pull/2160))
820* Fix an issue when using default exports and `interop: false` ([#2149](https://github.com/rollup/rollup/pull/2149))
821* Fix in issue with invalid syntax in SystemJS output ([#2187](https://github.com/rollup/rollup/pull/2187))
822* Fix an issue when tree-shaking call expressions and reassigned variables ([#2186](https://github.com/rollup/rollup/pull/2186))
823* Fix file paths in source maps ([#2161](https://github.com/rollup/rollup/pull/2161))
824* Fix wrong file name in error message ([#2137](https://github.com/rollup/rollup/pull/2137))
825* Always use npm 5 on CI ([#2185](https://github.com/rollup/rollup/pull/2185))
826
827## 0.58.2
828*2018-04-23*
829* Fix rendering of certain statically resolvable if statements ([#2146](https://github.com/rollup/rollup/pull/2146))
830
831## 0.58.1
832*2018-04-18*
833* Fix comment detection ([#2129](https://github.com/rollup/rollup/pull/2129))
834
835## 0.58.0
836*2018-04-16*
837* Support individual chunk names with optional content hashes ([#2068](https://github.com/rollup/rollup/pull/2068))
838* Support manually created chunks ([#2084](https://github.com/rollup/rollup/pull/2084))
839* Automatically import deep dependencies when code splitting for better performance ([#2073](https://github.com/rollup/rollup/pull/2073))
840* Automatically minify internal export/import names for esm and system output ([#2087](https://github.com/rollup/rollup/pull/2087))
841* Add option to automatically merge small chunks ([#2090](https://github.com/rollup/rollup/pull/2090))
842* Significantly improve tree-shaking performance ([#2119](https://github.com/rollup/rollup/pull/2119))
843* Enable tree-shaking for logical expressions ([#2098](https://github.com/rollup/rollup/pull/2098))
844* Rework external types and reduce type related dependencies ([#2108](https://github.com/rollup/rollup/pull/2108))
845* Support parallel dependency resolution ([#2116](https://github.com/rollup/rollup/pull/2116))
846* Improve deprecation handling ([#2076](https://github.com/rollup/rollup/pull/2076))
847* Enable `--perf` timings in watch mode ([#2065](https://github.com/rollup/rollup/pull/2065))
848* Improve performance timers ([#2111](https://github.com/rollup/rollup/pull/2111))
849* Improve error handling for plugins ([#2100](https://github.com/rollup/rollup/pull/2100))
850* Improve error when using `--dir` in a single file build ([#2123](https://github.com/rollup/rollup/pull/2123))
851* Do not warn for external imports that are unused due to tree-shaking ([#2124](https://github.com/rollup/rollup/pull/2124))
852* Update mixed export warning message ([#2107](https://github.com/rollup/rollup/pull/2107))
853* Remove duplicate badges from readme ([#2083](https://github.com/rollup/rollup/pull/2083))
854* Update readme examples ([#2086](https://github.com/rollup/rollup/pull/2086))
855
856## 0.57.1
857*2018-03-17*
858* Improve sourcemap generation performance ([#2062](https://github.com/rollup/rollup/pull/2062))
859* Add reserved config option namespace and improve CLI interface ([#2063](https://github.com/rollup/rollup/pull/2063))
860* Fix issue with default exported function and class expressions ([#2059](https://github.com/rollup/rollup/pull/2059))
861* Replace `forEach` with faster `for` loops in some places ([#2064](https://github.com/rollup/rollup/pull/2064))
862
863## 0.57.0
864*2018-03-15*
865* Add option to preserve the module structure instead of bundling ([#1922](https://github.com/rollup/rollup/pull/1922))
866* Enable watch mode when code-splitting ([#2035](https://github.com/rollup/rollup/pull/2035))
867* Optionally pass CLI commands to config file ([#1926](https://github.com/rollup/rollup/pull/1926))
868* Option to add correct `.toString` tags to namespaces ([#2041](https://github.com/rollup/rollup/pull/2041))
869* Option and scripts to display performance timings ([#2045](https://github.com/rollup/rollup/pull/2045))
870* Fixes for exported or early accessed namespaces + improved namespace indentation ([#2041](https://github.com/rollup/rollup/pull/2041))
871* Include missing TypeScript dependencies ([#1965](https://github.com/rollup/rollup/pull/1965))
872* Add #_PURE annotation to frozen namespaces ([#2044](https://github.com/rollup/rollup/pull/2044))
873* Improve sourcemap and tree-shaking performance ([#2052](https://github.com/rollup/rollup/pull/2052))
874* Inline sourcemap lookups and make rollup smaller ([#2055](https://github.com/rollup/rollup/pull/2055))
875* Use updated magic-string types ([#2057](https://github.com/rollup/rollup/pull/2057))
876* [BREAKING] Revert class id preservation from #2025 ([#2048](https://github.com/rollup/rollup/pull/2048))
877* [BREAKING] Refactor missing export plugin hook ([#1987](https://github.com/rollup/rollup/pull/1987))
878
879## 0.56.5
880*2018-03-07*
881* Preserve ids when deconflicting classes ([#2025](https://github.com/rollup/rollup/pull/2025))
882* Fix an issue with re-exported namespace imports ([#2034](https://github.com/rollup/rollup/pull/2034))
883* Prevent an infinite loop when binding member expressions ([#1963](https://github.com/rollup/rollup/pull/1963))
884* Convert code style via prettier ([#2031](https://github.com/rollup/rollup/pull/2031))
885* Fix links in documentation ([#2026](https://github.com/rollup/rollup/pull/2026))
886
887## 0.56.4
888*2018-03-05*
889* Make rollup builds reproducible ([#2024](https://github.com/rollup/rollup/pull/2024))
890* Improve error handling for source maps ([#2012](https://github.com/rollup/rollup/pull/2012))
891* Properly handle SystemJS default exports without semicolons ([#2019](https://github.com/rollup/rollup/pull/2019))
892* Properly handle importing the same variable several times when code-splitting ([#2020](https://github.com/rollup/rollup/pull/2020))
893* Improve re-export tracing ([#2021](https://github.com/rollup/rollup/pull/2021))
894* Apply "prettier" on commit ([#2017](https://github.com/rollup/rollup/pull/2017))
895* Automatically clean up outdated tests ([#2009](https://github.com/rollup/rollup/pull/2009))
896* Add SystemJS output to form tests ([#2022](https://github.com/rollup/rollup/pull/2022))
897* Improve internal build configuration ([#2016](https://github.com/rollup/rollup/pull/2016))
898
899## 0.56.3
900*2018-02-25*
901* Fix issues around default exports and module facades ([#2001](https://github.com/rollup/rollup/pull/2001))
902* Improve and fix internal chunk interface ([#1994](https://github.com/rollup/rollup/pull/1994))
903* Fix superfluous semicolons added after declarations ([#1999](https://github.com/rollup/rollup/pull/1999))
904* Improve code-splitting tests ([#1990](https://github.com/rollup/rollup/pull/1990))
905
906## 0.56.2
907*2018-02-19*
908* Fix handling of reassigned default exports ([#1975](https://github.com/rollup/rollup/pull/1975))
909* Fix handling of renamed exports in entry points ([#1977](https://github.com/rollup/rollup/pull/1977))
910* Update internal TypeScript version ([#1980](https://github.com/rollup/rollup/pull/1980))
911* Omit compiled source files from published types ([#1981](https://github.com/rollup/rollup/pull/1981))
912* Fix example in readme file ([#1984](https://github.com/rollup/rollup/pull/1984))
913* Fix non-replaced dynamic imports in non-ESM output ([#1985](https://github.com/rollup/rollup/pull/1985))
914
915## 0.56.1
916*2018-02-16*
917* Fix regression when rendering switch statements ([#1971](https://github.com/rollup/rollup/pull/1971))
918
919## 0.56.0
920*2018-02-15*
921* Update to ECMAScript 2018 ([#1953](https://github.com/rollup/rollup/pull/1953))
922* Rework tree-shaking rendering algorithm ([#1949](https://github.com/rollup/rollup/pull/1949))
923* Tree-shake pure prototype calls on literals ([#1916](https://github.com/rollup/rollup/pull/1916))
924* Expose AST parser to plugins ([#1945](https://github.com/rollup/rollup/pull/1945))
925* Fix namespace re-export deconflicting ([#1960](https://github.com/rollup/rollup/pull/1960))
926* Allow globals to be re-exported ([#1959](https://github.com/rollup/rollup/pull/1959))
927* Fix internal performance timers ([#1966](https://github.com/rollup/rollup/pull/1966))
928
929## 0.55.5
930*2018-02-10*
931* Remove OpenCollective dependency ([#1915](https://github.com/rollup/rollup/pull/1915))
932
933## 0.55.4
934*2018-02-09*
935* Improve name deconflicting of external variables ([#1930](https://github.com/rollup/rollup/pull/1930))
936* Improve re-export handling ([#1947](https://github.com/rollup/rollup/pull/1947))
937* Mark preserveSymlinks option as optional ([#1939](https://github.com/rollup/rollup/pull/1939))
938* Enable code-splitting tests to check directory structures ([#1924](https://github.com/rollup/rollup/pull/1924))
939* Improve TypeScript definition test ([#1954](https://github.com/rollup/rollup/pull/1954))
940
941## 0.55.3
942*2018-02-01*
943* Remove OpenCollective dependency ([#1915](https://github.com/rollup/rollup/pull/1915))
944
945## 0.55.2
946*2018-02-01*
947* Add option to not follow symlinks ([#1819](https://github.com/rollup/rollup/pull/1819))
948* Fix crash in windows shell ([#1928](https://github.com/rollup/rollup/pull/1928))
949* Fix and test for external TypeScript errors ([#1903](https://github.com/rollup/rollup/pull/1903))
950* Activate OpenCollective ([#1915](https://github.com/rollup/rollup/pull/1915))
951* Optimize CI scripts ([#1921](https://github.com/rollup/rollup/pull/1921))
952
953## 0.55.1
954*2018-01-26*
955* Improve dynamic import workflow ([#1907](https://github.com/rollup/rollup/pull/1907))
956* Properly handle multiple dynamic imports of the same module ([#1911](https://github.com/rollup/rollup/pull/1911))
957* Fix import specifier deshadowing ([#1912](https://github.com/rollup/rollup/pull/1912))
958* Allow plugin load hook to return an empty string ([#1908](https://github.com/rollup/rollup/pull/1908))
959* Let onwarn handler accept strings ([#1905](https://github.com/rollup/rollup/pull/1905))
960
961## 0.55.0
962*2018-01-23*
963* Support code splitting ([#1841](https://github.com/rollup/rollup/pull/1841))
964* Support SystemJS as output format ([#1897](https://github.com/rollup/rollup/pull/1897))
965* Allow injecting acorn plugins ([#1857](https://github.com/rollup/rollup/pull/1857))
966* Add `missingExport` plugin hook ([#1845](https://github.com/rollup/rollup/pull/1845))
967* No longer parse config files via bublé ([#1899](https://github.com/rollup/rollup/pull/1899))
968* Use externally maintained dynamic import acorn plugin ([#1891](https://github.com/rollup/rollup/pull/1891))
969* Fix an error message ([#1886](https://github.com/rollup/rollup/pull/1886))
970* Refactor internal rendering options ([#1900](https://github.com/rollup/rollup/pull/1900))
971* Extract internal path resolution ([#1879](https://github.com/rollup/rollup/pull/1879))
972* Extract internal bundle option handling ([#1880](https://github.com/rollup/rollup/pull/1880))
973* Add import description type ([#1884](https://github.com/rollup/rollup/pull/1884))
974* Clean up watch options types ([#1860](https://github.com/rollup/rollup/pull/1860))
975* Clean up some tests ([#1888](https://github.com/rollup/rollup/pull/1888))
976
977## 0.54.1
978*2018-01-17*
979* Fix TypeScript errors in emitted type definitions ([#1871](https://github.com/rollup/rollup/pull/1871))
980
981## 0.54.0
982*2018-01-12*
983* Automatically inline locally resolvable dynamic imports ([#1816](https://github.com/rollup/rollup/pull/1816))
984* Preserve directives in function bodies ([#1856](https://github.com/rollup/rollup/pull/1856))
985* Refactor an error notification ([#1846](https://github.com/rollup/rollup/pull/1846))
986* Refactor a wrong import ([#1863](https://github.com/rollup/rollup/pull/1863))
987* Improve emitted TypeScript definitions ([#1864](https://github.com/rollup/rollup/pull/1864))
988* Refactor unused import ([#1866](https://github.com/rollup/rollup/pull/1866))
989
990## 0.53.4
991*2018-01-10*
992* More type cleanup ([#1858](https://github.com/rollup/rollup/pull/1858))
993* Use chalks internal helper to detect if colors should be used ([#1853](https://github.com/rollup/rollup/pull/1853))
994* Refactor entity handling to use interfaces ([#1840](https://github.com/rollup/rollup/pull/1840))
995* Use immutable.js internal types ([#1844](https://github.com/rollup/rollup/pull/1844))
996* Ship `TypeScript` declaration files ([#1837](https://github.com/rollup/rollup/pull/1837))
997
998## 0.53.3
999*2018-01-02*
1000* Use correct name when re-exporting from external modules ([#1794](https://github.com/rollup/rollup/pull/1794))
1001* Disable warnings when `resolveId` returns false ([#1825](https://github.com/rollup/rollup/pull/1825))
1002
1003## 0.53.2
1004*2017-12-30*
1005* Properly handle output arrays in the JavaScript API ([#1827](https://github.com/rollup/rollup/pull/1827))
1006
1007## 0.53.1
1008*2017-12-28*
1009* Properly deprecate more config options ([#1812](https://github.com/rollup/rollup/pull/1812))
1010* Pass output options to `transformBundle` plugin hook ([#1813](https://github.com/rollup/rollup/pull/1813))
1011
1012## 0.53.0
1013*2017-12-22*
1014* Experimental dynamic import support ([#1790](https://github.com/rollup/rollup/pull/1790))
1015* Unify config validation ([#1805](https://github.com/rollup/rollup/pull/1805))
1016
1017## 0.52.3
1018*2017-12-19*
1019* Properly hoist default exported functions in more situations ([#1799](https://github.com/rollup/rollup/pull/1799))
1020* Allow plugin transformations to not overwrite source maps by returning null ([#1797](https://github.com/rollup/rollup/pull/1797))
1021* Provide more parameters to "external" handler ([#1792](https://github.com/rollup/rollup/pull/1792))
1022
1023## 0.52.2
1024*2017-12-15*
1025* No longer ignore side-effects in JSON.parse and JSON.stringify ([#1785](https://github.com/rollup/rollup/pull/1785))
1026* Updated links in warnings ([#1776](https://github.com/rollup/rollup/pull/1776))
1027* No longer prevent self-imports ([#1777](https://github.com/rollup/rollup/pull/1777))
1028* Properly hoist default exported functions ([#1787](https://github.com/rollup/rollup/pull/1787))
1029* Prevent corruption when re-exporting default exports ([#1765](https://github.com/rollup/rollup/pull/1765))
1030
1031## 0.52.1
1032*2017-12-05*
1033* Improve deprecation warnings ([#1765](https://github.com/rollup/rollup/pull/1765))
1034* Properly use stdin ([#1774](https://github.com/rollup/rollup/pull/1774))
1035* Let --environment be used multiple times ([#1768](https://github.com/rollup/rollup/pull/1768))
1036* Always transpile config files ([#1759](https://github.com/rollup/rollup/pull/1759))
1037* Respect globals option in headers of UMD and IIFE files ([#1747](https://github.com/rollup/rollup/pull/1747))
1038
1039## 0.52.0
1040*2017-11-25*
1041* Accept config as promise ([#1731](https://github.com/rollup/rollup/pull/1731))
1042* Accept promises for intro/outro/banner/footer ([#1253](https://github.com/rollup/rollup/pull/1253))
1043* Option to prevent freezing of namespace imports ([#1696](https://github.com/rollup/rollup/pull/1696))
1044* Option to retain all output in watch mode ([#1688](https://github.com/rollup/rollup/pull/1688))
1045* Options to fine-tune treeshaking ([#1760](https://github.com/rollup/rollup/pull/1760))
1046
1047## 0.51.8
1048*2017-11-19*
1049* Fix speed problems by simplifying treeshaking reassignment handling ([#1740](https://github.com/rollup/rollup/pull/1740))
1050* Update dependencies ([#1742](https://github.com/rollup/rollup/pull/1742))
1051
1052## 0.51.7
1053*2017-11-17*
1054* Keep "this"-context when calling sequence expressions ([#1724](https://github.com/rollup/rollup/pull/1724))
1055
1056## 0.51.6
1057*2017-11-16*
1058* Use sourcemaps to determine error locations ([#1728](https://github.com/rollup/rollup/pull/1728))
1059
1060## 0.51.5
1061*2017-11-11*
1062* Fix regressions with uninitialised conditional expressions ([#1720](https://github.com/rollup/rollup/pull/1720))
1063
1064## 0.51.4
1065*2017-11-11*
1066* Fix regressions preventing builds ([#1725](https://github.com/rollup/rollup/pull/1725))
1067
1068## 0.51.3
1069*2017-11-10*
1070* Fix regression when treeshaking sequence expressions ([#1717](https://github.com/rollup/rollup/pull/1717))
1071
1072## 0.51.2
1073*2017-11-09*
1074* Fix treeshaking regression when labels are used inside functions ([#1712](https://github.com/rollup/rollup/pull/1712))
1075
1076## 0.51.1
1077*2017-11-08*
1078* Fix an issue with empty return statements ([#1704](https://github.com/rollup/rollup/pull/1704))
1079
1080## 0.51.0
1081*2017-11-08*
1082* Massive improvements to the treeshaking algorithm ([#1667](https://github.com/rollup/rollup/pull/1667))
1083
1084## 0.50.1
1085*2017-11-08*
1086* Fix treeshaking regression ([#1695](https://github.com/rollup/rollup/pull/1695))
1087* Treeshaking improvements ([#1650](https://github.com/rollup/rollup/pull/1650))
1088* Enable installation from Github ([#1670](https://github.com/rollup/rollup/pull/1670))
1089* Update documentation ([#1660](https://github.com/rollup/rollup/pull/1660))
1090
1091## 0.50.0
1092*2017-09-16*
1093* Many treeshaking improvements ([#1624](https://github.com/rollup/rollup/pull/1624))
1094* Show finish time in watch mode ([#1620](https://github.com/rollup/rollup/pull/1620))
1095
1096## 0.49.3
1097*2017-09-08*
1098* Respect `watch` options ([#1596](https://github.com/rollup/rollup/issues/1596))
1099* Fix treeshaking regressions ([#1604](https://github.com/rollup/rollup/pull/1604))
1100* Allow `-o` to work with `output.format` ([#1606](https://github.com/rollup/rollup/pull/1606))
1101
1102## 0.49.2
1103*2017-08-29*
1104* Fix treeshaking regressions ([#1591](https://github.com/rollup/rollup/pull/1591))
1105
1106## 0.49.1
1107*2017-08-28*
1108* Fix treeshaking regressions ([#1586](https://github.com/rollup/rollup/pull/1586))
1109
1110## 0.49.0
1111*2017-08-27*
1112* Completely update the treeshaking algorithm ([#1582](https://github.com/rollup/rollup/pull/1582))
1113* Only flip screen buffer if appropriate ([#1574](https://github.com/rollup/rollup/pull/1574))
1114* Guard against two instances creating the same dir ([#1576](https://github.com/rollup/rollup/pull/1576))
1115
1116## 0.48.2
1117
1118* Paths is an output option ([#1569](https://github.com/rollup/rollup/pull/1569))
1119
1120## 0.48.1
1121
1122* Print deprecation warnings in watch mode, and fix options when watcher restarts ([#1568](https://github.com/rollup/rollup/pull/1568))
1123
1124## 0.48.0
1125
1126* Numerous changes to the `options` object and CLI arguments ([#1479](https://github.com/rollup/rollup/issues/1479)). See [this gist](https://gist.github.com/Rich-Harris/d472c50732dab03efeb37472b08a3f32) for a rundown.
1127
1128## 0.47.6
1129
1130* Set `process.env.ROLLUP_WATCH` *before* loading config file
1131
1132## 0.47.5
1133
1134* Fix broken multi-bundle configs with `rollup.watch` ([#1532](https://github.com/rollup/rollup/issues/1532))
1135
1136## 0.47.4
1137
1138* Delete cached config file before reloading in watch mode
1139
1140## 0.47.3
1141
1142* Deshadow aliased imports ([#1550](https://github.com/rollup/rollup/issues/1550))
1143
1144## 0.47.2
1145
1146* Rebuild with dependency that npm randomly deleted
1147
1148## 0.47.1
1149
1150* Ignore external namespace imports when deshadowing ([#1547](https://github.com/rollup/rollup/issues/1547))
1151
1152## 0.47.0
1153
1154* Watch config file, restart `rollup.watch` on change ([#1535](https://github.com/rollup/rollup/issues/1535))
1155* Correctly render `export { foo } from` declarations in `es` output ([#1543](https://github.com/rollup/rollup/pull/1543))
1156* Reinstate missing `rollup.VERSION`
1157
1158## 0.46.3
1159
1160* init for/for-of loop section head with correct scopes ([#1538](https://github.com/rollup/rollup/issues/1538), [#1539](https://github.com/rollup/rollup/issues/1539))
1161* Fix namespace imports and re-exports in `es` output ([#1511](https://github.com/rollup/rollup/issues/1511))
1162* Deshadow indirectly imported namespaces ([#1488](https://github.com/rollup/rollup/issues/1488), [#1505](https://github.com/rollup/rollup/issues/1505))
1163
1164## 0.46.2
1165
1166* Pass options to `bundle.write` correctly in `rollup.watch` ([#1533](https://github.com/rollup/rollup/issues/1533))
1167* init for-in loop section head with correct scopes ([#1480](https://github.com/rollup/rollup/issues/1480))
1168* support `--no-interop` flag ([#1524](https://github.com/rollup/rollup/issues/1524))
1169
1170## 0.46.1
1171
1172* Remove `rollup.watch` from browser build ([#1530](https://github.com/rollup/rollup/issues/1530))
1173* Remove `source-map-support` dependency ([#1528](https://github.com/rollup/rollup/issues/1528))
1174
1175## 0.46.0
1176
1177* `options.format` is now required ([#1491](https://github.com/rollup/rollup/pull/1491))
1178* if `options.format` is `es6`, it will now throw an error (should be `es`) ([#1491](https://github.com/rollup/rollup/pull/1491))
1179* Add experimental `rollup.watch` method, replacing [rollup-watch](https://github.com/rollup/rollup-watch) ([#1491](https://github.com/rollup/rollup/pull/1491))
1180* Batch warnings together in CLI output ([#1491](https://github.com/rollup/rollup/pull/1491))
1181* Clear screen between rebuilds in `--watch` mode ([#1491](https://github.com/rollup/rollup/pull/1491))
1182* `onwarn` function's second argument is the default handler, allowing easier filtering without reimplementing any logic ([#1491](https://github.com/rollup/rollup/pull/1491))
1183* Prevent semi-colon removal after variable declaration that is for loop body ([#1275](https://github.com/rollup/rollup/issues/1275))
1184* Return `exports` for namespaced but non-extended IIFE bundles ([#1492](https://github.com/rollup/rollup/issues/1492))
1185* Fix scoping in switch statements ([#1498](https://github.com/rollup/rollup/pull/1498))
1186* Handle side-effects in tagged template expressions ([#1508](https://github.com/rollup/rollup/pull/1508))
1187* More descriptive error for missing options.format ([#1510](https://github.com/rollup/rollup/pull/1510))
1188* Refactor scope handling ([#1517](https://github.com/rollup/rollup/pull/1517))
1189* Handle failure of a config in multi-config build ([#1513](https://github.com/rollup/rollup/issues/1513))
1190
1191
1192## 0.45.2
1193
1194* Fix interop when import is a string ([#1486](https://github.com/rollup/rollup/issues/1486))
1195* Separate `resolvedIds` from `resolvedExternalIds` ([#1490](https://github.com/rollup/rollup/pull/1490))
1196* Add `--extend` flag to CLI ([#1482](https://github.com/rollup/rollup/pull/1482))
1197
1198## 0.45.1
1199
1200* Remove `weak` from `optionalDependencies` ([#1483](https://github.com/rollup/rollup/issues/1483))
1201
1202## 0.45.0
1203
1204* [BREAKING] `bundle.generate(...)` returns a Promise, so that `transformBundle` plugin hooks can be asynchronous ([#1474](https://github.com/rollup/rollup/issues/1474))
1205
1206## 0.44.0
1207
1208* [BREAKING] Don't extend existing globals, unless `options.extend` is true ([#827](https://github.com/rollup/rollup/issues/827))
1209* Fix handling of catch clause parameters ([#1462](https://github.com/rollup/rollup/issues/1462))
1210
1211## 0.43.1
1212
1213* Fix memory leak on incremental rebuilds ([#883](https://github.com/rollup/rollup/issues/883))
1214* Allow `this.warn` and `this.error` to accept a `{line, column}` object as an alternative to a character index ([#1265](https://github.com/rollup/rollup/issues/1265))
1215* Print more useful error if entry module is 'external' ([#1264](https://github.com/rollup/rollup/issues/1264))
1216* Catch errors in `bundle.generate` options ([#1463](https://github.com/rollup/rollup/pull/1463))
1217* Fix magic-string deprecation warning ([#1445](https://github.com/rollup/rollup/pull/1445))
1218
1219## 0.43.0
1220
1221* Allow config files to import JSON ([#1426](https://github.com/rollup/rollup/issues/1426))
1222* Allow undefined imports in interop block ([#1341](https://github.com/rollup/rollup/issues/1341))
1223* Add `process.env.ROLLUP_WATCH = 'true'` in watch mode ([#1429](https://github.com/rollup/rollup/issues/1429))
1224* Add `pureExternalModules` option ([#1352](https://github.com/rollup/rollup/issues/1352))
1225* Allow plugins to specify `options.entry` ([#1270](https://github.com/rollup/rollup/issues/1270))
1226* Update dependencies
1227
1228## 0.42.0
1229
1230* Deprecate `options.moduleId` in favour of `options.amd.id` ([#1365](https://github.com/rollup/rollup/pull/1365))
1231* Add `options.amd.define` option to specify name of AMD `define` function ([#1365](https://github.com/rollup/rollup/pull/1365))
1232* Fix incorrect class removal with `treeshake: false` ([#1375](https://github.com/rollup/rollup/pull/1375))
1233* Deconflict module exports imported as namespaces ([#1384](https://github.com/rollup/rollup/issues/1384))
1234* Handle bare self-imports ([#1274](https://github.com/rollup/rollup/issues/1274))
1235* Allow config file to export an array of multiple configs ([#1389](https://github.com/rollup/rollup/pull/1389))
1236* Handle exponentiation operator, and fail gracefully on unknown operators ([#1416](https://github.com/rollup/rollup/issues/1416))
1237* Add `watch` option ([#1424](https://github.com/rollup/rollup/pull/1424))
1238
1239## 0.41.6
1240
1241* Preserve `originalSourceMap` on incremental rebuilds for loaders with sourcemaps ([#1336](https://github.com/rollup/rollup/issues/1336))
1242
1243## 0.41.5
1244
1245* Wrap ternary consequent/alternate sequences in parens ([#1273](https://github.com/rollup/rollup/issues/1273))
1246* Fix erroneous warning on multiple `export * from` declarations with defaults ([#1278](https://github.com/rollup/rollup/issues/1278))
1247* Prevent variable conflicts with `treeshake: false` ([#1268](https://github.com/rollup/rollup/issues/1268))
1248* Allow missing `source` when collapsing sourcemaps ([#1254](https://github.com/rollup/rollup/issues/1254))
1249* Allow plugins to log with strings ([#1316](https://github.com/rollup/rollup/pull/1316))
1250
1251## 0.41.4
1252
1253* Fix cases of multiple `export * from 'external'` declarations ([#1252](https://github.com/rollup/rollup/issues/1252))
1254* Fix 'TODO' error message ([#1257](https://github.com/rollup/rollup/issues/1257))
1255
1256## 0.41.3
1257
1258* Don't treat `this.foo` as possible namespace ([#1258](https://github.com/rollup/rollup/issues/1258))
1259
1260## 0.41.2
1261
1262* Optimize `namespace['foo']` references ([#1240](https://github.com/rollup/rollup/pull/1240))
1263
1264## 0.41.1
1265
1266* Include `new` expressions where callee is a class with side-effects ([#980](https://github.com/rollup/rollup/issues/980) [#1233](https://github.com/rollup/rollup/issues/1233))
1267
1268## 0.41.0
1269
1270* Add `this.warn(...)` and `this.error(...)` methods to plugin `transform` hook contexts ([#1140](https://github.com/rollup/rollup/issues/1140))
1271* `throw` always considered to be a side effect ([#1227](https://github.com/rollup/rollup/pull/1227))
1272
1273## 0.40.2
1274
1275* Add `file` property to sourcemaps for bundles with plugins ([#986](https://github.com/rollup/rollup/issues/986))
1276* Don't require globals for empty imports ([#1217](https://github.com/rollup/rollup/issues/1217))
1277
1278## 0.40.1
1279
1280* Allow missing space between `export default` and declaration ([#1218](https://github.com/rollup/rollup/pull/1218))
1281
1282## 0.40.0
1283
1284* [BREAKING] Better, more consistent error logging ([#1212](https://github.com/rollup/rollup/pull/1212))
1285* Don't use colours and emojis for non-TTY stderr ([#1201](https://github.com/rollup/rollup/issues/1201))
1286
1287## 0.39.2
1288
1289* Prevent mutation of cached ASTs (fixes stack overflow with rollup-watch) ([#1205](https://github.com/rollup/rollup/pull/1205))
1290
1291## 0.39.1
1292
1293* Ignore `var` initialisers in dead branches ([#1198](https://github.com/rollup/rollup/issues/1198))
1294
1295## 0.39.0
1296
1297* [BREAKING] Warnings are objects, rather than strings ([#1194](https://github.com/rollup/rollup/issues/1194))
1298
1299## 0.38.3
1300
1301* More informative warning for implicit external dependencies ([#1051](https://github.com/rollup/rollup/issues/1051))
1302* Warn when creating browser bundle with external dependencies on Node built-ins ([#1051](https://github.com/rollup/rollup/issues/1051))
1303* Statically analyse LogicalExpression nodes, for better dead code removal ([#1061](https://github.com/rollup/rollup/issues/1061))
1304
1305## 0.38.2
1306
1307* Preserve `var` declarations in dead branches ([#997](https://github.com/rollup/rollup/issues/997))
1308* Warn if exporting a call expression that looks like a function declaration ([#1011](https://github.com/rollup/rollup/issues/1011))
1309* Wrap function expressions in parentheses if necessary ([#1011](https://github.com/rollup/rollup/issues/1011))
1310
1311## 0.38.1
1312
1313* Fix sourcemap comment removal ([#1104](https://github.com/rollup/rollup/issues/1104))
1314* Warn if empty bundle is generated ([#444](https://github.com/rollup/rollup/issues/444))
1315* Support ES2017 syntax ([#492](https://github.com/rollup/rollup/issues/492))
1316* Remove unused imports from external modules ([#595](https://github.com/rollup/rollup/issues/595))
1317* Remove unused function and class declarations inside function bodies ([#1108](https://github.com/rollup/rollup/issues/1108), [#1178](https://github.com/rollup/rollup/issues/1178))
1318* Deconflict function expression IDs ([#1176](https://github.com/rollup/rollup/issues/1176))
1319
1320## 0.38.0
1321
1322* [BREAKING] `export { foo as default }` creates live binding ([#1078](https://github.com/rollup/rollup/issues/1078))
1323* Prevent sourceMappingURL removal edge case ([#988](https://github.com/rollup/rollup/issues/988))
1324* Bind function expression IDs to the correct scope ([#1083](https://github.com/rollup/rollup/issues/1083))
1325* Correctly deshadow destructured parameters with assignments ([#1008](https://github.com/rollup/rollup/issues/1008))
1326
1327## 0.37.2
1328
1329* Remove unused `new` expressions without side-effects ([#179](https://github.com/rollup/rollup/issues/179))
1330* Only remove valid sourceMappingURL comments ([#1132](https://github.com/rollup/rollup/issues/1132))
1331* Ensure blocks containing activated `var` declarations are included in output ([#1113](https://github.com/rollup/rollup/issues/1113))
1332* Support plugin outros ([#1116](https://github.com/rollup/rollup/issues/1116))
1333
1334## 0.37.1
1335
1336* Follow symlinks ([#447](https://github.com/rollup/rollup/issues/447))
1337* Fix tree-shaking of recursive functions and other cases ([#1120](https://github.com/rollup/rollup/issues/1120), [#1142](https://github.com/rollup/rollup/issues/1142))
1338* Support module names that require quotes ([#582](https://github.com/rollup/rollup/issues/582), [#584](https://github.com/rollup/rollup/issues/584))
1339* Fix [#957](https://github.com/rollup/rollup/issues/957)
1340
1341## 0.37.0
1342
1343* [BREAKING] Default exports are not included in reified namespaces ([#1028](https://github.com/rollup/rollup/issues/1028))
1344* Parentheses do not defeat tree-shaking ([#1101](https://github.com/rollup/rollup/issues/1101), [#1128](https://github.com/rollup/rollup/issues/1128))
1345* More `legacy` fixes: do not create getters ([#1069](https://github.com/rollup/rollup/pull/1069)), do not include `__esModule` ([#1068](https://github.com/rollup/rollup/pull/1068)), quote reserved property names ([#1057](https://github.com/rollup/rollup/pull/1057))
1346* Fix missing namespace member warnings ([#1045](https://github.com/rollup/rollup/issues/1045))
1347* Fix TypeError in arrow function without braces returning a function ([#1062](https://github.com/rollup/rollup/pull/1062))
1348
1349## 0.36.4
1350
1351* Only depend on program-level call expressions ([#977](https://github.com/rollup/rollup/issues/977))
1352
1353## 0.36.3
1354
1355* Add `legacy` option for IE8 support ([#989](https://github.com/rollup/rollup/pull/989))
1356
1357## 0.36.2
1358
1359* Insert semicolons where necessary to fix broken code ([#1004](https://github.com/rollup/rollup/issues/1004))
1360* Include module ID and location when warning about top-level `this` ([#1012](https://github.com/rollup/rollup/pull/1012))
1361* More informative error for missing exports ([#1033](https://github.com/rollup/rollup/issues/1033))
1362* `options.moduleContext` for per-module context overrides ([#1023](https://github.com/rollup/rollup/pull/1023))
1363
1364## 0.36.1
1365
1366* Include naked block statements ([#981](https://github.com/rollup/rollup/issues/981))
1367* Correctly include falsy alternate statements in optimised if blocks ([#973](https://github.com/rollup/rollup/issues/973))
1368* Prevent omission of default exports that are only used by the exporting module ([#967](https://github.com/rollup/rollup/pull/967))
1369* Prevent warning on `auto` exports with ES output ([#966](https://github.com/rollup/rollup/pull/966))
1370
1371## 0.36.0
1372
1373* `export { foo as default }` no longer creates a live binding ([#860](https://github.com/rollup/rollup/issues/860))
1374
1375## 0.35.15
1376
1377* Warn on missing unused imports in deshadowing phase ([#928](https://github.com/rollup/rollup/issues/928))
1378* Always add a newline to the end of bundles ([#958](https://github.com/rollup/rollup/issues/958))
1379
1380## 0.35.14
1381
1382* Include all parent statements of expression with effects, up to function boundary ([#930](https://github.com/rollup/rollup/issues/930))
1383
1384## 0.35.13
1385
1386* Include superclasses when including their subclasses ([#932](https://github.com/rollup/rollup/issues/932))
1387
1388## 0.35.12
1389
1390* Add `interop: false` option to disable unwrapping of external imports ([#939](https://github.com/rollup/rollup/issues/939))
1391
1392## 0.35.11
1393
1394* Deconflict reified namespaces with other declarations ([#910](https://github.com/rollup/rollup/issues/910))
1395
1396## 0.35.10
1397
1398* Only remove EmptyStatement nodes directly inside blocks ([#913](https://github.com/rollup/rollup/issues/931))
1399
1400## 0.35.9
1401
1402* Support Node 0.12 ([#909](https://github.com/rollup/rollup/issues/909))
1403
1404## 0.35.8
1405
1406* Correctly deshadow re-assigned module functions ([#910](https://github.com/rollup/rollup/issues/910))
1407
1408## 0.35.7
1409
1410* Refactor `flushTime.js` ([#922](https://github.com/rollup/rollup/pull/922))
1411
1412## 0.35.6
1413
1414* Fix browser build
1415
1416## 0.35.5
1417
1418* Allow empty for loop heads ([#919](https://github.com/rollup/rollup/issues/919))
1419
1420## 0.35.4
1421
1422* Preserve effects in for-of and for-in loops ([#870](https://github.com/rollup/rollup/issues/870))
1423* Remove empty statements ([#918](https://github.com/rollup/rollup/pull/918))
1424
1425## 0.35.3
1426
1427* Render identifiers inside template literals
1428
1429## 0.35.2
1430
1431* Fix broken build caused by out of date locally installed dependencies
1432
1433## 0.35.1
1434
1435* Rewrite deconflicted class identifiers ([#915](https://github.com/rollup/rollup/pull/915))
1436* Include `dependencies` in `bundle.modules` objects ([#903](https://github.com/rollup/rollup/issues/903))
1437* Update to Acorn 4 ([#914](https://github.com/rollup/rollup/pull/914))
1438
1439## 0.35.0
1440
1441* Rewrite analysis/tree-shaking code ([#902](https://github.com/rollup/rollup/pull/902))
1442* Include conditional mutations of global objects ([#901](https://github.com/rollup/rollup/issues/901))
1443* Only reify namespaces if necessary ([#898](https://github.com/rollup/rollup/issues/898))
1444* Track mutations of aliased globals ([#893](https://github.com/rollup/rollup/issues/893))
1445* Include duplicated var declarations ([#716](https://github.com/rollup/rollup/issues/716))
1446
1447## 0.34.13
1448
1449* Pass `{ format }` through to `transformBundle` ([#867](https://github.com/rollup/rollup/issues/867))
1450
1451## 0.34.12
1452
1453* Fix `rollup --watch` ([#887](https://github.com/rollup/rollup/issues/887))
1454* Case-sensitive paths ([#862](https://github.com/rollup/rollup/issues/862))
1455
1456## 0.34.11
1457
1458* Prevent leaky state when `bundle` is reused ([#875](https://github.com/rollup/rollup/issues/875))
1459* Ensure `intro` appears before interop block ([#880](https://github.com/rollup/rollup/issues/880))
1460
1461## 0.34.10
1462
1463* Allow custom `options.context` to replace top-level `this` ([#851](https://github.com/rollup/rollup/issues/851))
1464* Fix `noConflict` when used via `rollup --config` ([#846](https://github.com/rollup/rollup/issues/846))
1465* Place `outro` block *after* export block ([#852](https://github.com/rollup/rollup/issues/852))
1466
1467## 0.34.9
1468
1469* Disable indentation by default, for faster bundle generation ([#812](https://github.com/rollup/rollup/pull/812))
1470* More helpful error on missing entry file ([#802](https://github.com/rollup/rollup/issues/802))
1471* Preserve comments before import declarations ([#815](https://github.com/rollup/rollup/pull/815))
1472
1473## 0.34.8
1474
1475* Wrap UMD factory function in parens to avoid lazy parsing ([#774](https://github.com/rollup/rollup/pull/774))
1476
1477## 0.34.7
1478
1479* Leave it up to resolveId to normalize the entry path ([#835](https://github.com/rollup/rollup/pull/835))
1480* Cache decoded mappings ([#834](https://github.com/rollup/rollup/pull/834))
1481
1482## 0.34.5
1483
1484* Fix circular export ([#813](https://github.com/rollup/rollup/issues/813))
1485
1486## 0.34.4
1487
1488* Module render performance tweak ([#823](https://github.com/rollup/rollup/pull/823))
1489
1490## 0.34.3
1491
1492* Avoid infinite recursion in `Bundle.sort()` ([#800](https://github.com/rollup/rollup/pull/800))
1493
1494## 0.34.2
1495
1496* resolveId calls are cached now to improve incremental build
1497* Fixed error message recursion in plugins
1498
1499## 0.34.1
1500
1501* Support `paths` config ([#754](https://github.com/rollup/rollup/issues/754))
1502* Allow `export *` from external module, internally
1503
1504## 0.34.0
1505
1506* Use resolved IDs for relative imports that are also external modules, to allow `options.globals` to work with them ([#763](https://github.com/rollup/rollup/issues/763))
1507* Ensure reassigned exports are declared in an ES bundle, and remove empty `exports.foo;` statements ([#755](https://github.com/rollup/rollup/issues/755))
1508* Add newline after sourcemap comment ([#756](https://github.com/rollup/rollup/issues/756))
1509
1510## 0.33.2
1511
1512* Add `bundle` as second argument to `ongenerate` and `onwrite` hooks ([#773](https://github.com/rollup/rollup/pull/773))
1513* Warn on top-level `this` ([#770](https://github.com/rollup/rollup/issues/770))
1514
1515## 0.33.1
1516
1517* Fix `--no-strict` option ([#751](https://github.com/rollup/rollup/pull/751))
1518* Fix Windows edge case with case-sensitive paths ([#760](https://github.com/rollup/rollup/pull/760))
1519
1520## 0.33.0
1521
1522* Downgrade missing transformer sourcemap to a warning, not an error, and print the name of the offending plugin if possible ([#746](https://github.com/rollup/rollup/issues/746))
1523* Warn if same name is re-exported from two modules ([#722](https://github.com/rollup/rollup/issues/722))
1524
1525## 0.32.4
1526
1527* Add `ongenerate` and `onwrite` plugin hooks ([#742](https://github.com/rollup/rollup/pull/742))
1528
1529## 0.32.3
1530
1531* Generated correct sourcemaps with reified namespaces ([#668](https://github.com/rollup/rollup/issues/668))
1532* Exclude plugin helper modules from sourcemaps ([#747](https://github.com/rollup/rollup/pull/747))
1533
1534## 0.32.2
1535
1536* Allow `--globals` to work with `--external` or `options.external` in whatever configuration ([#743](https://github.com/rollup/rollup/issues/743))
1537
1538## 0.32.1
1539
1540* Preserve side-effects to default exports that coincide with used named exports ([#733](https://github.com/rollup/rollup/issues/733))
1541* Support `rollup -c node:pkgname` ([#736](https://github.com/rollup/rollup/issues/736))
1542
1543## 0.32.0
1544
1545* Deprecate `es6` format in favour of `es` ([#468](https://github.com/rollup/rollup/issues/468))
1546* Add correct `jsnext:main` build ([#726](https://github.com/rollup/rollup/pull/726))
1547
1548## 0.31.2
1549
1550* Allow `load` plugins to provide sourcemap ([#715](https://github.com/rollup/rollup/pull/715))
1551* Allow `sourceMapFile` in config options ([#717](https://github.com/rollup/rollup/issues/717))
1552
1553## 0.31.1
1554
1555* Logging for errors emitted by `rollup-watch` ([#712](https://github.com/rollup/rollup/issues/712))
1556
1557## 0.31.0
1558
1559* Rewrite top-level `this` as `undefined` ([#707](https://github.com/rollup/rollup/pull/707))
1560* Pass `options.acorn` to Acorn ([#564](https://github.com/rollup/rollup/issues/564))
1561
1562## 0.30.0
1563
1564* Bundle CLI ([#700](https://github.com/rollup/rollup/issues/700))
1565* Ensure absolute paths are normalised ([#704](https://github.com/rollup/rollup/issues/704))
1566* Allow `rollup --watch` to work with targets
1567
1568## 0.29.1
1569
1570* Merge `target` options with main options ([#701](https://github.com/rollup/rollup/issues/701))
1571* Update magic-string ([#690](https://github.com/rollup/rollup/issues/690))
1572
1573## 0.29.0
1574
1575* `rollup --watch` ([#284](https://github.com/rollup/rollup/issues/284))
1576
1577## 0.28.0
1578
1579* Experimental support for incremental rebuilds ([#658](https://github.com/rollup/rollup/pull/658))
1580
1581## 0.27.1
1582
1583* Ensure names exported from a module are not replaced with reserved words ([#696](https://github.com/rollup/rollup/pull/696))
1584* Revert ([#692](https://github.com/rollup/rollup/pull/692)) – resolved IDs must be strings
1585
1586## 0.27.0
1587
1588* Use native promises instead of `es6-promise` ([#689](https://github.com/rollup/rollup/issues/689))
1589* Support multiple targets in config files ([#655](https://github.com/rollup/rollup/issues/655))
1590* Allow `resolveId` plugin functions to return non-strings ([#692](https://github.com/rollup/rollup/pull/692))
1591
1592## 0.26.7
1593
1594* Distinguish between default and namespace imports of external module ([#637](https://github.com/rollup/rollup/issues/637))
1595* Add `__esModule` property to named exports in AMD, CJS and UMD modes ([#650](https://github.com/rollup/rollup/issues/650))
1596
1597## 0.26.6
1598
1599* Deconflict named imports from external modules in ES bundles ([#659](https://github.com/rollup/rollup/issues/659))
1600* Support `options.preferConst` to generate `const` declarations for exports rather than `var` declarations ([#653](https://github.com/rollup/rollup/issues/653))
1601
1602## 0.26.5
1603
1604* Preserve `debugger` statements ([#664](https://github.com/rollup/rollup/issues/664))
1605* Allow `options.external` to be a function ([#522](https://github.com/rollup/rollup/issues/522))
1606
1607## 0.26.4
1608
1609* Prevent plugin-provided external IDs being normalised ([#630](https://github.com/rollup/rollup/issues/630), [#633](https://github.com/rollup/rollup/issues/633))
1610* Throw if module exports/re-exports the same name twice, or has multiple default exports ([#679](https://github.com/rollup/rollup/issues/679))
1611* Warn about `eval` security issue ([#675]((https://github.com/rollup/rollup/issues/675)))
1612
1613
1614## 0.26.3
1615
1616* Ensure reference is not incorrectly marked as a reassignment ([#648](https://github.com/rollup/rollup/issues/648))
1617
1618## 0.26.2
1619
1620* Sanity check output of `load` hook ([#607](https://github.com/rollup/rollup/issues/607))
1621* Correct scoping for ID class expressions ([#626](https://github.com/rollup/rollup/issues/626))
1622* Warn if named and default exports are used together in auto mode ([#587](https://github.com/rollup/rollup/issues/587))
1623* Allow variable initialisers to be rewritten if necessary ([#632](https://github.com/rollup/rollup/issues/632))
1624* Prevent double `var` with no-treeshake option ([#639](https://github.com/rollup/rollup/pull/639))
1625
1626## 0.26.1
1627
1628* Add `treeshake: false`/`--no-treeshake` option for debugging ([#505](https://github.com/rollup/rollup/issues/505))
1629* Update build process to use Bublé ([#620](https://github.com/rollup/rollup/pull/620))
1630
1631## 0.26.0
1632
1633* Add `noConflict`/`--no-conflict` option for UMD builds ([#580](https://github.com/rollup/rollup/pull/580))
1634* Normalise relative external paths ([#591](https://github.com/rollup/rollup/pull/591))
1635* Report files causing transform errors ([#609](https://github.com/rollup/rollup/pull/609))
1636* Handle sourcemap segments with a single member ([#619](https://github.com/rollup/rollup/pull/619))
1637* Update dependencies
1638
1639## 0.25.8
1640
1641* Unixize entry path ([#586](https://github.com/rollup/rollup/pull/586))
1642
1643## 0.25.7
1644
1645* Expand deshadowed shorthand properties ([#575](https://github.com/rollup/rollup/issues/575))
1646* Allow external files to be non-existent ([#532](https://github.com/rollup/rollup/issues/532))
1647
1648## 0.25.6
1649
1650* Fix a regression introduced by #566 ([#569](https://github.com/rollup/rollup/issues/569))
1651* Prune dead conditional expressions more carefully ([#567](https://github.com/rollup/rollup/issues/567))
1652
1653## 0.25.5
1654
1655* Make sure shorthand destructuring assignments don't break ([#528](https://github.com/rollup/rollup/issues/528))
1656* Allow 'exports' key ([#542](https://github.com/rollup/rollup/issues/542))
1657* Ensure `foo. bar` where `foo` is a namespace import is rewritten correctly ([#566](https://github.com/rollup/rollup/issues/566))
1658* Fix an edge case for exported globals (e.g. `export { document }`) ([#562](https://github.com/rollup/rollup/issues/562))
1659
1660## 0.25.4
1661
1662* Fix misnamed exports of default imports in ES bundles ([#513](https://github.com/rollup/rollup/issues/513))
1663* CLI: warn on missing config ([#515](https://github.com/rollup/rollup/pull/515))
1664* Detect side-effects in non-top-level member expression assignment ([#476](https://github.com/rollup/rollup/issues/476))
1665* Don't remove computed property class keys ([#504](https://github.com/rollup/rollup/issues/504))
1666* Augment existing global object rather than replacing ([#493](https://github.com/rollup/rollup/issues/493))
1667* Don't fail on `export {}`, warn instead ([#486](https://github.com/rollup/rollup/issues/486))
1668
1669## 0.25.3
1670
1671* Handle non-objects and `null` in `_interopDefault` ([#474](https://github.com/rollup/rollup/issues/474))
1672
1673## 0.25.2
1674
1675* Skip dead branches of a conditional expression (#[465](https://github.com/rollup/rollup/pull/465))
1676* Allow globals to be exported ([#472](https://github.com/rollup/rollup/pull/472))
1677* Ensure reassigned exports are exported ([#484](https://github.com/rollup/rollup/issues/484))
1678
1679## 0.25.1
1680
1681* Throw error if namespace is called ([#446](https://github.com/rollup/rollup/issues/446))
1682* Prevent shadowing bug in ES6 output ([#441](https://github.com/rollup/rollup/pull/441))
1683* Prevent `var exports.foo` ([#426](https://github.com/rollup/rollup/issues/426))
1684* Prevent double export of aliased symbols ([#438](https://github.com/rollup/rollup/issues/438))
1685* Provide more informative error if Rollup is used in-browser without appropriate `resolveId`/`load` hooks ([#275](https://github.com/rollup/rollup/issues/275))
1686* Use `_interopDefault` function to DRY out code with many external dependencies, in CommonJS output ([#458](https://github.com/rollup/rollup/pull/458))
1687
1688## 0.25.0
1689
1690* **breaking** Module order is determined according to spec, rather than in a way designed to prevent runtime errors. Rollup will warn if it detects runtime errors are likely ([#435](https://github.com/rollup/rollup/issues/435))
1691* Prevent overly aggressive tree-shaking with complex call expressions ([#440](https://github.com/rollup/rollup/issues/440))
1692
1693## 0.24.1
1694
1695* Handle calls to default exports other that are not function expressions or references to function declarations ([#421](https://github.com/rollup/rollup/issues/421))
1696* Ensure namespace blocks are created for chained imports ([#430](https://github.com/rollup/rollup/issues/430))
1697* Include references in computed property keys ([#434](https://github.com/rollup/rollup/issues/434))
1698* Use CLI `--external` option correctly ([#417](https://github.com/rollup/rollup/pull/417))
1699* Allow relative imports to be treated as external, if absolute paths are provided in `options.external` ([#410](https://github.com/rollup/rollup/issues/410))
1700* Make IIFE output adhere to Crockford style ([#415](https://github.com/rollup/rollup/pull/415))
1701
1702## 0.24.0
1703
1704* No longer attempts to resolve IDs in `options.external` ([#407](https://github.com/rollup/rollup/issues/407))
1705* Fix broken sourcemap resolution in cases where some modules are transformed and others aren't ([#404](https://github.com/rollup/rollup/issues/404))
1706
1707## 0.23.2
1708
1709* Ensure `dest` or `sourceMapFile` is resolved against CWD for purposes of sourcemap generation ([#344](https://github.com/rollup/rollup/issues/344))
1710* Support `banner`, `footer`, `intro` and `outro` options via CLI ([#330](https://github.com/rollup/rollup/issues/330))
1711* Allow `options.global` to be a function rather than an object, and warn on missing names ([#293](https://github.com/rollup/rollup/issues/293))
1712* Ensure side-effects are captured in cyclical call expressions ([#397](https://github.com/rollup/rollup/issues/397))
1713* Fix parse error with body-less arrow function expressions ([#403](https://github.com/rollup/rollup/issues/403))
1714
1715## 0.23.1
1716
1717* Reinstate missing fix from ([#392](https://github.com/rollup/rollup/pull/392))
1718
1719## 0.23.0
1720
1721* Add `bundleTransform` plugin hook and option ([#387](https://github.com/rollup/rollup/pull/387))
1722* Correctly store names in sourcemaps, regardless of transformers
1723* Add `--environment` option to CLI ([#388](https://github.com/rollup/rollup/pull/388))
1724* Handle destructuring in exports ([#374](https://github.com/rollup/rollup/issues/374))
1725* Fix UMD global exports bug introduced in 0.22.1 ([#392](https://github.com/rollup/rollup/pull/392))
1726
1727## 0.22.2
1728
1729* Prevent lost `var` keywords ([#390](https://github.com/rollup/rollup/issues/390))
1730
1731## 0.22.1
1732
1733* Update expected option keys ([#379](https://github.com/rollup/rollup/issues/379))
1734* Handle transformers that return stringified sourcemaps ([#377](https://github.com/rollup/rollup/issues/377))
1735* Automatically create missing namespaces if `moduleName` contains dots ([#378](https://github.com/rollup/rollup/issues/378))
1736* Ignore external dependency warnings coming from config file ([#333](https://github.com/rollup/rollup/issues/333))
1737* Update to latest magic-string for performance boost
1738
1739## 0.22.0
1740
1741* Duplicate warnings are squelched ([#362](https://github.com/rollup/rollup/issues/362))
1742* Plugins can manipulate or override the `options` object ([#371](https://github.com/rollup/rollup/pull/371))
1743
1744## 0.21.3
1745
1746* Validate option keys ([#348](https://github.com/rollup/rollup/pull/348))
1747* Allow namespaces imports to sit alongside named imports ([#355](https://github.com/rollup/rollup/issues/355))
1748* Count references inside destructured objects ([#364](https://github.com/rollup/rollup/issues/364))
1749* Preserve top-level `delete` statements ([#352](https://github.com/rollup/rollup/issues/352))
1750
1751## 0.21.2
1752
1753* Missing relative imports are an error, not a warning ([#321](https://github.com/rollup/rollup/issues/321))
1754* Fixed incorrectly renamed default exports in ES6 bundles ([#339](https://github.com/rollup/rollup/issues/339))
1755* Fixed infinite recursion bug ([#341](https://github.com/rollup/rollup/issues/341))
1756
1757## 0.21.1
1758
1759* Remove `aggressive: true` (was too aggressive) ([#309](https://github.com/rollup/rollup/pull/309))
1760* Handle top-level block statements ([#326](https://github.com/rollup/rollup/issues/326))
1761* Optimise namespaces with default exports ([#314](https://github.com/rollup/rollup/issues/314))
1762
1763## 0.21.0
1764
1765* Only include statements whose side-effects are relevant (i.e. contribute to exports or affect global state) ([#253](https://github.com/rollup/rollup/pull/253)) ([#253](https://github.com/rollup/rollup/pull/253))
1766* Exclude dead branches from analysis and inclusion ([#249](https://github.com/rollup/rollup/pull/249))
1767* Add `aggressive: true` option to eliminate all side-effects outside entry module
1768* More informative error when re-exporting non-existent binding ([#274](https://github.com/rollup/rollup/issues/274))
1769* Fix infinite recursion bug ([#291](https://github.com/rollup/rollup/issues/291))
1770* Log errors when using `rollup --config` ([#288](https://github.com/rollup/rollup/pull/288))
1771* Return rejected promises on startup instead of throwing error, if options are invalid ([#303](https://github.com/rollup/rollup/pull/303))
1772
1773## 0.20.5
1774
1775* Ensure re-exports don't create a local binding ([#270](https://github.com/rollup/rollup/pull/270))
1776
1777## 0.20.4
1778
1779* Check file exists at resolve time, to allow filenames with non-extension dots in them ([#250](https://github.com/rollup/rollup/pull/250))
1780* Import `Promise` where used, for Node 0.10 support ([#254](https://github.com/rollup/rollup/issues/254))
1781* Allow asynchronous transformer plugins ([#260](https://github.com/rollup/rollup/issues/260))
1782* Don't assume re-exported bindings are globals when deconflicting ([#267](https://github.com/rollup/rollup/issues/267))
1783
1784
1785## 0.20.3
1786
1787* Fix bug where multiple `export *` declarations caused error ([#244](https://github.com/rollup/rollup/pulls/244))
1788* Missing namespace exports are a warning, not an error ([#244](https://github.com/rollup/rollup/pulls/244))
1789* Plugins can provide `banner` and `footer` options (string, or function that returns a string) ([#235](https://github.com/rollup/rollup/issues/235))
1790* Warn on encountering `eval` ([#186](https://github.com/rollup/rollup/issues/186))
1791
1792## 0.20.2
1793
1794* Handle errors in build config file
1795* More robust deconflicting, in cases where e.g. `foo$1` already exists
1796* Use Rollup CLI for own build process
1797
1798## 0.20.1
1799
1800* Support `--config` file to enable plugins with CLI ([#226](https://github.com/rollup/rollup/pulls/226))
1801* Prevent `default` being used as variable name ([#215](https://github.com/rollup/rollup/issues/215))
1802* Update deps
1803
1804## 0.20.0
1805
1806* Support for [plugins](https://github.com/rollup/rollup/wiki/Plugins) ([#207](https://github.com/rollup/rollup/pulls/207))
1807* BREAKING – `options.transform`, `options.load`, `options.resolveId`, `options.resolveExternal` and `options.external` are no longer supported, and should be handled by plugins. [More info](https://github.com/rollup/rollup/wiki/Plugins)
1808* BREAKING – the .js extension is only added if it looks like there's no extension, allowing e.g. `import data from 'data.json'` (with the appropriate transformer). For safety, always include the file extension – import `./foo.js`, not `./foo`
1809
1810## 0.19.2
1811
1812* Fix exporting namespaces to include all of their exports ([#204](https://github.com/rollup/rollup/issues/204))
1813* Namespace exotic objects are frozen to ensure that its properties cannot be modified, reconfigured, redefined or deleted ([#203](https://github.com/rollup/rollup/pulls/203))
1814* Fix `ReferenceError: Promise is not defined` in node v0.10 ([#189](https://github.com/rollup/rollup/issues/189))
1815
1816## 0.19.1
1817
1818* Fix `module.basename()` when used with custom `resolveId` function
1819* Use [rollup-babel](https://github.com/rollup/rollup-babel) to build self
1820* Exposed the version string through the API: `require( 'rollup' ).VERSION`
1821
1822## 0.19.0
1823
1824* **breaking** The `transform` option is no longer passed through to custom loaders. Loaders should only concern themselves with providing source code; transformation will *always* take place
1825* `options.transform` functions can return a string, or a `{code, map, ast}` object. Where possible, sourcemap chains will be flattened ([#175](https://github.com/rollup/rollup/pull/175))
1826* `options.resolveId`, `options.resolveExternal` and `options.load` can each be a function or an array of functions. If an array, the first non-null/undefined return value is used. In both cases, failed resolution/loading will fall back to the defaults, unless an error is thrown. ([#174](https://github.com/rollup/rollup/pull/174))
1827* New `intro` and `outro` options – similar to `banner` and `footer` except inserted *inside* any format-specific wrapper
1828* Multiple var declarations in an export block (e.g. `export let a = 1, b = 2`) are split up to facilitate tree-shaking ([#171](https://github.com/rollup/rollup/issues/171))
1829* More informative error when using a missing namespace property ([#169](https://github.com/rollup/rollup/pull/169))
1830* Update various dependencies
1831
1832## 0.18.5
1833
1834* Allow namespaces to be assigned to variables ([#168](https://github.com/rollup/rollup/issues/168))
1835* Promote `chalk` and `source-map-support` to `dependencies`, as they're used by the CLI ([#167](https://github.com/rollup/rollup/pull/167))
1836
1837## 0.18.4
1838
1839* Make external modules configurable (i.e. `external.config.foo = 'bar'`) without erroring
1840
1841## 0.18.3
1842
1843* Crop indent exclusion ranges to exclude enclosing quotes ([#166](https://github.com/rollup/rollup/issues/166))
1844
1845## 0.18.2
1846
1847* Include definitions of namespace members that are exported as defaults
1848
1849## 0.18.1
1850
1851* Include `acorn.parse` in bundle, remove `sander` from dependencies, simplify build
1852
1853## 0.18.0
1854
1855* Internal rewrite
1856* Reinstate statically-analysable namespace imports
1857* Avoid using getters in namespace blocks where possible ([#144](https://github.com/rollup/rollup/issues/144))
1858* Track variable aliases ([#96](https://github.com/rollup/rollup/issues/96))
1859* Prevent multiline strings being indented ([#164](https://github.com/rollup/rollup/issues/164))
1860
1861## 0.17.4
1862
1863* Allow imports from hidden directories (replay of [#133](https://github.com/rollup/rollup/issues/133))
1864
1865## 0.17.3
1866
1867* Handle parenthesised default exports ([#136](https://github.com/rollup/rollup/issues/136))
1868
1869## 0.17.2
1870
1871* Allow use of scoped npm packages ([#131](https://github.com/rollup/rollup/issues/131))
1872
1873## 0.17.1
1874
1875* Allow namespaces to be passed to a function ([#149](https://github.com/rollup/rollup/issues/149))
1876
1877## 0.17.0
1878
1879* Roll back to 0.15.0 and reapply subsequent fixes pending resolution of ([#132](https://github.com/rollup/rollup/issues/132)) and related issues
1880
1881## 0.16.4
1882
1883* Fix import paths with `.` ([#133](https://github.com/rollup/rollup/issues/133))
1884* Prevent sourceMappingURL confusion leading to broken sourcemap
1885* Add code coverage reporting [#130](https://github.com/rollup/rollup/pull/130))
1886* Add `modules` property to user-facing `bundle` – an array with `{id}` objects ([#128](https://github.com/rollup/rollup/issues/128))
1887
1888## 0.16.3
1889
1890* Prevent adjacent blocks of multiple var declarations causing magic-string failure ([#105](https://github.com/rollup/rollup/issues/105))
1891
1892## 0.16.2
1893
1894* Top-level function calls and assignments to globals are treated as side-effects, and always included
1895* Import files from subdirectories of external packages, e.g. `import mod from 'foo/sub/mod'` ([#126](https://github.com/rollup/rollup/issues/126))
1896
1897## 0.16.1
1898
1899* Handle assignment patterns, and destructured/rest parameters, when analysing scopes
1900* Fix bug preventing project from self-building (make base `Identifier` class markable)
1901
1902## 0.16.0
1903
1904* Internal refactoring ([#99](https://github.com/rollup/rollup/pull/99))
1905* Optimisation for statically-analysable namespace imports ([#99](https://github.com/rollup/rollup/pull/99))
1906* Windows support (theoretically!) ([#117](https://github.com/rollup/rollup/pull/117) / [#119](https://github.com/rollup/rollup/pull/119))
1907
1908## 0.15.0
1909
1910* Load all modules specified by `import` statements, and do tree-shaking synchronously once loading is complete. This results in simpler and faster code, and enables future improvements ([#97](https://github.com/rollup/rollup/pull/97))
1911* Only rewrite `foo` as `exports.foo` when it makes sense to ([#92](https://github.com/rollup/rollup/issues/92))
1912* Fix bug with shadowed variables that are eventually exported ([#91](https://github.com/rollup/rollup/issues/91))
1913* Exclude unused function declarations that happen to modify a used name ([#90](https://github.com/rollup/rollup/pull/90))
1914* Simplify internal `Scope` model – scopes always attach to blocks, never function expressions/declarations
1915
1916## 0.14.1
1917
1918* `export { name } from './other'` does not create a local binding ([#16](https://github.com/rollup/rollup/issues/16))
1919* A single binding can be exported under multiple names ([#18](https://github.com/rollup/rollup/issues/18))
1920* `useStrict` option exposed to CLI as `--strict`/`--no-strict` ([#81](https://github.com/rollup/rollup/issues/81))
1921* Neater exports from ES6 bundles
1922
1923## 0.14.0
1924
1925* Internal refactoring
1926* Correctly deconflict generated default export names ([#72](https://github.com/rollup/rollup/issues/72))
1927* Handle `export { x } from 'y'` declarations ([#74](https://github.com/rollup/rollup/issues/74))
1928* Dedupe named imports from external modules in ES6 bundles ([#77](https://github.com/rollup/rollup/issues/77))
1929
1930## 0.13.0
1931
1932* Support `banner` and `footer` options ([#66](https://github.com/rollup/rollup/pull/66))
1933* Remove pre-existing sourcemap comments ([#66](https://github.com/rollup/rollup/pull/66))
1934* Deconflict external imports ([#66](https://github.com/rollup/rollup/pull/66))
1935* Use existing AST, if provided ([#66](https://github.com/rollup/rollup/pull/66))
1936* Rename internal namespace exports as appropriate ([#66](https://github.com/rollup/rollup/pull/66))
1937* Remove uninitialised var declarations that get exported ([#66](https://github.com/rollup/rollup/pull/66))
1938* Rename variables named `exports` to avoid conflicts ([#66](https://github.com/rollup/rollup/pull/66))
1939
1940## 0.12.1
1941
1942* Don't attempt to mark statements belonging to external modules ([#68](https://github.com/rollup/rollup/issues/68))
1943* Correctly deshadow variables that conflict with imports ([#68](https://github.com/rollup/rollup/issues/68))
1944
1945## 0.12.0
1946
1947* Internal re-architecting, resulting in more efficient bundling with reduced memory usage
1948* Shorthand properties are expanded if necessary ([#61](https://github.com/rollup/rollup/issues/61))
1949* Fixed various bugs with bundle external dependencies, particularly when generating ES6 bundles ([#59](https://github.com/rollup/rollup/issues/59))
1950* Add `--globals` option to CLI ([#60](https://github.com/rollup/rollup/pull/60))
1951* Allow imports of external modules for side-effects ([#55](https://github.com/rollup/rollup/pull/55))
1952* Prevent Rollup hanging on non-existent external module ([#54](https://github.com/rollup/rollup/pull/54))
1953
1954## 0.11.4
1955
1956* Side-effect preservation applies to internal default exports ([#43](https://github.com/rollup/rollup/issues/43))
1957
1958## 0.11.3
1959
1960* Class methods are not incorrectly renamed ([#42](https://github.com/rollup/rollup/issues/42))
1961* External modules are assigned names before canonical names are determined ([#42](https://github.com/rollup/rollup/issues/42))
1962
1963## 0.11.2
1964
1965* Correctly handle computed properties (e.g. `foo[bar]`) when discovering dependencies ([#47](https://github.com/rollup/rollup/pull/47))
1966
1967## 0.11.1
1968
1969* Support for `export * from '..'` ([#46](https://github.com/rollup/rollup/pull/46))
1970
1971## 0.11.0
1972
1973* Experimental browser-friendly build (`dist/rollup.browser.js`) ([#25](https://github.com/rollup/rollup/issues/25))
1974* Internal re-architecting to make discovery process simpler and more performant
1975* Preservation of side-effects that happen in a separate module to the affected definition ([#39](https://github.com/rollup/rollup/issues/39))
1976
1977## 0.10.0
1978
1979* Better sorting algorithm – sorting happens at the module level, rather than the statement level. This avoids certain edge cases
1980* IIFEs are ignored for the purposes of distinguishing between 'strong' and 'weak' dependencies
1981* Empty `var` declarations for exported bindings are omitted
1982
1983## 0.9.1
1984
1985* Much faster statement insertion (fixes major 0.9.0 performance regression)
1986
1987## 0.9.0
1988
1989* BREAKING - `resolvePath` is now `resolveId`. The returned `id` (which by default is a filepath) is passed to the `load` function, which can optionally be overridden, and which is applied to all modules including the entry module. This allows custom resolver and loading logic for integration with third party systems (e.g. JSPM) or, eventually, in-browser usage ([#30](https://github.com/rollup/rollup/issues/30))
1990* A statement cannot appear after later statements from the same bundle ([#34](https://github.com/rollup/rollup/issues/34))
1991* Tricky cyclical dependencies are handled ([#36](https://github.com/rollup/rollup/issues/36))
1992* `sourcemap` option is used by CLI (was omitted previously)
1993
1994## 0.8.3
1995
1996* Correctly rename functions that have arguments with the same name ([#32](https://github.com/rollup/rollup/issues/32))
1997* Ensure unused default exports are given a legal name ([#33](https://github.com/rollup/rollup/issues/33))
1998
1999## 0.8.2
2000
2001* Support `moduleId` and `moduleName` via CLI ([#24](https://github.com/rollup/rollup/issues/24))
2002
2003## 0.8.1
2004
2005* Anonymous functions that are exported as default are converted to named function declarations for correct hoisting, rather than being bound to functions ([#29](https://github.com/rollup/rollup/issues/29))
2006* Automatically-generated default export names are deconflicted with local definitions ([#29](https://github.com/rollup/rollup/issues/29))
2007
2008## 0.8.0
2009
2010* Top-level variable declarations with multiple declarators are split up, to avoid unnecessary code importing and incorrectly-ordered statements ([#26](https://github.com/rollup/rollup/issues/26))
2011* `this` at the top level is `undefined` ([#28](https://github.com/rollup/rollup/issues/28))
2012
2013## 0.7.8
2014
2015* Avoid using `path.parse` - unsupported in node 0.10
2016
2017## 0.7.7
2018
2019* Promise `source-map-support` from `devDependencies` to `dependencies` ([#23](https://github.com/rollup/rollup/issues/23))
2020
2021## 0.7.6
2022
2023* Better placement of `export default` statements ([#21](https://github.com/rollup/rollup/issues/21))
2024* Prevent function calls and property assignments from being treated as rebinding for sake of unbound default exports
2025* Add `--external foo,bar,baz` option to CLI (equivalent to `external: ['foo', 'bar', 'baz']`)
2026* Add CLI tests
2027
2028## 0.7.5
2029
2030* Prevent accidental conflicts with the global namespace ([#20](https://github.com/rollup/rollup/issues/20))
2031
2032## 0.7.4
2033
2034* More precise statement re-ordering to satisfy `export default` constraint (fixes bug introduced in 0.7.3)
2035
2036## 0.7.3
2037
2038* Default exports are not bound. To enable this, statements within a module are sorted to retain their original order ([#15](https://github.com/rollup/rollup/issues/15))
2039* Better positioning of comments ([#14](https://github.com/rollup/rollup/issues/14))
2040* Various fixes to get Travis-CI rigged up
2041
2042## 0.7.2
2043
2044* Fix sourcemap paths on Windows ([#6](https://github.com/rollup/rollup/pull/6))
2045
2046## 0.7.1
2047
2048* Named functions can be used as default exports from a bundle
2049* Method calls are assumed to mutate the owner (i.e. `foo.bar()` mutates `foo`) ([#13](https://github.com/rollup/rollup/issues/13))
2050* `options.indent` can be used to control indentation of resulting bundle. `options.true` (default) means 'auto', `options.false` means empty string. Alternatively specify whitespace e.g. `' '` or `'\t'` ([#5](https://github.com/rollup/rollup/issues/5))
2051
2052## 0.7.0
2053
2054* Ensure statements are always separated by a newline ([#9](https://github.com/rollup/rollup/pull/9))
2055* Use CommonJS `exports` correctly (UMD exports)
2056* Throw error if `moduleName` is required but missing (UMD exports)
2057* Attach IIFE global to `this` rather than `window`
2058* Allow names inside bundle to the the names of `Object.prototype` properties ([#12](https://github.com/rollup/rollup/pull/12))
2059* Keep exports live ([#11](https://github.com/rollup/rollup/pull/11))
2060
2061## 0.6.5
2062
2063* Add sourceMappingURL comment to code, as appropriate
2064* Higher resolution sourcemaps
2065
2066## 0.6.4
2067
2068* Fix CJS bundling with default export
2069
2070## 0.6.3
2071
2072* Fix exports and external module imports with some output formats
2073* Fix endless cycle bug on Windows ([#3](https://github.com/rollup/rollup/pull/3)) - thanks @Bobris
2074
2075## 0.6.2
2076
2077* Permit assignments to properties of imported bindings
2078
2079## 0.6.1
2080
2081* Support for basic transformers
2082
2083## 0.6.0
2084
2085* BREAKING - `rollup.rollup` and `bundle.write` both take a single options argument
2086* BREAKING - external modules must be declared upfront with `options.external: [...]`
2087* Non-relative module paths will be resolved by looking for `jsnext:main` fields in the appropriate `package.json` files. This behaviour can be overridden by passing an alternative `resolveExternal` function
2088* Fix sourcemap options
2089* Include CLI files in npm package (duh)
2090
2091## 0.5.0
2092
2093* Command line interface
2094* Sourcemap generation
2095* Correct behaviour with `export { x as y } from 'z'`
2096
2097## 0.4.1
2098
2099* More import name deconflicting
2100
2101## 0.4.0
2102
2103* Self-hosting! `rollup.rollup` now rolls up rollup
2104* Fix bug with comments inside a statement later being appended to it
2105* Prevent shadowing of external modules
2106* Rewrite computed property identifiers where necessary
2107* Preserve original statement order where possible
2108* Internal refactoring
2109
2110## 0.3.1
2111
2112* Saner deconflicting
2113* Rename namespace imports from external modules correctly
2114
2115## 0.3.0
2116
2117* Basic functionality present, mostly spec-compliant
2118
2119## 0.2.1
2120
2121* Include dist files in npm package (duh)
2122
2123## 0.2.0
2124
2125* First release capable of doing anything useful
2126* Still lots of basic functionality missing
2127
2128## 0.1.0
2129
2130* Initial experiment