UNPKG

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