You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,34 @@
1
1
# Changelog
2
2
3
+
## [Unreleased]
4
+
5
+
6
+
## [1.9.0] 2025-01-03
7
+
8
+
### Fixed
9
+
- No longer strip `r#` prefix from `break` and `continue` labels [#6411](https://github.com/rust-lang/rustfmt/issues/6411)
10
+
```rust
11
+
fnmain() {
12
+
'r#if: {
13
+
break 'r#if;
14
+
}
15
+
}
16
+
```
17
+
- Fix panic when sorting imports [#6333](https://github.com/rust-lang/rustfmt/issues/6333)
18
+
19
+
### Changed
20
+
- Stabalize `style_edition=2024` and stabalize the `style_edition` command line option [#6431](https://github.com/rust-lang/rustfmt/pull/6431)[rust-lang/rust#134929](https://github.com/rust-lang/rust/pull/134929)
21
+
- Apply version sorting to module declarations when using `style_edition=2024`[#6368](https://github.com/rust-lang/rustfmt/pull/6368)
22
+
- When users set the deprecated `version` config, rustfmt now gives a hint about which equivalent `style_edition` they should use [#6361](https://github.com/rust-lang/rustfmt/pull/6361)
23
+
24
+
### Added
25
+
Add `style_edition=2027` to gate unstable formatting [#6324](https://github.com/rust-lang/rustfmt/pull/6324)
26
+
27
+
### Misc
28
+
- Correct version chunk splitting in the internal version sort algorithm [#6407](https://github.com/rust-lang/rustfmt/pull/6407)
29
+
- Return `Result` from `Shape` methods [#6398](https://github.com/rust-lang/rustfmt/pull/6398)
0 commit comments