UNPKG

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