Skip to content

Commit 2b8c377

Browse files
docs: add changelog notes for 1.4.22-24
1 parent a64f7ad commit 2b8c377

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

Diff for: CHANGELOG.md

+41
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,47 @@
5454
- Stabilize `match_block_trailing_comma` configuration option.
5555
- Stabilize `ignore` configuration option.
5656

57+
58+
## [1.4.24] 2020-11-05
59+
60+
### Changed
61+
62+
- Block wrapped match arm bodies containing a single macro call expression are no longer flattened ([#4496](https://github.com/rust-lang/rustfmt/pull/4496)). This allows programmer discretion so that the block wrapping can be preserved in cases where needed to prevent issues in expansion, such as with trailing semicolons, and aligns with updated [Style Guide guidance](https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/expressions.md#macro-call-expressions) for such scenarios.
63+
64+
### Fixed
65+
- 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))
66+
67+
## [1.4.23] 2020-10-30
68+
69+
### Changed
70+
71+
- Update `rustc-ap-*` crates to v686.0.0
72+
73+
### Added
74+
- Initial support for formatting new ConstBlock syntax ([#4478](https://github.com/rust-lang/rustfmt/pull/4478))
75+
76+
### Fixed
77+
- Handling of unclosed delimiter-only parsing errors in input files ([#4466](https://github.com/rust-lang/rustfmt/issues/4466))
78+
- Misc. minor parser bugs ([#4418](https://github.com/rust-lang/rustfmt/issues/4418) and [#4431](https://github.com/rust-lang/rustfmt/issues/4431))
79+
- Panic on nested tuple access ([#4355](https://github.com/rust-lang/rustfmt/issues/4355))
80+
- Unable to disable license template path via cli override ([#4487](https://github.com/rust-lang/rustfmt/issues/4487))
81+
- Preserve comments in empty statements [#4018](https://github.com/rust-lang/rustfmt/issues/4018))
82+
- Indentation on skipped code [#4398](https://github.com/rust-lang/rustfmt/issues/4398))
83+
84+
85+
## [1.4.22] 2020-10-04
86+
87+
### Changed
88+
89+
- Update `rustc-ap-*` crates to v679.0.0
90+
- Add config option to allow control of leading match arm pipes
91+
- Support `RUSTFMT` environment variable in `cargo fmt` to run specified `rustfmt` instance
92+
93+
### Fixed
94+
95+
- Fix preservation of type aliases within extern blocks
96+
97+
5798
## [1.4.17] 2020-06-08
5899

59100
### Fixed

0 commit comments

Comments
 (0)