rollup v1.25.0 Release Notes

Release Date: 2019-10-18 // over 4 years ago
  • 2019-10-18

    ๐Ÿ”‹ Features

    • โœ‚ Remove try-catch if there is no side-effect in the try-block (#3166)
    • ๐Ÿ†“ Omit side-effect-free trailing cases in switch-statements (#3166)
    • โœ‚ Remove unused labels (#3170)

    ๐Ÿ› Bug Fixes

    • ๐Ÿšš Do not remove code after labeled statements that contain a throw or return if the label is used (#3170)
    • Prevent invalid code when expressions are simplified that do not follow a white-space character (#3173)
    • ๐Ÿšš Do not remove continue statements inside switch statements (#3166)
    • Prevent trailing empty lines when tree-shaking inside switch statements (#3166)

    Pull Requests

    • ๐Ÿ‘ #3166: Better try statement tree shaking (@lukastaegert)
    • ๐Ÿšš #3170: Handle optional control flow in labeled statements, remove unused labels (@lukastaegert)
    • #3173: Add missing spaces in certain statements and expressions to avoid invalid code (@lukastaegert)