Skip to content

Latest commit

 

History

History
701 lines (599 loc) · 40.1 KB

CHANGELOG.md

File metadata and controls

701 lines (599 loc) · 40.1 KB

babel-minify@0.2.0 (2017-08-14)

Highlights

  • #124: Babili has been renamed to babel-minify
  • New babel-minify CLI and Node API. Docs

Updated packages

  • babel-helper-evaluate-path@0.2.0
  • babel-helper-flip-expressions@0.2.0
  • babel-helper-is-void-0@0.2.0
  • babel-helper-mark-eval-scopes@0.2.0
  • babel-helper-remove-or-void@0.2.0
  • babel-helper-to-multiple-sequence-expressions@0.2.0
  • babel-minify@0.2.0
  • babel-plugin-minify-builtins@0.2.0
  • babel-plugin-minify-constant-folding@0.2.0
  • babel-plugin-minify-dead-code-elimination@0.2.0
  • babel-plugin-minify-flip-comparisons@0.2.0
  • babel-plugin-minify-guarded-expressions@0.2.0
  • babel-plugin-minify-infinity@0.2.0
  • babel-plugin-minify-mangle-names@0.2.0
  • babel-plugin-minify-numeric-literals@0.2.0
  • babel-plugin-minify-replace@0.2.0
  • babel-plugin-minify-simplify@0.2.0
  • babel-plugin-minify-type-constructors@0.2.0
  • babel-plugin-transform-inline-consecutive-adds@0.2.0
  • babel-plugin-transform-inline-environment-variables@0.2.0
  • babel-plugin-transform-member-expression-literals@6.8.5
  • babel-plugin-transform-merge-sibling-variables@6.8.6
  • babel-plugin-transform-minify-booleans@6.8.3
  • babel-plugin-transform-node-env-inline@0.2.0
  • babel-plugin-transform-property-literals@6.8.5
  • babel-plugin-transform-regexp-constructors@0.2.0
  • babel-plugin-transform-remove-console@6.8.5
  • babel-plugin-transform-remove-debugger@6.8.5
  • babel-plugin-transform-remove-undefined@0.2.0
  • babel-plugin-transform-simplify-comparison-operators@6.8.5
  • babel-plugin-transform-undefined-to-void@6.8.3
  • babel-preset-minify@0.2.0
  • gulp-babel-minify@0.2.0

💥 Breaking Change

🚀 New Feature

🐛 Bug Fix

  • babel-plugin-transform-remove-undefined, babel-preset-minify
    • #662 Use evaluate helper in removeUndefined transform. (@boopathi)
  • babel-helper-to-multiple-sequence-expressions, babel-preset-minify
  • babel-helper-evaluate-path
    • #651 Add deopt paths for let/const bindings in evaluate helper. (@boopathi)
  • babel-helper-evaluate-path, babel-plugin-minify-builtins, babel-plugin-minify-dead-code-elimination
  • babel-plugin-minify-dead-code-elimination
  • babel-plugin-minify-simplify
  • babel-plugin-transform-remove-undefined, babel-preset-babili
  • babel-plugin-minify-constant-folding

📝 Documentation

🏠 Internal

  • babili
  • Other
  • babel-helper-mark-eval-scopes, babel-plugin-minify-dead-code-elimination, babel-plugin-minify-mangle-names
  • babel-plugin-minify-simplify
  • Multiple packages

Committers: 6

babili@0.1.4 (2017-06-20)

Just some various bug fixes!

🐛 Bug Fix

  • babel-plugin-minify-constant-folding
  • babel-plugin-minify-builtins, babel-preset-babili

Committers: 3

babili@0.1.3 (2017-06-13)

🚀 New Feature

  • babel-plugin-minify-constant-folding
    • #505 Evaluate some String and Array instance methods at compile time. (@j-f1)
  • babel-plugin-minify-dead-code-elimination

🐛 Bug Fix

  • babel-plugin-transform-property-literals
  • babel-plugin-minify-mangle-names
    • #567 Add workaround for Safari for loop lexical scope bug. (@btmills)

🏠 Internal

  • babel-helper-flip-expressions, babel-plugin-minify-dead-code-elimination, babel-plugin-minify-guarded-expressions, babel-plugin-minify-simplify, babel-plugin-transform-inline-consecutive-adds
  • Other
    • #557 Clean up before every run to avoid working on already minified file. (@buunguyen)

Committers: 4

babili@0.1.2 (2017-05-23)

  • babel-plugin-minify-mangle-names@0.1.2
  • babel-preset-babili@0.1.2
  • babili@0.1.2
  • gulp-babili@0.1.2

🐛 Bug Fix

  • babel-plugin-minify-mangle-names
    • #550 Remove throwing error on unrecognized binding. (@boopathi)

💅 Polish

  • babel-plugin-minify-mangle-names

Committers: 1

babili@0.1.1 (2017-05-22)

Summary

  • Better mangling - significant improvement in output code size.
  • The preset options are flattened
  • Smoke tests
  • Use Yarn & Prettier
  • And a lot of bug fixes (refer below)

Check Benchmarks for info about how Babili compares with other minifiers for a few samples.

Updated Pacakges:
  • babel-helper-evaluate-path@0.1.0
  • babel-helper-flip-expressions@0.1.1
  • babel-helper-is-void-0@0.1.1
  • babel-helper-mark-eval-scopes@0.1.1
  • babel-helper-remove-or-void@0.1.1
  • babel-helper-to-multiple-sequence-expressions@0.1.1
  • babel-plugin-minify-builtins@0.1.1
  • babel-plugin-minify-constant-folding@0.1.1
  • babel-plugin-minify-dead-code-elimination@0.1.6
  • babel-plugin-minify-flip-comparisons@0.1.1
  • babel-plugin-minify-guarded-expressions@0.1.1
  • babel-plugin-minify-infinity@0.1.1
  • babel-plugin-minify-mangle-names@0.1.1
  • babel-plugin-minify-numeric-literals@0.1.1
  • babel-plugin-minify-replace@0.1.1
  • babel-plugin-minify-simplify@0.1.1
  • babel-plugin-minify-type-constructors@0.1.1
  • babel-plugin-transform-inline-consecutive-adds@0.1.1
  • babel-plugin-transform-inline-environment-variables@0.1.1
  • babel-plugin-transform-member-expression-literals@6.8.3
  • babel-plugin-transform-merge-sibling-variables@6.8.4
  • babel-plugin-transform-minify-booleans@6.8.2
  • babel-plugin-transform-node-env-inline@0.1.1
  • babel-plugin-transform-property-literals@6.8.3
  • babel-plugin-transform-regexp-constructors@0.1.1
  • babel-plugin-transform-remove-console@6.8.3
  • babel-plugin-transform-remove-debugger@6.8.3
  • babel-plugin-transform-remove-undefined@0.1.1
  • babel-plugin-transform-simplify-comparison-operators@6.8.3
  • babel-plugin-transform-undefined-to-void@6.8.2
  • babel-preset-babili@0.1.1
  • babili@0.1.1
  • gulp-babili@0.1.1

💥 Breaking Change

🚀 New Feature

  • babel-plugin-minify-mangle-names

🐛 Bug Fix

  • babel-plugin-minify-builtins
  • babel-plugin-transform-inline-consecutive-adds
  • babel-plugin-minify-mangle-names
  • babel-plugin-minify-simplify
  • babel-plugin-minify-constant-folding
  • babel-plugin-minify-builtins, babel-plugin-minify-mangle-names, babel-preset-babili
  • babel-plugin-transform-member-expression-literals, babel-plugin-transform-property-literals

💅 Polish

📝 Documentation

🏠 Internal

Chore

Committers: 8

babili@0.0.12 (2017-03-03)

  • babel-helper-mark-eval-scopes@0.0.3
  • babel-helper-to-multiple-sequence-expressions@0.0.4
  • babel-plugin-minify-builtins@0.0.2
  • babel-plugin-minify-dead-code-elimination@0.1.4
  • babel-plugin-minify-mangle-names@0.0.8
  • babel-plugin-minify-replace@0.0.4
  • babel-plugin-minify-simplify@0.0.8
  • babel-plugin-minify-type-constructors@0.0.4
  • babel-plugin-transform-regexp-constructors@0.0.6
  • babel-plugin-transform-remove-console@6.8.1
  • babel-plugin-transform-remove-debugger@6.8.1
  • babel-preset-babili@0.0.12
  • babili@0.0.12
  • gulp-babili@0.0.2

💥 Breaking Change

  • babel-plugin-minify-empty-function

🚀 New Feature

🐛 Bug Fix

  • babel-plugin-minify-dead-code-elimination
  • babel-plugin-minify-simplify
  • babel-plugin-transform-remove-console, babel-plugin-transform-remove-debugger
  • babel-plugin-minify-mangle-names

💅 Polish

  • babel-plugin-minify-mangle-names
    • #446 Minor optimization for handling blacklisted names. (@hzlmn)
  • babel-plugin-transform-regexp-constructors

📝 Documentation

Chore

  • babili
    • #441 chore(package): add description to babili package. (@Haroenv)

Committers: 5

babili@0.0.11 (2017-02-08)

🐛 Bug Fix

  • babel-plugin-transform-merge-sibling-variables, babel-preset-babili
  • babel-plugin-minify-mangle-names
  • babel-plugin-minify-dead-code-elimination
    • #391 Inline hoisted, post-return declarations properly. (@kangax)
  • babel-plugin-minify-constant-folding, babel-plugin-minify-dead-code-elimination, babel-preset-babili
  • babel-plugin-minify-constant-folding
    • #384 Escape "</script" when inlining strings. (@kangax)
  • babel-plugin-transform-remove-undefined
  • babel-helper-mark-eval-scopes, babel-plugin-minify-dead-code-elimination, babel-plugin-minify-mangle-names
    • #371 Add mark eval scopes helper and deopt DCE fn unused params. (@boopathi)

📝 Documentation

  • Other
    • #401 Readme: plugin options cannot be set in babili cmd. (@probins)

Committers: 5

Babili v0.0.10: Changelog for 2017-01-18

  • babel-helper-flip-expressions@0.0.2
  • babel-helper-to-multiple-sequence-expressions@0.0.3
  • babel-plugin-minify-dead-code-elimination@0.1.2
  • babel-plugin-minify-flip-comparisons@0.0.2
  • babel-plugin-minify-guarded-expressions@0.0.4
  • babel-plugin-minify-mangle-names@0.0.6
  • babel-plugin-minify-simplify@0.0.6
  • babel-plugin-minify-type-constructors@0.0.3
  • babel-plugin-transform-inline-consecutive-adds@0.0.2
  • babel-plugin-transform-inline-environment-variables@0.0.2
  • babel-plugin-transform-member-expression-literals@6.8.1
  • babel-plugin-transform-merge-sibling-variables@6.8.1
  • babel-plugin-transform-node-env-inline@0.0.2
  • babel-plugin-transform-property-literals@6.8.1
  • babel-plugin-transform-regexp-constructors@0.0.5
  • babel-plugin-transform-remove-undefined@0.0.4
  • babel-plugin-transform-simplify-comparison-operators@6.8.1
  • babel-preset-babili@0.0.10
  • babili@0.0.10

🚀 New Feature

  • babel-plugin-minify-dead-code-elimination, babel-plugin-minify-mangle-names, babel-preset-babili
  • babel-preset-babili

🐛 Bug Fix

  • babel-preset-babili
    • #325 remove comments by default in babel-preset-babili. (@hzoo)
  • babili
  • babel-plugin-transform-merge-sibling-variables
  • babel-plugin-transform-regexp-constructors
  • babel-plugin-minify-dead-code-elimination
  • babel-plugin-minify-dead-code-elimination, babel-preset-babili

📝 Documentation

  • Other
    • #348 add install, removing #redundancy [skip ci]. (@hzoo)
  • babel-plugin-minify-simplify
  • babel-preset-babili

🏠 Internal

Chore

Committers: 10

Babili v0.0.9: Changelog for 2016-11-21

  • babili: 0.0.8 => 0.0.9
  • babel-preset-babili: 0.0.8 => 0.0.9
  • babel-plugin-minify-constant-folding: 0.0.1 => 0.0.3
  • babel-plugin-minify-dead-code-elimination: 0.1.0 => 0.1.1
  • babel-plugin-minify-infinity: 0.0.1 => 0.0.3
  • babel-plugin-minify-mangle-names: 0.0.4 => 0.0.5
  • babel-plugin-minify-simplify: 0.0.4 => 0.0.5
  • babel-plugin-transform-regexp-constructors: 0.0.1 => 0.0.4
  • babel-plugin-transform-remove-undefined: 0.0.4 (new)
  • babel-helper-evaluate-path: 0.0.3 (new)
  • babel-helper-is-nodes-equiv: (removed)

🚀 New Feature

  • babel-plugin-transform-remove-undefined
    • #197 Implemented transform-remove-undefined plugin. (@shinew)
  • babel-plugin-minify-simplify
  • babel-plugin-minify-dead-code-elimination
  • babel-plugin-minify-simplify

🐛 Bug Fix

  • babel-plugin-minify-simplify
    • #240 Fix labeled break stmt removal from last switch case. (@boopathi)
  • babel-plugin-minify-infinity
  • babel-helper-evaluate-path, babel-plugin-minify-constant-folding
    • #246 Fix path.evaluate for runtime errors in constant-folding. (@boopathi)
  • babel-plugin-transform-regexp-constructors
  • babel-plugin-transform-regexp-constructors
  • babel-plugin-minify-dead-code-elimination, babel-plugin-minify-simplify
    • #266 Fix if_return & dce ifelse..return within loops. (@boopathi)
  • babel-plugin-minify-dead-code-elimination
  • babel-plugin-minify-simplify
    • #282 Don't transform earlyReturn on function enter. (@boopathi)

🏠 Internal

  • babel-plugin-minify-simplify
  • babel-plugin-minify-dead-code-elimination
  • Benchmarks
  • babel-plugin-minify-simplify
    • #276 Remove helper, use the built-in t.isNodesEquivalent. (@hzoo)
  • Use babel preset env

Commiters: 6

Babili v0.0.8: Changelog for 2016-10-31

  • babili: 0.0.7 => 0.0.8
  • babel-preset-babili: 0.0.5 => 0.0.8
  • babel-helper-to-multiple-sequence-expressions: 0.0.1 => 0.0.2
  • babel-plugin-minify-dead-code-elimination: 0.0.4 => 0.1.0
  • babel-plugin-minify-mangle-names: 0.0.3 => 0.0.4
  • babel-plugin-minify-numeric-literals: 0.0.1 (new)
  • babel-plugin-minify-simplify: 0.0.3 => 0.0.4
  • babel-plugin-minify-type-constructors: 0.0.1 => 0.0.2
  • babel-plugin-transform-regexp-constructors: 0.0.1 (new)

🚀 New Feature

  • babel-plugin-minify-numeric-literals, babel-preset-babili
    [10000, 0x000001, 0o23420, 0b10011100010000]
    // =>
    [1e4, 1, 1e4, 1e4]
  • babel-plugin-transform-regexp-constructors
    • #196 Implemented transform-regexp-constructors plugin. (@shinew)
    var x = new RegExp('\\w+\\s')
    // =>
    var x = /\w+\s/
  • babel-plugin-minify-dead-code-elimination
    function foo(unused) { return 1 }
    // =>
    function foo() { return 1 }
    // To prevent this for code depending on foo.length, use keepFnArgs: true
    {
      plugins: [ ["minify-dead-code-elimination", { keepFnArgs: true }] ]
    }

🐛 Bug Fix

  • babel-plugin-minify-dead-code-elimination
  • babel-plugin-minify-simplify
    • #220 Require blocks around single block-scope declaration. (@boopathi)
    • #202 Fix for merging of vars to successive for loop. (@boopathi)
  • babel-helper-to-multiple-sequence-expressions, babel-plugin-minify-simplify
    • #216 Fix undefined in multiple sequence expressions (close #208). (@boopathi)
  • babel-plugin-minify-type-constructors
    • #215 Fix bug where invalid array length throws (close #206). (@boopathi)
  • babel-plugin-minify-mangle-names

🏠 Internal

  • Other
  • babel-plugin-minify-dead-code-elimination
  • babel-plugin-minify-mangle-names
    • #224 Add test for labels shadow in mangle (close #185). (@boopathi)
  • babel-preset-babili
    • #211 Adds babel-plugin-transform-regexp-constructors to preset.. (@shinew)
  • babel-plugin-transform-regexp-constructors, babel-preset-babili
    • #199 Integrated babel-plugin-transform-regexp-constructors into preset.. (@shinew)

Commiters: 5

Changelog for 2016-10-07

  • babel-plugin-minify-dead-code-elimination@0.0.4
  • babel-plugin-minify-guarded-expressions@0.0.3
  • babel-preset-babili@0.0.5
  • babili@0.0.7

Bug Fix

  • babel-plugin-minify-guarded-expressions
  • #179 Fix guarded expressions being utilized elsewhere. Fixes #171,#174,#176 (@boopathi)

Deps

  • babel-plugin-dead-code-elimination
  • #180 Use modularized lodash. (@boopathi)

Changelog for 2016-09-30

  • babel-plugin-minify-dead-code-elimination@0.0.3
  • babel-preset-babili@0.0.4
  • babili@0.0.6

Bug Fix

  • babili

Should fix windows support for the cli.

  • babel-plugin-minify-dead-code-elimination
    • #155 Fix DCE for ArrayPatterns and ObjectPatterns (#155) (@boopathi)
// bail out when destructuring with a variable
const me = lyfe => {
  const [swag] = lyfe;
  return swag;
};
// var hoisting but not let/const
function foo() {
  a = 1;
  return a;
  var a;
}

Changelog for 2016-09-20

  • babel-plugin-minify-dead-code-elimination@0.0.2
  • babel-plugin-minify-guarded-expressions@0.0.2
  • babel-plugin-minify-mangle-names@0.0.3
  • babel-plugin-minify-simplify@0.0.3
  • babel-plugin-transform-merge-sibling-variables@0.0.2
  • babel-preset-babili@0.0.3
  • babili@0.0.5

Bug Fix

  • babel-plugin-minify-guarded-expressions
  • babel-plugin-transform-merge-sibling-variables
  • babel-plugin-minify-mangle-names
  • babel-plugin-minify-dead-code-elimination
    • ba50db - Ensure parent node has declarations

Docs

  • Other

Internal

  • babel-plugin-minify-simplify
    • #143 Satisfy the "space-infix-ops" eslint rule. (@gigabo)
  • babel-plugin-minify-mangle-names

Changelog for 2016-08-31

Bug Fix

  • babel-preset-babili
    • #135 update older packages. (@hzoo)
    • #125 Revert "Throw upgrade error when babel version is less than 6.14.0". (@kangax)
    • #116 Throw upgrade error when babel version is less than 6.14.0. (@boopathi)
  • babili
  • babel-plugin-minify-mangle-names, babel-preset-babili
    • #123 Add fix for other types of nodes in referencePaths. (@boopathi)
  • babel-plugin-minify-simplify
    • #119 Fix bug - Conditionals transformation for impure paths. (@boopathi)

Docs

  • Other
  • babel-plugin-minify-dead-code-elimination, babel-plugin-minify-mangle-names
  • babel-plugin-minify-flip-comparisons
    • #110 minify-flip-comparisons: Explain why this optimization makes sense. (@mathiasbynens)

Chore

Internal

  • babel-plugin-minify-mangle-names