UNPKG

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