UNPKG

201 kBMarkdownView Raw
1# rollup changelog
2
3## 2.41.4
4*2021-03-16*
5
6### Bug Fixes
7* Do not replace external namespace imports with individual named imports to avoid changing behaviour with regard to missing exports (#3999)
8
9### Pull Requests
10* [#3999](https://github.com/rollup/rollup/pull/3999): Allow to safely probe external namespaces (@lukastaegert)
11
12## 2.41.3
13*2021-03-16*
14
15### Bug Fixes
16* Always retain arguments passed to empty object pattern parameters (#3998)
17
18### Pull Requests
19* [#3998](https://github.com/rollup/rollup/pull/3998): Do not create invalid code if a function argument is an empty object pattern (@lukastaegert)
20
21## 2.41.3
22*2021-03-16*
23
24### Bug Fixes
25* Always retain arguments passed to empty object pattern parameters (#3998)
26
27### Pull Requests
28* [#3998](https://github.com/rollup/rollup/pull/3998): Do not create invalid code if a function argument is an empty object pattern (@lukastaegert)
29
30## 2.41.2
31*2021-03-12*
32
33### Bug Fixes
34* Also remove sourcemaps comments if plugins return a pre-made ast (#3987)
35
36### Pull Requests
37* [#3987](https://github.com/rollup/rollup/pull/3987): Change removal of sourcemap comment (@yannayl)
38
39## 2.41.1
40*2021-03-11*
41
42### Pull Requests
43* [#3990](https://github.com/rollup/rollup/pull/3990): Add browser sourcemap and remove log (@lukastaegert)
44
45## 2.41.0
46*2021-03-09*
47
48### Features
49* Add option to `treeshake.propertyReadSideEffects` to keep all property accesses (#3985)
50
51### Bug Fixes
52* Also respect pure comment annotations when a plugin provides an AST in the transform hook provided they use this.parse (#3981)
53
54### Pull Requests
55* [#3981](https://github.com/rollup/rollup/pull/3981): Move pure comment annotation to Graph.contextParse (@yannayl)
56* [#3985](https://github.com/rollup/rollup/pull/3985): implement --treeshake.propertyReadSideEffects=always to handle getters with side effects (@kzc)
57
58## 2.40.0
59*2021-02-26*
60
61### Features
62* Make sure that entry point variable names take precedence over variable names in dependencies when deconflicting (#3977)
63
64### Bug Fixes
65* Replace `:` in generated file names to prevent invalid files on Windows (#3972)
66
67### Pull Requests
68* [#3972](https://github.com/rollup/rollup/pull/3972): Don't allow `:` in file names (@lukastaegert)
69* [#3976](https://github.com/rollup/rollup/pull/3976): Add soft breaks to guide to improve mobile experience (@lukastaegert)
70* [#3977](https://github.com/rollup/rollup/pull/3977): Reverse module deconflicting order (@lukastaegert)
71
72## 2.39.1
73*2021-02-23*
74
75### Bug Fixes
76* Make sure local variables named Symbol, Object or Promise do not conflict with code generated by Rollup (#3971)
77
78### Pull Requests
79* [#3964](https://github.com/rollup/rollup/pull/3964): Remove extra word (@jamonholmgren)
80* [#3971](https://github.com/rollup/rollup/pull/3971): Avoid conflicts with local variables named Symbol, Object, Promise (@lukastaegert)
81
82## 2.39.0
83*2021-02-12*
84
85### Features
86* Add "validate" option to verify generated chunks are valid JavaScript (#3952)
87
88### Bug Fixes
89* Always add exports properties for uninitialized named exports (#3957)
90* Allow using an external namespace reexport together with named exports (#3959)
91* Avoid invalid generated code in certain scenarios with SystemJS exports (#3960)
92
93### Pull Requests
94* [#3952](https://github.com/rollup/rollup/pull/3952): implement `validate` output option and `--validate` CLI option (@kzc)
95* [#3956](https://github.com/rollup/rollup/pull/3956): Update dependencies, fix fsevents issue (@lukastaegert)
96* [#3957](https://github.com/rollup/rollup/pull/3957): Make sure uninitialised exports turn up via .hasOwnProperty for non-ES formats (@lukastaegert)
97* [#3959](https://github.com/rollup/rollup/pull/3959): Allow overriding individual exports of reexported external namespaces (@lukastaegert)
98* [#3960](https://github.com/rollup/rollup/pull/3960): Make sure system exports are valid JavaScript
99 (@lukastaegert)
100
101## 2.38.5
102*2021-02-05*
103
104### Bug Fixes
105* Prevent invalid code when simplifying assignments and delcarations (#3951)
106* Prevent behaviour-changing line-breaks when simplifying assignments in return statements (#3951)
107* Slightly improve white-space rendering when simplifying certain expressions (#3951)
108
109### Pull Requests
110* [#3951](https://github.com/rollup/rollup/pull/3951): Wrap simplified assignments if necessary (@lukastaegert)
111
112## 2.38.4
113*2021-02-02*
114
115### Bug Fixes
116* Do not change logic when tree-shaking declarations in if statements or loops (#3947)
117
118### Pull Requests
119* [#3947](https://github.com/rollup/rollup/pull/3947): Do not tear apart declarations in loop or if bodies (@lukastaegert)
120
121## 2.38.3
122*2021-02-01*
123
124### Bug Fixes
125* Prevent an unexpected live-binding when default exporting a synthetic named export (#3946)
126
127### Pull Requests
128* [#3945](https://github.com/rollup/rollup/pull/3945): Upgrade chokidar and fsevents for Apple M1 compatibility (@threepointone)
129* [#3946](https://github.com/rollup/rollup/pull/3946): Make sure default exports snapshot synthetic named exports (@lukastaegert)
130
131## 2.38.2
132*2021-01-31*
133
134### Bug Fixes
135* Do not generate invalid code for partially tree-shaken declarations in for loops (#3943)
136* Always include function bodies of functions in side-effect-free modules (#3944)
137
138### Pull Requests
139* [#3943](https://github.com/rollup/rollup/pull/3943): Do not partially tree-shake unused declarations in for loops (@lukastaegert)
140* [#3944](https://github.com/rollup/rollup/pull/3944): Correctly include functions with side effects from side-effect-free modules (@lukastaegert)
141
142## 2.38.1
143*2021-01-28*
144
145### Bug Fixes
146* Fix internal error when resolving a missing entry point in the browser build (#3935)
147
148### Pull Requests
149* [#3935](https://github.com/rollup/rollup/pull/3935): fix: remove isolated resolve() for compat with browser distribution (@cmorten and @lukastaegert)
150* [#3936](https://github.com/rollup/rollup/pull/3936): Ensure test after() callback is always executed (@Benjamin-Dobell)
151* [#3937](https://github.com/rollup/rollup/pull/3937): Modernize references to other software (@ludofischer)
152
153## 2.38.0
154*2021-01-22*
155
156### Features
157* Entirely remove declared variables that only have an initializer side effect (#3933)
158
159### Pull Requests
160* [#3933](https://github.com/rollup/rollup/pull/3933): Tree-shake unused declarations while keeping initializer side-effects (@lukastaegert)
161
162## 2.37.1
163*2021-01-20*
164
165### Pull Requests
166* [#3929](https://github.com/rollup/rollup/pull/3929): Deduplicate acorn import (@lukastaegert)
167
168## 2.37.0
169*2021-01-19*
170
171### Features
172* Always check modules for side effects that only indirectly reexport a used variable (#3840)
173* Warn if a circular dependency would cause wrong execution order when preserving modules (#3840)
174
175### Bug Fixes
176* Allow consuming synthetic exports via modules that reexport a namespace (#3894)
177* Do not crash for circular default reexports (#3840)
178* Do not crash for circular synthetic namespaces (#3840)
179* Improve circular dependency execution order in certain scenarios (#3840)
180
181### Pull Requests
182* [#3840](https://github.com/rollup/rollup/pull/3840): Improve circular dependency execution order (@lukastaegert)
183* [#3894](https://github.com/rollup/rollup/pull/3894): Always respect synthetic namespaces in namespace reexport (@lukastaegert)
184
185## 2.36.2
186*2021-01-16*
187
188### Bug Fixes
189* Fix an issue where invalid code was generated for unused assignments with side effects (#3926)
190
191### Pull Requests
192* [#3926](https://github.com/rollup/rollup/pull/3926): Correctly simplify assignments with parentheses (@lukastaegert)
193
194## 2.36.1
195*2021-01-06*
196
197### Bug Fixes
198* Solve issues that result in invalid code when partially removing assignments (#3921)
199
200### Pull Requests
201* [#3921](https://github.com/rollup/rollup/pull/3921): Prevent invalid code when removing assignment target of side-effectful object expression (@lukastaegert)
202
203## 2.36.0
204*2021-01-05*
205
206### Features
207* Support partial tree-shaking of chained assignments and unused assignment targets (#3919)
208
209### Pull Requests
210* [#3919](https://github.com/rollup/rollup/pull/3919): Treeshake chained assignment expressions (@lukastaegert)
211
212## 2.35.1
213*2020-12-14*
214
215### Bug Fixes
216* Allow closing the bundle when watching in case of generate errors by adding the bundle to the error event (#3909)
217* Automatically close all bundles on generate errors when watching and using the CLI (#3909)
218* Try to create remaining bundles when watching and one of them throws (#3909)
219
220### Pull Requests
221* [#3909](https://github.com/rollup/rollup/pull/3909): Forward bundle through watch error events (@lukastaegert)
222
223## 2.35.0
224*2020-12-14*
225
226### Features
227* Add `closeBundle` hook that is triggered by `bundle.close()` in the JS API (#3883)
228
229### Pull Requests
230* [#3883](https://github.com/rollup/rollup/pull/3883): Revert pattern to folder export (@intrnl)
231
232## 2.34.2
233*2020-12-06*
234
235### Bug Fixes
236* Revert pattern export change (#3898)
237
238### Pull Requests
239* [#3898](https://github.com/rollup/rollup/pull/3898): Revert pattern to folder export (@lukastaegert)
240
241## 2.34.1
242*2020-12-03*
243
244### Bug Fixes
245* Avoid Node deprecation warning by using a pattern export for nested Rollup files (#3896)
246
247### Pull Requests
248* [#3887](https://github.com/rollup/rollup/pull/3887): Run memory leak test on all systems (@lukastaegert)
249* [#3892](https://github.com/rollup/rollup/pull/3892): Add pull_request to windows github actions (@shellscape)
250* [#3893](https://github.com/rollup/rollup/pull/3893): Update dependencies (@lukastaegert)
251* [#3896](https://github.com/rollup/rollup/pull/3896): Replace deprecated folder package export with pattern export (@lukastaegert)
252
253## 2.34.0
254*2020-11-29*
255
256### Features
257* Support RequireJS comaptible AMD ids in code-splitting builds via amd.autoId (#3867)
258* Allow adding an AMD id base path (#3867)
259
260### Bug Fixes
261* Warn when using an constant AMD id in a code-splitting build (#3867)
262
263### Pull Requests
264* [#3867](https://github.com/rollup/rollup/pull/3867): Implement amd.autoId/amd.basePath options (@tjenkinson)
265
266## 2.33.3
267*2020-11-18*
268
269### Bug Fixes
270* Do not use `.js` extension when importing AMD files from a UMD bundle (#3872)
271
272### Pull Requests
273* [#3861](https://github.com/rollup/rollup/pull/3861): Update chat/support links (@shellscape)
274* [#3872](https://github.com/rollup/rollup/pull/3872): Also removeExtensionFromRelativeAmdId in UMD finaliser (@tjenkinson)
275
276## 2.33.2
277*2020-11-14*
278
279### Bug Fixes
280* Fix an issue where statements were ignored after a conditional return in a labeled statement (#3871)
281
282### Pull Requests
283* [#3871](https://github.com/rollup/rollup/pull/3871): Correctly track label usage in try statements (@Amareis)
284
285## 2.33.1
286*2020-11-02*
287
288### Bug Fixes
289* Add `syntheticNamedExports` to `this.getModuleInfo` to align with documentation (#3847)
290
291### Pull Requests
292* [#3847](https://github.com/rollup/rollup/pull/3847): Expose syntheticNamedExports to ModuleInfo (@Amareis)
293* [#3852](https://github.com/rollup/rollup/pull/3852): Fix typo on docs (@jpsc)
294
295## 2.33.0
296*2020-11-01*
297
298### Features
299* Add parameter to "watchChange" hook to denote if a change was an addition, update or deletion (#3841)
300* Add "closeWatcher" hook to allow plugins to clean up resources when the watcher is closed (#3841)
301* Add "this.getWatchFiles" function to plugin context to get the current set of watched files (#3841)
302
303### Pull Requests
304* [#3841](https://github.com/rollup/rollup/pull/3841): Improved watcher hooks (@Amareis)
305* [#3848](https://github.com/rollup/rollup/pull/3848): Add options hook to asyncpluginhooks (@intrnl)
306
307## 2.32.1
308*2020-10-21*
309
310### Bug Fixes
311* Print warning location for plugin warnings if only `loc` is supplied (#3824)
312
313### Pull Requests
314* [#3824](https://github.com/rollup/rollup/pull/3824): plugin warnings not showing warning.loc (@luciotato)
315
316## 2.32.0
317*2020-10-16*
318
319### Features
320* Extend `preserveEntrySignatures` with a value `"exports-only"` to allow extension only if an entry does not have exports (#3823)
321
322### Pull Requests
323* [#3823](https://github.com/rollup/rollup/pull/3823): Add "exports-only" option to preserveSignature (@lukastaegert)
324
325## 2.31.0
326*2020-10-15*
327
328### Features
329* When using the `output.moduleToStringTag` option, also add the tag to entries with exports and simulated external namespaces (#3822)
330* Add the `__esModule` interop marker to IIFE global variables unless `output.esModule` is turned off (#3822)
331
332### Pull Requests
333* [#3822](https://github.com/rollup/rollup/pull/3822): Add module toStringTag to entries and interop namespaces (@lukastaegert)
334
335## 2.30.0
336*2020-10-13*
337
338### Features
339* Add `moduleParsed` hook that is called for each module once code and AST are available (#3813)
340* Include code and AST in `this.getModuleInfo` (#3813)
341
342### Bug Fixes
343* Provide the original Acorn AST instead of the internal one when resolving dynamic imports that contain non-trivial expressions (#3813)
344
345### Pull Requests
346* [#3813](https://github.com/rollup/rollup/pull/3813): Add moduleParsed plugin hook (@lukastaegert)
347* [#3815](https://github.com/rollup/rollup/pull/3815): Docs: wile => while (@tjenkinson)
348* [#3817](https://github.com/rollup/rollup/pull/3817): Docs: fix code snippet (@codefrau)
349* [#3818](https://github.com/rollup/rollup/pull/3818): Update documentation on configuring Babel, removing the section on passing '{"modules": false}' as that is no longer needed since Babel 7 (@Robin-Hoodie)
350
351## 2.29.0
352*2020-10-08*
353
354### Features
355* Allow passing custom options to other plugins via `this.resolve` (#3807)
356* Allow attaching custom meta information to modules when resolving, loading or transforming (#3807)
357* Do not throw but return `null` when using `this.getModuleInfo` for an unknown id (#3807)
358
359### Bug Fixes
360* Trigger build in watch mode when files are added to a watched directory (#3812)
361* Make `code` optional when transforming modules (#3807)
362
363### Pull Requests
364* [#3807](https://github.com/rollup/rollup/pull/3807): Implement new APIs for inter-plugin communication (@lukastaegert)
365* [#3808](https://github.com/rollup/rollup/pull/3808): Document that the default value of --format is 'es' (@jameshfisher)
366* [#3812](https://github.com/rollup/rollup/pull/3812): Watch: listen for new files added to a directory (@dmitrage)
367
368## 2.28.2
369*2020-09-24*
370
371### Bug Fixes
372* Fix a source of possible variable name conflicts when using preserveModules with SystemJS (#3796)
373
374### Pull Requests
375* [#3792](https://github.com/rollup/rollup/pull/3792): add documentation for output.PreserveModulesRoot (@davidroeca)
376* [#3796](https://github.com/rollup/rollup/pull/3796): Fix SystemJS default variable conflict (@lukastaegert)
377
378## 2.28.1
379*2020-09-21*
380
381### Bug Fixes
382* Fix a path slash issue when using the preserveModulesRoot option on Windows (#3791)
383
384### Pull Requests
385* [#3791](https://github.com/rollup/rollup/pull/3791): Fix preserveModulesRoot path on Windows (@lukastaegert)
386
387## 2.28.0
388*2020-09-21*
389
390### Features
391* Add an option to treat modules at a given path as located at root when preserving modules (#3786)
392
393### Pull Requests
394* [#3786](https://github.com/rollup/rollup/pull/3786): Add preserveModulesRoot config option (@davidroeca)
395
396## 2.27.1
397*2020-09-17*
398
399### Bug Fixes
400* Do not fail when using ES module imports in symlinked config files (#3783)
401
402### Pull Requests
403* [#3783](https://github.com/rollup/rollup/pull/3783): Handle loading symlinked config files (@lukastaegert)
404
405## 2.27.0
406*2020-09-16*
407
408### Features
409* Support specifying a file extension when reading from stdin (#3775)
410
411### Bug Fixes
412* Do not break logic if a branch with hoisted variables is tree-shaken in an else-if statement (#3782)
413
414### Pull Requests
415* [#3770](https://github.com/rollup/rollup/pull/3770): Docs: Exception for babel plugin and commonjs plugin (@jsk7)
416* [#3775](https://github.com/rollup/rollup/pull/3775): add ability to specify stdin file extension via --stdin=ext (@kzc)
417* [#3782](https://github.com/rollup/rollup/pull/3782): Handle hoisted variables in dead branches of nested if statements (@lukastaegert)
418
419## 2.26.11
420*2020-09-08*
421
422### Bug Fixes
423* Do not fail for unknown nodes as if statement branches (#3769)
424
425### Pull Requests
426* [#3769](https://github.com/rollup/rollup/pull/3769): Handle debugger statements as if-statement branches (@lukastaegert)
427
428## 2.26.10
429*2020-09-04*
430
431### Bug Fixes
432* Do not create invalid code when simplifying expressions in return statements that contain line comments (#3762)
433
434### Pull Requests
435* [#3757](https://github.com/rollup/rollup/pull/3757): Fix api docs loadconfigfile (@maxwell8888)
436* [#3762](https://github.com/rollup/rollup/pull/3762): Handle line-comments when removing line-breaks to prevent ASI (@lukastaegert)
437
438## 2.26.9
439*2020-09-01*
440
441### Bug Fixes
442* Add regular expression support to watch include/exclude types (#3754)
443
444### Pull Requests
445* [#3754](https://github.com/rollup/rollup/pull/3754): Add RegExp to the include and exclude fields of the WatcherOptions type (@dagda1)
446* [#3756](https://github.com/rollup/rollup/pull/3756): Update FAQ: I think it was meant "external" instead of "other-entry.js" (@madacol)
447
448## 2.26.8
449*2020-08-29*
450
451### Bug Fixes
452* Make sure that both unresolved and resolved ids are passed to the `external` option in all cases (#3753)
453
454### Pull Requests
455* [#3753](https://github.com/rollup/rollup/pull/3753): Also pass resolved ids to external if they use the object for (@lukastaegert)
456
457## 2.26.7
458*2020-08-28*
459
460### Bug Fixes
461* Avoid invalid code when rendering hoisted variable declarations from dead branches (#3752)
462* Mark the `options` parameter of `this.parse` as optional for TypeScript plugins (#3750)
463
464### Pull Requests
465* [#3750](https://github.com/rollup/rollup/pull/3750): Make `options` of `PluginContext#parse` optional (@intrnl)
466* [#3752](https://github.com/rollup/rollup/pull/3752): Extract hoisted variables from dead branches (@lukastaegert)
467
468## 2.26.6
469*2020-08-27*
470
471### Bug Fixes
472* Avoid conflicts between the namespace of synthetic named exports and local variables (#3747)
473
474### Pull Requests
475* [#3747](https://github.com/rollup/rollup/pull/3747): Properly deconflict synthetic named exports (@lukastaegert)
476
477## 2.26.5
478*2020-08-22*
479
480### Bug Fixes
481* Use correctly deconflicted variable names for reexported namespaces in ES formats (#3742)
482
483### Pull Requests
484* [#3742](https://github.com/rollup/rollup/pull/3742): Avoid variable name conflict when reexporting several namespaces from a chunk (@lukastaegert)
485
486## 2.26.4
487*2020-08-19*
488
489### Bug Fixes
490* Fix a situation where invalid code was rendered when dynamically importing a module with synthetic named exports when preserving modules (#3738)
491* Create a proper namespace object when in a non-es format, a namespace is imported from a chunk with `default` export mode (#3738)
492* Use the same variable when in a chunk, a namespace is both imported and reexported as a binding (#3738)
493* Do not include the synthetic namespace in static entry points unless it is actually used (#3738)
494* Make sure the chunking of one output does not interfere with the namespace objects of another output (#3738)
495
496### Pull Requests
497* [#3738](https://github.com/rollup/rollup/pull/3738): Improve synthetic entry handling (@lukastaegert)
498
499## 2.26.3
500*2020-08-16*
501
502### Bug Fixes
503* Fix a situation where line-breaks in a nested simplified conditional expression could result in broken code (#3734)
504
505### Pull Requests
506* [#3734](https://github.com/rollup/rollup/pull/3734): Prevent ASI when simplifying a nested logical expression (@lukastaegert)
507
508## 2.26.2
509*2020-08-16*
510
511### Bug Fixes
512* Fix a situation where line-breaks in a simplified conditional expression could result in broken code (#3732)
513
514### Pull Requests
515* [#3732](https://github.com/rollup/rollup/pull/3732): Prevent unintended ASI for nested conditionals (@lukastaegert)
516
517## 2.26.1
518*2020-08-16*
519
520### Bug Fixes
521* Correctly render external namespace imports when only generating SystemJS output (#3731)
522
523### Pull Requests
524* [#3731](https://github.com/rollup/rollup/pull/3731): Render system namespace import (@sastan and @lukastaegert)
525
526## 2.26.0
527*2020-08-15*
528
529### Features
530* Add a new entry `importedBindings` to the bundle information to list bindings per dependency (#3722)
531
532### Bug Fixes
533* Do not render an invalid UMD wrapper when no bindings are imported from a dependency (#3724)
534* Avoid situations where removing the `else` branch from an `if` statement might catch the `else` branch from another one (#3725)
535
536### Pull Requests
537* [#3722](https://github.com/rollup/rollup/pull/3722): Add import specifiers to bundle information (@lukastaegert)
538* [#3724](https://github.com/rollup/rollup/pull/3724): Fix missing variables for UMD and IIFE builds (@lukastaegert)
539* [#3725](https://github.com/rollup/rollup/pull/3725): Do not entirely remove else branch if another else branch might accidentally be referenced (@lukastaegert)
540
541## 2.25.0
542*2020-08-14*
543
544### Features
545* Add `--failAfterWarnings` CLI flag that will complete builds with warnings but return an error at the end (#3712)
546
547### Pull Requests
548* [#3712](https://github.com/rollup/rollup/pull/3712): Implement `--failAfterWarnings` flag (@tjenkinson)
549
550## 2.24.0
551*2020-08-13*
552
553### Features
554* Allow defining interop per dependency via a function (#3710)
555* Support interop "auto" as a more compatible version of "true" (#3710)
556* Support interop "default" and "esModule" to avoid unnecessary interop helpers (#3710)
557* Support interop "defaultOnly" for simplified helpers and Node ESM interop compatible output (#3710)
558* Respect interop option for external dynamic imports (#3710)
559* Support live-bindings for external default imports in non-ES formats unless "externalLiveBindings" is "false" (#3710)
560* Use shared default interop helpers for AMD, UMD and IIFE formats (#3710)
561* Avoid unnecessarily deconflicted module variables in non-ES formats (#3710)
562* Freeze generated interop namespace objects (#3710)
563* Always mark interop helpers as pure (#3710)
564* Avoid default export interop if there is already an interop namespace object (#3710)
565* Sort all `require` statements to the top in CommonJS output for easier back-transpilation to ES modules by other tools (#3710)
566
567### Bug Fixes
568* Handle accessing `super` in static class fields (#3720)
569* Deconflict the names of helper variables introduced for interop (#3710)
570* Generate proper namespace objects for static namespace imports in non-ES formats (#3710)
571* Do not add unused interop helpers when using the renderDynamicImport hook (#3710)
572
573### Pull Requests
574* [#3710](https://github.com/rollup/rollup/pull/3710): Rework interop handling (@lukastaegert)
575* [#3720](https://github.com/rollup/rollup/pull/3720): Handle super in static class fields (@lukastaegert)
576
577## 2.23.1
578*2020-08-07*
579
580### Bug Fixes
581* Fix an issue where dynamically importing an entry point could return a malformed namespace for CJS and AMD formats (#3709)
582
583### Pull Requests
584* [#3709](https://github.com/rollup/rollup/pull/3709): Properly construct namespace when dynamically importing chunks with facades in default export mode (@lukastaegert)
585
586## 2.23.0
587*2020-07-23*
588
589### Features
590* Handle environments with only globalThis in UMD output (#3691)
591
592### Pull Requests
593* [#3691](https://github.com/rollup/rollup/pull/3691): Check for globalThis in UMD wrapper (@lukastaegert)
594
595## 2.22.2
596*2020-07-21*
597
598### Bug Fixes
599* Always generate correct exports when an implicit entry is reexporting from another module (#3688)
600
601### Pull Requests
602* [#3688](https://github.com/rollup/rollup/pull/3688): Include all relevant modules to generate reexports for implicit dependencies (@lukastaegert)
603
604## 2.22.1
605*2020-07-18*
606
607### Bug Fixes
608* Remove unused arguments when calling a conditional expression (#3680)
609
610### Pull Requests
611* [#3680](https://github.com/rollup/rollup/pull/3680): Allow tree-shaking of arguments of functions that are returned by conditional expressions (@lukastaegert)
612
613## 2.22.0
614*2020-07-18*
615
616### Features
617* Allow resolving synthetic named exports via an arbitrary export name (#3657)
618* Display a warning when the user does not explicitly select an export mode and would generate a chunk with default export mode when targeting CommonJS (#3657)
619
620### Pull Requests
621* [#3657](https://github.com/rollup/rollup/pull/3657): Add basic support for using a non-default export for syntheticNamedExports (@lukastaegert)
622* [#3659](https://github.com/rollup/rollup/pull/3659): Warn when implicitly using default export mode (@lukastaegert)
623
624## 2.21.0
625*2020-07-07*
626
627### Features
628* Allow plugins to disable tree-shaking for individual modules to ensure even empty modules are associated with chunks (#3663)
629
630### Pull Requests
631* [#3663](https://github.com/rollup/rollup/pull/3663): Disable treeshaking per module (@lukastaegert)
632
633## 2.20.0
634*2020-07-06*
635
636### Features
637* Support using a function to generate different chunk and asset naming patterns per chunk or asset (#3658)
638* Add `referencedFiles` property to the chunk info in generateBundle to list referenced assets (#3661)
639
640### Pull Requests
641* [#3658](https://github.com/rollup/rollup/pull/3658): Add ability to use a function that returns a pattern string in all places where you could use a pattern string before (@frank-dspeed)
642* [#3661](https://github.com/rollup/rollup/pull/3661): Add referenced files to bundle (@lukastaegert)
643
644## 2.19.0
645*2020-07-05*
646
647### Features
648* Allow plugins to return a Promise in the options hook (#3660)
649
650### Pull Requests
651* [#3660](https://github.com/rollup/rollup/pull/3660): Make options hooks async (@TomerAberbach)
652
653## 2.18.2
654*2020-07-02*
655
656### Bug Fixes
657* Do not remove spread element args when the corresponding positional parameter is unused (#3652)
658
659### Pull Requests
660* [#3652](https://github.com/rollup/rollup/pull/3652): Do not tree-shake arguments that contain a spread element (@lukastaegert)
661
662## 2.18.1
663*2020-06-26*
664
665### Bug Fixes
666* Make sure synthetic exports are present when a module is imported dynamically (#3648)
667* Strip the `rollup-plugin-` prefix off the plugin name when looking for the plugin export in a CLI plugin without a default export (#3647)
668* Convert plugin names with dashes to camel case when looking for the plugin export in a CLI plugin without a default export (#3647)
669
670### Pull Requests
671* [#3647](https://github.com/rollup/rollup/pull/3647): Strip rollup-plugin prefix to find named plugin exports, throw when export cannot be found (@lukastaegert)
672* [#3648](https://github.com/rollup/rollup/pull/3648): Always create a dynamic namespace object when a module with synthetic named exports is imported dynamically (@lukastaegert)
673
674## 2.18.0
675*2020-06-22*
676
677### Features
678* `inlineDynamicImports`, `manualChunks` and `preserveModules` can now be used as output options (#3645)
679* Use sourcemaps for certain warnings that reference source code locations (#3645)
680
681### Bug Fixes
682* `this.getFileName` will now always return the correct file name for chunks when multiple outputs are created (#3645)
683
684### Pull Requests
685* [#3645](https://github.com/rollup/rollup/pull/3645): Per output chunking (@lukastaegert)
686
687## 2.17.1
688*2020-06-19*
689
690### Bug Fixes
691* Properly resolve accessing properties of namespace members again (#3643)
692
693### Pull Requests
694* [#3643](https://github.com/rollup/rollup/pull/3643): Fix accessing nested properties of namespaces (@lukastaegert)
695
696## 2.17.0
697*2020-06-17*
698
699### Features
700* When importing Rollup via package.exports, always fall back to the browser ESM build for non-Node environments (#3634)
701* Create more efficient code when handling namespace mutations (#3637)
702
703### Bug Fixes
704* Fix a severe performance regression when the same module is imported by a lot of modules (#3641)
705* Properly escape special characters in imports (#3638)
706
707### Pull Requests
708* [#3634](https://github.com/rollup/rollup/pull/3634): Set browser build in exports (@guybedford)
709* [#3637](https://github.com/rollup/rollup/pull/3637): Do not include the whole namespace when illegally mutating a namespace (@lukastaegert)
710* [#3638](https://github.com/rollup/rollup/pull/3638): Support backslash escaping, retain exact newline escaping (@guybedford)
711* [#3641](https://github.com/rollup/rollup/pull/3641): Fix performance regression when a file is imported by many importers (@lukastaegert)
712
713## 2.16.1
714*2020-06-13*
715
716### Bug Fixes
717* Do not produce invalid code when an external or chunk id contain quotes or line-breaks (#3632)
718* Do not fail but emit a warning when mutating a namespace object (#3633)
719
720### Pull Requests
721* [#3632](https://github.com/rollup/rollup/pull/3632): Handle single quote escaping in ids (@guybedford)
722* [#3633](https://github.com/rollup/rollup/pull/3633): Turn namespace assignment error into a warning (@guybedford)
723
724## 2.16.0
725*2020-06-12*
726
727### Features
728* Add support for numeric separators (#3626)
729* Switch to finalized ESTree optional chaining AST (#3628)
730
731### Pull Requests
732* [#3626](https://github.com/rollup/rollup/pull/3626): Support numeric separator (@TrySound)
733* [#3628](https://github.com/rollup/rollup/pull/3628): Acorn 7.3.0 upgrade (@guybedford)
734* [#3631](https://github.com/rollup/rollup/pull/3631): Improve discoverability of `manualChunks` for code splitting (@zlamma)
735
736## 2.15.0
737*2020-06-08*
738
739### Features
740* Allow to skip watching some configs via `watch: false` (#3620)
741* Provide the resolved sourcemap path to `sourcemapPathTransform` (#3617)
742
743### Pull Requests
744* [#3617](https://github.com/rollup/rollup/pull/3617): Update sourcemapPathTransform to also take the path to the sourcemap file as a second argument (@dgoldstein0)
745* [#3620](https://github.com/rollup/rollup/pull/3620): Rollup watch only one config in exported array (@luwol03)
746
747## 2.14.0
748*2020-06-07*
749
750### Features
751* Make `this.meta.watchMode` available for plugins to detect watch mode (#3616)
752
753### Bug Fixes
754* Handle exporting the same binding with different names in SystemJS (#3575)
755
756### Pull Requests
757* [#3575](https://github.com/rollup/rollup/pull/3575): Handle some cases of duplicate export bindings (@joeljeske)
758* [#3616](https://github.com/rollup/rollup/pull/3616): Make watch mode available in plugins (@lukastaegert)
759
760## 2.13.1
761*2020-06-04*
762
763### Bug Fixes
764* Prevent conflicts in SystemJS when `module` is used as a top-level variable (#3614)
765
766### Pull Requests
767* [#3614](https://github.com/rollup/rollup/pull/3614): Handle system reserved identifier dedupes (@guybedford)
768
769## 2.13.0
770*2020-06-03*
771
772### Features
773* Allow to specify that an emitted chunk is only loaded after a given module has loaded to improve chunking (#3606)
774
775### Pull Requests
776* [#3606](https://github.com/rollup/rollup/pull/3606): Enable specifying implicit dependencies when emitting chunks (@lukastaegert)
777
778## 2.12.1
779*2020-06-02*
780
781### Bug Fixes
782* Render valid imports when chunk names correspond to directory names in virtual setups (#3609)
783
784### Pull Requests
785* [#3609](https://github.com/rollup/rollup/pull/3609): Handle imports from chunks with names that correspond to parent directory names of other chunks (@guybedford)
786
787## 2.12.0
788*2020-05-31*
789
790### Features
791* Add an option `--waitForBundleInput` to let the build wait until all entry point files are available before starting (#3577)
792
793### Pull Requests
794* [#3577](https://github.com/rollup/rollup/pull/3577): Wait for bundle input option (@Heerschop)
795
796## 2.11.2
797*2020-05-28*
798
799### Bug Fixes
800* Include side-effects in the second argument of `Array.from` (#3604)
801
802### Pull Requests
803* [#3604](https://github.com/rollup/rollup/pull/3604): Mark `Array.from` as side-effectful, use two-argument Array.from when mapping Sets (@lukastaegert)
804
805## 2.11.1
806*2020-05-28*
807
808### Bug Fixes
809* Also include side-effects in files that are marked as side-effect-free if they contain an included default export that is reexported (#3602)
810
811### Pull Requests
812* [#3602](https://github.com/rollup/rollup/pull/3602): Handle side-effects next to side-effect-free default exports in case the default export is reexported (@lukastaegert)
813
814## 2.11.0
815*2020-05-27*
816
817### Features
818* Add basic support for optional chaining (#3582)
819* Provide a normalized set of options with proper default values to `buildStart` and `renderStart` (#3597)
820* Do not count adding properties to the prototype of an unused class as a side-effect (#3598)
821* Support providing `null` for empty setters in SystemJS via option (#3592)
822
823### Bug Fixes
824* Do not fail when using a `/*#__PURE__*/` annotation inside a class field (#3599)
825* Allow using `--watch` and `--treeshake` together with sub-options such as `--watch.clearScreen` on the command line (#3597)
826
827### Pull Requests
828* [#3582](https://github.com/rollup/rollup/pull/3582): Support optional chaining via acorn fork(@guybedford)
829* [#3592](https://github.com/rollup/rollup/pull/3592): System format optional setters(@guybedford)
830* [#3597](https://github.com/rollup/rollup/pull/3597): Provide normalized options (@lukastaegert)
831* [#3598](https://github.com/rollup/rollup/pull/3598): Treeshake prototype modifications in classes (@lukastaegert)
832* [#3599](https://github.com/rollup/rollup/pull/3599): Retain pure annotations in class fields (@lukastaegert)
833* [#3601](https://github.com/rollup/rollup/pull/3601): Fix white-space in docs (@tu4mo)
834
835## 2.10.9
836*2020-05-24*
837
838### Bug Fixes
839* Prevent invalid exports when facades are created (#3590)
840
841### Pull Requests
842* [#3590](https://github.com/rollup/rollup/pull/3590): Prevent unneeded exports when entry facades are created and ensure all exported variables in facades are imported (@lukastaegert)
843
844## 2.10.8
845*2020-05-23*
846
847### Bug Fixes
848* Fix issues when synthetic named exports are reexported as default exports (#3586)
849
850### Pull Requests
851* [#3584](https://github.com/rollup/rollup/pull/3584): Clarify documentation for `output.paths` (@jacksteamdev)
852* [#3585](https://github.com/rollup/rollup/pull/3585): Target Node.js v14 instead of v13 in Windows tests (@mangs)
853* [#3586](https://github.com/rollup/rollup/pull/3586): Handle default reexports of synthetic named exports over several stages (@lukastaegert)
854
855## 2.10.7
856*2020-05-22*
857
858### Bug Fixes
859* Handle modules re-exporting namespaces without further own code (#3576)
860
861### Pull Requests
862* [#3576](https://github.com/rollup/rollup/pull/3576): Fix "cannot read exports of undefined" error (@guybedford)
863
864## 2.10.6
865*2020-05-22*
866
867### Bug Fixes
868* Fix some issues around class fields (#3580)
869* Prevent a maximum call stack error when a called entity references itself in its declaration (#3581)
870
871### Pull Requests
872* [#3580](https://github.com/rollup/rollup/pull/3580): Update acorn class features (@guybedford)
873* [#3581](https://github.com/rollup/rollup/pull/3581): Do not fail when including call arguments of recursively defined variables (@lukastaegert)
874
875## 2.10.5
876*2020-05-19*
877
878### Bug Fixes
879* Do not remove side-effects that may influence an included default export declaration when side-effects are disabled (#3572)
880
881### Pull Requests
882* [#3572](https://github.com/rollup/rollup/pull/3572): Observe side-effects in files containing a default export declaration that reexports a variable (@lukastaegert)
883
884## 2.10.4
885*2020-05-19*
886
887### Bug Fixes
888* Tree-shake unused classes with fields unless there are side-effects in the field declaration (#3569)
889
890### Pull Requests
891* [#3569](https://github.com/rollup/rollup/pull/3569): Make sure unused classes with fields are tree-shaken if possible (@lukastaegert)
892
893## 2.10.3
894*2020-05-18*
895
896### Bug Fixes
897* Validate return value of sourcemapPathTransform option (#3561)
898
899### Pull Requests
900* [#3561](https://github.com/rollup/rollup/pull/3561): Throw error if sourcemapPathTransform-option does not return a string (@Simonwep)
901
902## 2.10.2
903*2020-05-15*
904
905### Bug Fixes
906* Properly include calls to mutating array methods in certain scenarios (#3559)
907
908### Pull Requests
909* [#3559](https://github.com/rollup/rollup/pull/3559): Make sure UnknownFooExpressions are included when referenced as return values in a MultiExpression (@lukastaegert)
910
911## 2.10.1
912*2020-05-15*
913
914### Bug Fixes
915* Do not throw when "undefined" is used as a default export (#3558)
916
917### Pull Requests
918* [#3558](https://github.com/rollup/rollup/pull/3558): Properly handle default exporting undefined (@lukastaegert)
919
920## 2.10.0
921*2020-05-13*
922
923### Features
924* Avoid unnecessary empty imports from a facade chunk to the original chunk (#3552)
925* Pin facade creation order so that if several user-defined chunks reference the same module, the first always becomes the "actual" chunk while the later ones become facades (#3552)
926
927### Bug Fixes
928* Do not omit reexports from secondary chunks when creating facades for entry points without hoisting transitive dependencies (#3552)
929
930### Pull Requests
931* [#3552](https://github.com/rollup/rollup/pull/3552): Avoid unnecessary facade dependency inlining (@guybedford)
932
933## 2.9.1
934*2020-05-11*
935
936### Bug Fixes
937* Do not create unintended live-bindings or invalid reexports when reexporting global variables (#3550)
938
939### Pull Requests
940* [#3550](https://github.com/rollup/rollup/pull/3550): Track updates of globals that are exported as default (@lukastaegert)
941
942## 2.9.0
943*2020-05-10*
944
945### Features
946* Add ids of static and dynamic imports to `this.getModuleInfo` (#3542)
947* Provide `getModuleInfo` and `getModuleIds` to `manualChunks` functions (#3542)
948* Add nullish coalescing support (#3548)
949* Make the rebuild delay in watch mode configurable and set the default to `0` for snappy rebuilds (#3502)
950* Add `this.getModuleIds` to the plugin context as future replacement for `this.moduleIds` (#3542)
951
952### Pull Requests
953* [#3502](https://github.com/rollup/rollup/pull/3502): Configurable build delay (@mattdesl)
954* [#3542](https://github.com/rollup/rollup/pull/3542): Extend manualChunks API (@lukastaegert)
955* [#3548](https://github.com/rollup/rollup/pull/3548): Support nullish coalescing with tree-shaking (@lukastaegert)
956
957## 2.8.2
958*2020-05-07*
959
960### Bug Fixes
961* Avoid invalid code when simplifying the body of a shorthand arrow function expression (#3540)
962
963### Pull Requests
964* [#3540](https://github.com/rollup/rollup/pull/3540): Wrap object expressions in parentheses if they become children of an arrow function expression (@lukastaegert)
965
966## 2.8.1
967*2020-05-07*
968
969### Bug Fixes
970* Allow using plugins on CLI that are exported as `exports.default` (#3529)
971* Do not fail side-effect detection in nested callbacks of builtins (#3539)
972
973### Pull Requests
974* [#3529](https://github.com/rollup/rollup/pull/3529): Use default named export with plugins (@NotWoods)
975* [#3539](https://github.com/rollup/rollup/pull/3539): Track call side-effects both by entity and CallExpression to avoid untracked side-effects in nested calls (@lukastaegert)
976
977## 2.8.0
978*2020-05-06*
979
980### Features
981* When a dynamically imported chunk contains more exports than the imported module namespace, do not create a facade chunk but an inline namespace (#3535)
982
983### Bug Fixes
984* Do not execute dynamically imported code before synchronous code in the importing module when generating CommonJS (#3535)
985
986### Pull Requests
987* [#3535](https://github.com/rollup/rollup/pull/3535): Avoid dynamic facade chunks (@lukastaegert)
988
989## 2.7.6
990*2020-04-30*
991
992### Bug Fixes
993* Fix a type issue when a default export references a global variable (#3526)
994
995### Pull Requests
996* [#3526](https://github.com/rollup/rollup/pull/3526): Handles default exporting global variables (@lukastaegert)
997
998## 2.7.5
999*2020-04-29*
1000
1001### Bug Fixes
1002* Prevent infinite loop when default values of function parameters in a default export contain a slash (#3522)
1003
1004### Pull Requests
1005* [#3522](https://github.com/rollup/rollup/pull/3522): Avoid infinite loop when finding position for id insertion in default export (@lukastaegert)
1006
1007## 2.7.4
1008*2020-04-29*
1009
1010### Bug Fixes
1011* Fix an issue where wrong variable names were used when preserving modules (#3521)
1012
1013### Pull Requests
1014* [#3521](https://github.com/rollup/rollup/pull/3521): Fix and improve default export alias logic (@lukastaegert)
1015
1016## 2.7.3
1017*2020-04-27*
1018
1019### Bug Fixes
1020* Do not access `__proto__` when running Rollup (#3518)
1021
1022### Pull Requests
1023* [#3518](https://github.com/rollup/rollup/pull/3518): use acorn-class-fields and acorn-static-class-features from npm (@nitsky)
1024
1025## 2.7.2
1026*2020-04-22*
1027
1028### Bug Fixes
1029* Prevent an infinite loop when creating separate manual chunks with circular dependencies (#3510)
1030* Do not fail if "super" is used in the definition of a class field (#3511)
1031* Throw if a plugin tries to emit a file with an absolute Windows path (#3509)
1032
1033### Pull Requests
1034* [#3509](https://github.com/rollup/rollup/pull/3509): Ban emitFile via absolute paths on Windows OS (@SASUKE40)
1035* [#3510](https://github.com/rollup/rollup/pull/3510): Do not fail for circular imports between manual chunks (@lukastaegert)
1036* [#3511](https://github.com/rollup/rollup/pull/3511): Support "super" in class fields (@lukastaegert)
1037
1038## 2.7.1
1039*2020-04-21*
1040
1041### Bug Fixes
1042* Use correct path for dynamic imports if `output.paths` is used (#3508)
1043
1044### Pull Requests
1045* [#3508](https://github.com/rollup/rollup/pull/3508): Respect output.paths in dynamic imports (@lukastaegert)
1046
1047## 2.7.0
1048*2020-04-21*
1049
1050### Features
1051* Add `preserveEntrySignatures` option to control how exports of entry points are handled (#3498)
1052* Add `preserveSignature` flag to `this.emitFile` to control exports of emitted chunks (#3498)
1053* Add `output.minifyInternalExports` option to control if internal exports are minified (#3498)
1054
1055### Pull Requests
1056* [#3498](https://github.com/rollup/rollup/pull/3498): Add option to configure if entry signatures are preserved (@lukastaegert)
1057
1058## 2.6.1
1059*2020-04-12*
1060
1061### Bug Fixes
1062* Close watch mode when stdin closes in a non-TTY environment (#3493)
1063
1064### Pull Requests
1065* [#3493](https://github.com/rollup/rollup/pull/3493): Ensure --watch mode exits correctly when stdin is closed (@jakesgordon)
1066
1067## 2.6.0
1068*2020-04-10*
1069
1070### Features
1071* Allow regular expressions to declare external modules (#3482)
1072
1073### Pull Requests
1074* [#3482](https://github.com/rollup/rollup/pull/3482): Allow regular expressions in config.external (@johannes-z)
1075
1076## 2.5.0
1077This version is identical to 2.4.0
1078
1079## 2.4.0
1080*2020-04-09*
1081
1082### Features
1083* Add support for most private and public class field features (#3488)
1084
1085### Bug Fixes
1086* Do not replace `this` with `undefined` in class field definitions (#3488)
1087
1088### Pull Requests
1089* [#3488](https://github.com/rollup/rollup/pull/3488): Rollup class fields support (@guybedford and @lukastaegert)
1090
1091## 2.3.5
1092*2020-04-09*
1093
1094### Bug Fixes
1095* Never remove labels when tree-shaking is disabled (#3492)
1096
1097### Pull Requests
1098* [#3492](https://github.com/rollup/rollup/pull/3492): Always use a new inclusion context when including declarations of variables, always inlcude labels when not treeshaking (@lukastaegert)
1099
1100## 2.3.4
1101*2020-04-07*
1102
1103### Bug Fixes
1104* Handle re-exporting synthetic exports from entry-points (#3319)
1105* Fix cross-chunk imports of synthetic exports (#3319)
1106* Handle namespace objects that contain re-exported synthetic namespaces (#3319)
1107
1108### Pull Requests
1109* [#3319](https://github.com/rollup/rollup/pull/3319): Handle re-exports of synthetic named exports (@manucorporat and @lukastaegert)
1110
1111## 2.3.3
1112*2020-04-04*
1113
1114### Bug Fixes
1115* Add external namespaces to dynamic namespace objects (#3474)
1116
1117### Pull Requests
1118* [#3474](https://github.com/rollup/rollup/pull/3474): Support external star exports on namespace objects (@guybedford)
1119
1120## 2.3.2
1121*2020-03-31*
1122
1123### Bug Fixes
1124* Only warn but do not fail build when a namespace is called as a function (#3475)
1125* Make sure pre-existing sourcemap comments are also removed when rebuilding using the cache (#3476)
1126
1127### Pull Requests
1128* [#3475](https://github.com/rollup/rollup/pull/3475): Call namespace error as a warning (@guybedford)
1129* [#3476](https://github.com/rollup/rollup/pull/3476): Store locations for removed comments in cache (@lukastaegert)
1130
1131## 2.3.1
1132*2020-03-30*
1133
1134### Bug Fixes
1135* Do not fail if the config file returns an function returning a Promise (#3472)
1136
1137### Pull Requests
1138* [#3472](https://github.com/rollup/rollup/pull/3472): Fix support for async functions as config (@lukastaegert)
1139
1140## 2.3.0
1141*2020-03-29*
1142
1143### Features
1144* Do not transpile config files with `.mjs` extension in Node 13+ or `.cjs` extension in any Node version and load them appropriately (#3445)
1145* Extract helper to load a config file the way rollup does it via `rollup/dist/loadConfigFile` (#3445)
1146
1147### Bug Fixes
1148* Keep watching the config file if an error occurs during initial load in watch node (#3445)
1149* Add a helpful error message when using a transpiled config in a repository with "type": "module" (#3445)
1150
1151### Pull Requests
1152* [#3445](https://github.com/rollup/rollup/pull/3445): Support native ESM configs in Node 13, support untranspiled configs (@lukastaegert)
1153* [#3468](https://github.com/rollup/rollup/pull/3468): Don't use esm output format alias in the documentation (@vsn4ik)
1154
1155## 2.2.0
1156*2020-03-24*
1157
1158### Features
1159* Add `renderDynamicImport` hook to rewrite dynamic import expressions (#3449)
1160* Add information about dynamically imported modules to `this.getModuleInfo` (#3449)
1161
1162### Bug Fixes
1163* Make file emission work with Uin8Array sources when using Rollup in the browser (#3452)
1164* Fix types to allow watch to accept an array of configs (#3453)
1165* Do not strip `.js` extensions from AMD imports when the import is a user-supplied replacement for a non-resolvable dynamic import target (#3453)
1166
1167### Pull Requests
1168* [#3449](https://github.com/rollup/rollup/pull/3449): Add hook to rewrite dynamic import expressions (@lukastaegert)
1169* [#3452](https://github.com/rollup/rollup/pull/3452): Avoid the assumption of Buffer in browser envs (@JoviDeCroock)
1170* [#3453](https://github.com/rollup/rollup/pull/3453): fix types since watch accepts single or array config (@lukeed)
1171* [#3456](https://github.com/rollup/rollup/pull/3456): fix SystemJS url in tutorial (@guybedford)
1172
1173## 2.1.0
1174*2020-03-18*
1175
1176### Features
1177* Allow specifying an importer when emitting files to resolve relative ids (#3442)
1178
1179### Pull Requests
1180* [#3442](https://github.com/rollup/rollup/pull/3442): Add optional `importer` parameter to `this.emitFile` (@lukastaegert)
1181
1182## 2.0.6
1183*2020-03-13*
1184
1185### Bug Fixes
1186* Do not use file names from different outputs when generating sourcemaps using the `dir` option (#3440)
1187
1188### Pull Requests
1189* [#3440](https://github.com/rollup/rollup/pull/3440): Use correct file names when writing sourcemaps for multiple outputs (@lukastaegert)
1190
1191## 2.0.5
1192*2020-03-12*
1193
1194### Bug Fixes
1195* Fix an issue where conditional statements would assume they have the wrong test value (#3438)
1196
1197### Pull Requests
1198* [#3438](https://github.com/rollup/rollup/pull/3438): Make sure logical expressions always check the left argument for side-effects (@lukastaegert)
1199
1200## 2.0.4
1201*2020-03-12*
1202
1203### Bug Fixes
1204* Avoid conflicts between namespace imports when preserving modules (#3435)
1205
1206### Pull Requests
1207* [#3435](https://github.com/rollup/rollup/pull/3435): Deconflict multiple `index` imports for ES format using nested export star statements (@kamranayub)
1208
1209## 2.0.3
1210*2020-03-10*
1211
1212### Bug Fixes
1213* Add type for this.getCombinedSourcemap to transform context (#3431)
1214
1215### Pull Requests
1216* [#3377](https://github.com/rollup/rollup/pull/3377): Switch to yargs-parser lib (@jamesgeorge007)
1217* [#3426](https://github.com/rollup/rollup/pull/3426): Use strict types with PluginDriver (@NotWoods)
1218* [#3431](https://github.com/rollup/rollup/pull/3431): Add missing type declaration for getCombinedSourcemap (@Anidetrix)
1219* [#3432](https://github.com/rollup/rollup/pull/3432): Detail how return values from `augmentChunkHash` are used (@jakearchibald)
1220
1221## 2.0.2
1222*2020-03-07*
1223
1224### Bug Fixes
1225* Make sure the ESM import still works (#3430)
1226
1227### Pull Requests
1228* [#3430](https://github.com/rollup/rollup/pull/3430): Fix conditional exports again (@lukastaegert)
1229
1230## 2.0.1
1231*2020-03-07*
1232
1233### Bug Fixes
1234* Reenable importing rollup in Node 13.0 - 13.7 (#3428)
1235
1236### Pull Requests
1237* [#3428](https://github.com/rollup/rollup/pull/3428): Fix conditional exports in Node 13.0 - 13.7 (@lukastaegert)
1238
1239## 2.0.0
1240*2020-03-06*
1241
1242### Breaking Changes
1243* Rollup now requires at least Node 10 to run, or a sufficiently modern browser (#3346)
1244* The file structure of Rollup's ESM builds has changed:
1245 - The main ESM entry point is now at `rollup/dist/es/rollup.js` instead of `rollup/dist/rollup.es.js`
1246 - The ESM browser build is at `rollup/dist/es/rollup.browser.js` instead of `rollup/dist/rollup.browser.es.js`
1247
1248 In general, the ESM builds now follow the same naming scheme as the CJS builds but are located in the `rollup/dist/es` subfolder instead of `rollup/dist` (#3391)
1249* The "watch.chokidar" option no longer accepts a `boolean` value but only an object of parameters that is passed to the bundled Chokidar instance. Chokidar installations by the user will be ignored in favour of the bundled instance (#3331)
1250* Modules that are completely tree-shaken will no longer be listed as part of any chunks in `generateBundle`
1251* The `experimentalOptimizeChunks` and `chunkGroupingSize` options have been removed
1252* [acorn](https://github.com/acornjs/acorn) plugins can only be used if they accept a passed-in acorn instance instead of importing it themselves. See https://github.com/acornjs/acorn/pull/870#issuecomment-527339830 for what needs to be done to make plugins compatible that do not support this yet (#3391)
1253* Emitted chunks now have the TypeScript type `Uint8Array` instead of `Buffer`. A `Buffer` can still be used, though (#3395)
1254* The TypeScript types no longer use ESTree types for AST nodes but a very generic type that does not contain information specific to certain node types (#3395)
1255* The signature of the `writeBundle` plugin hook has been changed to match `generateBundle`: The bundle object is now passed as second parameter instead of first and the first parameter is the output options (#3361)
1256* The following plugin hooks have been removed:
1257 - ongenerate: use `generateBundle` instead
1258 - onwrite: use `writeBundle` instead
1259 - transformBundle: use `renderChunk` instead
1260 - transformChunk: use `renderChunk` instead
1261* You can no longer access `this.watcher` on the plugin context.
1262* The `transform` hook can no longer return `dependencies`.
1263* The `treeshake.pureExternalModules` option will now show a deprecation warning when used: use `treeshake.moduleSideEffects: 'no-external'` instead
1264* Using `import.meta.ROLLUP_ASSET_URL_<..>` and `import.meta.ROLLUP_CHUNK_URL_<..>` in code will now show warnings: use `import.meta.ROLLUP_FILE_URL_<..>` instead
1265* The `resolveAssetUrl` hook will now show a deprecation warning when used: use `resolveFileUrl` instead
1266* The following plugin context functions will show warnings when used:
1267 - `this.emitAsset`: use `this.emitFile`
1268 - `this.emitChunk`: use `this.emitFile`
1269 - `this.getAssetFileName`: use `this.getFileName`
1270 - `this.getChunkFileName`: use `this.getFileName`
1271 - `this.isExternal`: use `this.resolve`
1272 - `this.resolveId`: use `this.resolve`
1273* Directly adding properties to the bundle object in the `generateBundle` is deprecated will show a warning (removing properties is allowed, though): Use `this.emitFile`
1274* Accessing `chunk.isAsset` on the bundle is deprecated: Use `chunk.type === 'asset'` instead
1275* The error code for a missing `name` property when targeting UMD has been changed to `MISSING_NAME_OPTION_FOR_IIFE_EXPORT` to emphasize this is needed for the IIFE part of UMD (#3393)
1276
1277### Features
1278* Rollup now bundles [Chokidar](https://github.com/paulmillr/chokidar) for a better watch experience (#3331)
1279* Rollup now bundles [acorn](https://github.com/acornjs/acorn) again, removing its only external dependency (#3391)
1280* Do not consider empty imports from side-effect-free modules for chunking and hoist side-effect imports if necessary (#3369)
1281* Rollup can now be imported as an ES module in Node via `import {rollup} from 'rollup'`. Note that this relies on Node's experimental [conditional package exports](https://nodejs.org/dist/latest-v13.x/docs/api/esm.html#esm_conditional_exports) feature and is therefore itself experimental (#3391)
1282* `systemjs` can be used as format alias for `system` (#3381)
1283
1284### Bug Fixes
1285* Unknown output options now trigger a warning when using the JavaScript API (#3352)
1286* Rollup will no longer introduce Node types into TypeScript projects that do not use them (#3395)
1287* Generate correct sourcemaps when tree-shaking occurs in a multi-file bundle (#3423)
1288
1289### Pull Requests
1290* [#3331](https://github.com/rollup/rollup/pull/3331): Bundle Chokidar (@lukastaegert)
1291* [#3343](https://github.com/rollup/rollup/pull/3343): Remove experimentalOptimizeChunks (@lukastaegert)
1292* [#3346](https://github.com/rollup/rollup/pull/3346): Update minimum required Node version to 10 (@lukastaegert)
1293* [#3352](https://github.com/rollup/rollup/pull/3352): Remove active deprecations (@lukastaegert)
1294* [#3361](https://github.com/rollup/rollup/pull/3361): Change writeBundle signature to match generateBundle (@lukastaegert)
1295* [#3369](https://github.com/rollup/rollup/pull/3369): Avoid empty imports from side-effect-free chunks (@lukastaegert)
1296* [#3381](https://github.com/rollup/rollup/pull/3381): Rename esm to es everywhere, add systemjs alias (@lukastaegert)
1297* [#3391](https://github.com/rollup/rollup/pull/3391): Bundle acorn, allow importing Rollup as Node ES module, update dependencies (@lukastaegert)
1298* [#3393](https://github.com/rollup/rollup/pull/3393): Better error code for name-less umd bundle (@rail44)
1299* [#3395](https://github.com/rollup/rollup/pull/3395): Remove `@types` dependencies (@lukastaegert)
1300* [#3423](https://github.com/rollup/rollup/pull/3423): Update magic-string and fix sourcemaps (@lukastaegert)
1301
1302## 1.32.1
1303*2020-03-06*
1304
1305### Bug Fixes
1306* Handle default export detection for AMD and IIFE externals that do not have a prototype (#3420)
1307* Handle missing whitespace when the else branch of an if-statement is simplified (#3421)
1308* Mention the importing module when reporting errors for missing named exports (#3401)
1309* Add code to warning for missing output.name of IIFE bundles (#3372)
1310
1311### Pull Requests
1312* [#3372](https://github.com/rollup/rollup/pull/3372): Add warning code for missing output.name of IIFE bundle that has export (@rail44)
1313* [#3401](https://github.com/rollup/rollup/pull/3401): Missing exports errors now print the importing module (@timiyay)
1314* [#3418](https://github.com/rollup/rollup/pull/3418): Structure lifecycle hooks, add links to build time hooks (@lukastaegert)
1315* [#3420](https://github.com/rollup/rollup/pull/3420): Update generated code of getInteropBlock() to work with null prototype objects (@jdalton)
1316* [#3421](https://github.com/rollup/rollup/pull/3421): Avoid invalid code when "else" branch is simplified (@lukastaegert)
1317
1318## 1.32.0
1319*2020-02-28*
1320
1321### Features
1322* Allow adding plugins on the command line via `--plugin <plugin>` (#3379)
1323
1324### Pull Requests
1325* [#3379](https://github.com/rollup/rollup/pull/3379): introduce CLI --plugin support (@kzc)
1326* [#3390](https://github.com/rollup/rollup/pull/3390): fix typo: this.addWatchfile (@mistlog)
1327* [#3392](https://github.com/rollup/rollup/pull/3392): Bump codecov from 3.6.1 to 3.6.5
1328* [#3404](https://github.com/rollup/rollup/pull/3404): Update resolveFileUrl docs (@jakearchibald)
1329
1330## 1.31.1
1331*2020-02-14*
1332
1333### Bug Fixes
1334* Make sure errored files are always re-evaluated in watch mode to avoid an issue in the typescript plugin (#3388)
1335
1336### Pull Requests
1337* [#3366](https://github.com/rollup/rollup/pull/3366): Correct spelling minifaction to minification (@VictorHom)
1338* [#3371](https://github.com/rollup/rollup/pull/3371): Adjust bug template to mention REPL.it (@lukastaegert)
1339* [#3388](https://github.com/rollup/rollup/pull/3388): Run transform hooks again in watch mode on files that errored (@lukastaegert)
1340
1341## 1.31.0
1342*2020-01-31*
1343
1344### Features
1345* Always disable tree-shaking for asm.js functions to maintain semantics (#3362)
1346
1347### Pull Requests
1348* [#3362](https://github.com/rollup/rollup/pull/3362): Preserve asm.js code (@lukastaegert)
1349
1350## 1.30.1
1351*2020-01-27*
1352
1353### Bug Fixes
1354* Do not mistreat static entgry points as dynamic ones when chunking (#3357)
1355* Resolve a crash when chunking circular dynamic imports (#3357)
1356
1357### Pull Requests
1358* [#3357](https://github.com/rollup/rollup/pull/3357): Resolve issues with circular dynamic entries (@lukastaegert)
1359
1360## 1.30.0
1361*2020-01-27*
1362
1363### Features
1364* Do not split chunks when dynamically imported modules import modules that are already loaded by all dynamic importers (#3354)
1365* Add `hoistTransitiveImports` option to disable hoisting imports of static dependencies into entry chunks (#3353)
1366
1367### Bug Fixes
1368* Make sure polyfills are always loaded first when each static entry point contains them as first import (#3354)
1369
1370### Pull Requests
1371* [#3353](https://github.com/rollup/rollup/pull/3353): Add option to avoid hoisting transitive imports (@lukastaegert)
1372* [#3354](https://github.com/rollup/rollup/pull/3354): Improve chunking algorithm for dynamic imports (@tjenkinson and @lukastaegert)
1373
1374## 1.29.1
1375*2020-01-21*
1376
1377### Bug Fixes
1378* Avoid crashes for circular reexports when named exports cannot be found (#3350)
1379
1380### Pull Requests
1381* [#3335](https://github.com/rollup/rollup/pull/3335): Fix typo (@robbinworks)
1382* [#3342](https://github.com/rollup/rollup/pull/3342): Remove ":" from test file names for Windows and update dependencies (@lukastaegert)
1383* [#3350](https://github.com/rollup/rollup/pull/3350): Properly handle circular reexports (@lukastaegert)
1384
1385## 1.29.0
1386*2020-01-08*
1387
1388### Features
1389* Enable top-level await by default (#3089)
1390* Add typings for watch events (#3302)
1391
1392### Bug Fixes
1393* Deconflict files that would conflict only on a case-insensitive OS (#3317)
1394* Do not fail in certain scenarios where a logical expression inside a sequence expression was being directly included (#3327)
1395
1396### Pull Requests
1397* [#3089](https://github.com/rollup/rollup/pull/3089): Move top-level await out of experimental (@guybedford)
1398* [#3302](https://github.com/rollup/rollup/pull/3302): Adds type definitions for RollupWatcher events (@NotWoods)
1399* [#3317](https://github.com/rollup/rollup/pull/3317): Fix module id conflict on a case insensitive OS (@yesmeck)
1400* [#3327](https://github.com/rollup/rollup/pull/3327): Handle deoptimizations while a node is being included (@lukastaegert)
1401
1402## 1.28.0
1403*2020-01-04*
1404
1405### Features
1406* Allow piping in stdin via the command line interface (#3312, #3290)
1407* Allow plugins to mark modules as having syntheticNamedExports for e.g. better CJS interoperability (#3295)
1408* Ignore variable reassignments in dead code when tree-shaking to remove more unneeded code (#3212)
1409
1410### Bug Fixes
1411* Properly respect tree-shaken code when generating sourcemaps (#3318)
1412
1413### Pull Requests
1414* [#3212](https://github.com/rollup/rollup/pull/3212): Handle assignments in dead code (@tjenkinson)
1415* [#3290](https://github.com/rollup/rollup/pull/3290): Implement stdin input with optional "-" as the file name (@kzc)
1416* [#3295](https://github.com/rollup/rollup/pull/3295): Add syntheticNamedExports (@manucorporat)
1417* [#3300](https://github.com/rollup/rollup/pull/3300): Add note about setting `types` in tsconfig file (@tjenkinson)
1418* [#3303](https://github.com/rollup/rollup/pull/3303): Use ! to assert not-null in TypeScript (@NotWoods)
1419* [#3312](https://github.com/rollup/rollup/pull/3312): Implement stdin input (@lukastaegert)
1420* [#3318](https://github.com/rollup/rollup/pull/3318): Update magic-string and other dependencies (@lukastaegert)
1421
1422## 1.27.14
1423*2019-12-22*
1424
1425### Bug Fixes
1426* Update references to official rollup plugins in error messages (#3297, #3298)
1427
1428### Pull Requests
1429* [#3286](https://github.com/rollup/rollup/pull/3286): Update link to JavaScript API documentation (@romankaravia)
1430* [#3294](https://github.com/rollup/rollup/pull/3294): Update deprecated references to the node-resolve plugin in the documentation (@Vlad-Shcherbina)
1431* [#3297](https://github.com/rollup/rollup/pull/3297): Update references to rollup-plugin-json (@cprecioso)
1432* [#3298](https://github.com/rollup/rollup/pull/3298): Update references to official rollup plugins (@cprecioso)
1433
1434## 1.27.13
1435*2019-12-14*
1436
1437### Bug Fixes
1438* Do not truncate environment variable values at the first colon when using the `--environment` option (#3283)
1439
1440### Pull Requests
1441* [#3283](https://github.com/rollup/rollup/pull/3283): Allow environment variables to contain colons (@tlaverdure)
1442
1443## 1.27.12
1444*2019-12-13*
1445
1446### Bug Fixes
1447* Prevent invalid AMD or SystemJS code when accessing `import.meta` (#3282)
1448
1449### Pull Requests
1450* [#3282](https://github.com/rollup/rollup/pull/3282): Always make "module" available for SystemJS and AMD formats if `import.meta` is accessed directly (@lukastaegert)
1451
1452## 1.27.11
1453*2019-12-12*
1454
1455### Bug Fixes
1456* Resolve a crash due to an infinite loop (#3280)
1457
1458### Pull Requests
1459* [#3280](https://github.com/rollup/rollup/pull/3280): Prevent infinite deoptimizations (@lukastaegert)
1460
1461## 1.27.10
1462*2019-12-11*
1463
1464### Bug Fixes
1465* Keep track of function return values in more situations (#3278)
1466
1467### Pull Requests
1468* [#3278](https://github.com/rollup/rollup/pull/3278): Avoid some unnecessary value tracking deoptimizations (@lukastaegert)
1469
1470## 1.27.9
1471*2019-12-07*
1472
1473### Bug Fixes
1474* Fix an issue where reexports could be missing when preserving modules (#3273)
1475* Allow turning of color output via NO_COLOR or FORCE_COLOR=0 environment variables (#3272)
1476
1477### Pull Requests
1478* [#3272](https://github.com/rollup/rollup/pull/3272): Support either NO_COLOR or FORCE_COLOR=0 to turn off color (@kikonen)
1479* [#3273](https://github.com/rollup/rollup/pull/3273): Make sure that indirectly reexported modules also become chunk dependencies when preserving modules(@lukastaegert)
1480
1481## 1.27.8
1482*2019-12-02*
1483
1484### Bug Fixes
1485* Deoptimize objects when a method is called on them to make sure modifications via "this" are observed (#3266)
1486
1487### Pull Requests
1488* [#3266](https://github.com/rollup/rollup/pull/3266): Workaround for various object literal mutation bugs (@kzc)
1489
1490## 1.27.7
1491*2019-12-01*
1492
1493### Bug Fixes
1494* Fix a scenario where a reassignments to computed properties were not tracked (#3267)
1495
1496### Pull Requests
1497* [#3267](https://github.com/rollup/rollup/pull/3267): Fix incomplete computed property deoptimization (@lukastaegert)
1498
1499## 1.27.6
1500*2019-11-30*
1501
1502### Bug Fixes
1503* Use "auto" export mode by default for all modules when preserving modules (#3265)
1504* Observe "output.exports" when preserving modules and warn for mixed exports if necessary (#3265)
1505
1506### Pull Requests
1507* [#3265](https://github.com/rollup/rollup/pull/3265): Use export mode "auto" by default when preserving modules (@lukastaegert)
1508
1509## 1.27.5
1510*2019-11-25*
1511
1512### Bug Fixes
1513* Make sure namespaces for inlined dynamic imports are treated as variable accesses when deconflicting (#3256)
1514
1515### Pull Requests
1516* [#3256](https://github.com/rollup/rollup/pull/3256): Avoid name conflicts when inlining dynamic imports nested in functions (@lukastaegert)
1517* [#3257](https://github.com/rollup/rollup/pull/3257): Update dependencies (@lukastaegert)
1518
1519## 1.27.4
1520*2019-11-22*
1521
1522### Bug Fixes
1523* Aggregate circular dependency warnings in the CLI (#3249)
1524* Do not defer non-aggregated handlers in the CLI (#3249)
1525
1526### Pull Requests
1527* [#3249](https://github.com/rollup/rollup/pull/3249): Fix broken Windows CLI tests (@lukastaegert)
1528* [#3251](https://github.com/rollup/rollup/pull/3251): Add installation as a separate header (@ashrith-kulai)
1529
1530## 1.27.3
1531*2019-11-20*
1532
1533### Bug Fixes
1534* Provide better warning when empty chunks are created in a code-splitting scenario (#3244)
1535
1536### Pull Requests
1537* [#3244](https://github.com/rollup/rollup/pull/3244): Clearer empty chunk warning (@tjenkinson)
1538
1539## 1.27.2
1540*2019-11-18*
1541
1542### Bug Fixes
1543* Fix an issue where live bindings were not working correctly when using `+=` in SystemJS (#3242)
1544
1545### Pull Requests
1546* [#3242](https://github.com/rollup/rollup/pull/3242): Export updated assignments when using shorthand update assignment expressions in SystemJS (@lukastaegert)
1547
1548## 1.27.1
1549*2019-11-18*
1550
1551### Bug Fixes
1552* Fix an issue where code after a switch-statement with removed cases was erroneously not included (#3241)
1553
1554### Pull Requests
1555* [#3237](https://github.com/rollup/rollup/pull/3237): make `acornOptions` optional in `parse()` in docs (@tjenkinson)
1556* [#3240](https://github.com/rollup/rollup/pull/3240): Update dependencies and fix vulnerability (@lukastaegert)
1557* [#3241](https://github.com/rollup/rollup/pull/3241): Do not truncate after switch-statement with removed case (@lukastaegert)
1558
1559## 1.27.0
1560*2019-11-12*
1561
1562### Features
1563* Add support for output-specific plugins (#3218)
1564* Reenable parallel output processing when using the CLI (#3218)
1565* Warn if files are emitted that would overwrite previously emitted files (#3218)
1566
1567### Bug Fixes
1568* Do not overwrite files emitted in other builds if outputs are generated in parallel (#3218)
1569
1570### Pull Requests
1571* [#3218](https://github.com/rollup/rollup/pull/3218): Per output plugins (@lukastaegert)
1572
1573## 1.26.5
1574*2019-11-11*
1575
1576### Bug Fixes
1577* Fix a regression where it was no longer to pass a certain option format to generate (#3223)
1578
1579### Pull Requests
1580* [#3223](https://github.com/rollup/rollup/pull/3223): Allow passing input options to output (@lukastaegert)
1581
1582## 1.26.4
1583*2019-11-09*
1584
1585### Bug Fixes
1586* Keep watching known files after a plugin error during the initial build (#3219)
1587
1588### Pull Requests
1589* [#3216](https://github.com/rollup/rollup/pull/3216): Fix small typo (@kaisermann)
1590* [#3217](https://github.com/rollup/rollup/pull/3217): Update dependencies and fix security vulnerability (@lukastaegert)
1591* [#3219](https://github.com/rollup/rollup/pull/3219): Also recover from plugin errors during the initial build (@lukastaegert)
1592
1593## 1.26.3
1594*2019-11-02*
1595
1596### Bug Fixes
1597* Work around an incompatibility with rollup-plugin-dts (#3211)
1598
1599### Pull Requests
1600* [#3211](https://github.com/rollup/rollup/pull/3211): Do no fail if the source attribute is `undefined` in an unused named export (@lukastaegert)
1601
1602## 1.26.2
1603*2019-10-31*
1604
1605### Bug Fixes
1606* Do not create invalid code when using `treeshake: false` and star re-exports (#3209)
1607
1608### Pull Requests
1609* [#3209](https://github.com/rollup/rollup/pull/3209): Also remove export-all declarations when not tree-shaking (@lukastaegert)
1610
1611## 1.26.1
1612*2019-10-31*
1613
1614### Bug Fixes
1615* Prevent an issue where outputs would overwrite files emitted by other outputs (#3201)
1616* Do not throw an error if the config file does not have a .js extension (#3204)
1617
1618### Pull Requests
1619* [#3201](https://github.com/rollup/rollup/pull/3201): Make the CLI run generate/output in serial (@marijnh)
1620* [#3204](https://github.com/rollup/rollup/pull/3204): support all config file extensions (.js,.mjs,...) (@arlac77)
1621
1622## 1.26.0
1623*2019-10-27*
1624
1625### Features
1626* Only warn when no output is provided for an IIFE bundle but still produce valid code (#3181)
1627* Support reexporting namespaces as a binding (#3193)
1628* Switch from hash.js to crypto for hashing in the Node build for better performance and support for very large assets (#3194)
1629
1630### Bug Fixes
1631* Correctly handle chunks reexporting the same namespace as two different bindings (#3193)
1632
1633### Pull Requests
1634* [#3181](https://github.com/rollup/rollup/pull/3181): Remove the need to provide an output name for IIFE bundles (@bterrier)
1635* [#3193](https://github.com/rollup/rollup/pull/3193): Add support for "export * as name from …" (@lukastaegert)
1636* [#3194](https://github.com/rollup/rollup/pull/3194): Add support for large assets (> 100 MB) (@SebastianNiemann)
1637
1638## 1.25.2
1639*2019-10-23*
1640
1641### Bug Fixes
1642* Improve performance of bundled UMD code by adding additional parentheses to enforce eager parsing (#3183)
1643* Improve types to tolerate passing a Rollup config with multiple outputs to `rollup.rollup` (#3184)
1644
1645### Pull Requests
1646* [#3183](https://github.com/rollup/rollup/pull/3183): Add parentheses to factory function of UMD bundles (@ajihyf)
1647* [#3184](https://github.com/rollup/rollup/pull/3184): RollupOptions accept output as array (@imcotton)
1648
1649## 1.25.1
1650*2019-10-20*
1651
1652### Bug Fixes
1653* Handle a situation where code was not included after a switch statement (#3178)
1654* Handle a situation where code was not included after a do-while loop (#3180)
1655* Do not fail if different outputs emit the same file (#3175)
1656* Give access to the original acorn error for parse errors (#3176)
1657
1658### Pull Requests
1659* [#3175](https://github.com/rollup/rollup/pull/3175): Disable errors for duplicate emitted file names (@marijnh)
1660* [#3176](https://github.com/rollup/rollup/pull/3176): Add original parser error to rollup error; Update tests (@gribnoysup)
1661* [#3178](https://github.com/rollup/rollup/pull/3178): Fix switch case not being included correctly (@lukastaegert)
1662* [#3179](https://github.com/rollup/rollup/pull/3179): Update dependencies (@lukastaegert)
1663* [#3180](https://github.com/rollup/rollup/pull/3180): Handle conditional breaks in do-while loops with unconditional return (@lukastaegert)
1664
1665## 1.25.0
1666*2019-10-18*
1667
1668### Features
1669* Remove try-catch if there is no side-effect in the try-block (#3166)
1670* Omit side-effect-free trailing cases in switch-statements (#3166)
1671* Remove unused labels (#3170)
1672
1673### Bug Fixes
1674* Do not remove code after labeled statements that contain a throw or return if the label is used (#3170)
1675* Prevent invalid code when expressions are simplified that do not follow a white-space character (#3173)
1676* Do not remove continue statements inside switch statements (#3166)
1677* Prevent trailing empty lines when tree-shaking inside switch statements (#3166)
1678
1679### Pull Requests
1680* [#3166](https://github.com/rollup/rollup/pull/3166): Better try statement tree shaking (@lukastaegert)
1681* [#3170](https://github.com/rollup/rollup/pull/3170): Handle optional control flow in labeled statements, remove unused labels (@lukastaegert)
1682* [#3173](https://github.com/rollup/rollup/pull/3173): Add missing spaces in certain statements and expressions to avoid invalid code (@lukastaegert)
1683
1684## 1.24.0
1685*2019-10-15*
1686
1687### Features
1688* Respect `break`, `continue`, `return` and `throw` when tree-shaking to detect dead code (#3153)
1689* Do treat treat hoisted function declarations as "unknown" when checking for call side-effects (#3153)
1690
1691### Bug Fixes
1692* Make sure that unknown `import.meta` properties produce valid code in SystemJS (#3152)
1693* Make sure `treeshake.annotations: false` is respected for class instantiation (#3153)
1694* Check property access side-effects for class instantiation (#3153)
1695* Do not suppress break statements inside labeled statements (#3153)
1696
1697### Pull Requests
1698* [#3152](https://github.com/rollup/rollup/pull/3152): Allow import.meta.* for systemjs format (@dmail)
1699* [#3153](https://github.com/rollup/rollup/pull/3153): Get rid of immutable.js and implement tree-shaking for broken control flow (@lukastaegert)
1700
1701## 1.23.1
1702*2019-10-05*
1703
1704### Bug Fixes
1705* Fix a regression where the node types had a specific minimal version (#3143)
1706
1707### Pull Requests
1708* [#3143](https://github.com/rollup/rollup/pull/3143): Ensure that types packages have star version ranges (@lukastaegert)
1709
1710## 1.23.0
1711*2019-10-03*
1712
1713### Features
1714* Add placeholders for extensions when preserving modules (#3116)
1715
1716### Pull Requests
1717* [#3116](https://github.com/rollup/rollup/pull/3116): Include extensions in preserveModules output filenames for scriptified assets (@Andarist)
1718* [#3142](https://github.com/rollup/rollup/pull/3142): Fix typo (@tu4mo)
1719
1720## 1.22.0
1721*2019-09-29*
1722
1723### Features
1724* Add a new "hidden" sourcemap type that generates the map files but omits the sourcemap comment (#3120)
1725* Generate more efficient code when using `namespaceToStringTag: true` (#3135)
1726* Make sure namespace objects do not have a prototype (#3136)
1727
1728### Bug Fixes
1729* Do not ignore side-effectful iterators by always preserving for..of loops for now (#3132)
1730* Make sure `--context` is observed as a CLI option (#3134)
1731* Do not require specific versions for @types dependencies (#3131)
1732
1733### Pull Requests
1734* [#3120](https://github.com/rollup/rollup/pull/3120): Generate sourcemaps but omit the comment (@rohitmohan96)
1735* [#3131](https://github.com/rollup/rollup/pull/3131): Use asterisk for @types/* dependencies (@frenzzy)
1736* [#3132](https://github.com/rollup/rollup/pull/3132): Preserve empty for...of loops (@imatlopez)
1737* [#3133](https://github.com/rollup/rollup/pull/3133): Update dependencies (@lukastaegert)
1738* [#3134](https://github.com/rollup/rollup/pull/3134): Wire up --context CLI flag (@tchetwin)
1739* [#3135](https://github.com/rollup/rollup/pull/3135): Remove Symbol polyfill in module namespaces (@mkubilayk)
1740* [#3136](https://github.com/rollup/rollup/pull/3136): Set null prototype on namespace objects (@rpamely)
1741
1742## 1.21.4
1743*2019-09-16*
1744
1745### Bug Fixes
1746* Recognize common browser globals (#3117)
1747* Do not treat "typeof <global>" as a side-effect (#3117)
1748
1749### Pull Requests
1750* [#3117](https://github.com/rollup/rollup/pull/3117): Add browser globals to known globals and prevent "typeof" side-effects (@lukastaegert)
1751
1752## 1.21.3
1753*2019-09-14*
1754
1755### Bug Fixes
1756* Fix a regression where modifying a watched file did not trigger a rebuild (#3112)
1757
1758### Pull Requests
1759* [#3112](https://github.com/rollup/rollup/pull/3112): Fix .addWatchFile() dependencies failing to invalidate in watch mode (@tivac)
1760
1761## 1.21.2
1762*2019-09-09*
1763
1764### Bug Fixes
1765* Fix wrong deprecation message to direct to `this.emitFile` instead of `this.emitAsset`
1766
1767## 1.21.1
1768*2019-09-09*
1769
1770### Bug Fixes
1771* Allow legacy plugins to still add assets directly to the bundle object (#3105)
1772
1773### Pull Requests
1774* [#3105](https://github.com/rollup/rollup/pull/3105): Allow legacy plugins to still add assets directly to the bundle object (@lukastaegert)
1775
1776## 1.21.0
1777*2019-09-08*
1778
1779### Features
1780* Respect `output.entryFileNames` when preserving modules (#3088)
1781* Make accessing unknown globals a side-effect unless this is deactivated via `treeshake.unknownGlobalSideEffects` (#3068)
1782* Respect global objects when checking for pure global functions (#3068)
1783* Introduce a `type` to more easily distinguish chunks and assets in the output bundle (#3080)
1784
1785### Bug Fixes
1786* Recover in watch mode when the initial build fails (#3081)
1787* Make sure `output.strict` is respected for SystemJS output (#3101)
1788
1789### Pull Requests
1790* [#3068](https://github.com/rollup/rollup/pull/3068): Make accessing unknown globals a side-effect (@lukastaegert)
1791* [#3080](https://github.com/rollup/rollup/pull/3080): OutputBundle Tagged union with 'type = chunk|asset' (@askbeka)
1792* [#3081](https://github.com/rollup/rollup/pull/3081): Watch files onbuild, even if build fails (@mhkeller)
1793* [#3088](https://github.com/rollup/rollup/pull/3088): Add support for entryFileNames pattern used in combination with preserveModules option (@Andarist)
1794* [#3101](https://github.com/rollup/rollup/pull/3101): Remove 'use strict'; from systemjs when strict=false (@askbeka)
1795
1796## 1.20.3
1797*2019-08-28*
1798
1799### Bug Fixes
1800* Make sure file hashes change when a change of the naming pattern leads to a file name change of a dependency (#3083)
1801* Fix several issues where reexporting an external "default" export could lead to invalid or incorrect code (#3084)
1802
1803### Pull Requests
1804* [#3078](https://github.com/rollup/rollup/pull/3078): Add github actions workflow config for windows (@shellscape)
1805* [#3083](https://github.com/rollup/rollup/pull/3083): Properly reflect dependency file names in hash (@lukastaegert)
1806* [#3084](https://github.com/rollup/rollup/pull/3084): Fix "default" reexport issues in non ESM/System formats (@lukastaegert)
1807
1808## 1.20.2
1809*2019-08-25*
1810
1811### Bug Fixes
1812* Avoid an issue where circular namespace reexports would crash Rollup (#3074)
1813
1814### Pull Requests
1815* [#3077](https://github.com/rollup/rollup/pull/3077): Handle namespaces that reexport themselves (@lukastaegert)
1816
1817## 1.20.1
1818*2019-08-22*
1819
1820### Bug Fixes
1821* Fix an issue where variable names inside dynamic import expressions were not rendered correctly (#3073)
1822* Fix type definition to allow a single watcher config as well as an array (#3074)
1823
1824### Pull Requests
1825* [#3073](https://github.com/rollup/rollup/pull/3073): Fix wrong variable name in import expression (@lukastaegert)
1826* [#3074](https://github.com/rollup/rollup/pull/3074): Fixes type definition on watch and Watcher constructor (@MicahZoltu)
1827
1828## 1.20.0
1829*2019-08-21*
1830
1831### Features
1832* Add augmentChunkHash plugin hook to be able to reflect changes in renderChunk in the chunk hash (#2921)
1833
1834### Bug Fixes
1835* Do not mutate the acorn options object (#3051)
1836* Make sure the order of emitted chunks always reflects the order in which they were emitted (#3055)
1837* Do not hang when there are strings containing comment-like syntax in some scenarios (#3069)
1838
1839### Pull Requests
1840* [#2921](https://github.com/rollup/rollup/pull/2921): Add augmentChunkHash plugin hook (@isidrok)
1841* [#2995](https://github.com/rollup/rollup/pull/2995): Add info on installing locally to docs (@mesqueeb)
1842* [#3037](https://github.com/rollup/rollup/pull/3037): Refresh pull request labels (@shellscape)
1843* [#3048](https://github.com/rollup/rollup/pull/3048): Document ROLLUP_WATCH environment variable (@shellscape)
1844* [#3051](https://github.com/rollup/rollup/pull/3051): Avoid changes to the original options (.acorn) object (@LongTengDao)
1845* [#3052](https://github.com/rollup/rollup/pull/3052): Minor refactoring: Remove one try-catch (@KSXGitHub)
1846* [#3053](https://github.com/rollup/rollup/pull/3053): Refactor to use async-await in more places (@KSXGitHub)
1847* [#3055](https://github.com/rollup/rollup/pull/3055): Provide consistent chunking via a consistent order of entry modules when emitting chunks (@lukastaegert)
1848* [#3058](https://github.com/rollup/rollup/pull/3058): Remove acorn-bigint and acorn-dynamic-import from bundle (@LongTengDao)
1849* [#3061](https://github.com/rollup/rollup/pull/3061): Update to acorn@7 (@lukastaegert)
1850* [#3063](https://github.com/rollup/rollup/pull/3063): Auto-generate license file (@lukastaegert)
1851* [#3069](https://github.com/rollup/rollup/pull/3069): Prevent infinite loop when scanning for line-breaks and there are comment-like strings (@lukastaegert)
1852
1853## 1.19.4
1854*2019-08-07*
1855
1856### Bug Fixes
1857* Prevent invalid code when exporting an external namespace (#3034)
1858* Prevent invalid or non-equivalent code when simplifying expressions in return and throw statements (#3035)
1859
1860### Pull Requests
1861* [#3034](https://github.com/rollup/rollup/pull/3034): Avoid generating .* as export (@LongTengDao)
1862* [#3035](https://github.com/rollup/rollup/pull/3035): Prevent ASI errors for conditional expressions (@lukastaegert)
1863* [#3036](https://github.com/rollup/rollup/pull/3036): Fix documents to use https, not http (@giraffate)
1864
1865## 1.19.3
1866*2019-08-06*
1867
1868### Bug Fixes
1869* Fix wrong URLs in error messages (#3033)
1870
1871### Pull Requests
1872* [#3033](https://github.com/rollup/rollup/pull/3033): Fix wrong URLs in error messages (@giraffate)
1873
1874## 1.19.2
1875*2019-08-05*
1876
1877### Bug Fixes
1878* Add bin file to package
1879
1880## 1.19.1
1881*2019-08-05*
1882
1883### Bug Fixes
1884* Remove wrong extension in package.json file (#3031)
1885
1886### Pull Requests
1887* [#3031](https://github.com/rollup/rollup/pull/3031): Fix wrong extension (@lukastaegert)
1888
1889## 1.19.0
1890*2019-08-05*
1891
1892### Features
1893* Implement a new unified file emission API for assets and chunks with support for explicit file names (#2999)
1894* Use the id of the last module in a chunk as base for the chunk name if no better name is available (#3025)
1895* Use the id of the last module in a chunk as base for the variable name of a chunk in some formats if no better name is available (#2999)
1896
1897### Bug Fixes
1898* Do not produce invalid variable names if an empty name is chosen for a virtual module (#3026)
1899* Fix an issue where a module variable name would conflict with a local variable name in some formats (#3020)
1900
1901### Pull Requests
1902* [#2999](https://github.com/rollup/rollup/pull/2999): Unified file emission api (@lukastaegert)
1903* [#3020](https://github.com/rollup/rollup/pull/3020): Switch to a code-splitting build and update dependencies (@lukastaegert)
1904* [#3025](https://github.com/rollup/rollup/pull/3025): Use id of last module in chunk as name base for auto-generated chunks (@lukastaegert)
1905* [#3026](https://github.com/rollup/rollup/pull/3026): Avoid variable from empty module name be empty (@LongTengDao)
1906
1907## 1.18.0
1908*2019-08-01*
1909
1910### Features
1911* Add `externalLiveBindings: false` option to optimize code when live bindings are not needed (#3010)
1912
1913### Pull Requests
1914* [#2997](https://github.com/rollup/rollup/pull/2997): Integrate coverage into CI setup (@lukastaegert)
1915* [#2998](https://github.com/rollup/rollup/pull/2998): Update readme badges (@lukastaegert)
1916* [#3010](https://github.com/rollup/rollup/pull/3010): Add option to prevent code for external live bindings (@lukastaegert)
1917
1918## 1.17.0
1919*2019-07-15*
1920
1921### Features
1922* Allow plugins to access current combined sourcemap in transform hook for coverage instrumentation (#2993)
1923
1924### Pull Requests
1925* [#2987](https://github.com/rollup/rollup/pull/2987): Fix code fences for link (@johanholmerin)
1926* [#2989](https://github.com/rollup/rollup/pull/2989): Bump lodash from 4.17.11 to 4.17.14 (@dependabot)
1927* [#2993](https://github.com/rollup/rollup/pull/2993): Add getCombinedSourceMap in transform plugin context (@billowz)
1928
1929## 1.16.7
1930*2019-07-09*
1931
1932### Bug Fixes
1933* Fix an issue where exported import.meta properties would lead to invalid code (#2986)
1934
1935### Pull Requests
1936* [#2985](https://github.com/rollup/rollup/pull/2985): Improve sourcemap types (@jridgewell)
1937* [#2986](https://github.com/rollup/rollup/pull/2986): Only overwrite content when resolving import.meta properties (@lukastaegert)
1938
1939## 1.16.6
1940*2019-07-04*
1941
1942### Bug Fixes
1943* Do not pass undefined to resolveDynamicImport for unresolvable template literals (#2984)
1944
1945### Pull Requests
1946* [#2984](https://github.com/rollup/rollup/pull/2984): Always forward AST nodes for unresolvable dynamic imports (@lukastaegert)
1947
1948## 1.16.5
1949*2019-07-04*
1950
1951### Bug Fixes
1952* onwarn should still be called when --silent is used (#2982)
1953* Properly clean up watchers for files that are deleted between builds (#2982)
1954
1955### Pull Requests
1956* [#2981](https://github.com/rollup/rollup/pull/2981): Do not skip onwarn handler when --silent is used (@lukastaegert)
1957* [#2982](https://github.com/rollup/rollup/pull/2982): Make tests run on Node 12, fix watcher cleanup issue (@lukastaegert)
1958
1959## 1.16.4
1960*2019-07-02*
1961
1962### Bug Fixes
1963* Do not show a TypeScript error when providing a location as number to this.warn and this.error (#2974)
1964* Use the correct TypeScript type for Sourcemap.version (#2976)
1965
1966### Pull Requests
1967* [#2965](https://github.com/rollup/rollup/pull/2965): Use async readFile in getRollupDefaultPlugin (@kaksmet)
1968* [#2974](https://github.com/rollup/rollup/pull/2974): Align TS types, docs and implementation for this.warn and this.error (@lukastaegert)
1969* [#2976](https://github.com/rollup/rollup/pull/2976): Fix sourcemap type and update dependencies (@lukastaegert)
1970
1971## 1.16.3
1972*2019-06-29*
1973
1974### Bug Fixes
1975* Prevent name conflicts with unused function parameters (#2972)
1976
1977### Pull Requests
1978* [#2972](https://github.com/rollup/rollup/pull/2972): Deconflict unused parameters (@lukastaegert)
1979
1980## 1.16.2
1981*2019-06-22*
1982
1983### Bug Fixes
1984* Properly wrap dynamic imports in Promises that can be caught when generating CJS output (#2958)
1985
1986### Pull Requests
1987* [#2958](https://github.com/rollup/rollup/pull/2958): Make sure errors from dynamic imports can be caught (@lukastaegert)
1988
1989## 1.16.1
1990*2019-06-21*
1991
1992### Pull Requests
1993* [#2956](https://github.com/rollup/rollup/pull/2956): Add missing CLI docs for strictDeprecations (@lukastaegert)
1994
1995## 1.16.0
1996*2019-06-21*
1997
1998### Features
1999* Add strictDeprecations option to throw when currently or upcoming deprecated features are used (#2945)
2000* Keep annotations and comments when simplifying logical and conditional expressions (#2955)
2001
2002### Bug Fixes
2003* Generate proper namespace objects when dynamically importing external dependencies for AMD or CJS formats (#2954)
2004* Fix dynamically imported variables not being resolved correctly when importing from an entry chunk with only a default export (#2954)
2005* Do not reexport default when reexporting a namespace (#2954)
2006
2007### Pull Requests
2008* [#2945](https://github.com/rollup/rollup/pull/2945): Add option to handle use of features marked for deprecation as errors (@lukastaegert)
2009* [#2954](https://github.com/rollup/rollup/pull/2954): Improve dynamic import interop (@lukastaegert)
2010* [#2955](https://github.com/rollup/rollup/pull/2955): Keep annotations and comments when simplifying logical and conditional expressions (@lukastaegert)
2011
2012## 1.15.6
2013*2019-06-16*
2014
2015### Bug Fixes
2016* No longer use an alternate screen in watch mode to allow scrolling (#2942)
2017* Prioritize non-external imports over external ones when resolving conflicting namespace re-exports (#2893)
2018
2019### Pull Requests
2020* [#2893](https://github.com/rollup/rollup/pull/2893): Improve handling of conflicting namespace exports (@aleclarson)
2021* [#2942](https://github.com/rollup/rollup/pull/2942): Get rid of alternate screen and simplify screen clearing (@lukastaegert)
2022
2023## 1.15.5
2024*2019-06-14*
2025
2026### Bug Fixes
2027* Do not include any comments for completely tree-shaken files so that `renderedLength === 0` is a reliable check (#2940)
2028* Do not cause type errors when returning `null` from `resolveId` (#2941)
2029
2030### Pull Requests
2031* [#2940](https://github.com/rollup/rollup/pull/2940): Completely omit files that do not have any included statements (@lukastaegert)
2032* [#2941](https://github.com/rollup/rollup/pull/2941): Explicitly allow null as return value for various hooks (@lukastaegert)
2033
2034## 1.15.4
2035*2019-06-14*
2036
2037### Bug Fixes
2038* Improve how asset and chunk URLs are resolved for UMD, IIFE and CJS output (#2937)
2039
2040### Pull Requests
2041* [#2937](https://github.com/rollup/rollup/pull/2937): Fix URL resolution to work when the current script contains query parameters (@lukastaegert)
2042
2043## 1.15.3
2044*2019-06-13*
2045
2046### Bug Fixes
2047* Always reemit assets and chunks from cached transform hooks (#2936)
2048
2049### Pull Requests
2050* [#2936](https://github.com/rollup/rollup/pull/2936): Fix repeated re-emission of files emitted from a transform hook (@lukastaegert)
2051
2052## 1.15.2
2053*2019-06-13*
2054
2055### Bug Fixes
2056* Make sure chunks emitted from transform hooks are also emitted for incremental builds in watch mode (#2933)
2057
2058### Pull Requests
2059* [#2933](https://github.com/rollup/rollup/pull/2933): Reemit chunks emitted from transform hooks (@lukastaegert)
2060
2061## 1.15.1
2062*2019-06-11*
2063
2064### Bug Fixes
2065* Do not fail when reexporting variables in dynamic entry points from other chunks (#2928)
2066
2067### Pull Requests
2068* [#2928](https://github.com/rollup/rollup/pull/2928): Handle reexports from dynamic entries across chunk (@lukastaegert)
2069
2070## 1.15.0
2071*2019-06-11*
2072
2073### Features
2074* Tone down try-catch deoptimization while maintaining polyfill support (#2918)
2075
2076### Bug Fixes
2077* Handle feature detection with "typeof" for regular expressios (#2916)
2078* Deoptimize `'' + variable'` type coercion as expression statement for feature detection (#2917)
2079* Always observe argument side-effects when tree-shaking (#2924)
2080
2081### Pull Requests
2082* [#2916](https://github.com/rollup/rollup/pull/2916): Deoptimize typeof for regular expression literals to better support es6-shim (@lukastaegert)
2083* [#2917](https://github.com/rollup/rollup/pull/2917): Support implicit type coercion errors in es5-shim (@lukastaegert)
2084* [#2918](https://github.com/rollup/rollup/pull/2918): Deoptimize try-catch less radically (@lukastaegert)
2085* [#2924](https://github.com/rollup/rollup/pull/2924): Do not tree-shake arguments with side-effects (@lukastaegert)
2086
2087## 1.14.6
2088*2019-06-10*
2089
2090### Bug Fixes
2091* Fix an issue where call arguments were not included in try statements (#2914)
2092
2093### Pull Requests
2094* [#2914](https://github.com/rollup/rollup/pull/2914): Properly include try statements for each pass when deoptimization is deactivated (@lukastaegert)
2095
2096## 1.14.5
2097*2019-06-09*
2098
2099### Bug Fixes
2100* Keep external ids unmodified when using the object form of resolveId (#2907)
2101* Cache dynamic import resolutions when using Rollup cache (#2908)
2102* Keep all necessary parentheses when tree-shaking call arguments (#2911)
2103
2104### Pull Requests
2105* [#2906](https://github.com/rollup/rollup/pull/2906): Update dependencies (@lukastaegert)
2106* [#2907](https://github.com/rollup/rollup/pull/2907): Do not renormalize external ids when using the object form (@lukastaegert)
2107* [#2908](https://github.com/rollup/rollup/pull/2908): Cache dynamic ids if possible (@lukastaegert)
2108* [#2911](https://github.com/rollup/rollup/pull/2911): Fix treeshaken parameters around parentheses (@manucorporat)
2109
2110## 1.14.4
2111*2019-06-07*
2112
2113### Bug Fixes
2114* Do not omit external re-exports for `moduleSideEffects: false` (#2905)
2115
2116### Pull Requests
2117* [#2905](https://github.com/rollup/rollup/pull/2905): Make sure external re-exports are included for moduleSideEffects: false (@lukastaegert)
2118
2119## 1.14.3
2120*2019-06-06*
2121
2122### Bug Fixes
2123* Generate correct external imports when importing from a directory that would be above the root of the current working directory (#2902)
2124
2125### Pull Requests
2126* [#2902](https://github.com/rollup/rollup/pull/2902): Use browser relative path algorithm for chunks (@lukastaegert)
2127
2128## 1.14.2
2129*2019-06-05*
2130
2131### Bug Fixes
2132* Prevent unnecessary inclusion of external namespace import in certain situations (#2900)
2133
2134### Pull Requests
2135* [#2900](https://github.com/rollup/rollup/pull/2900): Handle early bind for member expressions (@lukastaegert)
2136
2137## 1.14.1
2138*2019-06-05*
2139
2140### Bug Fixes
2141* Fix an issue where try-statements were not included properly when a variable declared inside the statement was accessed outside it (#2898)
2142* Fix an issue where `await` expressions were not included properly (#2899)
2143
2144### Pull Requests
2145* [#2898](https://github.com/rollup/rollup/pull/2898): Properly include try-catch-statements even if they have already been included in some way (@lukastaegert)
2146* [#2899](https://github.com/rollup/rollup/pull/2899): Fix unintended early return in await inclusion handling (@lukastaegert)
2147
2148## 1.14.0
2149*2019-06-05*
2150
2151### Features
2152* Deoptimize code inside and called from try-statements for feature detection (#2892)
2153* Tree-shake unused call arguments (#2892)
2154
2155### Pull Requests
2156* [#2892](https://github.com/rollup/rollup/pull/2892): Implement try-statement-deoptimization for feature detection, tree-shake unused arguments (@lukastaegert)
2157
2158
2159## 1.13.1
2160*2019-06-01*
2161
2162### Bug Fixes
2163* Avoid conflicts between top-level module, require etc. and CommonJS runtimes (#2889)
2164
2165### Pull Requests
2166* [#2888](https://github.com/rollup/rollup/pull/2888): Enable full TypeScript strict mode (@lukastaegert)
2167* [#2889](https://github.com/rollup/rollup/pull/2889): Protect all module globals for CJS output from being redefined (@lukastaegert)
2168
2169## 1.13.0
2170*2019-05-31*
2171
2172### Features
2173* Omit `exports` and `module` from SystemJS wrapper if possible (#2880)
2174* Try to use the first letters of names when mangling exports (#2885)
2175
2176### Bug Fixes
2177* Avoid conflicts with local variables when using format specific globals to render dynamic imports and file URLs (#2880)
2178* Do not produce undefined reexports when reexporting from entry points (#2885)
2179
2180### Pull Requests
2181* [#2880](https://github.com/rollup/rollup/pull/2880): Deconflict global variables used inside format-specific code (@lukastaegert)
2182* [#2885](https://github.com/rollup/rollup/pull/2885): Do not produce undefined reexports when reexporting from entry points and refactor chunk linking (@lukastaegert)
2183
2184## 1.12.5
2185*2019-05-30*
2186
2187### Pull Requests
2188* [#2884](https://github.com/rollup/rollup/pull/2884): Update pluginutils for new micormatch and reduced bundle size (@lukastaegert)
2189
2190## 1.12.4
2191*2019-05-27*
2192
2193### Bug Fixes
2194* Show correct error stack trace for errors throw in "load" hooks (#2871)
2195
2196### Pull Requests
2197* [#2875](https://github.com/rollup/rollup/pull/2875): Mention subfolders in docs (@lukastaegert)
2198* [#2871](https://github.com/rollup/rollup/pull/2871): Reserve error stack information (@LongTengDao)
2199
2200## 1.12.3
2201*2019-05-19*
2202
2203### Bug Fixes
2204* Prevent duplicate imports when exports are reexported as default exports (#2866)
2205
2206### Pull Requests
2207* [#2755](https://github.com/rollup/rollup/pull/2755): Enable TypeScript strictNullChecks (@edsrzf)
2208* [#2866](https://github.com/rollup/rollup/pull/2866): Properly deduplicate reexported default exports (@lukastaegert)
2209
2210## 1.12.2
2211*2019-05-17*
2212
2213### Bug Fixes
2214* Do not fail when using clearScreen:false in watchMode (#2858)
2215* Properly resolve star reexports when preserving modules (#2860)
2216
2217### Pull Requests
2218* [#2858](https://github.com/rollup/rollup/pull/2858): Declare processConfigsErr before use (@humphd)
2219* [#2860](https://github.com/rollup/rollup/pull/2860): Keep nested exports with preserveModules (@TomCaserta)
2220* [#2864](https://github.com/rollup/rollup/pull/2864): Cache transitive reexport detection (@lukastaegert)
2221
2222## 1.12.1
2223*2019-05-16*
2224
2225### Bug Fixes
2226* Extend file name sanitation to also replace "?" and "*" e.g. when preserving modules with the updated commonjs plugin (#2860)
2227* Do not ignore module transformer that return an empty string (#2861)
2228
2229### Pull Requests
2230* [#2860](https://github.com/rollup/rollup/pull/2860): Update to latest plugins and extend file name sanitation (@lukastaegert)
2231* [#2861](https://github.com/rollup/rollup/pull/2861): Allow transformers to return an empty string (@lukastaegert)
2232
2233## 1.12.0
2234*2019-05-15*
2235
2236### Features
2237* Add `treeshake.moduleSideEffects` option to allow removing empty imports without a side-effect check (#2844)
2238* Extend plugin API to allow marking modules as side-effect-free (#2844)
2239* Extend `this.resolve` plugin context function with an option to skip the `resolveId` hook of the calling plugin (#2844)
2240* Add `isEntry` flag to `this.getModuleInfo` plugin context function (#2844)
2241* Distribute Rollup as optimized ES2015 code (#2851)
2242
2243### Pull Requests
2244* [#2844](https://github.com/rollup/rollup/pull/2844): Add options and hooks to control module side effects (@lukastaegert)
2245* [#2851](https://github.com/rollup/rollup/pull/2851): Switch to ES2015 output (@lukastaegert)
2246
2247## 1.11.3
2248*2019-05-05*
2249
2250### Bug Fixes
2251* Quote es3 keywords in namespace objects (#2825)
2252
2253### Pull Requests
2254* [#2825](https://github.com/rollup/rollup/pull/2825): Add es3 support for namespace object import (@sormy)
2255
2256## 1.11.2
2257*2019-05-04*
2258
2259### Bug Fixes
2260* Prevent a crash when handling circular namespace exports (#2836)
2261
2262### Pull Requests
2263* [#2836](https://github.com/rollup/rollup/pull/2836): Make sure circular `export * from X` does not stack overflow (@Swatinem)
2264
2265## 1.11.1
2266*2019-05-04*
2267
2268### Bug Fixes
2269* Fix an issue where rendered exports were reported as "removed" in the bundle information (#2835)
2270
2271### Pull Requests
2272* [#2835](https://github.com/rollup/rollup/pull/2835): Fix `removedExports` to correctly track the exported item (@Swatinem)
2273
2274## 1.11.0
2275*2019-05-03*
2276
2277### Features
2278* Add `emitChunk` plugin context function to emit additional entry chunks that can be referenced from the code (#2809)
2279* Allow `manualChunks` to be a function (#2831)
2280* Omit `.js` extensions in AMD imports to make sure an AMD `baseUrl` would work (#2809)
2281* Automatically use the name of the imported module as a base for dynamically imported chunks (#2809)
2282* Add `resolveFileUrl` plugin hook to replace `resolveAssetUrl` and handle emitted chunks as well (#2809)
2283* Add `resolve` plugin hook to replace `resolveId` and `isExternal` that returns an object (#2829)
2284* Allow `resolveDynamicImport` to return an `{id, external}` object to also resolve unresolvable dynamic imports to a module (#2829)
2285
2286### Bug Fixes
2287* Do not create invalid code if a dynamic import contains nothing but reexports (#2809)
2288* Do not fail if modules that define a manual chunk depend on each other (#2809)
2289* Do not fail if a module that defines a manual chunk is the dependency of a module defining a different manual chunk (#2809)
2290* No longer fail for unnamed duplicate entry points but combine them (#2809)
2291* Always return `string | null` from `this.resolveId` even if some `resolveId` hooks return objects (#2829)
2292* Show proper warnings when `resolveDynamicImport` resolves to a non-external module that does not exist (#2829)
2293
2294### Pull Requests
2295* [#2809](https://github.com/rollup/rollup/pull/2809): Add hook for dynamic entry chunk emission (@lukastaegert)
2296* [#2821](https://github.com/rollup/rollup/pull/2821): Fix syntax error in documentation (@FFxSquall)
2297* [#2829](https://github.com/rollup/rollup/pull/2829): Improve id resolution (@lukastaegert)
2298* [#2831](https://github.com/rollup/rollup/pull/2831): Allow manualChunks to be a function (@lukastaegert)
2299* [#2832](https://github.com/rollup/rollup/pull/2832): Improve `generateBundle` documentation (@lukastaegert)
2300* [#2833](https://github.com/rollup/rollup/pull/2833): Update dependencies (@lukastaegert)
2301
2302## 1.10.1
2303*2019-04-19*
2304
2305### Bug Fixes
2306* Invalid options.format values will now trigger a helpful error (#2813)
2307
2308### Pull Requests
2309* [#2812](https://github.com/rollup/rollup/pull/2812): Minor documentation update (@dnalborczyk)
2310* [#2813](https://github.com/rollup/rollup/pull/2813): Catch invalid options.format values (@marijnh)
2311* [#2816](https://github.com/rollup/rollup/pull/2816): Update all dependencies to fix security issues (@lukastaegert)
2312
2313## 1.10.0
2314*2019-04-11*
2315
2316### Features
2317* Improve generated code to polyfill `import.meta.url` (#2785)
2318* Add plugin hook to configure handling of `import.meta` (#2785)
2319* Improve generated code when accessing URLs of emitted assets (#2796)
2320* Add plugin hook to configure the generated code when accessing URLs of emitted assets (#2796)
2321
2322### Bug Fixes
2323* No longer resolve assets to their parent URL in some cases (#2796)
2324
2325### Pull Requests
2326* [#2785](https://github.com/rollup/rollup/pull/2785): Refactor handling of import.meta.url and add option to configure behaviour (@lukastaegert)
2327* [#2796](https://github.com/rollup/rollup/pull/2796): Improve and fix asset emission (@lukastaegert)
2328
2329## 1.9.3
2330*2019-04-10*
2331
2332### Bug Fixes
2333* Simplify return expressions that are evaluated before the surrounding function is bound (#2803)
2334
2335### Pull Requests
2336* [#2803](https://github.com/rollup/rollup/pull/2803): Handle out-of-order binding of identifiers to improve tree-shaking (@lukastaegert)
2337
2338## 1.9.2
2339*2019-04-10*
2340
2341### Bug Fixes
2342* Allowing replacing `output.file` with `output.dir` in the `outputOptions` hook (#2802)
2343
2344### Pull Requests
2345* [#2802](https://github.com/rollup/rollup/pull/2802): Observe modified output options in bundle.write (@lukastaegert)
2346
2347## 1.9.1
2348*2019-04-10*
2349
2350### Bug Fixes
2351* Make sure inline comments in dynamic imports are preserved (#2797)
2352
2353### Pull Requests
2354* [#2797](https://github.com/rollup/rollup/pull/2797): Emit inline comments inside dynamic import (@manucorporat)
2355
2356## 1.9.0
2357*2019-04-05*
2358
2359### Features
2360* Add built-in support for bigint (#2789)
2361
2362### Pull Requests
2363* [#2789](https://github.com/rollup/rollup/pull/2789): Ship with bigint support built-in (@danielgindi)
2364* [#2791](https://github.com/rollup/rollup/pull/2791): Use shared extractAssignedNames from rollup-pluginutils (@lukastaegert)
2365* [#2792](https://github.com/rollup/rollup/pull/2792): Test that rollup-plugin-commonjs works with preserveModules (@lukastaegert)
2366
2367## 1.8.0
2368*2019-04-02*
2369
2370### Features
2371* Support `module` as alias for `esm` and `commonjs` for `cjs` to match Node (#2783)
2372
2373### Pull Requests
2374* [#2782](https://github.com/rollup/rollup/pull/2782): Inline interopDefault in config loading (@guybedford)
2375* [#2783](https://github.com/rollup/rollup/pull/2783): Support Node-style format aliases (@guybedford)
2376
2377## 1.7.4
2378*2019-03-28*
2379
2380### Bug Fixes
2381* Improve TypeScript type of the treeshaking options (#2779)
2382
2383### Pull Requests
2384* [#2779](https://github.com/rollup/rollup/pull/2779): Make all properties in TreeshakingOptions optional (@ndelangen)
2385
2386## 1.7.3
2387*2019-03-24*
2388
2389### Bug Fixes
2390* Use getters when re-exporting live-bindings (#2765)
2391
2392### Pull Requests
2393* [#2765](https://github.com/rollup/rollup/pull/2765): Support exporting live-bindings from other chunks or external dependencies (@lukastaegert)
2394
2395## 1.7.2
2396*2019-03-24*
2397
2398### Bug Fixes
2399* Make sure relative external ids are resolved correctly (#2774)
2400
2401### Pull Requests
2402* [#2774](https://github.com/rollup/rollup/pull/2774): Resolve relative external ids (@lukastaegert)
2403
2404## 1.7.1
2405*2019-03-24*
2406
2407### Bug Fixes
2408* Prevent invalid code when exporting several hundred identifiers from a chunk (#2768)
2409* Do not wrongly deconflict labels (#2776)
2410
2411### Pull Requests
2412* [#2768](https://github.com/rollup/rollup/pull/2768): Sanitize shortened internal export names (@lukastaegert)
2413* [#2769](https://github.com/rollup/rollup/pull/2769): Update dependencies and fix security issue (@lukastaegert)
2414* [#2776](https://github.com/rollup/rollup/pull/2776): Do not treat break labels as identifiers (@lukastaegert)
2415
2416## 1.7.0
2417*2019-03-20*
2418
2419### Features
2420* Sort chunk exports by name for greater consistency (#2757)
2421
2422### Bug Fixes
2423* Fix a situation where tree-shakeable code would not be removed in an indeterminate manner (#2757)
2424
2425### Pull Requests
2426* [#2757](https://github.com/rollup/rollup/pull/2757): Sort modules before binding, sort exports (@lukastaegert)
2427
2428## 1.6.1
2429*2019-03-20*
2430
2431### Bug Fixes
2432* Avoid name clashes of unused default exports when tree-shaking is false (#2758)
2433* Do not crash when generating SystemJS bundles containing array patterns with member expressions (#2760)
2434
2435### Pull Requests
2436* [#2758](https://github.com/rollup/rollup/pull/2758): Make sure unused default exports are deconflicted when tree-shaking is false (@lukastaegert)
2437* [#2760](https://github.com/rollup/rollup/pull/2760): Handle member expressions in array patterns (@lukastaegert)
2438
2439## 1.6.0
2440*2019-03-08*
2441
2442### Features
2443* Add plugin hook to modify output options (#2736)
2444
2445### Pull Requests
2446* [#2736](https://github.com/rollup/rollup/pull/2736): Add hook for modifying OutputOptions (@Comandeer)
2447
2448## 1.5.0
2449*2019-03-07*
2450
2451### Features
2452* Allow resolving to a different id while marking it as external at the same time (#2734)
2453
2454### Pull Requests
2455* [#2734](https://github.com/rollup/rollup/pull/2734): Allow resolveId to return an object (@lukastaegert)
2456
2457## 1.4.2
2458*2019-03-07*
2459
2460### Bug Fixes
2461* Respect variable identity of exports when hashing (#2741)
2462* Resolve a situations where a variable was imported twice with the same name (#2737)
2463
2464### Pull Requests
2465* [#2741](https://github.com/rollup/rollup/pull/2741): Fix hashing when different variable are exported using the same name (@lukastaegert)
2466* [#2737](https://github.com/rollup/rollup/pull/2737): Fix duplicate imports with conflicting names (@lukastaegert)
2467
2468## 1.4.1
2469*2019-03-04*
2470
2471### Bug Fixes
2472* Do not treat the import target "" as external by default (#2733)
2473
2474### Pull Requests
2475* [#2733](https://github.com/rollup/rollup/pull/2733): Do not treat the import target "" as external by default (@LongTengDao)
2476
2477## 1.4.0
2478*2019-03-01*
2479
2480### Features
2481* Add option to change the name of the dynamic import function to allow polyfilling it (#2723)
2482
2483### Pull Requests
2484* [#2723](https://github.com/rollup/rollup/pull/2723): Add dynamicImportFunction option (@keithamus)
2485
2486## 1.3.3
2487*2019-03-01*
2488
2489### Bug Fixes
2490* Fix performance regression when handling long chains of calls to property methods (#2732)
2491
2492### Pull Requests
2493* [#2730](https://github.com/rollup/rollup/pull/2730): Order types, interfaces, classes, and object members (@lukastaegert)
2494* [#2732](https://github.com/rollup/rollup/pull/2732): Take chunk export mode into account when reexporting default (@lukastaegert)
2495
2496## 1.3.2
2497*2019-02-27*
2498
2499### Bug Fixes
2500* Allow ids of default exported classes to be exported separately (#2728)
2501
2502### Pull Requests
2503* [#2728](https://github.com/rollup/rollup/pull/2728): Update dependencies (@lukastaegert)
2504
2505## 1.3.1
2506*2019-02-27*
2507
2508### Bug Fixes
2509* Correctly reexport the default export from entry chunks (#2727)
2510
2511### Pull Requests
2512* [#2727](https://github.com/rollup/rollup/pull/2727): Take chunk export mode into account when reexporting default (@lukastaegert)
2513
2514## 1.3.0
2515*2019-02-26*
2516
2517### Features
2518* Treeshake call expressions prefixed with UglifyJS style `@__PURE__` annotations (#2429)
2519
2520### Pull Requests
2521* [#2429](https://github.com/rollup/rollup/pull/2429): Add support for /*#__PURE__*/ comments (@conartist6 and @lukastaegert)
2522
2523## 1.2.5
2524*2019-02-26*
2525
2526### Bug Fixes
2527* Store external ids reported by plugins in watch mode (#2718)
2528
2529### Pull Requests
2530* [#2718](https://github.com/rollup/rollup/pull/2718): Incremental external (@andreas-karlsson)
2531
2532## 1.2.4
2533*2019-02-26*
2534
2535### Bug Fixes
2536* Fix an issue where a variable was imported twice under the same name (#2715)
2537
2538### Pull Requests
2539* [#2715](https://github.com/rollup/rollup/pull/2715): Deduplicate imports referencing default exports and their original variables (@lukastaegert)
2540
2541## 1.2.3
2542*2019-02-23*
2543
2544### Bug Fixes
2545* Use correct path when rendering dynamic imports where the entry module is empty (#2714)
2546
2547### Pull Requests
2548* [#2714](https://github.com/rollup/rollup/pull/2714): Properly render dynamic imports when imported module is empty (@lukastaegert)
2549
2550## 1.2.2
2551*2019-02-19*
2552
2553### Bug Fixes
2554* Fix wrong external imports when using the `paths` options only for some outputs (#2706)
2555
2556### Pull Requests
2557* [#2706](https://github.com/rollup/rollup/pull/2706): Always recreate paths for external modules (@lukastaegert)
2558
2559## 1.2.1
2560*2019-02-17*
2561
2562### Bug Fixes
2563* Fix ESM version of Rollup (#2705)
2564
2565### Pull Requests
2566* [#2705](https://github.com/rollup/rollup/pull/2705): Fix ESM version of Rollup (@lukastaegert)
2567
2568## 1.2.0
2569*2019-02-17*
2570
2571### Features
2572* Fewer renamed variables due to a completely reimplemented deconflicting logic (#2689)
2573
2574### Bug Fixes
2575* Respect rendered and tree-shaken exports when determining chunk hashes (#2695)
2576* Fix an error when dynamic imports end up in the same chunk as one of their importees (#2677)
2577* Do not generate invalid code when expressions containing IIFEs are simplified (#2696)
2578* Do not throw an error when more than ten bundles are watched (#2700)
2579* Treat re-exported globals in a spec-compliant way (#2691)
2580* Fix issues related to wrongly renamed variables (#2689)
2581* Do not throw an error if config files contain non-default exports (#2673)
2582* Improve type of `RollupOutput.output` to guarantee at least one chunk (#2679)
2583
2584### Pull Requests
2585* [#2673](https://github.com/rollup/rollup/pull/2673): Allow config files to have non-default exports (@swansontec)
2586* [#2677](https://github.com/rollup/rollup/pull/2677): Prevent final resolution and facade creation for inlined dynamic imports (@Rich-Harris and @lukastaegert)
2587* [#2679](https://github.com/rollup/rollup/pull/2679): Improve type of `RollupOutput.output` (@MattiasBuelens)
2588* [#2689](https://github.com/rollup/rollup/pull/2689): Reimplement variable deconflicting logic (@lukastaegert)
2589* [#2691](https://github.com/rollup/rollup/pull/2691): Fix CI issues and update acorn dependency (@lukastaegert)
2590* [#2693](https://github.com/rollup/rollup/pull/2693): Fix typo in export-globals test (@MattiasBuelens)
2591* [#2695](https://github.com/rollup/rollup/pull/2695): Respect rendered exports when generating chunk hashes (@lukastaegert)
2592* [#2696](https://github.com/rollup/rollup/pull/2696): Correctly render function expression inside simplified expression statements (@lukastaegert)
2593* [#2700](https://github.com/rollup/rollup/pull/2700): Add a fix for MaxListenersExceededWarning (@luwes)
2594* [#2703](https://github.com/rollup/rollup/pull/2703): Update rollup-pluginutils (@lukastaegert)
2595
2596## 1.1.2
2597*2019-01-21*
2598
2599### Bug Fixes
2600* Tree-shaken dynamic imports no longer leave behind `undefined` entries in the bundle information (#2663)
2601* Dynamic imports in dynamically imported files could lead to crashes and would not always create new chunks (#2664)
2602
2603### Pull Requests
2604* [#2663](https://github.com/rollup/rollup/pull/2663): Do not include tree-shaken dynamic imports in bundle information (@lukastaegert)
2605* [#2664](https://github.com/rollup/rollup/pull/2664): Properly handle dynamic imports declared in dynamically imported files (@everdimension)
2606
2607## 1.1.1
2608*2019-01-19*
2609
2610### Bug Fixes
2611* Make sure object prototype methods are not considered to be falsy when tree-shaking (#2652)
2612
2613### Pull Requests
2614* [#2652](https://github.com/rollup/rollup/pull/2652): Make sure object prototype methods are not considered to be falsy (@lukastaegert)
2615* [#2654](https://github.com/rollup/rollup/pull/2654): Use correct signature for `this.setAssetSource` in docs (@everdimension)
2616* [#2656](https://github.com/rollup/rollup/pull/2656): Swap descriptions for `[extname]` and `[ext]` in docs (@tivac)
2617
2618## 1.1.0
2619*2019-01-09*
2620
2621### Features
2622* Make `this.meta` available from the `options` plugin hook (#2642)
2623* Add a new `writeBundle` plugin hook that is called *after* all files have been written (#2643)
2624
2625### Bug Fixes
2626* Make sure the `acorn` import of the bundled non-ESM acorn plugins is correctly translated to ESM (#2636)
2627* Make sure input options are actually passed to the `buildStart` hook (#2642)
2628
2629### Pull Requests
2630* [#2636](https://github.com/rollup/rollup/pull/2636): Improve how acorn is imported, update dependencies (@lukastaegert)
2631* [#2642](https://github.com/rollup/rollup/pull/2642): Make this.meta available in options hook, pass input options to buildStart (@lukastaegert)
2632* [#2643](https://github.com/rollup/rollup/pull/2643): Implement writeBundle hook (@lukastaegert)
2633
2634## 1.0.2
2635*2019-01-05*
2636
2637### Bug Fixes
2638* Make sure the transform hook is always reevaluated when a file watched by the hook changes (#2633)
2639* Fix a crash when generating hashes for tree-shaken dynamic imports (#2638)
2640* Fix a crash and some inconsistencies when using the acorn-bigint plugin (#2640)
2641
2642### Pull Requests
2643* [#2633](https://github.com/rollup/rollup/pull/2633): Document `this.addWatchFile` and make sure it also declares transform dependencies (@lukastaegert)
2644* [#2635](https://github.com/rollup/rollup/pull/2635): Make sure `code` is optional in warning type (@lukastaegert)
2645* [#2638](https://github.com/rollup/rollup/pull/2638): Do not fail when generating hashes for tree-shaken dynamic imports (@lukastaegert)
2646* [#2640](https://github.com/rollup/rollup/pull/2640): Always treat bigints as unknown (@lukastaegert)
2647* [#2641](https://github.com/rollup/rollup/pull/2641): Make sure all CLI options are listed in the summary (@lukastaegert)
2648
2649## 1.0.1
2650*2019-01-03*
2651
2652### Bug Fixes
2653* Properly handle reexporting an external default export for non-ESM targets when using named exports mode (#2620)
2654* Do not (wrongly) re-declare input options in the merged `RollupOptions` type (#2622)
2655
2656### Pull Requests
2657* [#2620](https://github.com/rollup/rollup/pull/2620): Fixed issue with reexporting default as default with `{exports: named, interop: true}` options (@Andarist)
2658* [#2622](https://github.com/rollup/rollup/pull/2622): Simplify RollupOptions (@Kinrany)
2659* [#2627](https://github.com/rollup/rollup/pull/2627): Show how to skip imports for optional plugins (@chris-morgan)
2660
2661## 1.0.0
2662*2018-12-28*
2663
2664### Breaking Changes
2665* Several (mostly deprecated) options have been removed or renamed (#2293, #2409):
2666 - banner -> output.banner
2667 - dest -> output.file
2668 - entry -> input
2669 - experimentalCodeSplitting -> now always active
2670 - experimentalDynamicImport -> now always active
2671 - experimentalPreserveModules -> preserveModules
2672 - exports -> output.exports
2673 - extend -> output.extend
2674 - footer -> output.footer
2675 - format -> output.format
2676 - freeze -> output.freeze
2677 - globals -> output.globals
2678 - indent -> output.indent
2679 - interop -> output.interop
2680 - intro -> output.intro
2681 - load -> use plugin API
2682 - moduleName -> output.name
2683 - name -> output.name
2684 - noConflict -> output.noConflict
2685 - output.moduleId -> output.amd.id
2686 - outro -> output.outro
2687 - paths -> output.paths
2688 - preferConst -> output.preferConst
2689 - pureExternalModules -> treeshake.pureExternalModules
2690 - resolveExternal -> use plugin API
2691 - resolveId -> use plugin API
2692 - sourcemap -> output.sourcemap
2693 - sourceMap -> output.sourcemap
2694 - sourceMapFile -> output.sourcemapFile
2695 - strict -> output.strict
2696 - targets -> use output as an array
2697 - transform -> use plugin API
2698 - useStrict -> output.strict
2699* In general, output options can no longer be used as input options (#2409)
2700* `bundle.generate` and `bundle.write` now return a new format (#2293)
2701* Several plugin hooks have become deprecated and will display warnings when used (#2409):
2702 - transformBundle
2703 - transformChunk
2704 - ongenerate
2705 - onwrite
2706* Plugin transform dependencies are deprecated in favour of using the `this.addWatchFile` plugin context function (#2409)
2707* Accessing `this.watcher` in plugin hooks is deprecated in favour of the `watchChange` plugin hook and the `this.addWatchFile` plugin context function (#2409)
2708* Using dynamic import statements will by default create a new chunk unless `inlineDynamicImports` is used (#2293)
2709* 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)
2710
2711### Features
2712* The `--dir` ClI option can now be aliased as `-d` (#2293)
2713* The `--input` option now supports named entry points via `=` (#2293)
2714
2715### Bug Fixes
2716* Both the `--input` option as well as the default CLI option now support named inputs (#2293)
2717
2718### Pull Requests
2719* [#2293](https://github.com/rollup/rollup/pull/2293): Unify code paths for 1.0 relase and update documentation (@guybedford and @lukastaegert)
2720* [#2409](https://github.com/rollup/rollup/pull/2409): Remove old deprecated features and add new deprecation warnings (@guybedford)
2721* [#2486](https://github.com/rollup/rollup/pull/2486): Upgrade to acorn 6 (@marijnh)
2722* [#2611](https://github.com/rollup/rollup/pull/2611): Fix hook's name in test description (@Andarist)
2723* [#2612](https://github.com/rollup/rollup/pull/2612): Fix a self-contradicting comment in the docs (@LongTengDao)
2724
2725## 0.68.2
2726*2018-12-23*
2727
2728### Bug Fixes
2729* Do not assume hoisted variables to have been initialized (#2607)
2730
2731### Pull Requests
2732* [#2607](https://github.com/rollup/rollup/pull/2607): Fix an issues where hoisted variables were assumed to have been initialized (@lye)
2733
2734## 0.68.1
2735*2018-12-19*
2736
2737### Bug Fixes
2738* Fix an issue with UMD wrappers where a variable is used without being defined (#2600)
2739
2740### Pull Requests
2741* [#2600](https://github.com/rollup/rollup/pull/2600): Fix UMD and IIFE wrapper issues and add comprehensive functional wrapper tests (@lukastaegert)
2742
2743## 0.68.0
2744*2018-12-16*
2745
2746### Breaking Changes
2747* `optimizeChunks` is renamed to `experimentalOptimizeChunks` to reflect this feature is not production-ready yet (#2575)
2748
2749### Features
2750* Plugins can iterate all module ids via `this.moduleIds` (#2565)
2751* Plugins can get graph information about a module via `this.getModuleInfo(id)` (#2565)
2752* Plugins and JS API users get more information about the generated chunks: `dynamicImports`, `facadeModuleId`, `isDynamicEntry`, `name` (#2575)
2753* Tree-shaken dynamic imports will no longer create chunks or influence chunking in any way (#2575)
2754* Dynamic imports will no longer follow the `entryFileNames` but the `chunkFileNames` property reflecting those are solely internally used (#2575)
2755* If there are chunk naming conflicts, entry chunks will always take precedence (#2575)
2756* If an entry facade is created, only the facade chunk is marked as `isEntry` (#2575)
2757* 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)
2758* Chunks no longer contain imports for variables that are tree-shaken in the chunk but used in other chunks (#2584)
2759* Chunks will always import re-exported variables directly from the chunk where they are originally exported from (#2584)
2760* 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)
2761* Simplify the UMD wrapper code as much as possible, especially if there are no exports (#2594)
2762* The UMD wrapper will now work in strict mode by checking for `self` before `this` when determining the global variable (#2594)
2763
2764### Bug Fixes
2765* If a facade is created for a dynamic entry point, this facade will be imported instead of the facaded chunk (#2575)
2766* Manual chunks that include multiple entry points will have proper facades created for all entry points if necessary (#2575)
2767* 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)
2768* Missing export shims work properly in SystemJS (#2584)
2769* `preserveModules` now handles dynamic namespace imports (#2584)
2770* Fix chunk execution order in certain scenarios (#2584)
2771* Exports and assignments using destructuring syntax will properly update the exported variables when generating SystemJS output (#2587)
2772* Hashes in chunk names will now also take dynamic imports into account (#2596)
2773
2774### Pull Requests
2775* [#2565](https://github.com/rollup/rollup/pull/2565): Provide module graph information on the plugin context (@samccone)
2776* [#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)
2777* [#2577](https://github.com/rollup/rollup/pull/2577): Update dependencies (@lukastaegert)
2778* [#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)
2779* [#2587](https://github.com/rollup/rollup/pull/2587): Support exports using destructuring declarations and assignments in SystemJS (@lukastaegert)
2780* [#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)
2781* [#2594](https://github.com/rollup/rollup/pull/2594): Simplify UMD wrapper code and make sure it works in strict mode (@lukastaegert)
2782* [#2596](https://github.com/rollup/rollup/pull/2596): Take both static and dynamic dependencies into account when calculating hashes (@lukastaegert)
2783
2784## 0.67.4
2785*2018-12-03*
2786
2787### Bug Fixes
2788* Prevent corrupt source maps for files with very long lines (#2571)
2789
2790### Pull Requests
2791* [#2571](https://github.com/rollup/rollup/pull/2571): Fix an issue with long lines in sourcemaps (@mislav)
2792
2793## 0.67.3
2794*2018-11-17*
2795
2796### Bug Fixes
2797* Make sure the ESM browser build is actually published to npm (#2560)
2798* Throw proper error when using `inlineDynamicImports` with `experimentalPreserveModules` (#2560)
2799
2800### Pull Requests
2801* [#2552](https://github.com/rollup/rollup/pull/2552): Properly include ESM browser build in package (@lukastaegert)
2802* [#2560](https://github.com/rollup/rollup/pull/2560): Show proper error when using `inlineDynamicImports` with `experimentalPreserveModules` (@clarkdo)
2803
2804## 0.67.2
2805*2018-11-17*
2806
2807### Bug Fixes
2808* Prevent crash when not returning sourcemaps from `renderChunk` plugin hook (#2558)
2809
2810### Pull Requests
2811* [#2558](https://github.com/rollup/rollup/pull/2558): Prevent crash when not returning sourcemaps from `renderChunk` (@kyle1320)
2812
2813## 0.67.1
2814*2018-11-11*
2815
2816### Bug Fixes
2817* Deconflict CLI entry points with same name but on different paths if no explicit naming is used (#2548)
2818
2819### Pull Requests
2820* [#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)
2821
2822## 0.67.0
2823*2018-11-04*
2824
2825### Breaking Changes
2826none
2827
2828### Features
2829* Do not resolve external dynamic imports via plugins to match the logic for static external imports again (#2505)
2830* Support virtual modules created by plugins when preserving modules (#2511)
2831* Add new `output.sourcemapExcludeSources` option to exclude the actual sources from sourcemaps (#2531)
2832
2833### Bug Fixes
2834* Fix TypeScript type for sourcemaps (#2507)
2835* Fix order of external and inter-chunk imports to match the proper execution order (#2508)
2836* Do not tree-shake children of unknown nodes to e.g. properly handle do-expressions via acorn plugin (#2510)
2837* Prevent memory leak when using the bundle as cache (#2522)
2838* Fix mis-placed semicolons for certain SystemJS exports (#2529)
2839
2840### Pull Requests
2841* [#2505](https://github.com/rollup/rollup/pull/2505): Do not resolve external dynamic imports via plugins (@lukastaegert)
2842* [#2507](https://github.com/rollup/rollup/pull/2507): Fix public sourcemap type (@aMarCruz)
2843* [#2508](https://github.com/rollup/rollup/pull/2508): Improve execution order of chunks and externals (@lukastaegert)
2844* [#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)
2845* [#2511](https://github.com/rollup/rollup/pull/2511): Create chunks for virtual modules when preserving modules (@lukastaegert)
2846* [#2522](https://github.com/rollup/rollup/pull/2522): Prevent memory leak when using the bundle as cache (@kyle1320)
2847* [#2529](https://github.com/rollup/rollup/pull/2529): Fix mis-placed semicolons for certain SystemJS exports (@kyle1320)
2848* [#2531](https://github.com/rollup/rollup/pull/2531): add `sourcemapExcludeSources` option to exclude the source content from sourcemaps (@kitsonk)
2849
2850## 0.66.6
2851*2018-10-10*
2852* Properly deconflict function and class declaration ids of reassigned default exports ([#2502](https://github.com/rollup/rollup/pull/2502))
2853
2854## 0.66.5
2855*2018-10-09*
2856* Remove cache from memory once no longer needed ([#2496](https://github.com/rollup/rollup/pull/2496))
2857* Provide better error message when reexporting external namespace reexports ([#2499](https://github.com/rollup/rollup/pull/2499))
2858
2859## 0.66.4
2860*2018-10-04*
2861* Fix links in warnings and errors ([#2471](https://github.com/rollup/rollup/pull/2471))
2862
2863## 0.66.3
2864*2018-10-03*
2865* Detect side-effects in string.replace function arguments ([#2476](https://github.com/rollup/rollup/pull/2476))
2866* Make sure chunk ids are assigned before creating output bundle ([#2483](https://github.com/rollup/rollup/pull/2483))
2867* Use proper plugin name in error ([#2470](https://github.com/rollup/rollup/pull/2470))
2868* Update TypeScript version and fix type errors ([#2488](https://github.com/rollup/rollup/pull/2488))
2869
2870## 0.66.2
2871*2018-09-21*
2872* Add additional information to parse errors messages in JSON and other non-JS files ([#2466](https://github.com/rollup/rollup/pull/2466))
2873
2874## 0.66.1
2875*2018-09-19*
2876* Ignore falsy plugins ([#2464](https://github.com/rollup/rollup/pull/2464))
2877* Switch back to official TypeScript plugin ([#2465](https://github.com/rollup/rollup/pull/2465))
2878
2879## 0.66.0
2880*2018-09-16*
2881* Support ES2019 optional catch bindings ([#2455](https://github.com/rollup/rollup/pull/2455))
2882* Add option to transform paths within sourcemaps ([#2430](https://github.com/rollup/rollup/pull/2430))
2883* Add renderStart and renderEnd plugin hooks ([#2438](https://github.com/rollup/rollup/pull/2438))
2884* Expose ESM browser build and minify browser builds ([#2437](https://github.com/rollup/rollup/pull/2437)
2885* Associate hoisted variables in function bodys with function parameters ([#2456](https://github.com/rollup/rollup/pull/2456))
2886* Fix issue when deconflicting variables used as pattern defaults ([#2446](https://github.com/rollup/rollup/pull/2446))
2887* Properly deconflict default exported class and function expressions with ids ([#2458](https://github.com/rollup/rollup/pull/2458))
2888* Faster internal test builds ([#2457](https://github.com/rollup/rollup/pull/2457))
2889* Switch to rollup-plugin-typescript2 ([#2460](https://github.com/rollup/rollup/pull/2460))
2890* Fix internal "perf" script ([#2433](https://github.com/rollup/rollup/pull/2433))
2891* Test that errors are passed to the buildEnd hook ([#2450](https://github.com/rollup/rollup/pull/2450))
2892
2893## 0.65.2
2894*2018-09-05*
2895* Prevent watch mode memory leak ([#2441](https://github.com/rollup/rollup/pull/2441))
2896
2897## 0.65.1
2898*2018-09-05*
2899* Prevent globbing when using chokidar ([#2432](https://github.com/rollup/rollup/pull/2432))
2900
2901## 0.65.0
2902*2018-08-25*
2903* Refactor and unify plugin system ([#2382](https://github.com/rollup/rollup/pull/2382))
2904* Implement plugin cache API ([#2389](https://github.com/rollup/rollup/pull/2389))
2905* Add watchChange plugin hook to watch changed files, deprecate asset dependencies ([#2405](https://github.com/rollup/rollup/pull/2405))
2906* Refine asset handling ([#2369](https://github.com/rollup/rollup/pull/2369))
2907* Implement `renderChunk` hook to replace `transformChunk` and `transformBundle` hooks ([#2406](https://github.com/rollup/rollup/pull/2406))
2908* Add rollup version to plugin context ([#2394](https://github.com/rollup/rollup/pull/2394))
2909* Do not resume stdin in watch mode to fix it for Lerna users ([#2410](https://github.com/rollup/rollup/pull/2410))
2910* Allow `[format]` placeholder for id generation ([#2387](https://github.com/rollup/rollup/pull/2387))
2911* Always log error stacks even when a code frame is given ([#2417](https://github.com/rollup/rollup/pull/2417))
2912* Do not test module ids starting with `\0` as external ([#2400](https://github.com/rollup/rollup/pull/2400))
2913* Fix tracing of namespace variables ([#2408](https://github.com/rollup/rollup/pull/2408))
2914* Fix re-tracing of namespace variables ([#2420](https://github.com/rollup/rollup/pull/2420))
2915* Properly wrap comment annotations in SystemJS exports ([#2408](https://github.com/rollup/rollup/pull/2408))
2916* Fix renaming of destructured parameters ([#2419](https://github.com/rollup/rollup/pull/2419))
2917* Do not display version in watch mode when using `--silent` ([#2392](https://github.com/rollup/rollup/pull/2392))
2918* Make `cacheExpiry` an experimental option for now ([#2401](https://github.com/rollup/rollup/pull/2401))
2919* Lint test configs on commit ([#2402](https://github.com/rollup/rollup/pull/2402))
2920* Add code of conduct ([#2388](https://github.com/rollup/rollup/pull/2388))
2921* Move to CircleCI ([#2390](https://github.com/rollup/rollup/pull/2390))
2922* Update pull request template ([#2404](https://github.com/rollup/rollup/pull/2404))
2923
2924## 0.64.1
2925*2018-08-07*
2926* Do not render initializers of hoisted variables in dead branches ([#2384](https://github.com/rollup/rollup/pull/2384))
2927
2928## 0.64.0
2929*2018-08-07*
2930* Print memory consumption together with performance timings ([#2370](https://github.com/rollup/rollup/pull/2370))
2931* Enable plugins to mark imports as external by returning false for resolveId ([#2351](https://github.com/rollup/rollup/pull/2351))
2932* Always retain empty manual chunks ([#2362](https://github.com/rollup/rollup/pull/2362))
2933* Ensure CLI warnings are shown on errors and add error for external id collisions ([#2334](https://github.com/rollup/rollup/pull/2334))
2934* Remove unnecessary dependency, update dependencies, fix linting of test config ([#2376](https://github.com/rollup/rollup/pull/2376))
2935* Add targeted Github issue templates ([#2356](https://github.com/rollup/rollup/pull/2356))
2936
2937## 0.63.5
2938*2018-08-01*
2939* Ensure onwrite plugin hooks execute in sequence ([#2364](https://github.com/rollup/rollup/pull/2364))
2940* Always warn when no name is provided for a global module ([#2359](https://github.com/rollup/rollup/pull/2359))
2941* Add utility type for user created plugins ([#2355](https://github.com/rollup/rollup/pull/2355))
2942* Remove deprecated es6 format from types ([#2349](https://github.com/rollup/rollup/pull/2349))
2943* Mark inlineDynamicImports as optional in types ([#2348](https://github.com/rollup/rollup/pull/2348))
2944
2945## 0.63.4
2946*2018-07-20*
2947* Use turbocolor instead of chalk ([#2339](https://github.com/rollup/rollup/pull/2339))
2948
2949## 0.63.3
2950*2018-07-20*
2951* Handle expressions where "in" and "instanceof" are applied to primitive values ([#2344](https://github.com/rollup/rollup/pull/2344))
2952
2953## 0.63.2
2954*2018-07-18*
2955* Fix bind order in for-of loops ([#2338](https://github.com/rollup/rollup/pull/2338))
2956
2957## 0.63.1
2958*2018-07-18*
2959
2960## 0.63.0
2961*2018-07-17*
2962* Fix many tree-shaking related issues ([#2315](https://github.com/rollup/rollup/pull/2315))
2963* Add experimental support for top-level await ([#2235](https://github.com/rollup/rollup/pull/2235))
2964* Prevent duplicate version printout in watch mode ([#2325](https://github.com/rollup/rollup/pull/2325))
2965* Respect error frames provided by plugins ([#2309](https://github.com/rollup/rollup/pull/2309))
2966* Add `esm` format alias to types ([#2327](https://github.com/rollup/rollup/pull/2327))
2967* Further unify internal test setup ([#2329](https://github.com/rollup/rollup/pull/2329))
2968
2969## 0.62.0
2970*2018-06-27*
2971* Add option to automatically shim missing exports ([#2118](https://github.com/rollup/rollup/pull/2118))
2972* Inline dynamic imports that are also imported statically and only used in a single chunk ([#2295](https://github.com/rollup/rollup/pull/2295))
2973* Handle caching and invalidation of assets ([#2267](https://github.com/rollup/rollup/pull/2267))
2974* Fix plugin related types ([#2299](https://github.com/rollup/rollup/pull/2299))
2975
2976## 0.61.2
2977*2018-06-23*
2978* Improve watcher error handling, only rebuild invalidated outputs ([#2296](https://github.com/rollup/rollup/pull/2296))
2979* Update dependencies, make watcher more stable ([#2297](https://github.com/rollup/rollup/pull/2297))
2980
2981## 0.61.1
2982*2018-06-21*
2983* Do not try to deconflict "undefined" ([#2291](https://github.com/rollup/rollup/pull/2291))
2984* Properly track values for loop interator declarations and reassigned namespaces, add smoke test ([#2292](https://github.com/rollup/rollup/pull/2292))
2985
2986## 0.61.0
2987*2018-06-20*
2988* Declare file dependencies via transform plugin hooks ([#2259](https://github.com/rollup/rollup/pull/2259))
2989* Handle undefined values when evaluating conditionals ([#2264](https://github.com/rollup/rollup/pull/2264))
2990* Handle known undefined properties when evaluating conditionals ([#2265](https://github.com/rollup/rollup/pull/2265))
2991* Access watch events via the plugin context ([#2261](https://github.com/rollup/rollup/pull/2261))
2992* Add option to suppress `__esModule` flag in output ([#2287](https://github.com/rollup/rollup/pull/2287))
2993* Fix issue when re-declaring variables, track reassignments in more cases ([#2279](https://github.com/rollup/rollup/pull/2279))
2994* Add VSCode debug settings ([#2276](https://github.com/rollup/rollup/pull/2276))
2995
2996## 0.60.7
2997*2018-06-14*
2998* Fix typing issue ([#2269](https://github.com/rollup/rollup/pull/2269))
2999
3000## 0.60.6
3001*2018-06-14*
3002* Track mutations of included virtual arrays ([#2263](https://github.com/rollup/rollup/pull/2263))
3003* Update readme ([#2266](https://github.com/rollup/rollup/pull/2266))
3004
3005## 0.60.5
3006*2018-06-14*
3007* Track deep reassignments of global and exported variables and improve performance ([#2254](https://github.com/rollup/rollup/pull/2254))
3008
3009## 0.60.4
3010*2018-06-13*
3011* Properly handle initially uninitialized exports and exports of globals in SystemJS output ([#2258](https://github.com/rollup/rollup/pull/2258))
3012
3013## 0.60.3
3014*2018-06-13*
3015* Fix types to allow watching an array of outputs ([#2262](https://github.com/rollup/rollup/pull/2262))
3016
3017## 0.60.2
3018*2018-06-11*
3019* Permit setting an asset's source in `generateBundle` ([#2256](https://github.com/rollup/rollup/pull/2256))
3020* Add automatic linting ([#2242](https://github.com/rollup/rollup/pull/2242))
3021
3022## 0.60.1
3023*2018-06-07*
3024* Fix plugin regressions ([#2246](https://github.com/rollup/rollup/pull/2246))
3025* Avoid conflicts for large numbers of variables ([#2244](https://github.com/rollup/rollup/pull/2244))
3026
3027## 0.60.0
3028*2018-06-06*
3029* 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))
3030* [BREAKING] Deprecate the `legacy` option and thus IE8 support ([#2141](https://github.com/rollup/rollup/pull/2141))
3031* Detect more known extensions and load .mjs without extension ([#2211](https://github.com/rollup/rollup/pull/2211))
3032* Add compact output mode ([#2151](https://github.com/rollup/rollup/pull/2151))
3033* Significantly improve sourcemap generation performance ([#2228](https://github.com/rollup/rollup/pull/2228))
3034* Enable naming SystemJS modules ([#2028](https://github.com/rollup/rollup/pull/2028))
3035* Do not use alternate screen if clearScreen is set in watch mode ([#2125](https://github.com/rollup/rollup/pull/2125))
3036* Allow object input form for code-splitting in watch mode ([#2217](https://github.com/rollup/rollup/pull/2217))
3037* Track reassignments of methods of exports from outside ([#2240](https://github.com/rollup/rollup/pull/2240))
3038* Preserve id of default exported functions and classes ([#2234](https://github.com/rollup/rollup/pull/2234))
3039* Add semicolons after default exports ([#2209](https://github.com/rollup/rollup/pull/2209))
3040* Fix build problems on Windows ([#2232](https://github.com/rollup/rollup/pull/2232))
3041* Display install size in readme ([#2196](https://github.com/rollup/rollup/pull/2196))
3042* Improve preserve modules test ([#2236](https://github.com/rollup/rollup/pull/2236))
3043
3044## 0.59.4
3045*2018-05-28*
3046* Fix performance regression when many return statements are used ([#2218](https://github.com/rollup/rollup/pull/2218))
3047
3048## 0.59.3
3049*2018-05-24*
3050* Fix reassignment tracking for constructor parameters ([#2214](https://github.com/rollup/rollup/pull/2214))
3051
3052## 0.59.2
3053*2018-05-21*
3054* Fix reassignment tracking in for-in loops ([#2205](https://github.com/rollup/rollup/pull/2205))
3055
3056## 0.59.1
3057*2018-05-16*
3058* Fix infinite recursion when determining literal values of circular structures ([#2193](https://github.com/rollup/rollup/pull/2193))
3059* Fix invalid code when simplifying expressions without spaces ([#2194](https://github.com/rollup/rollup/pull/2194))
3060
3061## 0.59.0
3062*2018-05-15*
3063* Tree-shake statically analysable dynamic conditionals ([#2167](https://github.com/rollup/rollup/pull/2167))
3064* Do not emit empty chunks when code-splitting or empty files when preserving modules ([#2128](https://github.com/rollup/rollup/pull/2128))
3065* Support `import.meta.url` ([#2164](https://github.com/rollup/rollup/pull/2164))
3066* Add `esm` format alias ([#2102](https://github.com/rollup/rollup/pull/2102))
3067* Use alphanumeric base64 characters when deconflicting variables ([#2188](https://github.com/rollup/rollup/pull/2188))
3068* Improve handling of external modules imported as both default and named imports ([#2136](https://github.com/rollup/rollup/pull/2136))
3069* Properly deconflict named imports from other chunks ([#2177](https://github.com/rollup/rollup/pull/2177))
3070* Fix an issue with namespaces containing reexports ([#2157](https://github.com/rollup/rollup/pull/2157))
3071* Fix an issue with with incorrectly mapped default exports when code-splitting CJS or AMD modules ([#2178](https://github.com/rollup/rollup/pull/2178))
3072* Fix an issue with wrong paths of relative external imports ([#2160](https://github.com/rollup/rollup/pull/2160))
3073* Fix an issue when using default exports and `interop: false` ([#2149](https://github.com/rollup/rollup/pull/2149))
3074* Fix in issue with invalid syntax in SystemJS output ([#2187](https://github.com/rollup/rollup/pull/2187))
3075* Fix an issue when tree-shaking call expressions and reassigned variables ([#2186](https://github.com/rollup/rollup/pull/2186))
3076* Fix file paths in source maps ([#2161](https://github.com/rollup/rollup/pull/2161))
3077* Fix wrong file name in error message ([#2137](https://github.com/rollup/rollup/pull/2137))
3078* Always use npm 5 on CI ([#2185](https://github.com/rollup/rollup/pull/2185))
3079
3080## 0.58.2
3081*2018-04-23*
3082* Fix rendering of certain statically resolvable if statements ([#2146](https://github.com/rollup/rollup/pull/2146))
3083
3084## 0.58.1
3085*2018-04-18*
3086* Fix comment detection ([#2129](https://github.com/rollup/rollup/pull/2129))
3087
3088## 0.58.0
3089*2018-04-16*
3090* Support individual chunk names with optional content hashes ([#2068](https://github.com/rollup/rollup/pull/2068))
3091* Support manually created chunks ([#2084](https://github.com/rollup/rollup/pull/2084))
3092* Automatically import deep dependencies when code splitting for better performance ([#2073](https://github.com/rollup/rollup/pull/2073))
3093* Automatically minify internal export/import names for esm and system output ([#2087](https://github.com/rollup/rollup/pull/2087))
3094* Add option to automatically merge small chunks ([#2090](https://github.com/rollup/rollup/pull/2090))
3095* Significantly improve tree-shaking performance ([#2119](https://github.com/rollup/rollup/pull/2119))
3096* Enable tree-shaking for logical expressions ([#2098](https://github.com/rollup/rollup/pull/2098))
3097* Rework external types and reduce type related dependencies ([#2108](https://github.com/rollup/rollup/pull/2108))
3098* Support parallel dependency resolution ([#2116](https://github.com/rollup/rollup/pull/2116))
3099* Improve deprecation handling ([#2076](https://github.com/rollup/rollup/pull/2076))
3100* Enable `--perf` timings in watch mode ([#2065](https://github.com/rollup/rollup/pull/2065))
3101* Improve performance timers ([#2111](https://github.com/rollup/rollup/pull/2111))
3102* Improve error handling for plugins ([#2100](https://github.com/rollup/rollup/pull/2100))
3103* Improve error when using `--dir` in a single file build ([#2123](https://github.com/rollup/rollup/pull/2123))
3104* Do not warn for external imports that are unused due to tree-shaking ([#2124](https://github.com/rollup/rollup/pull/2124))
3105* Update mixed export warning message ([#2107](https://github.com/rollup/rollup/pull/2107))
3106* Remove duplicate badges from readme ([#2083](https://github.com/rollup/rollup/pull/2083))
3107* Update readme examples ([#2086](https://github.com/rollup/rollup/pull/2086))
3108
3109## 0.57.1
3110*2018-03-17*
3111* Improve sourcemap generation performance ([#2062](https://github.com/rollup/rollup/pull/2062))
3112* Add reserved config option namespace and improve CLI interface ([#2063](https://github.com/rollup/rollup/pull/2063))
3113* Fix issue with default exported function and class expressions ([#2059](https://github.com/rollup/rollup/pull/2059))
3114* Replace `forEach` with faster `for` loops in some places ([#2064](https://github.com/rollup/rollup/pull/2064))
3115
3116## 0.57.0
3117*2018-03-15*
3118* Add option to preserve the module structure instead of bundling ([#1922](https://github.com/rollup/rollup/pull/1922))
3119* Enable watch mode when code-splitting ([#2035](https://github.com/rollup/rollup/pull/2035))
3120* Optionally pass CLI commands to config file ([#1926](https://github.com/rollup/rollup/pull/1926))
3121* Option to add correct `.toString` tags to namespaces ([#2041](https://github.com/rollup/rollup/pull/2041))
3122* Option and scripts to display performance timings ([#2045](https://github.com/rollup/rollup/pull/2045))
3123* Fixes for exported or early accessed namespaces + improved namespace indentation ([#2041](https://github.com/rollup/rollup/pull/2041))
3124* Include missing TypeScript dependencies ([#1965](https://github.com/rollup/rollup/pull/1965))
3125* Add #_PURE annotation to frozen namespaces ([#2044](https://github.com/rollup/rollup/pull/2044))
3126* Improve sourcemap and tree-shaking performance ([#2052](https://github.com/rollup/rollup/pull/2052))
3127* Inline sourcemap lookups and make rollup smaller ([#2055](https://github.com/rollup/rollup/pull/2055))
3128* Use updated magic-string types ([#2057](https://github.com/rollup/rollup/pull/2057))
3129* [BREAKING] Revert class id preservation from #2025 ([#2048](https://github.com/rollup/rollup/pull/2048))
3130* [BREAKING] Refactor missing export plugin hook ([#1987](https://github.com/rollup/rollup/pull/1987))
3131
3132## 0.56.5
3133*2018-03-07*
3134* Preserve ids when deconflicting classes ([#2025](https://github.com/rollup/rollup/pull/2025))
3135* Fix an issue with re-exported namespace imports ([#2034](https://github.com/rollup/rollup/pull/2034))
3136* Prevent an infinite loop when binding member expressions ([#1963](https://github.com/rollup/rollup/pull/1963))
3137* Convert code style via prettier ([#2031](https://github.com/rollup/rollup/pull/2031))
3138* Fix links in documentation ([#2026](https://github.com/rollup/rollup/pull/2026))
3139
3140## 0.56.4
3141*2018-03-05*
3142* Make rollup builds reproducible ([#2024](https://github.com/rollup/rollup/pull/2024))
3143* Improve error handling for source maps ([#2012](https://github.com/rollup/rollup/pull/2012))
3144* Properly handle SystemJS default exports without semicolons ([#2019](https://github.com/rollup/rollup/pull/2019))
3145* Properly handle importing the same variable several times when code-splitting ([#2020](https://github.com/rollup/rollup/pull/2020))
3146* Improve re-export tracing ([#2021](https://github.com/rollup/rollup/pull/2021))
3147* Apply "prettier" on commit ([#2017](https://github.com/rollup/rollup/pull/2017))
3148* Automatically clean up outdated tests ([#2009](https://github.com/rollup/rollup/pull/2009))
3149* Add SystemJS output to form tests ([#2022](https://github.com/rollup/rollup/pull/2022))
3150* Improve internal build configuration ([#2016](https://github.com/rollup/rollup/pull/2016))
3151
3152## 0.56.3
3153*2018-02-25*
3154* Fix issues around default exports and module facades ([#2001](https://github.com/rollup/rollup/pull/2001))
3155* Improve and fix internal chunk interface ([#1994](https://github.com/rollup/rollup/pull/1994))
3156* Fix superfluous semicolons added after declarations ([#1999](https://github.com/rollup/rollup/pull/1999))
3157* Improve code-splitting tests ([#1990](https://github.com/rollup/rollup/pull/1990))
3158
3159## 0.56.2
3160*2018-02-19*
3161* Fix handling of reassigned default exports ([#1975](https://github.com/rollup/rollup/pull/1975))
3162* Fix handling of renamed exports in entry points ([#1977](https://github.com/rollup/rollup/pull/1977))
3163* Update internal TypeScript version ([#1980](https://github.com/rollup/rollup/pull/1980))
3164* Omit compiled source files from published types ([#1981](https://github.com/rollup/rollup/pull/1981))
3165* Fix example in readme file ([#1984](https://github.com/rollup/rollup/pull/1984))
3166* Fix non-replaced dynamic imports in non-ESM output ([#1985](https://github.com/rollup/rollup/pull/1985))
3167
3168## 0.56.1
3169*2018-02-16*
3170* Fix regression when rendering switch statements ([#1971](https://github.com/rollup/rollup/pull/1971))
3171
3172## 0.56.0
3173*2018-02-15*
3174* Update to ECMAScript 2018 ([#1953](https://github.com/rollup/rollup/pull/1953))
3175* Rework tree-shaking rendering algorithm ([#1949](https://github.com/rollup/rollup/pull/1949))
3176* Tree-shake pure prototype calls on literals ([#1916](https://github.com/rollup/rollup/pull/1916))
3177* Expose AST parser to plugins ([#1945](https://github.com/rollup/rollup/pull/1945))
3178* Fix namespace re-export deconflicting ([#1960](https://github.com/rollup/rollup/pull/1960))
3179* Allow globals to be re-exported ([#1959](https://github.com/rollup/rollup/pull/1959))
3180* Fix internal performance timers ([#1966](https://github.com/rollup/rollup/pull/1966))
3181
3182## 0.55.5
3183*2018-02-10*
3184* Remove OpenCollective dependency ([#1915](https://github.com/rollup/rollup/pull/1915))
3185
3186## 0.55.4
3187*2018-02-09*
3188* Improve name deconflicting of external variables ([#1930](https://github.com/rollup/rollup/pull/1930))
3189* Improve re-export handling ([#1947](https://github.com/rollup/rollup/pull/1947))
3190* Mark preserveSymlinks option as optional ([#1939](https://github.com/rollup/rollup/pull/1939))
3191* Enable code-splitting tests to check directory structures ([#1924](https://github.com/rollup/rollup/pull/1924))
3192* Improve TypeScript definition test ([#1954](https://github.com/rollup/rollup/pull/1954))
3193
3194## 0.55.3
3195*2018-02-01*
3196* Remove OpenCollective dependency ([#1915](https://github.com/rollup/rollup/pull/1915))
3197
3198## 0.55.2
3199*2018-02-01*
3200* Add option to not follow symlinks ([#1819](https://github.com/rollup/rollup/pull/1819))
3201* Fix crash in windows shell ([#1928](https://github.com/rollup/rollup/pull/1928))
3202* Fix and test for external TypeScript errors ([#1903](https://github.com/rollup/rollup/pull/1903))
3203* Activate OpenCollective ([#1915](https://github.com/rollup/rollup/pull/1915))
3204* Optimize CI scripts ([#1921](https://github.com/rollup/rollup/pull/1921))
3205
3206## 0.55.1
3207*2018-01-26*
3208* Improve dynamic import workflow ([#1907](https://github.com/rollup/rollup/pull/1907))
3209* Properly handle multiple dynamic imports of the same module ([#1911](https://github.com/rollup/rollup/pull/1911))
3210* Fix import specifier deshadowing ([#1912](https://github.com/rollup/rollup/pull/1912))
3211* Allow plugin load hook to return an empty string ([#1908](https://github.com/rollup/rollup/pull/1908))
3212* Let onwarn handler accept strings ([#1905](https://github.com/rollup/rollup/pull/1905))
3213
3214## 0.55.0
3215*2018-01-23*
3216* Support code splitting ([#1841](https://github.com/rollup/rollup/pull/1841))
3217* Support SystemJS as output format ([#1897](https://github.com/rollup/rollup/pull/1897))
3218* Allow injecting acorn plugins ([#1857](https://github.com/rollup/rollup/pull/1857))
3219* Add `missingExport` plugin hook ([#1845](https://github.com/rollup/rollup/pull/1845))
3220* No longer parse config files via bublé ([#1899](https://github.com/rollup/rollup/pull/1899))
3221* Use externally maintained dynamic import acorn plugin ([#1891](https://github.com/rollup/rollup/pull/1891))
3222* Fix an error message ([#1886](https://github.com/rollup/rollup/pull/1886))
3223* Refactor internal rendering options ([#1900](https://github.com/rollup/rollup/pull/1900))
3224* Extract internal path resolution ([#1879](https://github.com/rollup/rollup/pull/1879))
3225* Extract internal bundle option handling ([#1880](https://github.com/rollup/rollup/pull/1880))
3226* Add import description type ([#1884](https://github.com/rollup/rollup/pull/1884))
3227* Clean up watch options types ([#1860](https://github.com/rollup/rollup/pull/1860))
3228* Clean up some tests ([#1888](https://github.com/rollup/rollup/pull/1888))
3229
3230## 0.54.1
3231*2018-01-17*
3232* Fix TypeScript errors in emitted type definitions ([#1871](https://github.com/rollup/rollup/pull/1871))
3233
3234## 0.54.0
3235*2018-01-12*
3236* Automatically inline locally resolvable dynamic imports ([#1816](https://github.com/rollup/rollup/pull/1816))
3237* Preserve directives in function bodies ([#1856](https://github.com/rollup/rollup/pull/1856))
3238* Refactor an error notification ([#1846](https://github.com/rollup/rollup/pull/1846))
3239* Refactor a wrong import ([#1863](https://github.com/rollup/rollup/pull/1863))
3240* Improve emitted TypeScript definitions ([#1864](https://github.com/rollup/rollup/pull/1864))
3241* Refactor unused import ([#1866](https://github.com/rollup/rollup/pull/1866))
3242
3243## 0.53.4
3244*2018-01-10*
3245* More type cleanup ([#1858](https://github.com/rollup/rollup/pull/1858))
3246* Use chalks internal helper to detect if colors should be used ([#1853](https://github.com/rollup/rollup/pull/1853))
3247* Refactor entity handling to use interfaces ([#1840](https://github.com/rollup/rollup/pull/1840))
3248* Use immutable.js internal types ([#1844](https://github.com/rollup/rollup/pull/1844))
3249* Ship `TypeScript` declaration files ([#1837](https://github.com/rollup/rollup/pull/1837))
3250
3251## 0.53.3
3252*2018-01-02*
3253* Use correct name when re-exporting from external modules ([#1794](https://github.com/rollup/rollup/pull/1794))
3254* Disable warnings when `resolveId` returns false ([#1825](https://github.com/rollup/rollup/pull/1825))
3255
3256## 0.53.2
3257*2017-12-30*
3258* Properly handle output arrays in the JavaScript API ([#1827](https://github.com/rollup/rollup/pull/1827))
3259
3260## 0.53.1
3261*2017-12-28*
3262* Properly deprecate more config options ([#1812](https://github.com/rollup/rollup/pull/1812))
3263* Pass output options to `transformBundle` plugin hook ([#1813](https://github.com/rollup/rollup/pull/1813))
3264
3265## 0.53.0
3266*2017-12-22*
3267* Experimental dynamic import support ([#1790](https://github.com/rollup/rollup/pull/1790))
3268* Unify config validation ([#1805](https://github.com/rollup/rollup/pull/1805))
3269
3270## 0.52.3
3271*2017-12-19*
3272* Properly hoist default exported functions in more situations ([#1799](https://github.com/rollup/rollup/pull/1799))
3273* Allow plugin transformations to not overwrite source maps by returning null ([#1797](https://github.com/rollup/rollup/pull/1797))
3274* Provide more parameters to "external" handler ([#1792](https://github.com/rollup/rollup/pull/1792))
3275
3276## 0.52.2
3277*2017-12-15*
3278* No longer ignore side-effects in JSON.parse and JSON.stringify ([#1785](https://github.com/rollup/rollup/pull/1785))
3279* Updated links in warnings ([#1776](https://github.com/rollup/rollup/pull/1776))
3280* No longer prevent self-imports ([#1777](https://github.com/rollup/rollup/pull/1777))
3281* Properly hoist default exported functions ([#1787](https://github.com/rollup/rollup/pull/1787))
3282* Prevent corruption when re-exporting default exports ([#1765](https://github.com/rollup/rollup/pull/1765))
3283
3284## 0.52.1
3285*2017-12-05*
3286* Improve deprecation warnings ([#1765](https://github.com/rollup/rollup/pull/1765))
3287* Properly use stdin ([#1774](https://github.com/rollup/rollup/pull/1774))
3288* Let --environment be used multiple times ([#1768](https://github.com/rollup/rollup/pull/1768))
3289* Always transpile config files ([#1759](https://github.com/rollup/rollup/pull/1759))
3290* Respect globals option in headers of UMD and IIFE files ([#1747](https://github.com/rollup/rollup/pull/1747))
3291
3292## 0.52.0
3293*2017-11-25*
3294* Accept config as promise ([#1731](https://github.com/rollup/rollup/pull/1731))
3295* Accept promises for intro/outro/banner/footer ([#1253](https://github.com/rollup/rollup/pull/1253))
3296* Option to prevent freezing of namespace imports ([#1696](https://github.com/rollup/rollup/pull/1696))
3297* Option to retain all output in watch mode ([#1688](https://github.com/rollup/rollup/pull/1688))
3298* Options to fine-tune treeshaking ([#1760](https://github.com/rollup/rollup/pull/1760))
3299
3300## 0.51.8
3301*2017-11-19*
3302* Fix speed problems by simplifying treeshaking reassignment handling ([#1740](https://github.com/rollup/rollup/pull/1740))
3303* Update dependencies ([#1742](https://github.com/rollup/rollup/pull/1742))
3304
3305## 0.51.7
3306*2017-11-17*
3307* Keep "this"-context when calling sequence expressions ([#1724](https://github.com/rollup/rollup/pull/1724))
3308
3309## 0.51.6
3310*2017-11-16*
3311* Use sourcemaps to determine error locations ([#1728](https://github.com/rollup/rollup/pull/1728))
3312
3313## 0.51.5
3314*2017-11-11*
3315* Fix regressions with uninitialised conditional expressions ([#1720](https://github.com/rollup/rollup/pull/1720))
3316
3317## 0.51.4
3318*2017-11-11*
3319* Fix regressions preventing builds ([#1725](https://github.com/rollup/rollup/pull/1725))
3320
3321## 0.51.3
3322*2017-11-10*
3323* Fix regression when treeshaking sequence expressions ([#1717](https://github.com/rollup/rollup/pull/1717))
3324
3325## 0.51.2
3326*2017-11-09*
3327* Fix treeshaking regression when labels are used inside functions ([#1712](https://github.com/rollup/rollup/pull/1712))
3328
3329## 0.51.1
3330*2017-11-08*
3331* Fix an issue with empty return statements ([#1704](https://github.com/rollup/rollup/pull/1704))
3332
3333## 0.51.0
3334*2017-11-08*
3335* Massive improvements to the treeshaking algorithm ([#1667](https://github.com/rollup/rollup/pull/1667))
3336
3337## 0.50.1
3338*2017-11-08*
3339* Fix treeshaking regression ([#1695](https://github.com/rollup/rollup/pull/1695))
3340* Treeshaking improvements ([#1650](https://github.com/rollup/rollup/pull/1650))
3341* Enable installation from Github ([#1670](https://github.com/rollup/rollup/pull/1670))
3342* Update documentation ([#1660](https://github.com/rollup/rollup/pull/1660))
3343
3344## 0.50.0
3345*2017-09-16*
3346* Many treeshaking improvements ([#1624](https://github.com/rollup/rollup/pull/1624))
3347* Show finish time in watch mode ([#1620](https://github.com/rollup/rollup/pull/1620))
3348
3349## 0.49.3
3350*2017-09-08*
3351* Respect `watch` options ([#1596](https://github.com/rollup/rollup/issues/1596))
3352* Fix treeshaking regressions ([#1604](https://github.com/rollup/rollup/pull/1604))
3353* Allow `-o` to work with `output.format` ([#1606](https://github.com/rollup/rollup/pull/1606))
3354
3355## 0.49.2
3356*2017-08-29*
3357* Fix treeshaking regressions ([#1591](https://github.com/rollup/rollup/pull/1591))
3358
3359## 0.49.1
3360*2017-08-28*
3361* Fix treeshaking regressions ([#1586](https://github.com/rollup/rollup/pull/1586))
3362
3363## 0.49.0
3364*2017-08-27*
3365* Completely update the treeshaking algorithm ([#1582](https://github.com/rollup/rollup/pull/1582))
3366* Only flip screen buffer if appropriate ([#1574](https://github.com/rollup/rollup/pull/1574))
3367* Guard against two instances creating the same dir ([#1576](https://github.com/rollup/rollup/pull/1576))
3368
3369## 0.48.2
3370
3371* Paths is an output option ([#1569](https://github.com/rollup/rollup/pull/1569))
3372
3373## 0.48.1
3374
3375* Print deprecation warnings in watch mode, and fix options when watcher restarts ([#1568](https://github.com/rollup/rollup/pull/1568))
3376
3377## 0.48.0
3378
3379* 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.
3380
3381## 0.47.6
3382
3383* Set `process.env.ROLLUP_WATCH` *before* loading config file
3384
3385## 0.47.5
3386
3387* Fix broken multi-bundle configs with `rollup.watch` ([#1532](https://github.com/rollup/rollup/issues/1532))
3388
3389## 0.47.4
3390
3391* Delete cached config file before reloading in watch mode
3392
3393## 0.47.3
3394
3395* Deshadow aliased imports ([#1550](https://github.com/rollup/rollup/issues/1550))
3396
3397## 0.47.2
3398
3399* Rebuild with dependency that npm randomly deleted
3400
3401## 0.47.1
3402
3403* Ignore external namespace imports when deshadowing ([#1547](https://github.com/rollup/rollup/issues/1547))
3404
3405## 0.47.0
3406
3407* Watch config file, restart `rollup.watch` on change ([#1535](https://github.com/rollup/rollup/issues/1535))
3408* Correctly render `export { foo } from` declarations in `es` output ([#1543](https://github.com/rollup/rollup/pull/1543))
3409* Reinstate missing `rollup.VERSION`
3410
3411## 0.46.3
3412
3413* 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))
3414* Fix namespace imports and re-exports in `es` output ([#1511](https://github.com/rollup/rollup/issues/1511))
3415* Deshadow indirectly imported namespaces ([#1488](https://github.com/rollup/rollup/issues/1488), [#1505](https://github.com/rollup/rollup/issues/1505))
3416
3417## 0.46.2
3418
3419* Pass options to `bundle.write` correctly in `rollup.watch` ([#1533](https://github.com/rollup/rollup/issues/1533))
3420* init for-in loop section head with correct scopes ([#1480](https://github.com/rollup/rollup/issues/1480))
3421* support `--no-interop` flag ([#1524](https://github.com/rollup/rollup/issues/1524))
3422
3423## 0.46.1
3424
3425* Remove `rollup.watch` from browser build ([#1530](https://github.com/rollup/rollup/issues/1530))
3426* Remove `source-map-support` dependency ([#1528](https://github.com/rollup/rollup/issues/1528))
3427
3428## 0.46.0
3429
3430* `options.format` is now required ([#1491](https://github.com/rollup/rollup/pull/1491))
3431* if `options.format` is `es6`, it will now throw an error (should be `es`) ([#1491](https://github.com/rollup/rollup/pull/1491))
3432* Add experimental `rollup.watch` method, replacing [rollup-watch](https://github.com/rollup/rollup-watch) ([#1491](https://github.com/rollup/rollup/pull/1491))
3433* Batch warnings together in CLI output ([#1491](https://github.com/rollup/rollup/pull/1491))
3434* Clear screen between rebuilds in `--watch` mode ([#1491](https://github.com/rollup/rollup/pull/1491))
3435* `onwarn` function's second argument is the default handler, allowing easier filtering without reimplementing any logic ([#1491](https://github.com/rollup/rollup/pull/1491))
3436* Prevent semi-colon removal after variable declaration that is for loop body ([#1275](https://github.com/rollup/rollup/issues/1275))
3437* Return `exports` for namespaced but non-extended IIFE bundles ([#1492](https://github.com/rollup/rollup/issues/1492))
3438* Fix scoping in switch statements ([#1498](https://github.com/rollup/rollup/pull/1498))
3439* Handle side-effects in tagged template expressions ([#1508](https://github.com/rollup/rollup/pull/1508))
3440* More descriptive error for missing options.format ([#1510](https://github.com/rollup/rollup/pull/1510))
3441* Refactor scope handling ([#1517](https://github.com/rollup/rollup/pull/1517))
3442* Handle failure of a config in multi-config build ([#1513](https://github.com/rollup/rollup/issues/1513))
3443
3444
3445## 0.45.2
3446
3447* Fix interop when import is a string ([#1486](https://github.com/rollup/rollup/issues/1486))
3448* Separate `resolvedIds` from `resolvedExternalIds` ([#1490](https://github.com/rollup/rollup/pull/1490))
3449* Add `--extend` flag to CLI ([#1482](https://github.com/rollup/rollup/pull/1482))
3450
3451## 0.45.1
3452
3453* Remove `weak` from `optionalDependencies` ([#1483](https://github.com/rollup/rollup/issues/1483))
3454
3455## 0.45.0
3456
3457* [BREAKING] `bundle.generate(...)` returns a Promise, so that `transformBundle` plugin hooks can be asynchronous ([#1474](https://github.com/rollup/rollup/issues/1474))
3458
3459## 0.44.0
3460
3461* [BREAKING] Don't extend existing globals, unless `options.extend` is true ([#827](https://github.com/rollup/rollup/issues/827))
3462* Fix handling of catch clause parameters ([#1462](https://github.com/rollup/rollup/issues/1462))
3463
3464## 0.43.1
3465
3466* Fix memory leak on incremental rebuilds ([#883](https://github.com/rollup/rollup/issues/883))
3467* 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))
3468* Print more useful error if entry module is 'external' ([#1264](https://github.com/rollup/rollup/issues/1264))
3469* Catch errors in `bundle.generate` options ([#1463](https://github.com/rollup/rollup/pull/1463))
3470* Fix magic-string deprecation warning ([#1445](https://github.com/rollup/rollup/pull/1445))
3471
3472## 0.43.0
3473
3474* Allow config files to import JSON ([#1426](https://github.com/rollup/rollup/issues/1426))
3475* Allow undefined imports in interop block ([#1341](https://github.com/rollup/rollup/issues/1341))
3476* Add `process.env.ROLLUP_WATCH = 'true'` in watch mode ([#1429](https://github.com/rollup/rollup/issues/1429))
3477* Add `pureExternalModules` option ([#1352](https://github.com/rollup/rollup/issues/1352))
3478* Allow plugins to specify `options.entry` ([#1270](https://github.com/rollup/rollup/issues/1270))
3479* Update dependencies
3480
3481## 0.42.0
3482
3483* Deprecate `options.moduleId` in favour of `options.amd.id` ([#1365](https://github.com/rollup/rollup/pull/1365))
3484* Add `options.amd.define` option to specify name of AMD `define` function ([#1365](https://github.com/rollup/rollup/pull/1365))
3485* Fix incorrect class removal with `treeshake: false` ([#1375](https://github.com/rollup/rollup/pull/1375))
3486* Deconflict module exports imported as namespaces ([#1384](https://github.com/rollup/rollup/issues/1384))
3487* Handle bare self-imports ([#1274](https://github.com/rollup/rollup/issues/1274))
3488* Allow config file to export an array of multiple configs ([#1389](https://github.com/rollup/rollup/pull/1389))
3489* Handle exponentiation operator, and fail gracefully on unknown operators ([#1416](https://github.com/rollup/rollup/issues/1416))
3490* Add `watch` option ([#1424](https://github.com/rollup/rollup/pull/1424))
3491
3492## 0.41.6
3493
3494* Preserve `originalSourceMap` on incremental rebuilds for loaders with sourcemaps ([#1336](https://github.com/rollup/rollup/issues/1336))
3495
3496## 0.41.5
3497
3498* Wrap ternary consequent/alternate sequences in parens ([#1273](https://github.com/rollup/rollup/issues/1273))
3499* Fix erroneous warning on multiple `export * from` declarations with defaults ([#1278](https://github.com/rollup/rollup/issues/1278))
3500* Prevent variable conflicts with `treeshake: false` ([#1268](https://github.com/rollup/rollup/issues/1268))
3501* Allow missing `source` when collapsing sourcemaps ([#1254](https://github.com/rollup/rollup/issues/1254))
3502* Allow plugins to log with strings ([#1316](https://github.com/rollup/rollup/pull/1316))
3503
3504## 0.41.4
3505
3506* Fix cases of multiple `export * from 'external'` declarations ([#1252](https://github.com/rollup/rollup/issues/1252))
3507* Fix 'TODO' error message ([#1257](https://github.com/rollup/rollup/issues/1257))
3508
3509## 0.41.3
3510
3511* Don't treat `this.foo` as possible namespace ([#1258](https://github.com/rollup/rollup/issues/1258))
3512
3513## 0.41.2
3514
3515* Optimize `namespace['foo']` references ([#1240](https://github.com/rollup/rollup/pull/1240))
3516
3517## 0.41.1
3518
3519* 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))
3520
3521## 0.41.0
3522
3523* Add `this.warn(...)` and `this.error(...)` methods to plugin `transform` hook contexts ([#1140](https://github.com/rollup/rollup/issues/1140))
3524* `throw` always considered to be a side effect ([#1227](https://github.com/rollup/rollup/pull/1227))
3525
3526## 0.40.2
3527
3528* Add `file` property to sourcemaps for bundles with plugins ([#986](https://github.com/rollup/rollup/issues/986))
3529* Don't require globals for empty imports ([#1217](https://github.com/rollup/rollup/issues/1217))
3530
3531## 0.40.1
3532
3533* Allow missing space between `export default` and declaration ([#1218](https://github.com/rollup/rollup/pull/1218))
3534
3535## 0.40.0
3536
3537* [BREAKING] Better, more consistent error logging ([#1212](https://github.com/rollup/rollup/pull/1212))
3538* Don't use colours and emojis for non-TTY stderr ([#1201](https://github.com/rollup/rollup/issues/1201))
3539
3540## 0.39.2
3541
3542* Prevent mutation of cached ASTs (fixes stack overflow with rollup-watch) ([#1205](https://github.com/rollup/rollup/pull/1205))
3543
3544## 0.39.1
3545
3546* Ignore `var` initialisers in dead branches ([#1198](https://github.com/rollup/rollup/issues/1198))
3547
3548## 0.39.0
3549
3550* [BREAKING] Warnings are objects, rather than strings ([#1194](https://github.com/rollup/rollup/issues/1194))
3551
3552## 0.38.3
3553
3554* More informative warning for implicit external dependencies ([#1051](https://github.com/rollup/rollup/issues/1051))
3555* Warn when creating browser bundle with external dependencies on Node built-ins ([#1051](https://github.com/rollup/rollup/issues/1051))
3556* Statically analyse LogicalExpression nodes, for better dead code removal ([#1061](https://github.com/rollup/rollup/issues/1061))
3557
3558## 0.38.2
3559
3560* Preserve `var` declarations in dead branches ([#997](https://github.com/rollup/rollup/issues/997))
3561* Warn if exporting a call expression that looks like a function declaration ([#1011](https://github.com/rollup/rollup/issues/1011))
3562* Wrap function expressions in parentheses if necessary ([#1011](https://github.com/rollup/rollup/issues/1011))
3563
3564## 0.38.1
3565
3566* Fix sourcemap comment removal ([#1104](https://github.com/rollup/rollup/issues/1104))
3567* Warn if empty bundle is generated ([#444](https://github.com/rollup/rollup/issues/444))
3568* Support ES2017 syntax ([#492](https://github.com/rollup/rollup/issues/492))
3569* Remove unused imports from external modules ([#595](https://github.com/rollup/rollup/issues/595))
3570* 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))
3571* Deconflict function expression IDs ([#1176](https://github.com/rollup/rollup/issues/1176))
3572
3573## 0.38.0
3574
3575* [BREAKING] `export { foo as default }` creates live binding ([#1078](https://github.com/rollup/rollup/issues/1078))
3576* Prevent sourceMappingURL removal edge case ([#988](https://github.com/rollup/rollup/issues/988))
3577* Bind function expression IDs to the correct scope ([#1083](https://github.com/rollup/rollup/issues/1083))
3578* Correctly deshadow destructured parameters with assignments ([#1008](https://github.com/rollup/rollup/issues/1008))
3579
3580## 0.37.2
3581
3582* Remove unused `new` expressions without side-effects ([#179](https://github.com/rollup/rollup/issues/179))
3583* Only remove valid sourceMappingURL comments ([#1132](https://github.com/rollup/rollup/issues/1132))
3584* Ensure blocks containing activated `var` declarations are included in output ([#1113](https://github.com/rollup/rollup/issues/1113))
3585* Support plugin outros ([#1116](https://github.com/rollup/rollup/issues/1116))
3586
3587## 0.37.1
3588
3589* Follow symlinks ([#447](https://github.com/rollup/rollup/issues/447))
3590* 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))
3591* Support module names that require quotes ([#582](https://github.com/rollup/rollup/issues/582), [#584](https://github.com/rollup/rollup/issues/584))
3592* Fix [#957](https://github.com/rollup/rollup/issues/957)
3593
3594## 0.37.0
3595
3596* [BREAKING] Default exports are not included in reified namespaces ([#1028](https://github.com/rollup/rollup/issues/1028))
3597* Parentheses do not defeat tree-shaking ([#1101](https://github.com/rollup/rollup/issues/1101), [#1128](https://github.com/rollup/rollup/issues/1128))
3598* 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))
3599* Fix missing namespace member warnings ([#1045](https://github.com/rollup/rollup/issues/1045))
3600* Fix TypeError in arrow function without braces returning a function ([#1062](https://github.com/rollup/rollup/pull/1062))
3601
3602## 0.36.4
3603
3604* Only depend on program-level call expressions ([#977](https://github.com/rollup/rollup/issues/977))
3605
3606## 0.36.3
3607
3608* Add `legacy` option for IE8 support ([#989](https://github.com/rollup/rollup/pull/989))
3609
3610## 0.36.2
3611
3612* Insert semicolons where necessary to fix broken code ([#1004](https://github.com/rollup/rollup/issues/1004))
3613* Include module ID and location when warning about top-level `this` ([#1012](https://github.com/rollup/rollup/pull/1012))
3614* More informative error for missing exports ([#1033](https://github.com/rollup/rollup/issues/1033))
3615* `options.moduleContext` for per-module context overrides ([#1023](https://github.com/rollup/rollup/pull/1023))
3616
3617## 0.36.1
3618
3619* Include naked block statements ([#981](https://github.com/rollup/rollup/issues/981))
3620* Correctly include falsy alternate statements in optimised if blocks ([#973](https://github.com/rollup/rollup/issues/973))
3621* Prevent omission of default exports that are only used by the exporting module ([#967](https://github.com/rollup/rollup/pull/967))
3622* Prevent warning on `auto` exports with ES output ([#966](https://github.com/rollup/rollup/pull/966))
3623
3624## 0.36.0
3625
3626* `export { foo as default }` no longer creates a live binding ([#860](https://github.com/rollup/rollup/issues/860))
3627
3628## 0.35.15
3629
3630* Warn on missing unused imports in deshadowing phase ([#928](https://github.com/rollup/rollup/issues/928))
3631* Always add a newline to the end of bundles ([#958](https://github.com/rollup/rollup/issues/958))
3632
3633## 0.35.14
3634
3635* Include all parent statements of expression with effects, up to function boundary ([#930](https://github.com/rollup/rollup/issues/930))
3636
3637## 0.35.13
3638
3639* Include superclasses when including their subclasses ([#932](https://github.com/rollup/rollup/issues/932))
3640
3641## 0.35.12
3642
3643* Add `interop: false` option to disable unwrapping of external imports ([#939](https://github.com/rollup/rollup/issues/939))
3644
3645## 0.35.11
3646
3647* Deconflict reified namespaces with other declarations ([#910](https://github.com/rollup/rollup/issues/910))
3648
3649## 0.35.10
3650
3651* Only remove EmptyStatement nodes directly inside blocks ([#913](https://github.com/rollup/rollup/issues/931))
3652
3653## 0.35.9
3654
3655* Support Node 0.12 ([#909](https://github.com/rollup/rollup/issues/909))
3656
3657## 0.35.8
3658
3659* Correctly deshadow re-assigned module functions ([#910](https://github.com/rollup/rollup/issues/910))
3660
3661## 0.35.7
3662
3663* Refactor `flushTime.js` ([#922](https://github.com/rollup/rollup/pull/922))
3664
3665## 0.35.6
3666
3667* Fix browser build
3668
3669## 0.35.5
3670
3671* Allow empty for loop heads ([#919](https://github.com/rollup/rollup/issues/919))
3672
3673## 0.35.4
3674
3675* Preserve effects in for-of and for-in loops ([#870](https://github.com/rollup/rollup/issues/870))
3676* Remove empty statements ([#918](https://github.com/rollup/rollup/pull/918))
3677
3678## 0.35.3
3679
3680* Render identifiers inside template literals
3681
3682## 0.35.2
3683
3684* Fix broken build caused by out of date locally installed dependencies
3685
3686## 0.35.1
3687
3688* Rewrite deconflicted class identifiers ([#915](https://github.com/rollup/rollup/pull/915))
3689* Include `dependencies` in `bundle.modules` objects ([#903](https://github.com/rollup/rollup/issues/903))
3690* Update to Acorn 4 ([#914](https://github.com/rollup/rollup/pull/914))
3691
3692## 0.35.0
3693
3694* Rewrite analysis/tree-shaking code ([#902](https://github.com/rollup/rollup/pull/902))
3695* Include conditional mutations of global objects ([#901](https://github.com/rollup/rollup/issues/901))
3696* Only reify namespaces if necessary ([#898](https://github.com/rollup/rollup/issues/898))
3697* Track mutations of aliased globals ([#893](https://github.com/rollup/rollup/issues/893))
3698* Include duplicated var declarations ([#716](https://github.com/rollup/rollup/issues/716))
3699
3700## 0.34.13
3701
3702* Pass `{ format }` through to `transformBundle` ([#867](https://github.com/rollup/rollup/issues/867))
3703
3704## 0.34.12
3705
3706* Fix `rollup --watch` ([#887](https://github.com/rollup/rollup/issues/887))
3707* Case-sensitive paths ([#862](https://github.com/rollup/rollup/issues/862))
3708
3709## 0.34.11
3710
3711* Prevent leaky state when `bundle` is reused ([#875](https://github.com/rollup/rollup/issues/875))
3712* Ensure `intro` appears before interop block ([#880](https://github.com/rollup/rollup/issues/880))
3713
3714## 0.34.10
3715
3716* Allow custom `options.context` to replace top-level `this` ([#851](https://github.com/rollup/rollup/issues/851))
3717* Fix `noConflict` when used via `rollup --config` ([#846](https://github.com/rollup/rollup/issues/846))
3718* Place `outro` block *after* export block ([#852](https://github.com/rollup/rollup/issues/852))
3719
3720## 0.34.9
3721
3722* Disable indentation by default, for faster bundle generation ([#812](https://github.com/rollup/rollup/pull/812))
3723* More helpful error on missing entry file ([#802](https://github.com/rollup/rollup/issues/802))
3724* Preserve comments before import declarations ([#815](https://github.com/rollup/rollup/pull/815))
3725
3726## 0.34.8
3727
3728* Wrap UMD factory function in parens to avoid lazy parsing ([#774](https://github.com/rollup/rollup/pull/774))
3729
3730## 0.34.7
3731
3732* Leave it up to resolveId to normalize the entry path ([#835](https://github.com/rollup/rollup/pull/835))
3733* Cache decoded mappings ([#834](https://github.com/rollup/rollup/pull/834))
3734
3735## 0.34.5
3736
3737* Fix circular export ([#813](https://github.com/rollup/rollup/issues/813))
3738
3739## 0.34.4
3740
3741* Module render performance tweak ([#823](https://github.com/rollup/rollup/pull/823))
3742
3743## 0.34.3
3744
3745* Avoid infinite recursion in `Bundle.sort()` ([#800](https://github.com/rollup/rollup/pull/800))
3746
3747## 0.34.2
3748
3749* resolveId calls are cached now to improve incremental build
3750* Fixed error message recursion in plugins
3751
3752## 0.34.1
3753
3754* Support `paths` config ([#754](https://github.com/rollup/rollup/issues/754))
3755* Allow `export *` from external module, internally
3756
3757## 0.34.0
3758
3759* 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))
3760* Ensure reassigned exports are declared in an ES bundle, and remove empty `exports.foo;` statements ([#755](https://github.com/rollup/rollup/issues/755))
3761* Add newline after sourcemap comment ([#756](https://github.com/rollup/rollup/issues/756))
3762
3763## 0.33.2
3764
3765* Add `bundle` as second argument to `ongenerate` and `onwrite` hooks ([#773](https://github.com/rollup/rollup/pull/773))
3766* Warn on top-level `this` ([#770](https://github.com/rollup/rollup/issues/770))
3767
3768## 0.33.1
3769
3770* Fix `--no-strict` option ([#751](https://github.com/rollup/rollup/pull/751))
3771* Fix Windows edge case with case-sensitive paths ([#760](https://github.com/rollup/rollup/pull/760))
3772
3773## 0.33.0
3774
3775* 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))
3776* Warn if same name is re-exported from two modules ([#722](https://github.com/rollup/rollup/issues/722))
3777
3778## 0.32.4
3779
3780* Add `ongenerate` and `onwrite` plugin hooks ([#742](https://github.com/rollup/rollup/pull/742))
3781
3782## 0.32.3
3783
3784* Generated correct sourcemaps with reified namespaces ([#668](https://github.com/rollup/rollup/issues/668))
3785* Exclude plugin helper modules from sourcemaps ([#747](https://github.com/rollup/rollup/pull/747))
3786
3787## 0.32.2
3788
3789* Allow `--globals` to work with `--external` or `options.external` in whatever configuration ([#743](https://github.com/rollup/rollup/issues/743))
3790
3791## 0.32.1
3792
3793* Preserve side-effects to default exports that coincide with used named exports ([#733](https://github.com/rollup/rollup/issues/733))
3794* Support `rollup -c node:pkgname` ([#736](https://github.com/rollup/rollup/issues/736))
3795
3796## 0.32.0
3797
3798* Deprecate `es6` format in favour of `es` ([#468](https://github.com/rollup/rollup/issues/468))
3799* Add correct `jsnext:main` build ([#726](https://github.com/rollup/rollup/pull/726))
3800
3801## 0.31.2
3802
3803* Allow `load` plugins to provide sourcemap ([#715](https://github.com/rollup/rollup/pull/715))
3804* Allow `sourceMapFile` in config options ([#717](https://github.com/rollup/rollup/issues/717))
3805
3806## 0.31.1
3807
3808* Logging for errors emitted by `rollup-watch` ([#712](https://github.com/rollup/rollup/issues/712))
3809
3810## 0.31.0
3811
3812* Rewrite top-level `this` as `undefined` ([#707](https://github.com/rollup/rollup/pull/707))
3813* Pass `options.acorn` to Acorn ([#564](https://github.com/rollup/rollup/issues/564))
3814
3815## 0.30.0
3816
3817* Bundle CLI ([#700](https://github.com/rollup/rollup/issues/700))
3818* Ensure absolute paths are normalised ([#704](https://github.com/rollup/rollup/issues/704))
3819* Allow `rollup --watch` to work with targets
3820
3821## 0.29.1
3822
3823* Merge `target` options with main options ([#701](https://github.com/rollup/rollup/issues/701))
3824* Update magic-string ([#690](https://github.com/rollup/rollup/issues/690))
3825
3826## 0.29.0
3827
3828* `rollup --watch` ([#284](https://github.com/rollup/rollup/issues/284))
3829
3830## 0.28.0
3831
3832* Experimental support for incremental rebuilds ([#658](https://github.com/rollup/rollup/pull/658))
3833
3834## 0.27.1
3835
3836* Ensure names exported from a module are not replaced with reserved words ([#696](https://github.com/rollup/rollup/pull/696))
3837* Revert ([#692](https://github.com/rollup/rollup/pull/692)) – resolved IDs must be strings
3838
3839## 0.27.0
3840
3841* Use native promises instead of `es6-promise` ([#689](https://github.com/rollup/rollup/issues/689))
3842* Support multiple targets in config files ([#655](https://github.com/rollup/rollup/issues/655))
3843* Allow `resolveId` plugin functions to return non-strings ([#692](https://github.com/rollup/rollup/pull/692))
3844
3845## 0.26.7
3846
3847* Distinguish between default and namespace imports of external module ([#637](https://github.com/rollup/rollup/issues/637))
3848* Add `__esModule` property to named exports in AMD, CJS and UMD modes ([#650](https://github.com/rollup/rollup/issues/650))
3849
3850## 0.26.6
3851
3852* Deconflict named imports from external modules in ES bundles ([#659](https://github.com/rollup/rollup/issues/659))
3853* Support `options.preferConst` to generate `const` declarations for exports rather than `var` declarations ([#653](https://github.com/rollup/rollup/issues/653))
3854
3855## 0.26.5
3856
3857* Preserve `debugger` statements ([#664](https://github.com/rollup/rollup/issues/664))
3858* Allow `options.external` to be a function ([#522](https://github.com/rollup/rollup/issues/522))
3859
3860## 0.26.4
3861
3862* Prevent plugin-provided external IDs being normalised ([#630](https://github.com/rollup/rollup/issues/630), [#633](https://github.com/rollup/rollup/issues/633))
3863* Throw if module exports/re-exports the same name twice, or has multiple default exports ([#679](https://github.com/rollup/rollup/issues/679))
3864* Warn about `eval` security issue ([#675]((https://github.com/rollup/rollup/issues/675)))
3865
3866
3867## 0.26.3
3868
3869* Ensure reference is not incorrectly marked as a reassignment ([#648](https://github.com/rollup/rollup/issues/648))
3870
3871## 0.26.2
3872
3873* Sanity check output of `load` hook ([#607](https://github.com/rollup/rollup/issues/607))
3874* Correct scoping for ID class expressions ([#626](https://github.com/rollup/rollup/issues/626))
3875* Warn if named and default exports are used together in auto mode ([#587](https://github.com/rollup/rollup/issues/587))
3876* Allow variable initialisers to be rewritten if necessary ([#632](https://github.com/rollup/rollup/issues/632))
3877* Prevent double `var` with no-treeshake option ([#639](https://github.com/rollup/rollup/pull/639))
3878
3879## 0.26.1
3880
3881* Add `treeshake: false`/`--no-treeshake` option for debugging ([#505](https://github.com/rollup/rollup/issues/505))
3882* Update build process to use Bublé ([#620](https://github.com/rollup/rollup/pull/620))
3883
3884## 0.26.0
3885
3886* Add `noConflict`/`--no-conflict` option for UMD builds ([#580](https://github.com/rollup/rollup/pull/580))
3887* Normalise relative external paths ([#591](https://github.com/rollup/rollup/pull/591))
3888* Report files causing transform errors ([#609](https://github.com/rollup/rollup/pull/609))
3889* Handle sourcemap segments with a single member ([#619](https://github.com/rollup/rollup/pull/619))
3890* Update dependencies
3891
3892## 0.25.8
3893
3894* Unixize entry path ([#586](https://github.com/rollup/rollup/pull/586))
3895
3896## 0.25.7
3897
3898* Expand deshadowed shorthand properties ([#575](https://github.com/rollup/rollup/issues/575))
3899* Allow external files to be non-existent ([#532](https://github.com/rollup/rollup/issues/532))
3900
3901## 0.25.6
3902
3903* Fix a regression introduced by #566 ([#569](https://github.com/rollup/rollup/issues/569))
3904* Prune dead conditional expressions more carefully ([#567](https://github.com/rollup/rollup/issues/567))
3905
3906## 0.25.5
3907
3908* Make sure shorthand destructuring assignments don't break ([#528](https://github.com/rollup/rollup/issues/528))
3909* Allow 'exports' key ([#542](https://github.com/rollup/rollup/issues/542))
3910* Ensure `foo. bar` where `foo` is a namespace import is rewritten correctly ([#566](https://github.com/rollup/rollup/issues/566))
3911* Fix an edge case for exported globals (e.g. `export { document }`) ([#562](https://github.com/rollup/rollup/issues/562))
3912
3913## 0.25.4
3914
3915* Fix misnamed exports of default imports in ES bundles ([#513](https://github.com/rollup/rollup/issues/513))
3916* CLI: warn on missing config ([#515](https://github.com/rollup/rollup/pull/515))
3917* Detect side-effects in non-top-level member expression assignment ([#476](https://github.com/rollup/rollup/issues/476))
3918* Don't remove computed property class keys ([#504](https://github.com/rollup/rollup/issues/504))
3919* Augment existing global object rather than replacing ([#493](https://github.com/rollup/rollup/issues/493))
3920* Don't fail on `export {}`, warn instead ([#486](https://github.com/rollup/rollup/issues/486))
3921
3922## 0.25.3
3923
3924* Handle non-objects and `null` in `_interopDefault` ([#474](https://github.com/rollup/rollup/issues/474))
3925
3926## 0.25.2
3927
3928* Skip dead branches of a conditional expression (#[465](https://github.com/rollup/rollup/pull/465))
3929* Allow globals to be exported ([#472](https://github.com/rollup/rollup/pull/472))
3930* Ensure reassigned exports are exported ([#484](https://github.com/rollup/rollup/issues/484))
3931
3932## 0.25.1
3933
3934* Throw error if namespace is called ([#446](https://github.com/rollup/rollup/issues/446))
3935* Prevent shadowing bug in ES6 output ([#441](https://github.com/rollup/rollup/pull/441))
3936* Prevent `var exports.foo` ([#426](https://github.com/rollup/rollup/issues/426))
3937* Prevent double export of aliased symbols ([#438](https://github.com/rollup/rollup/issues/438))
3938* Provide more informative error if Rollup is used in-browser without appropriate `resolveId`/`load` hooks ([#275](https://github.com/rollup/rollup/issues/275))
3939* Use `_interopDefault` function to DRY out code with many external dependencies, in CommonJS output ([#458](https://github.com/rollup/rollup/pull/458))
3940
3941## 0.25.0
3942
3943* **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))
3944* Prevent overly aggressive tree-shaking with complex call expressions ([#440](https://github.com/rollup/rollup/issues/440))
3945
3946## 0.24.1
3947
3948* Handle calls to default exports other that are not function expressions or references to function declarations ([#421](https://github.com/rollup/rollup/issues/421))
3949* Ensure namespace blocks are created for chained imports ([#430](https://github.com/rollup/rollup/issues/430))
3950* Include references in computed property keys ([#434](https://github.com/rollup/rollup/issues/434))
3951* Use CLI `--external` option correctly ([#417](https://github.com/rollup/rollup/pull/417))
3952* Allow relative imports to be treated as external, if absolute paths are provided in `options.external` ([#410](https://github.com/rollup/rollup/issues/410))
3953* Make IIFE output adhere to Crockford style ([#415](https://github.com/rollup/rollup/pull/415))
3954
3955## 0.24.0
3956
3957* No longer attempts to resolve IDs in `options.external` ([#407](https://github.com/rollup/rollup/issues/407))
3958* Fix broken sourcemap resolution in cases where some modules are transformed and others aren't ([#404](https://github.com/rollup/rollup/issues/404))
3959
3960## 0.23.2
3961
3962* Ensure `dest` or `sourceMapFile` is resolved against CWD for purposes of sourcemap generation ([#344](https://github.com/rollup/rollup/issues/344))
3963* Support `banner`, `footer`, `intro` and `outro` options via CLI ([#330](https://github.com/rollup/rollup/issues/330))
3964* Allow `options.global` to be a function rather than an object, and warn on missing names ([#293](https://github.com/rollup/rollup/issues/293))
3965* Ensure side-effects are captured in cyclical call expressions ([#397](https://github.com/rollup/rollup/issues/397))
3966* Fix parse error with body-less arrow function expressions ([#403](https://github.com/rollup/rollup/issues/403))
3967
3968## 0.23.1
3969
3970* Reinstate missing fix from ([#392](https://github.com/rollup/rollup/pull/392))
3971
3972## 0.23.0
3973
3974* Add `bundleTransform` plugin hook and option ([#387](https://github.com/rollup/rollup/pull/387))
3975* Correctly store names in sourcemaps, regardless of transformers
3976* Add `--environment` option to CLI ([#388](https://github.com/rollup/rollup/pull/388))
3977* Handle destructuring in exports ([#374](https://github.com/rollup/rollup/issues/374))
3978* Fix UMD global exports bug introduced in 0.22.1 ([#392](https://github.com/rollup/rollup/pull/392))
3979
3980## 0.22.2
3981
3982* Prevent lost `var` keywords ([#390](https://github.com/rollup/rollup/issues/390))
3983
3984## 0.22.1
3985
3986* Update expected option keys ([#379](https://github.com/rollup/rollup/issues/379))
3987* Handle transformers that return stringified sourcemaps ([#377](https://github.com/rollup/rollup/issues/377))
3988* Automatically create missing namespaces if `moduleName` contains dots ([#378](https://github.com/rollup/rollup/issues/378))
3989* Ignore external dependency warnings coming from config file ([#333](https://github.com/rollup/rollup/issues/333))
3990* Update to latest magic-string for performance boost
3991
3992## 0.22.0
3993
3994* Duplicate warnings are squelched ([#362](https://github.com/rollup/rollup/issues/362))
3995* Plugins can manipulate or override the `options` object ([#371](https://github.com/rollup/rollup/pull/371))
3996
3997## 0.21.3
3998
3999* Validate option keys ([#348](https://github.com/rollup/rollup/pull/348))
4000* Allow namespaces imports to sit alongside named imports ([#355](https://github.com/rollup/rollup/issues/355))
4001* Count references inside destructured objects ([#364](https://github.com/rollup/rollup/issues/364))
4002* Preserve top-level `delete` statements ([#352](https://github.com/rollup/rollup/issues/352))
4003
4004## 0.21.2
4005
4006* Missing relative imports are an error, not a warning ([#321](https://github.com/rollup/rollup/issues/321))
4007* Fixed incorrectly renamed default exports in ES6 bundles ([#339](https://github.com/rollup/rollup/issues/339))
4008* Fixed infinite recursion bug ([#341](https://github.com/rollup/rollup/issues/341))
4009
4010## 0.21.1
4011
4012* Remove `aggressive: true` (was too aggressive) ([#309](https://github.com/rollup/rollup/pull/309))
4013* Handle top-level block statements ([#326](https://github.com/rollup/rollup/issues/326))
4014* Optimise namespaces with default exports ([#314](https://github.com/rollup/rollup/issues/314))
4015
4016## 0.21.0
4017
4018* 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))
4019* Exclude dead branches from analysis and inclusion ([#249](https://github.com/rollup/rollup/pull/249))
4020* Add `aggressive: true` option to eliminate all side-effects outside entry module
4021* More informative error when re-exporting non-existent binding ([#274](https://github.com/rollup/rollup/issues/274))
4022* Fix infinite recursion bug ([#291](https://github.com/rollup/rollup/issues/291))
4023* Log errors when using `rollup --config` ([#288](https://github.com/rollup/rollup/pull/288))
4024* Return rejected promises on startup instead of throwing error, if options are invalid ([#303](https://github.com/rollup/rollup/pull/303))
4025
4026## 0.20.5
4027
4028* Ensure re-exports don't create a local binding ([#270](https://github.com/rollup/rollup/pull/270))
4029
4030## 0.20.4
4031
4032* Check file exists at resolve time, to allow filenames with non-extension dots in them ([#250](https://github.com/rollup/rollup/pull/250))
4033* Import `Promise` where used, for Node 0.10 support ([#254](https://github.com/rollup/rollup/issues/254))
4034* Allow asynchronous transformer plugins ([#260](https://github.com/rollup/rollup/issues/260))
4035* Don't assume re-exported bindings are globals when deconflicting ([#267](https://github.com/rollup/rollup/issues/267))
4036
4037
4038## 0.20.3
4039
4040* Fix bug where multiple `export *` declarations caused error ([#244](https://github.com/rollup/rollup/pulls/244))
4041* Missing namespace exports are a warning, not an error ([#244](https://github.com/rollup/rollup/pulls/244))
4042* Plugins can provide `banner` and `footer` options (string, or function that returns a string) ([#235](https://github.com/rollup/rollup/issues/235))
4043* Warn on encountering `eval` ([#186](https://github.com/rollup/rollup/issues/186))
4044
4045## 0.20.2
4046
4047* Handle errors in build config file
4048* More robust deconflicting, in cases where e.g. `foo$1` already exists
4049* Use Rollup CLI for own build process
4050
4051## 0.20.1
4052
4053* Support `--config` file to enable plugins with CLI ([#226](https://github.com/rollup/rollup/pulls/226))
4054* Prevent `default` being used as variable name ([#215](https://github.com/rollup/rollup/issues/215))
4055* Update deps
4056
4057## 0.20.0
4058
4059* Support for [plugins](https://github.com/rollup/rollup/wiki/Plugins) ([#207](https://github.com/rollup/rollup/pulls/207))
4060* 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)
4061* 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`
4062
4063## 0.19.2
4064
4065* Fix exporting namespaces to include all of their exports ([#204](https://github.com/rollup/rollup/issues/204))
4066* 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))
4067* Fix `ReferenceError: Promise is not defined` in node v0.10 ([#189](https://github.com/rollup/rollup/issues/189))
4068
4069## 0.19.1
4070
4071* Fix `module.basename()` when used with custom `resolveId` function
4072* Use [rollup-babel](https://github.com/rollup/rollup-babel) to build self
4073* Exposed the version string through the API: `require( 'rollup' ).VERSION`
4074
4075## 0.19.0
4076
4077* **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
4078* `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))
4079* `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))
4080* New `intro` and `outro` options – similar to `banner` and `footer` except inserted *inside* any format-specific wrapper
4081* 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))
4082* More informative error when using a missing namespace property ([#169](https://github.com/rollup/rollup/pull/169))
4083* Update various dependencies
4084
4085## 0.18.5
4086
4087* Allow namespaces to be assigned to variables ([#168](https://github.com/rollup/rollup/issues/168))
4088* Promote `chalk` and `source-map-support` to `dependencies`, as they're used by the CLI ([#167](https://github.com/rollup/rollup/pull/167))
4089
4090## 0.18.4
4091
4092* Make external modules configurable (i.e. `external.config.foo = 'bar'`) without erroring
4093
4094## 0.18.3
4095
4096* Crop indent exclusion ranges to exclude enclosing quotes ([#166](https://github.com/rollup/rollup/issues/166))
4097
4098## 0.18.2
4099
4100* Include definitions of namespace members that are exported as defaults
4101
4102## 0.18.1
4103
4104* Include `acorn.parse` in bundle, remove `sander` from dependencies, simplify build
4105
4106## 0.18.0
4107
4108* Internal rewrite
4109* Reinstate statically-analysable namespace imports
4110* Avoid using getters in namespace blocks where possible ([#144](https://github.com/rollup/rollup/issues/144))
4111* Track variable aliases ([#96](https://github.com/rollup/rollup/issues/96))
4112* Prevent multiline strings being indented ([#164](https://github.com/rollup/rollup/issues/164))
4113
4114## 0.17.4
4115
4116* Allow imports from hidden directories (replay of [#133](https://github.com/rollup/rollup/issues/133))
4117
4118## 0.17.3
4119
4120* Handle parenthesised default exports ([#136](https://github.com/rollup/rollup/issues/136))
4121
4122## 0.17.2
4123
4124* Allow use of scoped npm packages ([#131](https://github.com/rollup/rollup/issues/131))
4125
4126## 0.17.1
4127
4128* Allow namespaces to be passed to a function ([#149](https://github.com/rollup/rollup/issues/149))
4129
4130## 0.17.0
4131
4132* Roll back to 0.15.0 and reapply subsequent fixes pending resolution of ([#132](https://github.com/rollup/rollup/issues/132)) and related issues
4133
4134## 0.16.4
4135
4136* Fix import paths with `.` ([#133](https://github.com/rollup/rollup/issues/133))
4137* Prevent sourceMappingURL confusion leading to broken sourcemap
4138* Add code coverage reporting [#130](https://github.com/rollup/rollup/pull/130))
4139* Add `modules` property to user-facing `bundle` – an array with `{id}` objects ([#128](https://github.com/rollup/rollup/issues/128))
4140
4141## 0.16.3
4142
4143* Prevent adjacent blocks of multiple var declarations causing magic-string failure ([#105](https://github.com/rollup/rollup/issues/105))
4144
4145## 0.16.2
4146
4147* Top-level function calls and assignments to globals are treated as side-effects, and always included
4148* Import files from subdirectories of external packages, e.g. `import mod from 'foo/sub/mod'` ([#126](https://github.com/rollup/rollup/issues/126))
4149
4150## 0.16.1
4151
4152* Handle assignment patterns, and destructured/rest parameters, when analysing scopes
4153* Fix bug preventing project from self-building (make base `Identifier` class markable)
4154
4155## 0.16.0
4156
4157* Internal refactoring ([#99](https://github.com/rollup/rollup/pull/99))
4158* Optimisation for statically-analysable namespace imports ([#99](https://github.com/rollup/rollup/pull/99))
4159* Windows support (theoretically!) ([#117](https://github.com/rollup/rollup/pull/117) / [#119](https://github.com/rollup/rollup/pull/119))
4160
4161## 0.15.0
4162
4163* 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))
4164* Only rewrite `foo` as `exports.foo` when it makes sense to ([#92](https://github.com/rollup/rollup/issues/92))
4165* Fix bug with shadowed variables that are eventually exported ([#91](https://github.com/rollup/rollup/issues/91))
4166* Exclude unused function declarations that happen to modify a used name ([#90](https://github.com/rollup/rollup/pull/90))
4167* Simplify internal `Scope` model – scopes always attach to blocks, never function expressions/declarations
4168
4169## 0.14.1
4170
4171* `export { name } from './other'` does not create a local binding ([#16](https://github.com/rollup/rollup/issues/16))
4172* A single binding can be exported under multiple names ([#18](https://github.com/rollup/rollup/issues/18))
4173* `useStrict` option exposed to CLI as `--strict`/`--no-strict` ([#81](https://github.com/rollup/rollup/issues/81))
4174* Neater exports from ES6 bundles
4175
4176## 0.14.0
4177
4178* Internal refactoring
4179* Correctly deconflict generated default export names ([#72](https://github.com/rollup/rollup/issues/72))
4180* Handle `export { x } from 'y'` declarations ([#74](https://github.com/rollup/rollup/issues/74))
4181* Dedupe named imports from external modules in ES6 bundles ([#77](https://github.com/rollup/rollup/issues/77))
4182
4183## 0.13.0
4184
4185* Support `banner` and `footer` options ([#66](https://github.com/rollup/rollup/pull/66))
4186* Remove pre-existing sourcemap comments ([#66](https://github.com/rollup/rollup/pull/66))
4187* Deconflict external imports ([#66](https://github.com/rollup/rollup/pull/66))
4188* Use existing AST, if provided ([#66](https://github.com/rollup/rollup/pull/66))
4189* Rename internal namespace exports as appropriate ([#66](https://github.com/rollup/rollup/pull/66))
4190* Remove uninitialised var declarations that get exported ([#66](https://github.com/rollup/rollup/pull/66))
4191* Rename variables named `exports` to avoid conflicts ([#66](https://github.com/rollup/rollup/pull/66))
4192
4193## 0.12.1
4194
4195* Don't attempt to mark statements belonging to external modules ([#68](https://github.com/rollup/rollup/issues/68))
4196* Correctly deshadow variables that conflict with imports ([#68](https://github.com/rollup/rollup/issues/68))
4197
4198## 0.12.0
4199
4200* Internal re-architecting, resulting in more efficient bundling with reduced memory usage
4201* Shorthand properties are expanded if necessary ([#61](https://github.com/rollup/rollup/issues/61))
4202* Fixed various bugs with bundle external dependencies, particularly when generating ES6 bundles ([#59](https://github.com/rollup/rollup/issues/59))
4203* Add `--globals` option to CLI ([#60](https://github.com/rollup/rollup/pull/60))
4204* Allow imports of external modules for side-effects ([#55](https://github.com/rollup/rollup/pull/55))
4205* Prevent Rollup hanging on non-existent external module ([#54](https://github.com/rollup/rollup/pull/54))
4206
4207## 0.11.4
4208
4209* Side-effect preservation applies to internal default exports ([#43](https://github.com/rollup/rollup/issues/43))
4210
4211## 0.11.3
4212
4213* Class methods are not incorrectly renamed ([#42](https://github.com/rollup/rollup/issues/42))
4214* External modules are assigned names before canonical names are determined ([#42](https://github.com/rollup/rollup/issues/42))
4215
4216## 0.11.2
4217
4218* Correctly handle computed properties (e.g. `foo[bar]`) when discovering dependencies ([#47](https://github.com/rollup/rollup/pull/47))
4219
4220## 0.11.1
4221
4222* Support for `export * from '..'` ([#46](https://github.com/rollup/rollup/pull/46))
4223
4224## 0.11.0
4225
4226* Experimental browser-friendly build (`dist/rollup.browser.js`) ([#25](https://github.com/rollup/rollup/issues/25))
4227* Internal re-architecting to make discovery process simpler and more performant
4228* Preservation of side-effects that happen in a separate module to the affected definition ([#39](https://github.com/rollup/rollup/issues/39))
4229
4230## 0.10.0
4231
4232* Better sorting algorithm – sorting happens at the module level, rather than the statement level. This avoids certain edge cases
4233* IIFEs are ignored for the purposes of distinguishing between 'strong' and 'weak' dependencies
4234* Empty `var` declarations for exported bindings are omitted
4235
4236## 0.9.1
4237
4238* Much faster statement insertion (fixes major 0.9.0 performance regression)
4239
4240## 0.9.0
4241
4242* 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))
4243* A statement cannot appear after later statements from the same bundle ([#34](https://github.com/rollup/rollup/issues/34))
4244* Tricky cyclical dependencies are handled ([#36](https://github.com/rollup/rollup/issues/36))
4245* `sourcemap` option is used by CLI (was omitted previously)
4246
4247## 0.8.3
4248
4249* Correctly rename functions that have arguments with the same name ([#32](https://github.com/rollup/rollup/issues/32))
4250* Ensure unused default exports are given a legal name ([#33](https://github.com/rollup/rollup/issues/33))
4251
4252## 0.8.2
4253
4254* Support `moduleId` and `moduleName` via CLI ([#24](https://github.com/rollup/rollup/issues/24))
4255
4256## 0.8.1
4257
4258* 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))
4259* Automatically-generated default export names are deconflicted with local definitions ([#29](https://github.com/rollup/rollup/issues/29))
4260
4261## 0.8.0
4262
4263* 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))
4264* `this` at the top level is `undefined` ([#28](https://github.com/rollup/rollup/issues/28))
4265
4266## 0.7.8
4267
4268* Avoid using `path.parse` - unsupported in node 0.10
4269
4270## 0.7.7
4271
4272* Promise `source-map-support` from `devDependencies` to `dependencies` ([#23](https://github.com/rollup/rollup/issues/23))
4273
4274## 0.7.6
4275
4276* Better placement of `export default` statements ([#21](https://github.com/rollup/rollup/issues/21))
4277* Prevent function calls and property assignments from being treated as rebinding for sake of unbound default exports
4278* Add `--external foo,bar,baz` option to CLI (equivalent to `external: ['foo', 'bar', 'baz']`)
4279* Add CLI tests
4280
4281## 0.7.5
4282
4283* Prevent accidental conflicts with the global namespace ([#20](https://github.com/rollup/rollup/issues/20))
4284
4285## 0.7.4
4286
4287* More precise statement re-ordering to satisfy `export default` constraint (fixes bug introduced in 0.7.3)
4288
4289## 0.7.3
4290
4291* 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))
4292* Better positioning of comments ([#14](https://github.com/rollup/rollup/issues/14))
4293* Various fixes to get Travis-CI rigged up
4294
4295## 0.7.2
4296
4297* Fix sourcemap paths on Windows ([#6](https://github.com/rollup/rollup/pull/6))
4298
4299## 0.7.1
4300
4301* Named functions can be used as default exports from a bundle
4302* Method calls are assumed to mutate the owner (i.e. `foo.bar()` mutates `foo`) ([#13](https://github.com/rollup/rollup/issues/13))
4303* `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))
4304
4305## 0.7.0
4306
4307* Ensure statements are always separated by a newline ([#9](https://github.com/rollup/rollup/pull/9))
4308* Use CommonJS `exports` correctly (UMD exports)
4309* Throw error if `moduleName` is required but missing (UMD exports)
4310* Attach IIFE global to `this` rather than `window`
4311* Allow names inside bundle to the the names of `Object.prototype` properties ([#12](https://github.com/rollup/rollup/pull/12))
4312* Keep exports live ([#11](https://github.com/rollup/rollup/pull/11))
4313
4314## 0.6.5
4315
4316* Add sourceMappingURL comment to code, as appropriate
4317* Higher resolution sourcemaps
4318
4319## 0.6.4
4320
4321* Fix CJS bundling with default export
4322
4323## 0.6.3
4324
4325* Fix exports and external module imports with some output formats
4326* Fix endless cycle bug on Windows ([#3](https://github.com/rollup/rollup/pull/3)) - thanks @Bobris
4327
4328## 0.6.2
4329
4330* Permit assignments to properties of imported bindings
4331
4332## 0.6.1
4333
4334* Support for basic transformers
4335
4336## 0.6.0
4337
4338* BREAKING - `rollup.rollup` and `bundle.write` both take a single options argument
4339* BREAKING - external modules must be declared upfront with `options.external: [...]`
4340* 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
4341* Fix sourcemap options
4342* Include CLI files in npm package (duh)
4343
4344## 0.5.0
4345
4346* Command line interface
4347* Sourcemap generation
4348* Correct behaviour with `export { x as y } from 'z'`
4349
4350## 0.4.1
4351
4352* More import name deconflicting
4353
4354## 0.4.0
4355
4356* Self-hosting! `rollup.rollup` now rolls up rollup
4357* Fix bug with comments inside a statement later being appended to it
4358* Prevent shadowing of external modules
4359* Rewrite computed property identifiers where necessary
4360* Preserve original statement order where possible
4361* Internal refactoring
4362
4363## 0.3.1
4364
4365* Saner deconflicting
4366* Rename namespace imports from external modules correctly
4367
4368## 0.3.0
4369
4370* Basic functionality present, mostly spec-compliant
4371
4372## 0.2.1
4373
4374* Include dist files in npm package (duh)
4375
4376## 0.2.0
4377
4378* First release capable of doing anything useful
4379* Still lots of basic functionality missing
4380
4381## 0.1.0
4382
4383* Initial experiment