-
Notifications
You must be signed in to change notification settings - Fork 922
update changelog for v1.9.0 release #6432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -1,5 +1,34 @@ | ||||||||||||||
# Changelog | ||||||||||||||
|
||||||||||||||
## [Unreleased] | ||||||||||||||
|
||||||||||||||
|
||||||||||||||
## [1.9.0] 2025-01-03 | ||||||||||||||
|
||||||||||||||
### Fixed | ||||||||||||||
- No longer strip `r#` prefix from `break` and `continue` labels [#6411](https://github.com/rust-lang/rustfmt/issues/6411) | ||||||||||||||
```rust | ||||||||||||||
fn main() { | ||||||||||||||
'r#if: { | ||||||||||||||
break 'r#if; | ||||||||||||||
} | ||||||||||||||
} | ||||||||||||||
``` | ||||||||||||||
- Fix panic when sorting imports [#6333](https://github.com/rust-lang/rustfmt/issues/6333) | ||||||||||||||
|
||||||||||||||
### Changed | ||||||||||||||
- 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) | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. minor typo
Suggested change
|
||||||||||||||
- Apply version sorting to module declarations when using `style_edition=2024` [#6368](https://github.com/rust-lang/rustfmt/pull/6368) | ||||||||||||||
- 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) | ||||||||||||||
|
||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
### Added | ||||||||||||||
Add `style_edition=2027` to gate unstable formatting [#6324](https://github.com/rust-lang/rustfmt/pull/6324) | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
|
||||||||||||||
### Misc | ||||||||||||||
- Correct version chunk splitting in the internal version sort algorithm [#6407](https://github.com/rust-lang/rustfmt/pull/6407) | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @calebcartwright in regards to your comment this is where I added a note about the version sort changes. But your comment is making me think it would be better to move it to the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes I think this would be better under the fixed or changed sections |
||||||||||||||
- Return `Result` from `Shape` methods [#6398](https://github.com/rust-lang/rustfmt/pull/6398) | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's remove this line, don't want to capture any internal refactoring as part of the changelog primarily intended for consumers
Suggested change
|
||||||||||||||
|
||||||||||||||
|
||||||||||||||
## [1.8.0] 2024-09-20 | ||||||||||||||
|
||||||||||||||
### Fixed | ||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.