]> git.lizzy.rs Git - rust.git/blob - CHANGELOG.md
Use enumerate()
[rust.git] / CHANGELOG.md
1 # Changelog
2
3 ## [0.2.16] 2017-11-21
4
5 ### Added
6
7 - Remove empty lines at the beginning of the file.
8 - Soft wrapping on doc comments.
9
10 ### Changed
11
12 - Break before `|` when using multiple lines for match arm patterns.
13 - Combine `control_style`, `where_style` and `*_indent` config options into `indent_style`.
14 - Combine `item_brace_style` and `fn_brace_style` config options into `brace_style`.
15 - Combine config options related spacing around colons into `space_before_colon` and `space_after_colon`.
16
17 ### Fixed
18
19 - Fix many bugs.
20
21 ## [0.2.15] 2017-11-08
22
23 ### Added
24
25 - Add git-fmt tool
26 - `where_single_line` configuration option.
27
28 ### Changed
29
30 - Rename `chain_one_line_max` to `chain_width`.
31 - Change the suffix of indent-related configuration options to `_indent`.
32
33 ## [0.2.14] 2017-11-06
34
35 ### Fixed
36
37 - Rustup to the latest nightly.
38
39 ## [0.2.13] 2017-10-30
40
41 ### Fixed
42
43 - Rustup to the latest nightly.
44
45 ## [0.2.12] 2017-10-29
46
47 ### Fixed
48
49 - Fix a bug that `cargo fmt` hangs forever.
50
51 ## [0.2.11] 2017-10-29
52
53 ### Fixed
54
55 - Fix a bug that `cargo fmt` crashes.
56
57 ## [0.2.10] 2017-10-28
58
59 ## [0.2.9] 2017-10-16
60
61 ## [0.2.8] 2017-09-28
62
63 ## [0.2.7] 2017-09-21
64
65 ### Added
66
67 - `binop_separator` configuration option (#1964).
68
69 ### Changed
70
71 - Use horizontal layout for function call with a single argument.
72
73 ### Fixed
74
75 - Fix panicking when calling `cargo fmt --all` (#1963).
76 - Refactorings & faster rustfmt.
77
78 ## [0.2.6] 2017-09-14
79
80 ### Fixed
81
82 - Fix a performance issue with nested block (#1940).
83 - Refactorings & faster rustfmt.
84
85 ## [0.2.5] 2017-08-31
86
87 ### Added
88
89 - Format and preserve attributes on statements (#1933).
90
91 ### Fixed
92
93 - Use getters to access `Span` fields (#1899).
94
95 ## [0.2.4] 2017-08-30
96
97 ### Added
98
99 - Add support for `Yield` (#1928).
100
101 ## [0.2.3] 2017-08-30
102
103 ### Added
104
105 - `multiline_closure_forces_block` configuration option (#1898).
106 - `multiline_match_arm_forces_block` configuration option (#1898).
107 - `merge_derives` configuration option (#1910).
108 - `struct_remove_empty_braces` configuration option (#1930).
109 - Various refactorings.
110
111 ### Changed
112
113 - Put single-lined block comments on the same line with list-like structure's item (#1923).
114 - Preserve blank line between doc comment and attribute (#1925).
115 - Put the opening and the closing braces of enum and struct on the same line, even when `item_brace_style = "AlwaysNextLine"` (#1930).
116
117 ### Fixed
118
119 - Format attributes on `ast::ForeignItem` and take max width into account (#1916).
120 - Ignore empty lines when calculating the shortest indent width inside macro with braces (#1918).
121 - Handle tabs properly inside macro with braces (#1918).
122 - Fix a typo in `compute_budgets_for_args()` (#1924).
123 - Recover comment between keyword (`impl` and `trait`) and `{` which used to get removed (#1925).