Skip to content

Releases: babel/minify

babili@0.1.2

23 May 19:47
Compare
Choose a tag to compare

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

22 May 21:49
Compare
Choose a tag to compare

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

03 Mar 18:05
Compare
Choose a tag to compare

babili@0.0.12 (2017-03-03)

  • gulp-babili@0.0.2 (new)
  • babel-plugin-minify-builtins@0.0.2 (new)
  • babel-helper-mark-eval-scopes@0.0.3
  • babel-helper-to-multiple-sequence-expressions@0.0.4
  • 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

💥 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

08 Feb 18:28
Compare
Choose a tag to compare

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@0.0.10

19 Jan 16:09
Compare
Choose a tag to compare

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

  • Adds preset options
  • Fixes issue with issue babili globally
  • Fixes issue with comments not being stripped by default

  • babili@0.0.10
  • babel-preset-babili@0.0.10
  • 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

🚀 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@0.0.9

25 Nov 22:21
Compare
Choose a tag to compare

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@0.0.8

31 Oct 14:08
Compare
Choose a tag to compare

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)

Shoutout to @boopathi for all these bug fixes, and @shinew / @erikdesjardins for their first PRs!

🚀 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
  • babel-plugin-minify-type-constructors
  • babel-plugin-minify-mangle-names

🏠 Internal

  • Other
  • babel-plugin-minify-dead-code-elimination
  • babel-plugin-minify-mangle-names
  • 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

babili@0.0.7

27 Oct 19:30
Compare
Choose a tag to compare

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

Deps

  • babel-plugin-dead-code-elimination

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

Should fix windows support for the cli.

  • babel-plugin-minify-dead-code-elimination
// 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;
}