UNPKG

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