X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=CHANGELOG.md;h=87b54af82994bbef4eb47acccf1b150f82161e1a;hb=dd7add784b166d9d5e6e28588e8e1b494701ba04;hp=8199d4a4ac4e78e0df60897d3b4ddce4d15deda2;hpb=4af82a278ccd339bb11b939a06b99224536bb9db;p=rust.git diff --git a/CHANGELOG.md b/CHANGELOG.md index 8199d4a4ac4..87b54af8299 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,48 @@ ## [Unreleased] +- `use_small_heuristics` changed to be an enum and stabilised. Configuration + options are now ready for 1.0. + +## [0.4.1] 2018-03-16 + +### Added + +- Add `ignore` configuration option. +- Add `license_template_path` configuration option. +- Format `lazy_static!`. + +### Fixed + +- Fix formatting bugs. +- Fix setting `reorder_modules` removing inline modules. +- Format attributes on block expressions. +- Support `dyn trait` syntax. +- Support multiple patterns in `if let` and `while let`. +- Support a pattern with parentheses. + +## [0.4.0] 2018-03-02 + +### Changed + +- Do not print verbose outputs when formatting with stdin. +- Preserve trailing whitespaces in doc comments. +- Scale the values of width heuristics by `max_width`. + +### Fixed + +- Do not reorder items with `#[macro_use]`. +- Fix formatting bugs. +- Support the beginning `|` on a match arm. + +## [0.3.8] 2018-02-04 + +### Added + +- Format (or at least try to format) `macro_rules!`. + +## [0.3.7] 2018-02-01 + ### Added - Add `use_field_init_shorthand` config option. @@ -55,7 +97,7 @@ ### Changed -- Warn when unkown configuration option is used. +- Warn when unknown configuration option is used. ### Fixed