UNPKG

32.6 kBMarkdownView Raw
1# rollup changelog
2
3## 0.34.11
4
5* Prevent leaky state when `bundle` is reused ([#875](https://github.com/rollup/rollup/issues/875))
6* Ensure `intro` appears before interop block ([#880](https://github.com/rollup/rollup/issues/880))
7
8## 0.34.10
9
10* Allow custom `options.context` to replace top-level `this` ([#851](https://github.com/rollup/rollup/issues/851))
11* Fix `noConflict` when used via `rollup --config` ([#846](https://github.com/rollup/rollup/issues/846))
12* Place `outro` block *after* export block ([#852](https://github.com/rollup/rollup/issues/852))
13
14## 0.34.9
15
16* Disable indentation by default, for faster bundle generation ([#812](https://github.com/rollup/rollup/pull/812))
17* More helpful error on missing entry file ([#802](https://github.com/rollup/rollup/issues/802))
18* Preserve comments before import declarations ([#815](https://github.com/rollup/rollup/pull/815))
19
20## 0.34.8
21
22* Wrap UMD factory function in parens to avoid lazy parsing ([#774](https://github.com/rollup/rollup/pull/774))
23
24## 0.34.7
25
26* Leave it up to resolveId to normalize the entry path ([#835](https://github.com/rollup/rollup/pull/835))
27* Cache decoded mappings ([#834](https://github.com/rollup/rollup/pull/834))
28
29## 0.34.5
30
31* Fix circular export ([#813](https://github.com/rollup/rollup/issues/813))
32
33## 0.34.4
34
35* Module render performance tweak ([#823](https://github.com/rollup/rollup/pull/823))
36
37## 0.34.3
38
39* Avoid infinite recursion in `Bundle.sort()` ([#800](https://github.com/rollup/rollup/pull/800))
40
41## 0.34.2
42
43* resolveId calls are cached now to improve incremental build
44* Fixed error message recursion in plugins
45
46## 0.34.1
47
48* Support `paths` config ([#754](https://github.com/rollup/rollup/issues/754))
49* Allow `export *` from external module, internally
50
51## 0.34.0
52
53* 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))
54* Ensure reassigned exports are declared in an ES bundle, and remove empty `exports.foo;` statements ([#755](https://github.com/rollup/rollup/issues/755))
55* Add newline after sourcemap comment ([#756](https://github.com/rollup/rollup/issues/756))
56
57## 0.33.2
58
59* Add `bundle` as second argument to `ongenerate` and `onwrite` hooks ([#773](https://github.com/rollup/rollup/pull/773))
60* Warn on top-level `this` ([#770](https://github.com/rollup/rollup/issues/770))
61
62## 0.33.1
63
64* Fix `--no-strict` option ([#751](https://github.com/rollup/rollup/pull/751))
65* Fix Windows edge case with case-sensitive paths ([#760](https://github.com/rollup/rollup/pull/760))
66
67## 0.33.0
68
69* 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))
70* Warn if same name is re-exported from two modules ([#722](https://github.com/rollup/rollup/issues/722))
71
72## 0.32.4
73
74* Add `ongenerate` and `onwrite` plugin hooks ([#742](https://github.com/rollup/rollup/pull/742))
75
76## 0.32.3
77
78* Generated correct sourcemaps with reified namespaces ([#668](https://github.com/rollup/rollup/issues/668))
79* Exclude plugin helper modules from sourcemaps ([#747](https://github.com/rollup/rollup/pull/747))
80
81## 0.32.2
82
83* Allow `--globals` to work with `--external` or `options.external` in whatever configuration ([#743](https://github.com/rollup/rollup/issues/743))
84
85## 0.32.1
86
87* Preserve side-effects to default exports that coincide with used named exports ([#733](https://github.com/rollup/rollup/issues/733))
88* Support `rollup -c node:pkgname` ([#736](https://github.com/rollup/rollup/issues/736))
89
90## 0.32.0
91
92* Deprecate `es6` format in favour of `es` ([#468](https://github.com/rollup/rollup/issues/468))
93* Add correct `jsnext:main` build ([#726](https://github.com/rollup/rollup/pull/726))
94
95## 0.31.2
96
97* Allow `load` plugins to provide sourcemap ([#715](https://github.com/rollup/rollup/pull/715))
98* Allow `sourceMapFile` in config options ([#717](https://github.com/rollup/rollup/issues/717))
99
100## 0.31.1
101
102* Logging for errors emitted by `rollup-watch` ([#712](https://github.com/rollup/rollup/issues/712))
103
104## 0.31.0
105
106* Rewrite top-level `this` as `undefined` ([#707](https://github.com/rollup/rollup/pull/707))
107* Pass `options.acorn` to Acorn ([#564](https://github.com/rollup/rollup/issues/564))
108
109## 0.30.0
110
111* Bundle CLI ([#700](https://github.com/rollup/rollup/issues/700))
112* Ensure absolute paths are normalised ([#704](https://github.com/rollup/rollup/issues/704))
113* Allow `rollup --watch` to work with targets
114
115## 0.29.1
116
117* Merge `target` options with main options ([#701](https://github.com/rollup/rollup/issues/701))
118* Update magic-string ([#690](https://github.com/rollup/rollup/issues/690))
119
120## 0.29.0
121
122* `rollup --watch` ([#284](https://github.com/rollup/rollup/issues/284))
123
124## 0.28.0
125
126* Experimental support for incremental rebuilds ([#658](https://github.com/rollup/rollup/pull/658))
127
128## 0.27.1
129
130* Ensure names exported from a module are not replaced with reserved words ([#696](https://github.com/rollup/rollup/pull/696))
131* Revert ([#692](https://github.com/rollup/rollup/pull/692)) – resolved IDs must be strings
132
133## 0.27.0
134
135* Use native promises instead of `es6-promise` ([#689](https://github.com/rollup/rollup/issues/689))
136* Support multiple targets in config files ([#655](https://github.com/rollup/rollup/issues/655))
137* Allow `resolveId` plugin functions to return non-strings ([#692](https://github.com/rollup/rollup/pull/692))
138
139## 0.26.7
140
141* Distinguish between default and namespace imports of external module ([#637](https://github.com/rollup/rollup/issues/637))
142* Add `__esModule` property to named exports in AMD, CJS and UMD modes ([#650](https://github.com/rollup/rollup/issues/650))
143
144## 0.26.6
145
146* Deconflict named imports from external modules in ES bundles ([#659](https://github.com/rollup/rollup/issues/659))
147* Support `options.preferConst` to generate `const` declarations for exports rather than `var` declarations ([#653](https://github.com/rollup/rollup/issues/653))
148
149## 0.26.5
150
151* Preserve `debugger` statements ([#664](https://github.com/rollup/rollup/issues/664))
152* Allow `options.external` to be a function ([#522](https://github.com/rollup/rollup/issues/522))
153
154## 0.26.4
155
156* Prevent plugin-provided external IDs being normalised ([#630](https://github.com/rollup/rollup/issues/630), [#633](https://github.com/rollup/rollup/issues/633))
157* Throw if module exports/re-exports the same name twice, or has multiple default exports ([#679](https://github.com/rollup/rollup/issues/679))
158* Warn about `eval` security issue ([#675]((https://github.com/rollup/rollup/issues/675)))
159
160
161## 0.26.3
162
163* Ensure reference is not incorrectly marked as a reassignment ([#648](https://github.com/rollup/rollup/issues/648))
164
165## 0.26.2
166
167* Sanity check output of `load` hook ([#607](https://github.com/rollup/rollup/issues/607))
168* Correct scoping for ID class expressions ([#626](https://github.com/rollup/rollup/issues/626))
169* Warn if named and default exports are used together in auto mode ([#587](https://github.com/rollup/rollup/issues/587))
170* Allow variable initialisers to be rewritten if necessary ([#632](https://github.com/rollup/rollup/issues/632))
171* Prevent double `var` with no-treeshake option ([#639](https://github.com/rollup/rollup/pull/639))
172
173## 0.26.1
174
175* Add `treeshake: false`/`--no-treeshake` option for debugging ([#505](https://github.com/rollup/rollup/issues/505))
176* Update build process to use Bublé ([#620](https://github.com/rollup/rollup/pull/620))
177
178## 0.26.0
179
180* Add `noConflict`/`--no-conflict` option for UMD builds ([#580](https://github.com/rollup/rollup/pull/580))
181* Normalise relative external paths ([#591](https://github.com/rollup/rollup/pull/591))
182* Report files causing transform errors ([#609](https://github.com/rollup/rollup/pull/609))
183* Handle sourcemap segments with a single member ([#619](https://github.com/rollup/rollup/pull/619))
184* Update dependencies
185
186## 0.25.8
187
188* Unixize entry path ([#586](https://github.com/rollup/rollup/pull/586))
189
190## 0.25.7
191
192* Expand deshadowed shorthand properties ([#575](https://github.com/rollup/rollup/issues/575))
193* Allow external files to be non-existent ([#532](https://github.com/rollup/rollup/issues/532))
194
195## 0.25.6
196
197* Fix a regression introduced by #566 ([#569](https://github.com/rollup/rollup/issues/569))
198* Prune dead conditional expressions more carefully ([#567](https://github.com/rollup/rollup/issues/567))
199
200## 0.25.5
201
202* Make sure shorthand destructuring assignments don't break ([#528](https://github.com/rollup/rollup/issues/528))
203* Allow 'exports' key ([#542](https://github.com/rollup/rollup/issues/542))
204* Ensure `foo. bar` where `foo` is a namespace import is rewritten correctly ([#566](https://github.com/rollup/rollup/issues/566))
205* Fix an edge case for exported globals (e.g. `export { document }`) ([#562](https://github.com/rollup/rollup/issues/562))
206
207## 0.25.4
208
209* Fix misnamed exports of default imports in ES bundles ([#513](https://github.com/rollup/rollup/issues/513))
210* CLI: warn on missing config ([#515](https://github.com/rollup/rollup/pull/515))
211* Detect side-effects in non-top-level member expression assignment ([#476](https://github.com/rollup/rollup/issues/476))
212* Don't remove computed property class keys ([#504](https://github.com/rollup/rollup/issues/504))
213* Augment existing global object rather than replacing ([#493](https://github.com/rollup/rollup/issues/493))
214* Don't fail on `export {}`, warn instead ([#486](https://github.com/rollup/rollup/issues/486))
215
216## 0.25.3
217
218* Handle non-objects and `null` in `_interopDefault` ([#474](https://github.com/rollup/rollup/issues/474))
219
220## 0.25.2
221
222* Skip dead branches of a conditional expression (#[465](https://github.com/rollup/rollup/pull/465))
223* Allow globals to be exported ([#472](https://github.com/rollup/rollup/pull/472))
224* Ensure reassigned exports are exported ([#484](https://github.com/rollup/rollup/issues/484))
225
226## 0.25.1
227
228* Throw error if namespace is called ([#446](https://github.com/rollup/rollup/issues/446))
229* Prevent shadowing bug in ES6 output ([#441](https://github.com/rollup/rollup/pull/441))
230* Prevent `var exports.foo` ([#426](https://github.com/rollup/rollup/issues/426))
231* Prevent double export of aliased symbols ([#438](https://github.com/rollup/rollup/issues/438))
232* Provide more informative error if Rollup is used in-browser without appropriate `resolveId`/`load` hooks ([#275](https://github.com/rollup/rollup/issues/275))
233* Use `_interopDefault` function to DRY out code with many external dependencies, in CommonJS output ([#458](https://github.com/rollup/rollup/pull/458))
234
235## 0.25.0
236
237* **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))
238* Prevent overly aggressive tree-shaking with complex call expressions ([#440](https://github.com/rollup/rollup/issues/440))
239
240## 0.24.1
241
242* Handle calls to default exports other that are not function expressions or references to function declarations ([#421](https://github.com/rollup/rollup/issues/421))
243* Ensure namespace blocks are created for chained imports ([#430](https://github.com/rollup/rollup/issues/430))
244* Include references in computed property keys ([#434](https://github.com/rollup/rollup/issues/434))
245* Use CLI `--external` option correctly ([#417](https://github.com/rollup/rollup/pull/417))
246* Allow relative imports to be treated as external, if absolute paths are provided in `options.external` ([#410](https://github.com/rollup/rollup/issues/410))
247* Make IIFE output adhere to Crockford style ([#415](https://github.com/rollup/rollup/pull/415))
248
249## 0.24.0
250
251* No longer attempts to resolve IDs in `options.external` ([#407](https://github.com/rollup/rollup/issues/407))
252* Fix broken sourcemap resolution in cases where some modules are transformed and others aren't ([#404](https://github.com/rollup/rollup/issues/404))
253
254## 0.23.2
255
256* Ensure `dest` or `sourceMapFile` is resolved against CWD for purposes of sourcemap generation ([#344](https://github.com/rollup/rollup/issues/344))
257* Support `banner`, `footer`, `intro` and `outro` options via CLI ([#330](https://github.com/rollup/rollup/issues/330))
258* Allow `options.global` to be a function rather than an object, and warn on missing names ([#293](https://github.com/rollup/rollup/issues/293))
259* Ensure side-effects are captured in cyclical call expressions ([#397](https://github.com/rollup/rollup/issues/397))
260* Fix parse error with body-less arrow function expressions ([#403](https://github.com/rollup/rollup/issues/403))
261
262## 0.23.1
263
264* Reinstate missing fix from ([#392](https://github.com/rollup/rollup/pull/392))
265
266## 0.23.0
267
268* Add `bundleTransform` plugin hook and option ([#387](https://github.com/rollup/rollup/pull/387))
269* Correctly store names in sourcemaps, regardless of transformers
270* Add `--environment` option to CLI ([#388](https://github.com/rollup/rollup/pull/388))
271* Handle destructuring in exports ([#374](https://github.com/rollup/rollup/issues/374))
272* Fix UMD global exports bug introduced in 0.22.1 ([#392](https://github.com/rollup/rollup/pull/392))
273
274## 0.22.2
275
276* Prevent lost `var` keywords ([#390](https://github.com/rollup/rollup/issues/390))
277
278## 0.22.1
279
280* Update expected option keys ([#379](https://github.com/rollup/rollup/issues/379))
281* Handle transformers that return stringified sourcemaps ([#377](https://github.com/rollup/rollup/issues/377))
282* Automatically create missing namespaces if `moduleName` contains dots ([#378](https://github.com/rollup/rollup/issues/378))
283* Ignore external dependency warnings coming from config file ([#333](https://github.com/rollup/rollup/issues/333))
284* Update to latest magic-string for performance boost
285
286## 0.22.0
287
288* Duplicate warnings are squelched ([#362](https://github.com/rollup/rollup/issues/362))
289* Plugins can manipulate or override the `options` object ([#371](https://github.com/rollup/rollup/pull/371))
290
291## 0.21.3
292
293* Validate option keys ([#348](https://github.com/rollup/rollup/pull/348))
294* Allow namespaces imports to sit alongside named imports ([#355](https://github.com/rollup/rollup/issues/355))
295* Count references inside destructured objects ([#364](https://github.com/rollup/rollup/issues/364))
296* Preserve top-level `delete` statements ([#352](https://github.com/rollup/rollup/issues/352))
297
298## 0.21.2
299
300* Missing relative imports are an error, not a warning ([#321](https://github.com/rollup/rollup/issues/321))
301* Fixed incorrectly renamed default exports in ES6 bundles ([#339](https://github.com/rollup/rollup/issues/339))
302* Fixed infinite recursion bug ([#341](https://github.com/rollup/rollup/issues/341))
303
304## 0.21.1
305
306* Remove `aggressive: true` (was too aggressive) ([#309](https://github.com/rollup/rollup/pull/309))
307* Handle top-level block statements ([#326](https://github.com/rollup/rollup/issues/326))
308* Optimise namespaces with default exports ([#314](https://github.com/rollup/rollup/issues/314))
309
310## 0.21.0
311
312* 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))
313* Exclude dead branches from analysis and inclusion ([#249](https://github.com/rollup/rollup/pull/249))
314* Add `aggressive: true` option to eliminate all side-effects outside entry module
315* More informative error when re-exporting non-existent binding ([#274](https://github.com/rollup/rollup/issues/274))
316* Fix infinite recursion bug ([#291](https://github.com/rollup/rollup/issues/291))
317* Log errors when using `rollup --config` ([#288](https://github.com/rollup/rollup/pull/288))
318* Return rejected promises on startup instead of throwing error, if options are invalid ([#303](https://github.com/rollup/rollup/pull/303))
319
320## 0.20.5
321
322* Ensure re-exports don't create a local binding ([#270](https://github.com/rollup/rollup/pull/270))
323
324## 0.20.4
325
326* Check file exists at resolve time, to allow filenames with non-extension dots in them ([#250](https://github.com/rollup/rollup/pull/250))
327* Import `Promise` where used, for Node 0.10 support ([#254](https://github.com/rollup/rollup/issues/254))
328* Allow asynchronous transformer plugins ([#260](https://github.com/rollup/rollup/issues/260))
329* Don't assume re-exported bindings are globals when deconflicting ([#267](https://github.com/rollup/rollup/issues/267))
330
331
332## 0.20.3
333
334* Fix bug where multiple `export *` declarations caused error ([#244](https://github.com/rollup/rollup/pulls/244))
335* Missing namespace exports are a warning, not an error ([#244](https://github.com/rollup/rollup/pulls/244))
336* Plugins can provide `banner` and `footer` options (string, or function that returns a string) ([#235](https://github.com/rollup/rollup/issues/235))
337* Warn on encountering `eval` ([#186](https://github.com/rollup/rollup/issues/186))
338
339## 0.20.2
340
341* Handle errors in build config file
342* More robust deconflicting, in cases where e.g. `foo$1` already exists
343* Use Rollup CLI for own build process
344
345## 0.20.1
346
347* Support `--config` file to enable plugins with CLI ([#226](https://github.com/rollup/rollup/pulls/226))
348* Prevent `default` being used as variable name ([#215](https://github.com/rollup/rollup/issues/215))
349* Update deps
350
351## 0.20.0
352
353* Support for [plugins](https://github.com/rollup/rollup/wiki/Plugins) ([#207](https://github.com/rollup/rollup/pulls/207))
354* 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)
355* 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`
356
357## 0.19.2
358
359* Fix exporting namespaces to include all of their exports ([#204](https://github.com/rollup/rollup/issues/204))
360* 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))
361* Fix `ReferenceError: Promise is not defined` in node v0.10 ([#189](https://github.com/rollup/rollup/issues/189))
362
363## 0.19.1
364
365* Fix `module.basename()` when used with custom `resolveId` function
366* Use [rollup-babel](https://github.com/rollup/rollup-babel) to build self
367* Exposed the version string through the API: `require( 'rollup' ).VERSION`
368
369## 0.19.0
370
371* **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
372* `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))
373* `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))
374* New `intro` and `outro` options – similar to `banner` and `footer` except inserted *inside* any format-specific wrapper
375* 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))
376* More informative error when using a missing namespace property ([#169](https://github.com/rollup/rollup/pull/169))
377* Update various dependencies
378
379## 0.18.5
380
381* Allow namespaces to be assigned to variables ([#168](https://github.com/rollup/rollup/issues/168))
382* Promote `chalk` and `source-map-support` to `dependencies`, as they're used by the CLI ([#167](https://github.com/rollup/rollup/pull/167))
383
384## 0.18.4
385
386* Make external modules configurable (i.e. `external.config.foo = 'bar'`) without erroring
387
388## 0.18.3
389
390* Crop indent exclusion ranges to exclude enclosing quotes ([#166](https://github.com/rollup/rollup/issues/166))
391
392## 0.18.2
393
394* Include definitions of namespace members that are exported as defaults
395
396## 0.18.1
397
398* Include `acorn.parse` in bundle, remove `sander` from dependencies, simplify build
399
400## 0.18.0
401
402* Internal rewrite
403* Reinstate statically-analysable namespace imports
404* Avoid using getters in namespace blocks where possible ([#144](https://github.com/rollup/rollup/issues/144))
405* Track variable aliases ([#96](https://github.com/rollup/rollup/issues/96))
406* Prevent multiline strings being indented ([#164](https://github.com/rollup/rollup/issues/164))
407
408## 0.17.4
409
410* Allow imports from hidden directories (replay of [#133](https://github.com/rollup/rollup/issues/133))
411
412## 0.17.3
413
414* Handle parenthesised default exports ([#136](https://github.com/rollup/rollup/issues/136))
415
416## 0.17.2
417
418* Allow use of scoped npm packages ([#131](https://github.com/rollup/rollup/issues/131))
419
420## 0.17.1
421
422* Allow namespaces to be passed to a function ([#149](https://github.com/rollup/rollup/issues/149))
423
424## 0.17.0
425
426* Roll back to 0.15.0 and reapply subsequent fixes pending resolution of ([#132](https://github.com/rollup/rollup/issues/132)) and related issues
427
428## 0.16.4
429
430* Fix import paths with `.` ([#133](https://github.com/rollup/rollup/issues/133))
431* Prevent sourceMappingURL confusion leading to broken sourcemap
432* Add code coverage reporting [#130](https://github.com/rollup/rollup/pull/130))
433* Add `modules` property to user-facing `bundle` – an array with `{id}` objects ([#128](https://github.com/rollup/rollup/issues/128))
434
435## 0.16.3
436
437* Prevent adjacent blocks of multiple var declarations causing magic-string failure ([#105](https://github.com/rollup/rollup/issues/105))
438
439## 0.16.2
440
441* Top-level function calls and assignments to globals are treated as side-effects, and always included
442* Import files from subdirectories of external packages, e.g. `import mod from 'foo/sub/mod'` ([#126](https://github.com/rollup/rollup/issues/126))
443
444## 0.16.1
445
446* Handle assignment patterns, and destructured/rest parameters, when analysing scopes
447* Fix bug preventing project from self-building (make base `Identifier` class markable)
448
449## 0.16.0
450
451* Internal refactoring ([#99](https://github.com/rollup/rollup/pull/99))
452* Optimisation for statically-analysable namespace imports ([#99](https://github.com/rollup/rollup/pull/99))
453* Windows support (theoretically!) ([#117](https://github.com/rollup/rollup/pull/117) / [#119](https://github.com/rollup/rollup/pull/119))
454
455## 0.15.0
456
457* 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))
458* Only rewrite `foo` as `exports.foo` when it makes sense to ([#92](https://github.com/rollup/rollup/issues/92))
459* Fix bug with shadowed variables that are eventually exported ([#91](https://github.com/rollup/rollup/issues/91))
460* Exclude unused function declarations that happen to modify a used name ([#90](https://github.com/rollup/rollup/pull/90))
461* Simplify internal `Scope` model – scopes always attach to blocks, never function expressions/declarations
462
463## 0.14.1
464
465* `export { name } from './other'` does not create a local binding ([#16](https://github.com/rollup/rollup/issues/16))
466* A single binding can be exported under multiple names ([#18](https://github.com/rollup/rollup/issues/18))
467* `useStrict` option exposed to CLI as `--strict`/`--no-strict` ([#81](https://github.com/rollup/rollup/issues/81))
468* Neater exports from ES6 bundles
469
470## 0.14.0
471
472* Internal refactoring
473* Correctly deconflict generated default export names ([#72](https://github.com/rollup/rollup/issues/72))
474* Handle `export { x } from 'y'` declarations ([#74](https://github.com/rollup/rollup/issues/74))
475* Dedupe named imports from external modules in ES6 bundles ([#77](https://github.com/rollup/rollup/issues/77))
476
477## 0.13.0
478
479* Support `banner` and `footer` options ([#66](https://github.com/rollup/rollup/pull/66))
480* Remove pre-existing sourcemap comments ([#66](https://github.com/rollup/rollup/pull/66))
481* Deconflict external imports ([#66](https://github.com/rollup/rollup/pull/66))
482* Use existing AST, if provided ([#66](https://github.com/rollup/rollup/pull/66))
483* Rename internal namespace exports as appropriate ([#66](https://github.com/rollup/rollup/pull/66))
484* Remove uninitialised var declarations that get exported ([#66](https://github.com/rollup/rollup/pull/66))
485* Rename variables named `exports` to avoid conflicts ([#66](https://github.com/rollup/rollup/pull/66))
486
487## 0.12.1
488
489* Don't attempt to mark statements belonging to external modules ([#68](https://github.com/rollup/rollup/issues/68))
490* Correctly deshadow variables that conflict with imports ([#68](https://github.com/rollup/rollup/issues/68))
491
492## 0.12.0
493
494* Internal re-architecting, resulting in more efficient bundling with reduced memory usage
495* Shorthand properties are expanded if necessary ([#61](https://github.com/rollup/rollup/issues/61))
496* Fixed various bugs with bundle external dependencies, particularly when generating ES6 bundles ([#59](https://github.com/rollup/rollup/issues/59))
497* Add `--globals` option to CLI ([#60](https://github.com/rollup/rollup/pull/60))
498* Allow imports of external modules for side-effects ([#55](https://github.com/rollup/rollup/pull/55))
499* Prevent Rollup hanging on non-existent external module ([#54](https://github.com/rollup/rollup/pull/54))
500
501## 0.11.4
502
503* Side-effect preservation applies to internal default exports ([#43](https://github.com/rollup/rollup/issues/43))
504
505## 0.11.3
506
507* Class methods are not incorrectly renamed ([#42](https://github.com/rollup/rollup/issues/42))
508* External modules are assigned names before canonical names are determined ([#42](https://github.com/rollup/rollup/issues/42))
509
510## 0.11.2
511
512* Correctly handle computed properties (e.g. `foo[bar]`) when discovering dependencies ([#47](https://github.com/rollup/rollup/pull/47))
513
514## 0.11.1
515
516* Support for `export * from '..'` ([#46](https://github.com/rollup/rollup/pull/46))
517
518## 0.11.0
519
520* Experimental browser-friendly build (`dist/rollup.browser.js`) ([#25](https://github.com/rollup/rollup/issues/25))
521* Internal re-architecting to make discovery process simpler and more performant
522* Preservation of side-effects that happen in a separate module to the affected definition ([#39](https://github.com/rollup/rollup/issues/39))
523
524## 0.10.0
525
526* Better sorting algorithm – sorting happens at the module level, rather than the statement level. This avoids certain edge cases
527* IIFEs are ignored for the purposes of distinguishing between 'strong' and 'weak' dependencies
528* Empty `var` declarations for exported bindings are omitted
529
530## 0.9.1
531
532* Much faster statement insertion (fixes major 0.9.0 performance regression)
533
534## 0.9.0
535
536* 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))
537* A statement cannot appear after later statements from the same bundle ([#34](https://github.com/rollup/rollup/issues/34))
538* Tricky cyclical dependencies are handled ([#36](https://github.com/rollup/rollup/issues/36))
539* `sourcemap` option is used by CLI (was omitted previously)
540
541## 0.8.3
542
543* Correctly rename functions that have arguments with the same name ([#32](https://github.com/rollup/rollup/issues/32))
544* Ensure unused default exports are given a legal name ([#33](https://github.com/rollup/rollup/issues/33))
545
546## 0.8.2
547
548* Support `moduleId` and `moduleName` via CLI ([#24](https://github.com/rollup/rollup/issues/24))
549
550## 0.8.1
551
552* 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))
553* Automatically-generated default export names are deconflicted with local definitions ([#29](https://github.com/rollup/rollup/issues/29))
554
555## 0.8.0
556
557* 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))
558* `this` at the top level is `undefined` ([#28](https://github.com/rollup/rollup/issues/28))
559
560## 0.7.8
561
562* Avoid using `path.parse` - unsupported in node 0.10
563
564## 0.7.7
565
566* Promise `source-map-support` from `devDependencies` to `dependencies` ([#23](https://github.com/rollup/rollup/issues/23))
567
568## 0.7.6
569
570* Better placement of `export default` statements ([#21](https://github.com/rollup/rollup/issues/21))
571* Prevent function calls and property assignments from being treated as rebinding for sake of unbound default exports
572* Add `--external foo,bar,baz` option to CLI (equivalent to `external: ['foo', 'bar', 'baz']`)
573* Add CLI tests
574
575## 0.7.5
576
577* Prevent accidental conflicts with the global namespace ([#20](https://github.com/rollup/rollup/issues/20))
578
579## 0.7.4
580
581* More precise statement re-ordering to satisfy `export default` constraint (fixes bug introduced in 0.7.3)
582
583## 0.7.3
584
585* 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))
586* Better positioning of comments ([#14](https://github.com/rollup/rollup/issues/14))
587* Various fixes to get Travis-CI rigged up
588
589## 0.7.2
590
591* Fix sourcemap paths on Windows ([#6](https://github.com/rollup/rollup/pull/6))
592
593## 0.7.1
594
595* Named functions can be used as default exports from a bundle
596* Method calls are assumed to mutate the owner (i.e. `foo.bar()` mutates `foo`) ([#13](https://github.com/rollup/rollup/issues/13))
597* `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))
598
599## 0.7.0
600
601* Ensure statements are always separated by a newline ([#9](https://github.com/rollup/rollup/pull/9))
602* Use CommonJS `exports` correctly (UMD exports)
603* Throw error if `moduleName` is required but missing (UMD exports)
604* Attach IIFE global to `this` rather than `window`
605* Allow names inside bundle to the the names of `Object.prototype` properties ([#12](https://github.com/rollup/rollup/pull/12))
606* Keep exports live ([#11](https://github.com/rollup/rollup/pull/11))
607
608## 0.6.5
609
610* Add sourceMappingURL comment to code, as appropriate
611* Higher resolution sourcemaps
612
613## 0.6.4
614
615* Fix CJS bundling with default export
616
617## 0.6.3
618
619* Fix exports and external module imports with some output formats
620* Fix endless cycle bug on Windows ([#3](https://github.com/rollup/rollup/pull/3)) - thanks @Bobris
621
622## 0.6.2
623
624* Permit assignments to properties of imported bindings
625
626## 0.6.1
627
628* Support for basic transformers
629
630## 0.6.0
631
632* BREAKING - `rollup.rollup` and `bundle.write` both take a single options argument
633* BREAKING - external modules must be declared upfront with `options.external: [...]`
634* 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
635* Fix sourcemap options
636* Include CLI files in npm package (duh)
637
638## 0.5.0
639
640* Command line interface
641* Sourcemap generation
642* Correct behaviour with `export { x as y } from 'z'`
643
644## 0.4.1
645
646* More import name deconflicting
647
648## 0.4.0
649
650* Self-hosting! `rollup.rollup` now rolls up rollup
651* Fix bug with comments inside a statement later being appended to it
652* Prevent shadowing of external modules
653* Rewrite computed property identifiers where necessary
654* Preserve original statement order where possible
655* Internal refactoring
656
657## 0.3.1
658
659* Saner deconflicting
660* Rename namespace imports from external modules correctly
661
662## 0.3.0
663
664* Basic functionality present, mostly spec-compliant
665
666## 0.2.1
667
668* Include dist files in npm package (duh)
669
670## 0.2.0
671
672* First release capable of doing anything useful
673* Still lots of basic functionality missing
674
675## 0.1.0
676
677* Initial experiment