5 - Change option `format_doc_comment` to `format_code_in_doc_comment`.
6 - `use_small_heuristics` changed to be an enum and stabilised. Configuration
7 options are now ready for 1.0.
13 - Add `ignore` configuration option.
14 - Add `license_template_path` configuration option.
15 - Format `lazy_static!`.
19 - Fix formatting bugs.
20 - Fix setting `reorder_modules` removing inline modules.
21 - Format attributes on block expressions.
22 - Support `dyn trait` syntax.
23 - Support multiple patterns in `if let` and `while let`.
24 - Support a pattern with parentheses.
30 - Do not print verbose outputs when formatting with stdin.
31 - Preserve trailing whitespaces in doc comments.
32 - Scale the values of width heuristics by `max_width`.
36 - Do not reorder items with `#[macro_use]`.
37 - Fix formatting bugs.
38 - Support the beginning `|` on a match arm.
44 - Format (or at least try to format) `macro_rules!`.
50 - Add `use_field_init_shorthand` config option.
51 - Add `reorder_modules` configuration option.
57 - Fix panicking on formatting certain macros (#2371).
63 - Format code block in comments when `wrap_comments` is set to `true`.
64 - Remove `same_line_attributes` configuration option.
65 - Rename `git-fmt` to `git-rustfmt`.
69 - Rustup to `rustc 1.25.0-nightly (e6072a7b3 2018-01-13)`.
70 - Fix formatting bugs.
76 - Add `--version` flag to `cargo-fmt`, allow `cargo fmt --version`.
80 - Rustup to `rustc 1.24.0-nightly (5165ee9e2 2017-12-22)`.
86 - Format trait aliases.
90 - `cargo fmt` will format every workspace member.
94 - Rustup to `rustc 1.24.0-nightly (250b49205 2017-12-21)`
95 - Fix formatting bugs.
101 - Warn when unknown configuration option is used.
105 - Rustup to `rustc 1.24.0-nightly (0077d128d 2017-12-14)`.
107 ## [0.3.1] 2017-12-11
111 - Add `error_on_unformatted` configuration option.
112 - Add `--error-on-unformatted` command line option.
116 - Do not report formatting errors on comments or strings by default.
117 - Rename `error_on_line_overflow_comments` to `error_on_unformatted`.
121 - Fix formatting bugs.
122 - Fix adding a trailing whitespace inside code block when `wrap_comments = true`.
124 ## [0.3.0] 2017-12-11
128 - Support nested imports.
132 - Do not report errors on skipped items.
133 - Do not format code block inside comments when `wrap_comments = true`.
134 - Keep vertical spaces between items within range.
135 - Format `format!` and its variants using compressed style.
136 - Format `write!` and its variants using compressed style.
137 - Format **simple** array using compressed style.
141 - Fix `rustfmt --package package_name` not working properly.
142 - Fix formatting bugs.
144 ## [0.2.17] 2017-12-03
148 - Add `blank_lines_lower_bound` and `blank_lines_upper_bound` configuration options.
152 - Combine configuration options related to width heuristic into `width_heuristic`.
153 - If the match arm's body is `if` expression, force to use block.
157 - Fix `cargo fmt --all` being trapped in an infinite loop.
158 - Fix many formatting bugs.
162 - Remove legacy configuration options.
164 ## [0.2.16] 2017-11-21
168 - Remove empty lines at the beginning of the file.
169 - Soft wrapping on doc comments.
173 - Break before `|` when using multiple lines for match arm patterns.
174 - Combine `control_style`, `where_style` and `*_indent` config options into `indent_style`.
175 - Combine `item_brace_style` and `fn_brace_style` config options into `brace_style`.
176 - Combine config options related spacing around colons into `space_before_colon` and `space_after_colon`.
182 ## [0.2.15] 2017-11-08
187 - `where_single_line` configuration option.
191 - Rename `chain_one_line_max` to `chain_width`.
192 - Change the suffix of indent-related configuration options to `_indent`.
194 ## [0.2.14] 2017-11-06
198 - Rustup to the latest nightly.
200 ## [0.2.13] 2017-10-30
204 - Rustup to the latest nightly.
206 ## [0.2.12] 2017-10-29
210 - Fix a bug that `cargo fmt` hangs forever.
212 ## [0.2.11] 2017-10-29
216 - Fix a bug that `cargo fmt` crashes.
218 ## [0.2.10] 2017-10-28
220 ## [0.2.9] 2017-10-16
222 ## [0.2.8] 2017-09-28
224 ## [0.2.7] 2017-09-21
228 - `binop_separator` configuration option (#1964).
232 - Use horizontal layout for function call with a single argument.
236 - Fix panicking when calling `cargo fmt --all` (#1963).
237 - Refactorings & faster rustfmt.
239 ## [0.2.6] 2017-09-14
243 - Fix a performance issue with nested block (#1940).
244 - Refactorings & faster rustfmt.
246 ## [0.2.5] 2017-08-31
250 - Format and preserve attributes on statements (#1933).
254 - Use getters to access `Span` fields (#1899).
256 ## [0.2.4] 2017-08-30
260 - Add support for `Yield` (#1928).
262 ## [0.2.3] 2017-08-30
266 - `multiline_closure_forces_block` configuration option (#1898).
267 - `multiline_match_arm_forces_block` configuration option (#1898).
268 - `merge_derives` configuration option (#1910).
269 - `struct_remove_empty_braces` configuration option (#1930).
270 - Various refactorings.
274 - Put single-lined block comments on the same line with list-like structure's item (#1923).
275 - Preserve blank line between doc comment and attribute (#1925).
276 - Put the opening and the closing braces of enum and struct on the same line, even when `item_brace_style = "AlwaysNextLine"` (#1930).
280 - Format attributes on `ast::ForeignItem` and take max width into account (#1916).
281 - Ignore empty lines when calculating the shortest indent width inside macro with braces (#1918).
282 - Handle tabs properly inside macro with braces (#1918).
283 - Fix a typo in `compute_budgets_for_args()` (#1924).
284 - Recover comment between keyword (`impl` and `trait`) and `{` which used to get removed (#1925).