All Versions
108
Latest Version
Avg Release Cycle
29 days
Latest Release
-

Changelog History
Page 11

  • v0.13.0 Changes

    diff

    • Simplify arrow functions that use blocks (#496)
    • ๐Ÿ–จ Properly print comments for BinaryExpression (#494)
    • Preserve empty line after comment (#493)
    • [JSX] Handle each line of text separately (#455)
    • ๐Ÿ‘ Proper support for dangling comments (#492)
  • v0.12.0 Changes

    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)
  • v0.11.0 Changes

    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
  • v0.0.10 Changes

    diff

    • โž• Add description to package.json (#320)
    • ๐Ÿ›  Fix crash for single rest on class declaration (#315)
    • โž• Add canonical link to Prettier SublimeText package. (#318)
    • Properly escape JSXText (#329)
    • Hug objects and arrays inside of JSXExpressionContainer (#213)
    • โž• Add quotes around unicode keys in flow parser (#328)
    • โž• Add tests for comments (#330)
    • ๐Ÿ–จ Print dangling comments in blocks (#331)
    • โœ‚ Remove Printer module in favor of single function (#333)
    • ๐Ÿ— Split pp.js into doc-{printer,builders,utils}.js (#334)
    • ๐Ÿ›  Fix node 4 (#336)
    • โœ‚ Remove unused functions from recast (#337)
    • Kill fromString (#335)
    • ๐Ÿ“œ Extract parser.js (#338)
    • Normalize exports (#339)
    • ๐Ÿ”จ Refactor index.js (#340)
    • โž• Add semicolon to more default exports (#343)
    • ๐Ÿ—„ Introduce --parser/parser option and deprecate --flow-parser/useFlowParser (#342)
    • โœ‚ Remove parens around AwaitExpression in ternary (#346)
    • โœ… Indent while test the same way as if test (#352)
    • โž• Add debugging support for doc IR (#347)
  • v0.0.9 Changes

    diff

    • โ†ช Workaround flow bug parsing astral unicode characters (#277)
    • ๐Ÿ‘ Allow specifying the major mode that defun-before-save will use. (#276
    • ๐Ÿ›  Fix space missing before , on export with bracket spacing off (#278)
    • ๐Ÿ›  Fix space missing before , on import with bracket spacing off (#279)
    • โž• Add newline after shebang if necessary. (#215)
    • โœ‚ Remove +1 from newline detection (#261)
    • ๐Ÿ›  Fix path when printing member chains so parens work properly (fixes #243
    • Ensure parens on NewExpression with function callee (#282)
    • ๐Ÿ›  Fix missing semi when default exporting CallExpression (#287)
    • โ†ช Workaround flow parser bug with spread in arrays (#285)
    • โšก๏ธ Update flow-parser to 0.38 (#290)
    • ๐Ÿ‘ Allow customizing args sent to prettier-command (#289)
    • Do not output trailing commas with rest arguments (#283)
    • ๐Ÿ“ฆ Use exact versions in package.json (#291)
    • ๐Ÿ‘‰ Use js native String.repeat() (#293)
    • 0๏ธโƒฃ Handle additional export default parens cases (#298)
    • ๐Ÿ›  Fix parens around anonymous functions (#297)
    • Introduce second argument to ifBreak (#302)
    • ๐Ÿ›  Fix bracketSpacing typo in tests (#299)
    • โœ‚ Remove unused variable (#304)
    • ๐Ÿ›  Fix trailing whitespace (#300)
    • โž• add version flag (#294)
    • โž• Add --run-in-band to travis (#306)
    • [JSX] Split elements on newlines and preserve whitespace (w/@yamafaktory) (#234)
    • ๐Ÿ–จ Print binary and logical expressions in a nicer format (#262)
  • v0.0.8 Changes

    diff

    • ๐Ÿ›  Fix await parenthesis (#185)
    • โž• Add note about Sublime Test github issue in readme
    • โœ‚ Remove legacy Recast code and simplify API. (#191)
    • Don't break to new line if logical/loop statements are without brackets. (#194)
    • ๐Ÿ›  Fix parenthesis for UpdateExpression (#198)
    • ๐Ÿ›  Fix directives printing for empty functions (#199)
    • ๐Ÿ›  Fix key quotes omission for flow parser (#203)
    • ๐Ÿ›  Fix comma when an arrow function with no arguments breaks (#210)
    • Last argument expansion works for arrow functions that return JSX (#211)
    • โœ‚ Remove faulty location check on template literals that throws in Nuclide (#218)
    • โž• Add flow parser experimental options (#221)
    • ๐Ÿ›  Fix empty exports (#225)
    • ๐Ÿ›  Fix cases of missing parens with NewExpression (#230)
    • ๐Ÿ›  Fix issue with ArrowFunctionExpression parens (#236)
    • โž• Add npm version badge (#240)
    • Consolidate badges in readme
    • ๐Ÿ›  Fix parens issue with nested UrnaryExpressions (#237)
    • Escape strings using jsesc (#229)
    • โž• Add newline for empty blocks {} (#205)
    • ๐Ÿ›  Fix empty export with from clause (#248)
    • ๐Ÿ›  Fix missing parenthesis for typeof and arrow functions (#249)
    • ๐Ÿ›  Fix FunctionExpression parens issues (#250)
    • ๐Ÿ›  Fix last element of an array being null (#232)
    • ๐Ÿ‘‰ Make sure empty for loops generate valid code (#224)
    • ๐Ÿ›  Fix parens for functions inside TaggedTemplateExpression (#259)
    • Preserve the way numbers were written (#257)
  • v0.0.7 Changes

    diff

    • โšก๏ธ Update live editor to 0.0.6
    • โž• Adds various prettier-browser changes (#175)
    • ๐Ÿ›  Fix [(0)] (#179)
    • Do not advance for forward skipSpaces (#176)
    • ๐Ÿ›  Fix windows line-endings (#177)
    • โž• add license to package.json (#178)
    • ๐Ÿ›  Fix exponent in babylon (#181)
    • ๐Ÿ‘‰ Make declare type consistent between babylon and flow (#183)
    • ๐Ÿ›  Fix DeclareInterface (#182)
    • ๐Ÿ”„ Change test to workaround babylon bug (#184)
  • v0.0.6 Changes

    diff

    • Format property names consistently
    • โœ‚ remove node 0.10 from travis config, add travis badge to readme
    • โšก๏ธ Update snapshots
    • ๐Ÿ“ฆ chore: link prettier package to its github project
    • โž• add gitter badge to readme
    • โž• add instructions for Visual Studio plugin
    • Do not unquote string properties
    • โž• Add prettier-browser
    • v0.0.5 -- Accidentally didn't push this commit out before others landed; 0.0.5 is actually based on commit faed09c
    • โšก๏ธ update yarn.lock
    • โœ‚ remove recast (not used)
    • Always use double quotes for JSX and properly escape
    • โœ‚ remove unused recast ref
    • ๐Ÿ›  Fix typo in README.
    • ๐Ÿ‘Œ Support type annotation for rest argument on babylon parser
    • ๐Ÿ‘‰ Use setq instead of infc and decf
    • โž• Add title and encoding to the REPL
    • ๐Ÿ›  Fix old name reference in tests_config
    • Minimize string escapes
    • ๐Ÿ‘Œ Support method generics on babylon parser
    • Break long exports into multiple lines.
    • ๐Ÿ‘‰ Use group instead of conditionalGroup
    • ๐Ÿ›  Fix misprinting of computed properties in method chains. (#157)
    • ๐Ÿ“œ treat shebang outside of parsing (#137)
    • Break multiline imports (#167)
    • Do not put spaces on empty for loop (#169)
    • โž• Add trailing comma support for multiline exports (#168)
    • โšก๏ธ Update run_spec to support options
    • โž• Add tests for bracketSpacing option
    • โž• Add tests for quotes option
    • โž• Add tests for tabWiths option
    • โž• Add tests for trailingComma option
    • ๐Ÿ›  Fix for Node 4
    • โž• Add test for shebang and move to index.js (#170)
    • Numeric literal callees should keep parens (#141)
    • โœ‚ Remove leftover arrowParensAlways option (#171)
    • ๐Ÿ›  Wrap Stateless JSX Arrow Functions and Assignment in Parens (fixes part of #73)
    • ๐Ÿ›  Break JSXOpeningElement between attributes (fixes #15)
    • ๐Ÿ›  JSX maintains spaces that matter (fixes #30 and thus part of #73)
    • Multiline JSX opening tag breaks children out too (for #73)
    • โž• Add regression tests for long JSX Expression contents
    • include index.js in format:all script (#132)
    • Wrap ForStatement in a block for const decls (#172)
    • ๐Ÿ–จ Reprint all the files!