Releases: rollup/rollup
Releases · rollup/rollup
v1.2.4
2019-02-26
Bug Fixes
- Fix an issue where a variable was imported twice under the same name (#2715)
Pull Requests
- #2715: Deduplicate imports referencing default exports and their original variables (@lukastaegert)
v1.2.3
2019-02-23
Bug Fixes
- Use correct path when rendering dynamic imports where the entry module is empty (#2714)
Pull Requests
- #2714: Properly render dynamic imports when imported module is empty (@lukastaegert)
v1.2.2
2019-02-19
Bug Fixes
- Fix wrong external imports when using the
paths
options only for some outputs (#2706)
Pull Requests
- #2706: Always recreate paths for external modules (@lukastaegert)
v1.2.1
2019-02-17
Bug Fixes
- Fix ESM version of Rollup (#2705)
Pull Requests
- #2705: Fix ESM version of Rollup (@lukastaegert)
v1.2.0
2019-02-17
Features
- Fewer renamed variables due to a completely reimplemented deconflicting logic (#2689)
Bug Fixes
- Respect rendered and tree-shaken exports when determining chunk hashes (#2695)
- Fix an error when dynamic imports end up in the same chunk as one of their importees (#2677)
- Do not generate invalid code when expressions containing IIFEs are simplified (#2696)
- Do not throw an error when more than ten bundles are watched (#2700)
- Treat re-exported globals in a spec-compliant way (#2691)
- Fix issues related to wrongly renamed variables (#2689)
- Do not throw an error if config files contain non-default exports (#2673)
- Improve type of
RollupOutput.output
to guarantee at least one chunk (#2679)
Pull Requests
- #2673: Allow config files to have non-default exports (@swansontec)
- #2677: Prevent final resolution and facade creation for inlined dynamic imports (@Rich-Harris and @lukastaegert)
- #2679: Improve type of
RollupOutput.output
(@MattiasBuelens) - #2689: Reimplement variable deconflicting logic (@lukastaegert)
- #2691: Fix CI issues and update acorn dependency (@lukastaegert)
- #2693: Fix typo in export-globals test (@MattiasBuelens)
- #2695: Respect rendered exports when generating chunk hashes (@lukastaegert)
- #2696: Correctly render function expression inside simplified expression statements (@lukastaegert)
- #2700: Add a fix for MaxListenersExceededWarning (@luwes)
- #2703: Update rollup-pluginutils (@lukastaegert)
v1.1.2
2019-01-21
Bug Fixes
- Tree-shaken dynamic imports no longer leave behind
undefined
entries in the bundle information (#2663) - Dynamic imports in dynamically imported files could lead to crashes and would not always create new chunks (#2664)
Pull Requests
- #2663: Do not include tree-shaken dynamic imports in bundle information (@lukastaegert)
- #2664: Properly handle dynamic imports declared in dynamically imported files (@everdimension)
v1.1.1
2019-01-19
Bug Fixes
- Make sure object prototype methods are not considered to be falsy when tree-shaking (#2652)
Pull Requests
- #2652: Make sure object prototype methods are not considered to be falsy (@lukastaegert)
- #2654: Use correct signature for
this.setAssetSource
in docs (@everdimension) - #2656: Swap descriptions for
[extname]
and[ext]
in docs (@tivac)
v1.1.0
2019-01-09
Features
- Make
this.meta
available from theoptions
plugin hook (#2642) - Add a new
writeBundle
plugin hook that is called after all files have been written (#2643)
Bug Fixes
- Make sure the
acorn
import of the bundled non-ESM acorn plugins is correctly translated to ESM (#2636) - Make sure input options are actually passed to the
buildStart
hook (#2642)
Pull Requests
- #2636: Improve how acorn is imported, update dependencies (@lukastaegert)
- #2642: Make this.meta available in options hook, pass input options to buildStart (@lukastaegert)
- #2643: Implement writeBundle hook (@lukastaegert)
v1.0.2
2019-01-05
Bug Fixes
- Make sure the transform hook is always reevaluated when a file watched by the hook changes (#2633)
- Fix a crash when generating hashes for tree-shaken dynamic imports (#2638)
- Fix a crash and some inconsistencies when using the acorn-bigint plugin (#2640)
Pull Requests
- #2633: Document
this.addWatchFile
and make sure it also declares transform dependencies (@lukastaegert) - #2635: Make sure
code
is optional in warning type (@lukastaegert) - #2638: Do not fail when generating hashes for tree-shaken dynamic imports (@lukastaegert)
- #2640: Always treat bigints as unknown (@lukastaegert)
- #2641: Make sure all CLI options are listed in the summary (@lukastaegert)