-
-
Notifications
You must be signed in to change notification settings - Fork 720
release(oxfmt): v0.9.0 #15096
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
release(oxfmt): v0.9.0 #15096
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
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.
Pull Request Overview
This PR bumps the version of the oxfmt formatter and related packages from 0.8.0 to 0.9.0. The release includes bug fixes, new features, performance improvements, and refactoring work.
- Version bumped from 0.8.0 to 0.9.0 across all oxfmt-related packages
- CHANGELOG entries added documenting the changes included in this release
- Cargo.lock updated to reflect the new version numbers
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| npm/oxfmt/package.json | Bumped npm package version to 0.9.0 |
| npm/oxfmt/CHANGELOG.md | Added changelog entry for the 0.9.0 release |
| crates/oxc_formatter/Cargo.toml | Bumped Rust crate version to 0.9.0 |
| crates/oxc_formatter/CHANGELOG.md | Added detailed changelog documenting features, bug fixes, refactoring, and performance improvements |
| apps/oxfmt/Cargo.toml | Bumped oxfmt app version to 0.9.0 |
| apps/oxfmt/CHANGELOG.md | Added changelog entry for the 0.9.0 release |
| Cargo.lock | Updated lockfile to reflect new version numbers |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merge activity
|
## [0.9.0] - 2025-10-30 ### 🚀 Features - 8fe7e85 formatter: Support printing Formatter IR (#14855) (Dunqing) ### 🐛 Bug Fixes - a6b6ef8 formatter: Correct calculating layout for `TSNonNullExpression` in `StaticMemberExpression` (#15065) (Dunqing) - 99bd995 formatter: Print parenthesis for sequence expression in `ReturnStatement` and `ExpressionStatement` (#15062) (Dunqing) - f3fb998 formatter: Correct printing comments for `TSAsExpression` (#15061) (Dunqing) - 1e4a018 formatter: Correct checking of the short argument for `CallArguments` (#15055) (Dunqing) - c0dfd9b formatter: Print comments before fat arrow as-is for `ArrowFunctionExpression` (#15050) (Dunqing) - 206b519 formatter: Should hug parameter with `TSMappedType` type annotation (#15049) (Dunqing) - e48c604 formatter: Incorrect formatting of a function with `this` parameter (#15031) (Dunqing) - a9f0c45 formatter: Decorators and class method on the same line shouldn't be broken by a leading comment of the method (#15029) (Dunqing) - 43d74e4 formatter: Handle `<CRLF>` for `SourceText` (#15016) (leaysgur) - 34fab40 formatter: Correct calculating layout for `ChainExpression` in `StaticMemberExpression` (#14986) (Dunqing) - 68dc101 formatter: Should not break when the parent of root of `StaticMemberExpression` is used as the `Argument` of `NewExpression` (#14985) (Dunqing) - 071b739 formatter: Align the short argument handling for UnaryExpression with Prettier (#14984) (Dunqing) - 3940f3a formatter: `BestFitting` doesn't exactly matches the `conditinalGroup` behavior in Prettier (#14983) (Dunqing) - 4a84e44 formatter: Align the logic of printing type parameters, parameters, and return type for functions with Prettier (#14942) (Dunqing) - 68c1f2a formatter: Non-nested static member expressions will never break (#14929) (Dunqing) - 42adc47 formatter: Check whether a type alias is complex when its right hand side never break (#14928) (Dunqing) - e501f13 formatter: Should not add a trailing comma for long curried calls when `trailingComma` is es5 (#14913) (Dunqing) ### 🚜 Refactor - 7d64291 formatter: Simplify printing ClassElement with a semicolon (#15030) (Dunqing) - 5de99c2 formatter: Export unified way to get_parse_options (#15027) (leaysgur) - f6f22e2 formatter: Clean up unneeded implementations for printing comments (#14935) (Dunqing) - 7a2b9d1 formatter: Improve printing trailing comments (#14934) (Dunqing) - ba10caa formatter: Align printing trailing comments with Prettier (#14927) (Dunqing) - 597c9e8 formatter: Remove redundunt public API (#14915) (leaysgur) ### ⚡ Performance - 467b3a1 formatter: Optimize grouping logic for call arguments (#15033) (Dunqing) ### 💼 Other - 6368793 oxfmt: V0.9.0 (#15091) (Boshen) - aceff66 oxfmt: V0.9.0 (#15088) (Boshen)
12f4023 to
d5b9ce3
Compare
CodSpeed Performance ReportMerging #15096 will not alter performanceComparing Summary
|
[0.9.0] - 2025-10-30
🚀 Features
🐛 Bug Fixes
TSNonNullExpressioninStaticMemberExpression(fix(formatter): correct calculating layout forTSNonNullExpressioninStaticMemberExpression#15065) (Dunqing)ReturnStatementandExpressionStatement(fix(formatter): print parenthesis for sequence expression inReturnStatementandExpressionStatement#15062) (Dunqing)TSAsExpression(fix(formatter): correct printing comments forTSAsExpression#15061) (Dunqing)CallArguments(fix(formatter): correct checking of the short argument forCallArguments#15055) (Dunqing)ArrowFunctionExpression(fix(formatter): print comments before fat arrow as-is forArrowFunctionExpression#15050) (Dunqing)TSMappedTypetype annotation (fix(formatter): should hug parameter withTSMappedTypetype annotation #15049) (Dunqing)thisparameter (fix(formatter): incorrect formatting of a function withthisparameter #15031) (Dunqing)<CRLF>forSourceText(fix(formatter): Handle<CRLF>forSourceText#15016) (leaysgur)ChainExpressioninStaticMemberExpression(fix(formatter): correct calculating layout forChainExpressioninStaticMemberExpression#14986) (Dunqing)StaticMemberExpressionis used as theArgumentofNewExpression(fix(formatter): should not break when the parent of root ofStaticMemberExpressionis used as theArgumentofNewExpression#14985) (Dunqing)BestFittingdoesn't exactly matches theconditinalGroupbehavior in Prettier (fix(formatter):BestFittingdoesn't exactly matches theconditinalGroupbehavior in Prettier #14983) (Dunqing)trailingCommais es5 (fix(formatter): should not add a trailing comma for long curried calls whentrailingCommais es5 #14913) (Dunqing)🚜 Refactor
⚡ Performance
💼 Other