UNPKG

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