X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=CHANGELOG.md;h=d868d83a5ce7c497346a84ec51d3baf4df211299;hb=bba7dbf2d7cd19cfe8a17f94d458810a27f1a117;hp=eeadd460718c3eb3253c8618022838a03c6f0f68;hpb=fa782303a6a12fa4c13d8c8e2af13239b36813b5;p=rust.git diff --git a/CHANGELOG.md b/CHANGELOG.md index eeadd460718..d868d83a5ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,59 @@ ## [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. +- Add `reorder_modules` configuration option. + +## [0.3.6] 2018-01-18 + +### Fixed + +- Fix panicking on formatting certain macros (#2371). + ## [0.3.5] 2018-01-15 ### Changed @@ -19,7 +72,7 @@ ### Added -- Add `--version` flag to `cargo-fmt`, allow `carfo fmt --version`. +- Add `--version` flag to `cargo-fmt`, allow `cargo fmt --version`. ### Fixed