diff --git a/CHANGELOG.md b/CHANGELOG.md index ce8baf6cf..2b39bb678 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # 1.13.5 -[link](https://github.com/prettier/prettier/compare/1.13.4...1.13.5) +[diff](https://github.com/prettier/prettier/compare/1.13.4...1.13.5) - Better handling of trailing spaces in Markdown ([#4593](https://github.com/prettier/prettier/pull/4593)) - Fix empty file error in JSON and GraphQL ([#4553](https://github.com/prettier/prettier/pull/4553)) @@ -9,38 +9,38 @@ # 1.13.4 -[link](https://github.com/prettier/prettier/compare/1.13.3...1.13.4) +[diff](https://github.com/prettier/prettier/compare/1.13.3...1.13.4) - Fix a regression when printing graphql-in-js ([#4616](https://github.com/prettier/prettier/pull/4616)) # 1.13.3 -[link](https://github.com/prettier/prettier/compare/1.13.2...1.13.3) +[diff](https://github.com/prettier/prettier/compare/1.13.2...1.13.3) - Fix a regression when printing `hasOwnProperty` and other functions in `Object`'s prototype ([#4603](https://github.com/prettier/prettier/pull/4603)) - Fix a regression in exit status when using `--debug-check` and `--list-different` ([#4600](https://github.com/prettier/prettier/pull/4600)) # 1.13.2 -[link](https://github.com/prettier/prettier/compare/1.13.1...1.13.2) +[diff](https://github.com/prettier/prettier/compare/1.13.1...1.13.2) - Republished 1.13.1 with missing README included this time # 1.13.1 -[link](https://github.com/prettier/prettier/compare/1.13.0...1.13.1) +[diff](https://github.com/prettier/prettier/compare/1.13.0...1.13.1) - Revert default parser change in API (still present in CLI) # 1.13.0 -[link](https://github.com/prettier/prettier/compare/1.12.1...1.13.0) +[diff](https://github.com/prettier/prettier/compare/1.12.1...1.13.0) -- [Release Notes](https://prettier.io/blog/2018/05/23/1.13.0.html) +🔗 [Release Notes](https://prettier.io/blog/2018/05/23/1.13.0.html) # 1.12.1 -[link](https://github.com/prettier/prettier/compare/1.12.0...1.12.1) +[diff](https://github.com/prettier/prettier/compare/1.12.0...1.12.1) - Fix for tag being removed from CSS with embedded expressions ([#4302](https://github.com/prettier/prettier/pull/4302)) - Wrap awaits in unary expressions with parens ([#4315](https://github.com/prettier/prettier/pull/4315)) @@ -48,44 +48,44 @@ # 1.12.0 -[link](https://github.com/prettier/prettier/compare/1.11.1...1.12.0) +[diff](https://github.com/prettier/prettier/compare/1.11.1...1.12.0) -- [Release Notes](https://prettier.io/blog/2018/04/11/1.12.0.html) +🔗 [Release Notes](https://prettier.io/blog/2018/04/11/1.12.0.html) # 1.11.1 -[link](https://github.com/prettier/prettier/compare/1.11.0...1.11.1) +[diff](https://github.com/prettier/prettier/compare/1.11.0...1.11.1) - 1.11.0 was incorrectly shipped with the wrong version of the TypeScript parser, which broke conditional types. This release fixes it. - Fixed an issue relating to deprecated parsers ([#4072](https://github.com/prettier/prettier/pull/4072)) # 1.11.0 -[link](https://github.com/prettier/prettier/compare/1.10.2...1.11.0) +[diff](https://github.com/prettier/prettier/compare/1.10.2...1.11.0) -- [Release Notes](https://prettier.io/blog/2018/02/26/1.11.0.html) +🔗 [Release Notes](https://prettier.io/blog/2018/02/26/1.11.0.html) # 1.10.2 -[link](https://github.com/prettier/prettier/compare/1.10.1...1.10.2) +[diff](https://github.com/prettier/prettier/compare/1.10.1...1.10.2) - Fixed an issue printing .vue files with self-closing tags. (#3705 by duailibe) # 1.10.1 -[link](https://github.com/prettier/prettier/compare/1.10.0...1.10.1) +[diff](https://github.com/prettier/prettier/compare/1.10.0...1.10.1) - Fixed an issue where the CLI fails to resolve a file. # 1.10.0 -[link](https://github.com/prettier/prettier/compare/1.9.2...1.10.0) +[diff](https://github.com/prettier/prettier/compare/1.9.2...1.10.0) -- [Release Notes](https://prettier.io/blog/2018/01/10/1.10.0.html) +🔗 [Release Notes](https://prettier.io/blog/2018/01/10/1.10.0.html) # 1.9.2 -[link](https://github.com/prettier/prettier/compare/1.9.1...1.9.2) +[diff](https://github.com/prettier/prettier/compare/1.9.1...1.9.2) - Fixed trailing comma not being printed in function calls if the last arg was an arrow (#3428 by duailibe) - Ignore whitespace after the `/**` in docblocks (#3430 by duailibe) @@ -100,7 +100,7 @@ # 1.9.1 -[link](https://github.com/prettier/prettier/compare/1.9.0...1.9.1) +[diff](https://github.com/prettier/prettier/compare/1.9.0...1.9.1) - Fixed a bug of comments with JSX fragments being duplicated in output (#3398 by duailibe) - Fixed a bug that Prettier would fail when using tabs (#3401 by ikatyang) @@ -110,13 +110,13 @@ # 1.9.0 -[link](https://github.com/prettier/prettier/compare/1.8.2...1.9.0) +[diff](https://github.com/prettier/prettier/compare/1.8.2...1.9.0) -- [Release Notes](https://prettier.io/blog/2017/12/05/1.9.0.html) +🔗 [Release Notes](https://prettier.io/blog/2017/12/05/1.9.0.html) # 1.8.2 -[link](https://github.com/prettier/prettier/compare/1.8.1...1.8.2) +[diff](https://github.com/prettier/prettier/compare/1.8.1...1.8.2) - Markdown: Don't break on links (#3204 by ikatyang) - Markdown: Add `--no-prose-wrap` option (#3199 by ikatyang) @@ -125,7 +125,7 @@ # 1.8.1 -[link](https://github.com/prettier/prettier/compare/1.8.0...1.8.1) +[diff](https://github.com/prettier/prettier/compare/1.8.0...1.8.1) - Force JSON to no trailing comma in multiparser (#3182 by azz) - Don't add trailing commas in JSXAttribute for arrow functions (#3181 by duailibe) @@ -136,13 +136,13 @@ # 1.8.0 -[link](https://github.com/prettier/prettier/compare/1.7.4...1.8.0) +[diff](https://github.com/prettier/prettier/compare/1.7.4...1.8.0) -- [Release Notes](https://prettier.io/blog/2017/11/07/1.8.0.html) +🔗 [Release Notes](https://prettier.io/blog/2017/11/07/1.8.0.html) # 1.7.4 -[link](https://github.com/prettier/prettier/compare/1.7.3...1.7.4) +[diff](https://github.com/prettier/prettier/compare/1.7.3...1.7.4) - Force template literals to break after \` for styled-components (#2926 by duailibe) - Update cosmiconfig to v3.1.0 (#2952 by ikatyang) @@ -150,7 +150,7 @@ # 1.7.3 -[link](https://github.com/prettier/prettier/compare/1.7.2...1.7.3) +[diff](https://github.com/prettier/prettier/compare/1.7.2...1.7.3) - Fix cosmiconfig in the built version of Prettier (#2930 by lydell) - Fix: ignore and show warning for unknown option from config file (#2929 by ikatyang) @@ -158,13 +158,13 @@ # 1.7.2 -[link](https://github.com/prettier/prettier/compare/1.7.1...1.7.2) +[diff](https://github.com/prettier/prettier/compare/1.7.1...1.7.2) - Revert "Fix line break in test declarations with a single argument function declaration" (#2912) # 1.7.1 -[link](https://github.com/prettier/prettier/compare/1.7.0...1.7.1) +[diff](https://github.com/prettier/prettier/compare/1.7.0...1.7.1) - Enable cosmiconfig rcExtensions (#2749 by elektronik2k5) - Keep original empty lines in argument list (#2763 by jackyho112) @@ -193,13 +193,13 @@ # 1.7.0 -[link](https://github.com/prettier/prettier/compare/1.6.1...1.7.0) +[diff](https://github.com/prettier/prettier/compare/1.6.1...1.7.0) -- [Release Notes](https://prettier.io/blog/2017/09/15/1.7.0.html) +🔗 [Release Notes](https://prettier.io/blog/2017/09/15/1.7.0.html) # 1.6.1 -[link](https://github.com/prettier/prettier/compare/1.6.0...1.6.1) +[diff](https://github.com/prettier/prettier/compare/1.6.0...1.6.1) - Fix CLI option parsing with no arguments (#2684) - Fix config file finding when using stdin (#2692) @@ -208,43 +208,43 @@ # 1.6.0 -[link](https://github.com/prettier/prettier/compare/1.5.3...1.6.0) +[diff](https://github.com/prettier/prettier/compare/1.5.3...1.6.0) -- [Release Notes](https://prettier.io/blog/2017/08/29/1.6.0.html) +🔗 [Release Notes](https://prettier.io/blog/2017/08/29/1.6.0.html) # 1.5.3 -[link](https://github.com/prettier/prettier/compare/1.5.2...1.5.3) +[diff](https://github.com/prettier/prettier/compare/1.5.2...1.5.3) - Force trailingComma option to "none" when parser is JSON (#2335) # 1.5.2 -[link](https://github.com/prettier/prettier/compare/1.5.1...1.5.2) +[diff](https://github.com/prettier/prettier/compare/1.5.1...1.5.2) - Full printing support for GraphQL and various bug fixes - Fixes for range formatting for JSON and CSS (#2295, #2298) # 1.5.1 -[link](https://github.com/prettier/prettier/compare/1.5.0...1.5.1) +[diff](https://github.com/prettier/prettier/compare/1.5.0...1.5.1) - Go back to babylon beta 13 (#2289) - Inline import('x') to avoid having trailing comma (#2288) # 1.5.0 -[link](https://github.com/prettier/prettier/compare/1.4.4...1.5.0) +[diff](https://github.com/prettier/prettier/compare/1.4.4...1.5.0) -- [Release Notes](https://prettier.io/blog/2017/06/28/1.5.0.html) +🔗 [Release Notes](https://prettier.io/blog/2017/06/28/1.5.0.html) # 1.4.4 -- Fix postcss, I forgot to re-run the build script :( +🔗 Fix postcss, I forgot to re-run the build script :( # 1.4.3 -[link](https://github.com/prettier/prettier/compare/1.4.2...1.4.3) +[diff](https://github.com/prettier/prettier/compare/1.4.2...1.4.3) - Fix support for node 4 (#1988) - Fix website on iOS Safari (#1970) @@ -257,7 +257,7 @@ Lots of small fixes, mainly for TypeScript. # 1.4.2 -[link](https://github.com/prettier/prettier/compare/1.4.1...1.4.2) +[diff](https://github.com/prettier/prettier/compare/1.4.1...1.4.2) - fix(decorators): do not inline methods with decorators with babylon (#1934) - fix(typescript): print semi with inline interfaces/types (#1936) @@ -266,25 +266,27 @@ Lots of small fixes, mainly for TypeScript. # 1.4.1 -[link](https://github.com/prettier/prettier/compare/1.4.0...1.4.1) +[diff](https://github.com/prettier/prettier/compare/1.4.0...1.4.1) - Lots of fixes for TypeScript and regressions from 1.4.0. If you are using 1.4.0, you should migrate to 1.4.1 asap ;) # 1.4.0 -[link](https://github.com/prettier/prettier/compare/1.3.1...1.4.0) +[diff](https://github.com/prettier/prettier/compare/1.3.1...1.4.0) -- [Release Notes](https://prettier.io/blog/2017/06/03/1.4.0.html) +🔗 [Release Notes](https://prettier.io/blog/2017/06/03/1.4.0.html) # 1.3.1 +[diff](https://github.com/prettier/prettier/compare/1.3.0...1.3.1) + - Respect template inline-ness (#1497) # 1.3.0 -[link](https://github.com/prettier/prettier/compare/1.2.2...1.3.0) +[diff](https://github.com/prettier/prettier/compare/1.2.2...1.3.0) -- [Release Notes](https://prettier.io/blog/2017/05/03/1.3.0.html) +🔗 [Release Notes](https://prettier.io/blog/2017/05/03/1.3.0.html) - add printer branches for some TypeScript nodes (#1331) - Skip trailing commas with FlowShorthandWithOneArg (#1364) @@ -336,21 +338,21 @@ Lots of small fixes, mainly for TypeScript. # 1.2.2 -[link](https://github.com/prettier/prettier/compare/1.2.1...1.2.2) +[diff](https://github.com/prettier/prettier/compare/1.2.1...1.2.2) - Only break for conditionals (#1350) # 1.2.1 -[link](https://github.com/prettier/prettier/compare/1.2.0...1.2.1) +[diff](https://github.com/prettier/prettier/compare/1.2.0...1.2.1) - Fix duplicate comments in classes (#1349) # 1.2.0 -[link](https://github.com/prettier/prettier/compare/1.1.0...1.2.0) +[diff](https://github.com/prettier/prettier/compare/1.1.0...1.2.0) -- [Release Notes](https://prettier.io/blog/2017/04/20/1.2.0.html) +🔗 [Release Notes](https://prettier.io/blog/2017/04/20/1.2.0.html) - match jsx files in pre-commit hook (#1276) - Fix isPreviousLineEmpty on Windows (#1263) @@ -380,7 +382,7 @@ Lots of small fixes, mainly for TypeScript. # 1.1.0 -[link](https://github.com/prettier/prettier/compare/1.0.0...1.1.0) +[diff](https://github.com/prettier/prettier/compare/1.0.0...1.1.0) - Prettier 1.0 is the stabler release we've been waiting for (#1242) - fix small typo (#1255) @@ -400,13 +402,13 @@ Lots of small fixes, mainly for TypeScript. # 1.0.0 -[link](https://github.com/prettier/prettier/compare/0.22.0...1.0.0) +[diff](https://github.com/prettier/prettier/compare/0.22.0...1.0.0) -- See announcement blog post: [http://jlongster.com/prettier-1.0](http://jlongster.com/prettier-1.0) +🔗 [Release Notes](https://prettier.io/blog/2017/04/13/1.0.0.html) # 0.22.0 -[link](https://github.com/prettier/prettier/compare/0.21.0...0.22.0) +[diff](https://github.com/prettier/prettier/compare/0.21.0...0.22.0) - Run 0.21.0 (#876) - Fix paren removal on UnionTypeAnnotation (#878) @@ -441,7 +443,7 @@ Lots of small fixes, mainly for TypeScript. # 0.21.0 -[link](https://github.com/prettier/prettier/compare/0.20.0...0.21.0) +[diff](https://github.com/prettier/prettier/compare/0.20.0...0.21.0) - [JSX] Break before and after jsx whitespace (#836) - re-run snapshot tests @@ -464,7 +466,7 @@ Lots of small fixes, mainly for TypeScript. # 0.20.0 -[link](https://github.com/prettier/prettier/compare/0.19.0...0.20.0) +[diff](https://github.com/prettier/prettier/compare/0.19.0...0.20.0) - Fix extra parens for update expressions (#796) - Fix empty options (#803) @@ -486,7 +488,7 @@ Lots of small fixes, mainly for TypeScript. # 0.19.0 -[link](https://github.com/prettier/prettier/compare/0.18.0...0.19.0) +[diff](https://github.com/prettier/prettier/compare/0.18.0...0.19.0) - docs(README): use yarn add for consistency (#734) - Make trailing-comma option support 2 different modes (#641) @@ -520,7 +522,7 @@ Lots of small fixes, mainly for TypeScript. # 0.18.0 -[link](https://github.com/prettier/prettier/compare/0.17.0...0.18.0) +[diff](https://github.com/prettier/prettier/compare/0.17.1...0.18.0) - fix --debug-check - [JSX] Don't add newline following newline (#690) @@ -539,11 +541,13 @@ Lots of small fixes, mainly for TypeScript. # 0.17.1 +[diff](https://github.com/prettier/prettier/compare/0.17.0...0.17.1) + - Use `readline` api to manipulate `process.stdout` output. (#687) # 0.17.0 -[link](https://github.com/prettier/prettier/compare/0.16.0...0.17.0) +[diff](https://github.com/prettier/prettier/compare/0.16.0...0.17.0) - [JSX] Fix spurious newline (fixes #614) (#628) - Add --debug-check cli option (#627) @@ -578,7 +582,7 @@ Lots of small fixes, mainly for TypeScript. # 0.16.0 -[link](https://github.com/prettier/prettier/compare/0.15.0...0.16.0) +[diff](https://github.com/prettier/prettier/compare/0.15.0...0.16.0) - Revert "Print \x and \u escapes in strings and regexes lowercase (#522) - Fix ternary indent bug (#577) @@ -603,7 +607,7 @@ Lots of small fixes, mainly for TypeScript. # 0.15.0 -[link](https://github.com/prettier/prettier/compare/0.14.1...0.15.0) +[diff](https://github.com/prettier/prettier/compare/0.14.1...0.15.0) - Fix syntax error in empty object with dangling comment (#533) - Fix closing call expression commented out (#530) @@ -624,14 +628,14 @@ Lots of small fixes, mainly for TypeScript. # 0.14.1 -[link](https://github.com/prettier/prettier/compare/0.14.0...0.14.1) +[diff](https://github.com/prettier/prettier/compare/0.14.0...0.14.1) - Fix range for object newline detection (#520) - a bugfix for "Keep expanded objects expanded" (#495) # 0.14.0 -[link](https://github.com/prettier/prettier/compare/0.13.0...0.14.0) +[diff](https://github.com/prettier/prettier/compare/0.13.0...0.14.0) - Only write to files if the change (#511) - Remove extra group when printing object values (#502) @@ -644,7 +648,7 @@ Lots of small fixes, mainly for TypeScript. # 0.13.0 -[link](https://github.com/prettier/prettier/compare/0.12.0...0.13.0) +[diff](https://github.com/prettier/prettier/compare/0.12.0...0.13.0) - Simplify arrow functions that use blocks (#496) - Properly print comments for BinaryExpression (#494) @@ -654,7 +658,7 @@ Lots of small fixes, mainly for TypeScript. # 0.12.0 -[link](https://github.com/prettier/prettier/compare/0.11.0...0.12.0) +[diff](https://github.com/prettier/prettier/compare/0.11.0...0.12.0) - [WIP] Add rationale document (#372) - Proper parenthesis for yield and await in conditional (#436) @@ -695,7 +699,7 @@ Lots of small fixes, mainly for TypeScript. # 0.11.0 -[link](https://github.com/prettier/prettier/compare/0.0.10...0.11.0) +[diff](https://github.com/prettier/prettier/compare/0.0.10...0.11.0) Now using minor versions instead of patch versions for the releases. @@ -746,7 +750,7 @@ Now using minor versions instead of patch versions for the releases. # 0.0.10 -[link](https://github.com/prettier/prettier/compare/0.0.9...0.0.10) +[diff](https://github.com/prettier/prettier/compare/0.0.9...0.0.10) - Add description to package.json (#320) - Fix crash for single rest on class declaration (#315) @@ -772,7 +776,7 @@ Now using minor versions instead of patch versions for the releases. # 0.0.9 -[link](https://github.com/prettier/prettier/compare/0.0.8...0.0.9) +[diff](https://github.com/prettier/prettier/compare/0.0.8...0.0.9) - Workaround flow bug parsing astral unicode characters (#277) - Allow specifying the major mode that `defun-before-save` will use. (#276 @@ -802,7 +806,7 @@ Now using minor versions instead of patch versions for the releases. # 0.0.8 -[link](https://github.com/prettier/prettier/compare/e447971...0192d58) +[diff](https://github.com/prettier/prettier/compare/e447971...0192d58) - Fix await parenthesis (#185) - Add note about Sublime Test github issue in readme @@ -833,7 +837,7 @@ Now using minor versions instead of patch versions for the releases. # 0.0.7 -[link](https://github.com/prettier/prettier/compare/7e31610...6f5df0e2b6b7db252e28ce80ebc54814fdc61497) +[diff](https://github.com/prettier/prettier/compare/7e31610...6f5df0e) - Update live editor to 0.0.6 - Adds various prettier-browser changes (#175) @@ -848,7 +852,7 @@ Now using minor versions instead of patch versions for the releases. # 0.0.6 -[link](https://github.com/prettier/prettier/compare/faed09ceea32fcdd58b525aa09b880afb9fa55b7...3af7da5748d64efaed781104ec198924c8c369f9) +[diff](https://github.com/prettier/prettier/compare/faed09c...3af7da5) - Format property names consistently - remove node 0.10 from travis config, add travis badge to readme @@ -858,7 +862,7 @@ Now using minor versions instead of patch versions for the releases. - 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 faed09ceea32fcdd58b525aa09b880afb9fa55b7 +- 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