web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3084 lines
144 KiB

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