prettier v0.11.0 Release Notes

  • diff

    ๐Ÿš€ Now using minor versions instead of patch versions for the releases.

    • Swap quotes (#355)
    • โฌ‡๏ธ Drop jsesc (#357)
    • ๐Ÿ‘‰ Use a Symbol instead of the private dep (#359)
    • โž• Add parens for default export FunctionExpressions (#345)
    • ๐Ÿ›  Fix export extension output (#361)
    • Exit with an error if an unknown CLI option is passed (#365)
    • ๐Ÿ—„ Warn if using deprecated CLI options (#364)
    • s/jscodefmt/prettier/ (#370)
    • ๐Ÿ›  Fix CLI options (#369)
    • ๐Ÿ›  Fix some parens cases for UpdateExpressions (#381)
    • Output strings with the minimum amount of escaped quotes (#390)
    • Ignore EmptyStatement inside of switch case (#391)
    • ๐Ÿ‘Œ Support multiple standalones in import (#389)
    • ๐Ÿ›  Fix missing semi-colon in for loop and var body (#388)
    • ๐Ÿ›  Fix empty labels (#383)
    • ๐Ÿ›  Fix forced trailing comma (#382)
    • Empty switch should not have an empty line (#384)
    • โž• add formatAST() for formatting ASTs directly (#393)
    • ๐Ÿ›  Fix class extends parenthesis (#396)
    • ๐Ÿ›  Fix class inside of binary expression missing parenthesis (#397)
    • ๐Ÿ›  Fix parenthesis in object as left-hand-side of template (#398)
    • โœ‚ Remove unneeded parens for FunctionExpression inside LogicalExpression (#399)
    • โœ‚ Remove trailing comma for array destructuring with rest (#400)
    • ๐Ÿ›  Fix +++x (#401)
    • Also do the class extend parenthesis for class expressions (#403)
    • ๐Ÿ›  Fix various parenthesis issues on the left side of template (#404)
    • ๐Ÿ›  Fix in inside of the first group of a for (#406)
    • โž• Add parenthesis for arrow function inside of ternary (#408)
    • โž• Add parenthesis around class expression when left side of call expression (#409)
    • Ensure computed method names don't lose quotes (#419)
    • โž• Add parenthesis for yield inside of a conditional (#418)
    • โž• Add parenthesis around assignment for arrow function body (#422)
    • โž• Add parenthesis around export default assignments (#423)
    • โž• Add parenthesis for class expression on left of member expression (#421)
    • ๐Ÿ›  Fix missing parens around object in MemberExpression (#424)
    • โœ… Re-run snapshot tests
    • โ†ช Workaround flow bug around trailing comma (#427)
    • โž• Add parenthesis when class expressions are left of a ternary (#428)
    • โช Revert "Workaround flow bug around trailing comma" (#429)
    • โšก๏ธ Update commands.md (#430)
    • ๐Ÿ‘Œ Improve vim integration section (#416)
    • โž• Add glob support to the CLI (#363)
    • ๐Ÿ‘‰ Use babel-code-frame for syntax errors (#367)
    • โšก๏ธ Update yarn.lock