]> git.lizzy.rs Git - rust.git/blob - CHANGELOG.md
466b41b418c2a68ed0f08d894bb02ea4214b00e7
[rust.git] / CHANGELOG.md
1 # Changelog
2
3 ## [0.2.7] 2017-09-21
4
5 ### Added
6
7 - `binop_separator` configuration option (#1964).
8
9 ### Changed
10
11 - Use horizontal layout for function call with a single argument.
12
13 ### Fixed
14
15 - Fix panicking when calling `cargo fmt --all` (#1963).
16 - Refactorings & faster rustfmt.
17
18 ## [0.2.6] 2017-09-14
19
20 ### Fixed
21
22 - Fix a performance issue with nested block (#1940).
23 - Refactorings & faster rustfmt.
24
25 ## [0.2.5] 2017-08-31
26
27 ### Added
28
29 - Format and preserve attributes on statements (#1933).
30
31 ### Fixed
32
33 - Use getters to access `Span` fields (#1899).
34
35 ## [0.2.4] 2018-08-30
36
37 ### Added
38
39 - Add support for `Yield` (#1928).
40
41 ## [0.2.3] 2018-08-30
42
43 ### Added
44
45 - `multiline_closure_forces_block` configuration option (#1898).
46 - `multiline_match_arm_forces_block` configuration option (#1898).
47 - `merge_derives` configuration option (#1910).
48 - `struct_remove_empty_braces` configuration option (#1930).
49 - Various refactorings.
50
51 ### Changed
52
53 - Put single-lined block comments on the same line with list-like structure's item (#1923).
54 - Preserve blank line between doc comment and attribute (#1925).
55 - Put the opening and the closing braces of enum and struct on the same line, even when `item_brace_style = "AlwaysNextLine"` (#1930).
56
57 ### Fixed
58
59 - Format attributes on `ast::ForeignItem` and take max width into account (#1916).
60 - Ignore empty lines when calculating the shortest indent width inside macro with braces (#1918).
61 - Handle tabs properly inside macro with braces (#1918).
62 - Fix a typo in `compute_budgets_for_args()` (#1924).
63 - Recover comment between keyword (`impl` and `trait`) and `{` which used to get removed (#1925).