prettier v0.12.0 Release Notes

  • diff

    • ๐Ÿšง [WIP] Add rationale document (#372)
    • Proper parenthesis for yield and await in conditional (#436)
    • ๐Ÿ–จ Don't print double newlines at EOF to stdout (#437)
    • Explain the --color option in a comment (#434)
    • Validate user-provided config with jest-validate (#301)
    • Propagate breaks upwards automatically, introduce breakParent (#440)
    • ๐Ÿ›  Fix typo in variable name (#441)
    • ๐Ÿ”จ Refactor traversal (#442)
    • Do not put a newline on empty {} for functions (#447)
    • ๐Ÿ‘ Better error message for assertDoc (#449)
    • โœ‚ Remove multilineGroup (#450)
    • Ability to break on : for objects (#314)
    • โšก๏ธ Update snapshots
    • [RFC] Do not put spacing inside of arrays with bracketSpacing (#446)
    • ๐Ÿ›  Fix integer CLI arguments (#452)
    • ๐Ÿšš Move tests around (#454)
    • โšก๏ธ Update package.json, use ast-types 0.9.4 (#453)
    • โšก๏ธ Update lockfile
    • ๐Ÿ‘Œ Support printing import("a") (#458)
    • Explain that you can pass options to the spec runner (#460)
    • ๐Ÿ›  Fix spurious whitespace (#463)
    • Preserve new lines after directives (#464)
    • Put decorators on the same line (#459)
    • ๐Ÿ“„ docs: add related projects (#456)
    • โž• Add break points for class declaration (#466)
    • โž• Added parens around in operator in for loops ๐Ÿš€. (#468)
    • CLI improvements (#478)
    • [RFC] Hug Conditionals in JSX (#473)
    • ๐Ÿ”จ Refactor comment algorithm and improve newline/spaces detection (#482)
    • Indent ternaries (#484)
    • Indent computed member (#471)
    • ๐Ÿ Maintain windows line ending (#472)
    • Don't break up JSXOpeningElement if it only has a single text (#488)
    • โž• Add CallExpression to the last argument expansion whitelist (#470)
    • ๐Ÿ‘• Mention eslint-plugin-prettier in Related Projects (#490)
    • Stop using conditionalGroup inside of UnionTypeAnnotation (#491)