UNPKG

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