UNPKG

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