All Versions
108
Latest Version
Avg Release Cycle
29 days
Latest Release
-
Changelog History
Page 11
Changelog History
Page 11
-
v0.13.0 Changes
- 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
- ๐ง [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
๐ 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
- โ 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
- โช 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
- ๐ 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
- โก๏ธ 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
- 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 ofinfc
anddecf
- โ 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!