]> git.lizzy.rs Git - rust.git/blob - CHANGELOG.md
Move Indent and Shape to shape.rs from lib.rs
[rust.git] / CHANGELOG.md
1 # Changelog
2
3 ## [0.2.5] 2017-08-31
4
5 ### Added
6
7 - Format and preserve attributes on statements (#1933).
8
9 ### Fixed
10
11 - Use getters to access `Span` fields (#1899).
12
13 ## [0.2.4] 2018-08-30
14
15 ### Added
16
17 - Add support for `Yield` (#1928).
18
19 ## [0.2.3] 2018-08-30
20
21 ### Added
22
23 - `multiline_closure_forces_block` configuration option (#1898).
24 - `multiline_match_arm_forces_block` configuration option (#1898).
25 - `merge_derives` configuration option (#1910).
26 - `struct_remove_empty_braces` configuration option (#1930).
27 - Various refactorings.
28
29 ### Changed
30
31 - Put single-lined block comments on the same line with list-like structure's item (#1923).
32 - Preserve blank line between doc comment and attribute (#1925).
33 - Put the opening and the closing braces of enum and struct on the same line, even when `item_brace_style = "AlwaysNextLine"` (#1930).
34
35 ### Fixed
36
37 - Format attributes on `ast::ForeignItem` and take max width into account (#1916).
38 - Ignore empty lines when calculating the shortest indent width inside macro with braces (#1918).
39 - Handle tabs properly inside macro with braces (#1918).
40 - Fix a typo in `compute_budgets_for_args()` (#1924).
41 - Recover comment between keyword (`impl` and `trait`) and `{` which used to get removed (#1925).