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