9 - Add `--version` flag to `cargo-fmt`, allow `carfo fmt --version`.
13 - Rustup to `rustc 1.24.0-nightly (5165ee9e2 2017-12-22)`.
19 - Format trait aliases.
23 - `cargo fmt` will format every workspace member.
27 - Rustup to `rustc 1.24.0-nightly (250b49205 2017-12-21)`
28 - Fix formatting bugs.
34 - Warn when unkown configuration option is used.
38 - Rustup to `rustc 1.24.0-nightly (0077d128d 2017-12-14)`.
44 - Add `error_on_unformatted` configuration option.
45 - Add `--error-on-unformatted` command line option.
49 - Do not report formatting errors on comments or strings by default.
50 - Rename `error_on_line_overflow_comments` to `error_on_unformatted`.
54 - Fix formatting bugs.
55 - Fix adding a trailing whitespace inside code block when `wrap_comments = true`.
61 - Support nested imports.
65 - Do not report errors on skipped items.
66 - Do not format code block inside comments when `wrap_comments = true`.
67 - Keep vertical spaces between items within range.
68 - Format `format!` and its variants using compressed style.
69 - Format `write!` and its variants using compressed style.
70 - Format **simple** array using compressed style.
74 - Fix `rustfmt --package package_name` not working properly.
75 - Fix formatting bugs.
77 ## [0.2.17] 2017-12-03
81 - Add `blank_lines_lower_bound` and `blank_lines_upper_bound` configuration options.
85 - Combine configuration options related to width heuristic into `width_heuristic`.
86 - If the match arm's body is `if` expression, force to use block.
90 - Fix `cargo fmt --all` being trapped in an infinite loop.
91 - Fix many formatting bugs.
95 - Remove legacy configuration options.
97 ## [0.2.16] 2017-11-21
101 - Remove empty lines at the beginning of the file.
102 - Soft wrapping on doc comments.
106 - Break before `|` when using multiple lines for match arm patterns.
107 - Combine `control_style`, `where_style` and `*_indent` config options into `indent_style`.
108 - Combine `item_brace_style` and `fn_brace_style` config options into `brace_style`.
109 - Combine config options related spacing around colons into `space_before_colon` and `space_after_colon`.
115 ## [0.2.15] 2017-11-08
120 - `where_single_line` configuration option.
124 - Rename `chain_one_line_max` to `chain_width`.
125 - Change the suffix of indent-related configuration options to `_indent`.
127 ## [0.2.14] 2017-11-06
131 - Rustup to the latest nightly.
133 ## [0.2.13] 2017-10-30
137 - Rustup to the latest nightly.
139 ## [0.2.12] 2017-10-29
143 - Fix a bug that `cargo fmt` hangs forever.
145 ## [0.2.11] 2017-10-29
149 - Fix a bug that `cargo fmt` crashes.
151 ## [0.2.10] 2017-10-28
153 ## [0.2.9] 2017-10-16
155 ## [0.2.8] 2017-09-28
157 ## [0.2.7] 2017-09-21
161 - `binop_separator` configuration option (#1964).
165 - Use horizontal layout for function call with a single argument.
169 - Fix panicking when calling `cargo fmt --all` (#1963).
170 - Refactorings & faster rustfmt.
172 ## [0.2.6] 2017-09-14
176 - Fix a performance issue with nested block (#1940).
177 - Refactorings & faster rustfmt.
179 ## [0.2.5] 2017-08-31
183 - Format and preserve attributes on statements (#1933).
187 - Use getters to access `Span` fields (#1899).
189 ## [0.2.4] 2017-08-30
193 - Add support for `Yield` (#1928).
195 ## [0.2.3] 2017-08-30
199 - `multiline_closure_forces_block` configuration option (#1898).
200 - `multiline_match_arm_forces_block` configuration option (#1898).
201 - `merge_derives` configuration option (#1910).
202 - `struct_remove_empty_braces` configuration option (#1930).
203 - Various refactorings.
207 - Put single-lined block comments on the same line with list-like structure's item (#1923).
208 - Preserve blank line between doc comment and attribute (#1925).
209 - Put the opening and the closing braces of enum and struct on the same line, even when `item_brace_style = "AlwaysNextLine"` (#1930).
213 - Format attributes on `ast::ForeignItem` and take max width into account (#1916).
214 - Ignore empty lines when calculating the shortest indent width inside macro with braces (#1918).
215 - Handle tabs properly inside macro with braces (#1918).
216 - Fix a typo in `compute_budgets_for_args()` (#1924).
217 - Recover comment between keyword (`impl` and `trait`) and `{` which used to get removed (#1925).