diff --git a/CHANGELOG.md b/CHANGELOG.md index fcaf454dc55..fd44e449e18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ ## [Unreleased] +## [1.4.25] 2020-11-10 + +### Changed + +- Semicolons are no longer automatically inserted on trailing expressions in macro definition arms ([#4507](https://github.com/rust-lang/rustfmt/pull/4507)). This gives the programmer control and discretion over whether there should be semicolons in these scenarios so that potential expansion issues can be avoided. + +### Install/Download Options +- **crates.io package** - *pending* +- **rustup (nightly)** - *pending* +- **GitHub Release Binaries** - [Release v1.4.25](https://github.com/rust-lang/rustfmt/releases/tag/v1.4.25) +- **Build from source** - [Tag v1.4.25](https://github.com/rust-lang/rustfmt/tree/v1.4.25), see instructions for how to [install rustfmt from source][install-from-source] + ## [1.4.24] 2020-11-05 ### Changed @@ -11,6 +23,12 @@ ### Fixed - Remove useless `deprecated` attribute on a trait impl block in the rustfmt lib, as these now trigger errors ([rust-lang/rust/#78626](https://github.com/rust-lang/rust/pull/78626)) +### Install/Download Options +- **crates.io package** - *pending* +- **rustup (nightly)** - Starting in `2020-11-09` +- **GitHub Release Binaries** - [Release v1.4.24](https://github.com/rust-lang/rustfmt/releases/tag/v1.4.24) +- **Build from source** - [Tag v1.4.24](https://github.com/rust-lang/rustfmt/tree/v1.4.24), see instructions for how to [install rustfmt from source][install-from-source] + ## [1.4.23] 2020-10-30 ### Changed @@ -28,6 +46,13 @@ - Preserve comments in empty statements [#4018](https://github.com/rust-lang/rustfmt/issues/4018)) - Indentation on skipped code [#4398](https://github.com/rust-lang/rustfmt/issues/4398)) +### Install/Download Options +- **crates.io package** - *pending* +- **rustup (nightly)** - n/a (superseded by [v1.4.24](#1424-2020-11-05)) +- **GitHub Release Binaries** - [Release v1.4.23](https://github.com/rust-lang/rustfmt/releases/tag/v1.4.23) +- **Build from source** - [Tag v1.4.23](https://github.com/rust-lang/rustfmt/tree/v1.4.23), see instructions for how to [install rustfmt from source][install-from-source] + + ## [1.4.22] 2020-10-04 @@ -919,3 +944,6 @@ from formatting an attribute #3665 - Handle tabs properly inside macro with braces (#1918). - Fix a typo in `compute_budgets_for_args()` (#1924). - Recover comment between keyword (`impl` and `trait`) and `{` which used to get removed (#1925). + + +[install-from-source]: https://github.com/rust-lang/rustfmt#installing-from-source diff --git a/Cargo.lock b/Cargo.lock index d7a586aacee..fa2aa1006ea 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1237,7 +1237,7 @@ dependencies = [ [[package]] name = "rustfmt-nightly" -version = "1.4.24" +version = "1.4.25" dependencies = [ "annotate-snippets 0.6.1", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 23df8f28c16..0f5bec2dcca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rustfmt-nightly" -version = "1.4.24" +version = "1.4.25" authors = ["Nicholas Cameron ", "The Rustfmt developers"] description = "Tool to find and fix Rust formatting issues" repository = "https://github.com/rust-lang/rustfmt"