prettier v0.11.0 Release Notes
-
๐ 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