prettier v0.19.0 Release Notes

  • diff

    • ๐Ÿ“„ docs(README): use yarn add for consistency (#734)
    • ๐Ÿ‘‰ Make trailing-comma option support 2 different modes (#641)
    • โšก๏ธ Update README with valid trailingComma options
    • ๐Ÿ›  Fix await ternary parenthesis (#740)
    • ๐Ÿ›  Fix missing dangling comment in exports (#741)
    • ๐Ÿ›  Fix missing dangling comments in arrays (#744)
    • โœ‚ Remove extra parenthesis around await inside of unary expression (#745)
    • ๐Ÿ›  Fix missing dangling comments in for loop (#742)
    • โž• Add note about trailingComma option in versions 0.18.0 and below
    • โž• Add missing explanatory comment in ForStatement case (#748)
    • ๐Ÿ›  Fix leading & operators in flow types (#738)
    • ๐Ÿ›  Fix missing comments in assignment pattern (#704)
    • Correctly place trailing comments in conditionals (#754)
    • ๐Ÿ Use double quotes in script wildcards to support windows cmd.exe. (#761)
    • โฌ†๏ธ Upgrade to Jest 19 (#762)
    • โฌ†๏ธ Upgrade to Jest 19.0.1 (#779)
    • โœ‚ Remove extra parens around ternary arguments of a new call (#776)
    • Do not attach comments to EmptyStatements in try/catch (#763)
    • โฌ†๏ธ Bump babylon & add test for async func decl (#790)
    • โž• Add this for Member factory whitelist and remove softline (#782)
    • Do not expand empty catch (#783)
    • Group [0] at the end of the previous chain instead of beginning of next one (#784)
    • Do not format template literals (#749)
    • โช Revert babylon bump (#792)
    • Do not put trailing commas for function declaration in es5 mode (#791)
    • ๐Ÿšง [WIP] Fix comments in template literals (#643)
    • Introduce line-suffix-boundary (#750)
    • [RFC] Add parenthesis around && inside of || (#780)
    • ๐Ÿ›  Fix tests on node 4